次の方法で共有


DeploymentOperationsExtensions.CancelAsync メソッド

定義

現在実行中のテンプレートのデプロイを取り消します。

public static System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> CancelAsync (this Microsoft.Azure.Management.Resources.IDeploymentOperations operations, string resourceGroupName, string deploymentName);
static member CancelAsync : Microsoft.Azure.Management.Resources.IDeploymentOperations * string * string -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
<Extension()>
Public Function CancelAsync (operations As IDeploymentOperations, resourceGroupName As String, deploymentName As String) As Task(Of AzureOperationResponse)

パラメーター

operations
IDeploymentOperations

Microsoft.Azure.Management.Resources.IDeploymentOperations への参照です。

resourceGroupName
String

必須。 リソース グループの名前。 名前の大文字と小文字は区別されます。

deploymentName
String

必須。 デプロイの名前。

戻り値

Task<Microsoft.Azure.AzureOperationResponse>

HTTP 状態コードと要求 ID を含む標準のサービス応答。

適用対象