PolicyRemediationResource.Cancel(CancellationToken) 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 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.