QuotaOperationsExtensions.ListAsync Method

Definition

Get a list of current quota limits of all resources for the specified scope. The response from this GET operation can be leveraged to submit requests to update a quota.

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

Parameters

operations
IQuotaOperations

The operations group for this extension method.

scope
String

The target Azure resource URI. For example, /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/qms-test/providers/Microsoft.Batch/batchAccounts/testAccount/. This is the target Azure resource URI for the List GET operation. If a {resourceName} is added after /quotas, then it's the target Azure resource URI in the GET operation for the specific resource.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to