BalancesOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:balances> attribute.
Constructor
BalancesOperations(*args, **kwargs)
Methods
| get_by_billing_account |
Gets the balances for a scope by billingAccountId. Balances are available via this API only for May 1, 2014 or later. |
| get_for_billing_period_by_billing_account |
Gets the balances for a scope by billing period and billingAccountId. Balances are available via this API only for May 1, 2014 or later. |
get_by_billing_account
Gets the balances for a scope by billingAccountId. Balances are available via this API only for May 1, 2014 or later.
get_by_billing_account(billing_account_id: str, **kwargs: Any) -> Balance
Parameters
| Name | Description |
|---|---|
|
billing_account_id
Required
|
BillingAccount ID. Required. |
Returns
| Type | Description |
|---|---|
|
Balance. The Balance is compatible with MutableMapping |
Exceptions
| Type | Description |
|---|---|
get_for_billing_period_by_billing_account
Gets the balances for a scope by billing period and billingAccountId. Balances are available via this API only for May 1, 2014 or later.
get_for_billing_period_by_billing_account(billing_account_id: str, billing_period_name: str, **kwargs: Any) -> Balance
Parameters
| Name | Description |
|---|---|
|
billing_account_id
Required
|
BillingAccount ID. Required. |
|
billing_period_name
Required
|
Billing Period Name. Required. |
Returns
| Type | Description |
|---|---|
|
Balance. The Balance is compatible with MutableMapping |
Exceptions
| Type | Description |
|---|---|