Compartir a través de


PolicyRemediationResource.CancelAsync(CancellationToken) Método

Definición

Cancele una corrección en el ámbito del recurso.

  • Ruta de acceso de solicitud/{resourceId}/providers/Microsoft.PolicyInsights/remediations/{remediationName}/cancel
  • IdRemediations_CancelAtResource de operaciones
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))

Parámetros

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Se aplica a