Compartilhar via


TenantBillingPeriodConsumptionResource.GetBalanceAsync Método

Definição

Obtém os saldos de um escopo por período de cobrança e 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}/billingPeriods/{billingPeriodName}/providers/Microsoft.Consumption/balances
  • Operação IdBalances_GetForBillingPeriodByBillingAccount
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