你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MetricAlertsOperationsExtensions.ListByResourceGroup 方法

定义

检索资源组中的警报规则定义。

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)

参数

operations
IMetricAlertsOperations

此扩展方法的操作组。

resourceGroupName
String

资源组的名称。 此名称不区分大小写。

返回

适用于