Delen via


AlertProcessingRulesOperationsExtensions.UpdateAsync Method

Definition

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

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.AlertsManagement.Models.AlertProcessingRule> UpdateAsync (this Microsoft.Azure.Management.AlertsManagement.IAlertProcessingRulesOperations operations, string resourceGroupName, string alertProcessingRuleName, Microsoft.Azure.Management.AlertsManagement.Models.PatchObject alertProcessingRulePatch, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAsync : Microsoft.Azure.Management.AlertsManagement.IAlertProcessingRulesOperations * string * string * Microsoft.Azure.Management.AlertsManagement.Models.PatchObject * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.AlertsManagement.Models.AlertProcessingRule>
<Extension()>
Public Function UpdateAsync (operations As IAlertProcessingRulesOperations, resourceGroupName As String, alertProcessingRuleName As String, alertProcessingRulePatch As PatchObject, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AlertProcessingRule)

Parameters

operations
IAlertProcessingRulesOperations

The operations group for this extension method.

resourceGroupName
String

Resource group name where the resource is created.

alertProcessingRuleName
String

The name that needs to be updated.

alertProcessingRulePatch
PatchObject

Parameters supplied to the operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to