다음을 통해 공유


AlertProcessingRulesOperationsExtensions.CreateOrUpdate Method

Definition

Create or update an alert processing rule.

public static Microsoft.Azure.Management.AlertsManagement.Models.AlertProcessingRule CreateOrUpdate (this Microsoft.Azure.Management.AlertsManagement.IAlertProcessingRulesOperations operations, string resourceGroupName, string alertProcessingRuleName, Microsoft.Azure.Management.AlertsManagement.Models.AlertProcessingRule alertProcessingRule);
static member CreateOrUpdate : Microsoft.Azure.Management.AlertsManagement.IAlertProcessingRulesOperations * string * string * Microsoft.Azure.Management.AlertsManagement.Models.AlertProcessingRule -> Microsoft.Azure.Management.AlertsManagement.Models.AlertProcessingRule
<Extension()>
Public Function CreateOrUpdate (operations As IAlertProcessingRulesOperations, resourceGroupName As String, alertProcessingRuleName As String, alertProcessingRule As AlertProcessingRule) As 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 of the alert processing rule that needs to be created/updated.

alertProcessingRule
AlertProcessingRule

Alert processing rule to be created/updated.

Returns

Applies to