共用方式為


BillingAccountResource.GetBillingAccountAvailableBalanceAsync Method

Definition

The Available Credit or Payment on Account Balance for a billing account. The credit balance can be used to settle due or past due invoices and is supported for billing accounts with agreement type Microsoft Customer Agreement. The payment on account balance is supported for billing accounts with agreement type Microsoft Customer Agreement or Microsoft Online Services Program.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/availableBalance/default
  • Operation Id: AvailableBalances_GetByBillingAccount
  • Default Api Version: 2024-04-01
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Billing.Models.BillingAvailableBalanceData>> GetBillingAccountAvailableBalanceAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetBillingAccountAvailableBalanceAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Billing.Models.BillingAvailableBalanceData>>
override this.GetBillingAccountAvailableBalanceAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Billing.Models.BillingAvailableBalanceData>>
Public Overridable Function GetBillingAccountAvailableBalanceAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of BillingAvailableBalanceData))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to