Share via


BudgetsOperationsExtensions.ListAsync Method

Definition

Lists all budgets for a subscription. https://docs.microsoft.com/en-us/rest/api/consumption/

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Consumption.Models.Budget>> ListAsync (this Microsoft.Azure.Management.Consumption.IBudgetsOperations operations, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.Consumption.IBudgetsOperations * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Consumption.Models.Budget>>
<Extension()>
Public Function ListAsync (operations As IBudgetsOperations, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of Budget))

Parameters

operations
IBudgetsOperations

The operations group for this extension method.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to