次の方法で共有


UsagesOperationsExtensions.ListAsync メソッド

定義

指定されたスコープのすべてのリソースの現在の使用状況の一覧を取得します。

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Quota.Models.CurrentUsagesBase>> ListAsync(this Microsoft.Azure.Management.Quota.IUsagesOperations operations, string scope, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.Quota.IUsagesOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Quota.Models.CurrentUsagesBase>>
<Extension()>
Public Function ListAsync (operations As IUsagesOperations, scope As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of CurrentUsagesBase))

パラメーター

operations
IUsagesOperations

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

scope
String

ターゲットの Azure リソース URI。 たとえば、/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/qms-test/providers/Microsoft.Batch/batchAccounts/testAccount/ のようにします。 これは、List GET 操作のターゲット Azure リソース URI です。 {resourceName}が の後に/quotas追加された場合は、特定のリソースの GET 操作のターゲット Azure リソース URI になります。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

適用対象