DeploymentOperationsExtensions.CancelAsync Method

Definition

Cancel a currently running template deployment.

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)

Parameters

operations
IDeploymentOperations

Reference to the Microsoft.Azure.Management.Resources.IDeploymentOperations.

resourceGroupName
String

Required. The name of the resource group. The name is case insensitive.

deploymentName
String

Required. The name of the deployment.

Returns

Task<Microsoft.Azure.AzureOperationResponse>

A standard service response including an HTTP status code and request ID.

Applies to