PolicyRemediationResource.Cancel(CancellationToken) Method

Definition

Cancel a remediation at resource scope.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to