public override void ExecuteCmdlet() { var deploymentName = !string.IsNullOrEmpty(this.DeploymentName) ? this.DeploymentName : this.DeploymentObject.DeploymentName; WriteObject(ResourceManagerSdkClient.GetDeploymentOperations(deploymentName, this.OperationId), true); }
protected override void OnProcessRecord() { var deploymentName = !string.IsNullOrEmpty(this.DeploymentName) ? this.DeploymentName : this.DeploymentObject.DeploymentName; WriteObject(ResourceManagerSdkClient.GetDeploymentOperations(deploymentName, this.OperationId), true); }