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

            ConfirmAction(
                ProjectResources.CancelDeploymentMessage,
                this.Name,
                () => ResourceManagerSdkClient.CancelDeploymentAtSubscriptionScope(deploymentName));

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