CurrentUsagesBaseCollection.GetAll(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.Pageable<Azure.ResourceManager.Quota.CurrentUsagesBaseResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Quota.CurrentUsagesBaseResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Quota.CurrentUsagesBaseResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of CurrentUsagesBaseResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to