Compartilhar via


BillingAccountConsumptionResource.GetBalanceAsync(CancellationToken) Método

Definição

Obtém os saldos de um escopo por billingAccountId. Os saldos estão disponíveis por meio dessa API somente para 1º de maio de 2014 ou posterior.

  • Caminho da Solicitação/provedores/Microsoft.Billing/billingAccounts/{billingAccountId}/providers/Microsoft.Consumption/balances
  • Operação IdBalances_GetByBillingAccount
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Consumption.Models.ConsumptionBalanceResult>> GetBalanceAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetBalanceAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Consumption.Models.ConsumptionBalanceResult>>
override this.GetBalanceAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Consumption.Models.ConsumptionBalanceResult>>
Public Overridable Function GetBalanceAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ConsumptionBalanceResult))

Parâmetros

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a