ArmClient.DeploymentsCancelAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.