Share via


PolicyRemediationResource.CancelAsync(CancellationToken) Method

Definition

Cancel a remediation at resource scope.

  • Request Path: /{resourceId}/providers/Microsoft.PolicyInsights/remediations/{remediationName}/cancel
  • Operation Id: Remediations_CancelAtResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.PolicyInsights.PolicyRemediationResource>> CancelAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member CancelAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.PolicyInsights.PolicyRemediationResource>>
override this.CancelAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.PolicyInsights.PolicyRemediationResource>>
Public Overridable Function CancelAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of PolicyRemediationResource))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to