AvailableBalancesOperationsExtensions.GetAsync Method

Definition

The available credit balance for a billing profile. This is the balance that can be used for pay now to settle due or past due invoices. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement. https://docs.microsoft.com/en-us/rest/api/billing/

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Billing.Models.AvailableBalance> GetAsync (this Microsoft.Azure.Management.Billing.IAvailableBalancesOperations operations, string billingAccountName, string billingProfileName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Billing.IAvailableBalancesOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Billing.Models.AvailableBalance>
<Extension()>
Public Function GetAsync (operations As IAvailableBalancesOperations, billingAccountName As String, billingProfileName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AvailableBalance)

Parameters

operations
IAvailableBalancesOperations

The operations group for this extension method.

billingAccountName
String

The ID that uniquely identifies a billing account.

billingProfileName
String

The ID that uniquely identifies a billing profile.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to