BillingProfileConsumptionResource.GetCreditAsync(CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.