CreditsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

ConsumptionManagementClient's

credits attribute.

Constructor

CreditsOperations(*args, **kwargs)

Methods

get

The credit summary by billingAccountId and billingProfileId.

get

The credit summary by billingAccountId and billingProfileId.

get(billing_account_id: str, billing_profile_id: str, **kwargs: Any) -> CreditSummary | None

Parameters

Name Description
billing_account_id
Required
str

BillingAccount ID. Required.

billing_profile_id
Required
str

Azure Billing Profile ID. Required.

Returns

Type Description

CreditSummary or None. The CreditSummary is compatible with MutableMapping

Exceptions

Type Description