BudgetCollection.GetAllAsync(String, CancellationToken) Method

Definition

Lists all budgets for the defined scope.

  • Request Path. : /{scope}/providers/Microsoft.CostManagement/budgets.
  • Operation Id. : Budgets_List.
  • Default Api Version. : 2025-03-01.
public virtual Azure.AsyncPageable<Azure.ResourceManager.CostManagement.BudgetResource> GetAllAsync(string filter = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.CostManagement.BudgetResource>
override this.GetAllAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.CostManagement.BudgetResource>
Public Overridable Function GetAllAsync (Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of BudgetResource)

Parameters

filter
String

OData filter option. May be used to filter budgets by properties/category. The filter supports 'eq' only.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to