다음을 통해 공유


ConsumptionBudgetCollection.GetAllAsync(CancellationToken) Method

Definition

Lists all budgets for the defined scope.

  • Request Path: /{scope}/providers/Microsoft.Consumption/budgets
  • Operation Id: Budgets_List
public virtual Azure.AsyncPageable<Azure.ResourceManager.Consumption.ConsumptionBudgetResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Consumption.ConsumptionBudgetResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Consumption.ConsumptionBudgetResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ConsumptionBudgetResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to