public override void ExecuteCmdlet()
        {
            ConfirmAction(
                ProjectResources.DeleteDeploymentMessage,
                Name,
                () =>
            {
                var deploymentName = !string.IsNullOrEmpty(this.Name)
                        ? this.Name
                        : !string.IsNullOrEmpty(this.Id) ? ResourceIdUtility.GetResourceName(this.Id) : this.InputObject.DeploymentName;

                ResourceManagerSdkClient.DeleteDeploymentAtSubscriptionScope(deploymentName);

                if (this.PassThru.IsPresent)
                {
                    WriteObject(true);
                }
            });
        }