Sdílet prostřednictvím


AlertOperationsExtensions.GetRule Method (IAlertOperations, String, String)

 

Namespace:   Microsoft.Azure.Management.Insights
Assembly:  Microsoft.Azure.Insights (in Microsoft.Azure.Insights.dll)

Syntax

public static RuleGetResponse GetRule(
    this IAlertOperations operations,
    string resourceGroupName,
    string ruleName
)
public:
[ExtensionAttribute]
static RuleGetResponse^ GetRule(
    IAlertOperations^ operations,
    String^ resourceGroupName,
    String^ ruleName
)
static member GetRule : 
        operations:IAlertOperations *
        resourceGroupName:string *
        ruleName:string -> RuleGetResponse
<ExtensionAttribute>
Public Shared Function GetRule (
    operations As IAlertOperations,
    resourceGroupName As String,
    ruleName As String
) As RuleGetResponse

Parameters

  • resourceGroupName
    Type: System.String

    Required. The name of the resource group.

  • ruleName
    Type: System.String

    Required. The name of the rule to retrieve.

Return Value

Type: Microsoft.Azure.Management.Insights.Models.RuleGetResponse

The Get Rule operation response.

See Also

AlertOperationsExtensions Class
Microsoft.Azure.Management.Insights Namespace

Return to top