ConsumptionBudgetCollection.GetAll(CancellationToken) Method

Definition

Lists all budgets for the defined scope.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to