Freigeben über


TenantBillingPeriodConsumptionResource.GetBalanceAsync Methode

Definition

Ruft die Salden für einen Bereich nach Abrechnungszeitraum und billingAccountId ab. Salden sind über diese API nur für den 1. Mai 2014 oder höher verfügbar.

  • Anfordern von Path/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingPeriods/{billingPeriodName}/providers/Microsoft.Consumption/balances
  • Vorgang 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))

Parameter

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Gilt für: