Share via


AlertProcessingRuleResource.Update 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 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)

Parameters

patch
AlertProcessingRulePatch

Parameters supplied to the operation.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to