Partilhar via


CostManagementAlertResource.UpdateAsync Método

Definição

Descarta o alerta especificado

  • Caminho da solicitação/{scope}/providers/Microsoft.CostManagement/alerts/{alertId}
  • IdAlerts_Dismiss de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CostManagement.CostManagementAlertResource>> UpdateAsync (Azure.ResourceManager.CostManagement.Models.CostManagementAlertPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.CostManagement.Models.CostManagementAlertPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CostManagement.CostManagementAlertResource>>
override this.UpdateAsync : Azure.ResourceManager.CostManagement.Models.CostManagementAlertPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CostManagement.CostManagementAlertResource>>
Public Overridable Function UpdateAsync (patch As CostManagementAlertPatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of CostManagementAlertResource))

Parâmetros

patch
CostManagementAlertPatch

Parâmetros fornecidos para a operação Ignorar Alerta.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

patch é nulo.

Aplica-se a