BudgetCollection.GetAll(String, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.Pageable<Azure.ResourceManager.CostManagement.BudgetResource> GetAll(string filter = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.CostManagement.BudgetResource>
override this.GetAll : string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.CostManagement.BudgetResource>
Public Overridable Function GetAll (Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(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.