CreditsOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
credits attribute.
- Inheritance
-
builtins.objectCreditsOperations
Constructor
CreditsOperations(*args, **kwargs)
Methods
get |
The credit summary by billingAccountId and billingProfileId. |
get
The credit summary by billingAccountId and billingProfileId.
async get(billing_account_id: str, billing_profile_id: str, **kwargs: Any) -> CreditSummary | None
Parameters
Name | Description |
---|---|
billing_account_id
Required
|
BillingAccount ID. |
billing_profile_id
Required
|
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'>
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.
Azure SDK for Python