共用方式為


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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to