AlertProcessingRuleResource.Update Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.