Condividi tramite


RolloutResource.Cancel(CancellationToken) Method

Definition

Only running rollouts can be canceled.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeploymentManager/rollouts/{rolloutName}/cancel
  • Operation Id: Rollouts_Cancel
public virtual Azure.Response<Azure.ResourceManager.DeploymentManager.RolloutResource> Cancel (System.Threading.CancellationToken cancellationToken = default);
abstract member Cancel : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DeploymentManager.RolloutResource>
override this.Cancel : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DeploymentManager.RolloutResource>
Public Overridable Function Cancel (Optional cancellationToken As CancellationToken = Nothing) As Response(Of RolloutResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to