DeploymentOperationsExtensions.Cancel Method

Definition

Cancel a currently running template deployment.

public static Microsoft.Azure.AzureOperationResponse Cancel (this Microsoft.Azure.Management.Resources.IDeploymentOperations operations, string resourceGroupName, string deploymentName);
static member Cancel : Microsoft.Azure.Management.Resources.IDeploymentOperations * string * string -> Microsoft.Azure.AzureOperationResponse
<Extension()>
Public Function Cancel (operations As IDeploymentOperations, resourceGroupName As String, deploymentName As String) As 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

Microsoft.Azure.AzureOperationResponse

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

Applies to