Bagikan melalui


AlertRulesOperationsExtensions.ListByResourceGroup Method

Definition

List the classic metric alert rules within a resource group.

public static System.Collections.Generic.IEnumerable<Microsoft.Azure.Management.Monitor.Models.AlertRuleResource> ListByResourceGroup (this Microsoft.Azure.Management.Monitor.IAlertRulesOperations operations, string resourceGroupName);
static member ListByResourceGroup : Microsoft.Azure.Management.Monitor.IAlertRulesOperations * string -> seq<Microsoft.Azure.Management.Monitor.Models.AlertRuleResource>
<Extension()>
Public Function ListByResourceGroup (operations As IAlertRulesOperations, resourceGroupName As String) As IEnumerable(Of AlertRuleResource)

Parameters

operations
IAlertRulesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

Returns

Applies to