共用方式為


BillingProfileConsumptionResource.GetCredit(CancellationToken) Method

Definition

The credit summary by billingAccountId and billingProfileId.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/providers/Microsoft.Consumption/credits/balanceSummary
  • Operation Id: Credits_Get
public virtual Azure.Response<Azure.ResourceManager.Consumption.Models.ConsumptionCreditSummary> GetCredit (System.Threading.CancellationToken cancellationToken = default);
abstract member GetCredit : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Consumption.Models.ConsumptionCreditSummary>
override this.GetCredit : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Consumption.Models.ConsumptionCreditSummary>
Public Overridable Function GetCredit (Optional cancellationToken As CancellationToken = Nothing) As Response(Of ConsumptionCreditSummary)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to