CreditsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

ConsumptionManagementClient's

credits attribute.

Inheritance
builtins.object
CreditsOperations

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.

billing_profile_id
Required
str

Azure Billing Profile ID.

Keyword-Only Parameters

Name Description
cls

A custom type or function that will be passed the direct response

Returns

Type Description

CreditSummary, or the result of cls(response)

Exceptions

Type Description

Attributes

models

models = <module 'azure.mgmt.consumption.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\consumption\\models\\__init__.py'>