Share via


AlertOperationsExtensions.ListRules Method (IAlertOperations, String, String)

 

List the alert rules within a resource group.

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

Syntax

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

Parameters

  • resourceGroupName
    Type: System.String

    Required. The name of the resource group.

  • targetResourceUri
    Type: System.String

    Required. The resource identifier of the target of the alert rule.

Return Value

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

The List Rules operation response.

See Also

AlertOperationsExtensions Class
Microsoft.Azure.Management.Insights Namespace

Return to top