次の方法で共有


MetricAlertsOperationsExtensions.ListByResourceGroupAsync メソッド

定義

リソース グループ内のアラート ルール定義を取得します。

public static System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Azure.Management.Monitor.Models.MetricAlertResource>> ListByResourceGroupAsync(this Microsoft.Azure.Management.Monitor.IMetricAlertsOperations operations, string resourceGroupName, System.Threading.CancellationToken cancellationToken = default);
static member ListByResourceGroupAsync : Microsoft.Azure.Management.Monitor.IMetricAlertsOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Management.Monitor.Models.MetricAlertResource>>
<Extension()>
Public Function ListByResourceGroupAsync (operations As IMetricAlertsOperations, resourceGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IEnumerable(Of MetricAlertResource))

パラメーター

operations
IMetricAlertsOperations

この拡張メソッドの操作グループ。

resourceGroupName
String

リソース グループの名前。 名前の大文字と小文字は区別されます。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

適用対象