Condividi tramite


QuotaOperationsExtensions.ListAsync Method

Definition

Gets a list of current quotas (service limits) and usage for all resources. The response from the list quota operation can be leveraged to request quota updates.

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

Parameters

operations
IQuotaOperations

The operations group for this extension method.

subscriptionId
String

Azure subscription ID.

providerId
String

Azure resource provider ID.

location
String

Azure region.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to