Compartilhar via


AlertProcessingRuleResource.UpdateAsync Método

Definição

Habilitar, desabilitar ou atualizar marcas para uma regra de processamento de alerta.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AlertsManagement/actionRules/{alertProcessingRuleName}
  • Operação IdAlertProcessingRules_Update
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AlertsManagement.AlertProcessingRuleResource>> UpdateAsync (Azure.ResourceManager.AlertsManagement.Models.AlertProcessingRulePatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.AlertsManagement.Models.AlertProcessingRulePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AlertsManagement.AlertProcessingRuleResource>>
override this.UpdateAsync : Azure.ResourceManager.AlertsManagement.Models.AlertProcessingRulePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AlertsManagement.AlertProcessingRuleResource>>
Public Overridable Function UpdateAsync (patch As AlertProcessingRulePatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AlertProcessingRuleResource))

Parâmetros

patch
AlertProcessingRulePatch

Parâmetros fornecidos para a operação.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

patch é nulo.

Aplica-se a