共用方式為


AlertProcessingRuleResource.UpdateAsync Method

Definition

Enable, disable, or update tags for an alert processing rule.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AlertsManagement/actionRules/{alertProcessingRuleName}
  • Operation Id: AlertProcessingRules_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))

Parameters

patch
AlertProcessingRulePatch

Parameters supplied to the operation.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to