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.
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'>
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Python