共用方式為


MetricAlertsOperationsExtensions.ListByResourceGroup Method

Definition

Retrieve alert rule definitions in a resource group.

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

Parameters

operations
IMetricAlertsOperations

The operations group for this extension method.

resourceGroupName
String

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

Returns

Applies to