次の方法で共有


MetricAlertsOperationsExtensions.ListBySubscriptionAsync メソッド

定義

サブスクリプション内のアラート ルール定義を取得します。

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

パラメーター

operations
IMetricAlertsOperations

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

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

適用対象