Partilhar via


AlertProcessingRuleResource.Update 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 Azure.Response<Azure.ResourceManager.AlertsManagement.AlertProcessingRuleResource> Update (Azure.ResourceManager.AlertsManagement.Models.AlertProcessingRulePatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.AlertsManagement.Models.AlertProcessingRulePatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AlertsManagement.AlertProcessingRuleResource>
override this.Update : Azure.ResourceManager.AlertsManagement.Models.AlertProcessingRulePatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AlertsManagement.AlertProcessingRuleResource>
Public Overridable Function Update (patch As AlertProcessingRulePatch, Optional cancellationToken As CancellationToken = Nothing) As 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