共用方式為


ReservationQuotaCollection.GetAllAsync(CancellationToken) 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.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Capacity/resourceProviders/{providerId}/locations/{location}/serviceLimits
  • Operation Id: Quota_List
public virtual Azure.AsyncPageable<Azure.ResourceManager.Reservations.ReservationQuotaResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Reservations.ReservationQuotaResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Reservations.ReservationQuotaResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ReservationQuotaResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of ReservationQuotaResource that may take multiple service requests to iterate over.

Applies to