Compartilhar via


CostManagementAlertResource.Update Método

Definição

Descarta o alerta especificado

  • Caminho da Solicitação/{scope}/providers/Microsoft.CostManagement/alerts/{alertId}
  • Operação IdAlerts_Dismiss
public virtual Azure.Response<Azure.ResourceManager.CostManagement.CostManagementAlertResource> Update (Azure.ResourceManager.CostManagement.Models.CostManagementAlertPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.CostManagement.Models.CostManagementAlertPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.CostManagement.CostManagementAlertResource>
override this.Update : Azure.ResourceManager.CostManagement.Models.CostManagementAlertPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.CostManagement.CostManagementAlertResource>
Public Overridable Function Update (patch As CostManagementAlertPatch, Optional cancellationToken As CancellationToken = Nothing) As 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