Condividi tramite


BudgetsOperationsExtensions.ListByResourceGroupNameAsync Method

Definition

Lists all budgets for a resource group under 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>> ListByResourceGroupNameAsync (this Microsoft.Azure.Management.Consumption.IBudgetsOperations operations, string resourceGroupName, System.Threading.CancellationToken cancellationToken = default);
static member ListByResourceGroupNameAsync : Microsoft.Azure.Management.Consumption.IBudgetsOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Consumption.Models.Budget>>
<Extension()>
Public Function ListByResourceGroupNameAsync (operations As IBudgetsOperations, resourceGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of Budget))

Parameters

operations
IBudgetsOperations

The operations group for this extension method.

resourceGroupName
String

Azure Resource Group Name.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to