ArmClient.DeploymentsCancelAsync Method

Definition

Cancel a template deployment

public virtual System.Threading.Tasks.Task DeploymentsCancelAsync(string subscription, string resourceGroup, string deploymentName, System.Threading.CancellationToken cancellationToken = default);
abstract member DeploymentsCancelAsync : string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.DeploymentsCancelAsync : string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function DeploymentsCancelAsync (subscription As String, resourceGroup As String, deploymentName As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

subscription
String

Subscription

resourceGroup
String

Resource Group

deploymentName
String

Deployment Name

cancellationToken
CancellationToken

Cancellation token.

Returns

Remarks

Cancel a currently running template deployment. All pending template operations will be suspended.

Applies to