Compartilhar via


BillingAccountConsumptionResource.GetBalance(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 Azure.Response<Azure.ResourceManager.Consumption.Models.ConsumptionBalanceResult> GetBalance (System.Threading.CancellationToken cancellationToken = default);
abstract member GetBalance : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Consumption.Models.ConsumptionBalanceResult>
override this.GetBalance : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Consumption.Models.ConsumptionBalanceResult>
Public Overridable Function GetBalance (Optional cancellationToken As CancellationToken = Nothing) As Response(Of ConsumptionBalanceResult)

Parâmetros

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a