Пример #1
0
 /// <summary>
 /// Cancel a currently running template deployment.
 /// </summary>
 /// <param name='operations'>
 /// Reference to the
 /// Microsoft.Azure.Management.Resources.IDeploymentOperations.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Required. The name of the resource group. The name is case
 /// insensitive.
 /// </param>
 /// <param name='deploymentName'>
 /// Required. The name of the deployment.
 /// </param>
 /// <returns>
 /// A standard service response including an HTTP status code and
 /// request ID.
 /// </returns>
 public static Task <OperationResponse> CancelAsync(this IDeploymentOperations operations, string resourceGroupName, string deploymentName)
 {
     return(operations.CancelAsync(resourceGroupName, deploymentName, CancellationToken.None));
 }