Partilhar via


TenantBillingPeriodConsumptionResource.GetBalance(CancellationToken) 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 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