共用方式為


AlertProcessingRulesOperationsExtensions.GetByName Method

Definition

Get an alert processing rule by name.

public static Microsoft.Azure.Management.AlertsManagement.Models.AlertProcessingRule GetByName (this Microsoft.Azure.Management.AlertsManagement.IAlertProcessingRulesOperations operations, string resourceGroupName, string alertProcessingRuleName);
static member GetByName : Microsoft.Azure.Management.AlertsManagement.IAlertProcessingRulesOperations * string * string -> Microsoft.Azure.Management.AlertsManagement.Models.AlertProcessingRule
<Extension()>
Public Function GetByName (operations As IAlertProcessingRulesOperations, resourceGroupName As String, alertProcessingRuleName As String) 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 fetched.

Returns

Applies to