Condividi tramite


CurrentUsagesBaseCollection.GetAllAsync(CancellationToken) Method

Definition

Get a list of current usage for all resources for the scope specified.

  • Request Path: /{scope}/providers/Microsoft.Quota/usages
  • Operation Id: Usages_List
  • Default Api Version: 2023-06-01-preview
  • Resource: CurrentUsagesBaseResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Quota.CurrentUsagesBaseResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Quota.CurrentUsagesBaseResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Quota.CurrentUsagesBaseResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of CurrentUsagesBaseResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to