SavingsPlanOrdersOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:savings_plan_orders> attribute.
- Inheritance
-
builtins.objectSavingsPlanOrdersOperations
Constructor
SavingsPlanOrdersOperations(*args, **kwargs)
Methods
get_by_billing_account |
Get a savings plan order by billing account. |
list_by_billing_account |
List all Savings plan orders by billing account. |
get_by_billing_account
Get a savings plan order by billing account.
get_by_billing_account(billing_account_name: str, savings_plan_order_id: str, expand: str | None = None, **kwargs: Any) -> SavingsPlanOrderModel
Parameters
Name | Description |
---|---|
billing_account_name
Required
|
The ID that uniquely identifies a billing account. Required. |
savings_plan_order_id
Required
|
Order ID of the savings plan. Required. |
expand
Required
|
May be used to expand the planInformation. Default value is None. |
Returns
Type | Description |
---|---|
SavingsPlanOrderModel or the result of cls(response) |
Exceptions
Type | Description |
---|---|
list_by_billing_account
List all Savings plan orders by billing account.
list_by_billing_account(billing_account_name: str, filter: str | None = None, order_by: str | None = None, skiptoken: float | None = None, **kwargs: Any) -> Iterable[SavingsPlanOrderModel]
Parameters
Name | Description |
---|---|
billing_account_name
Required
|
The ID that uniquely identifies a billing account. Required. |
filter
Required
|
The filter query option allows clients to filter a collection of resources that are addressed by a request URL. Default value is None. |
order_by
Required
|
The orderby query option allows clients to request resources in a particular order. Default value is None. |
skiptoken
Required
|
The number of savings plans to skip from the list before returning results. Default value is None. |
Returns
Type | Description |
---|---|
An iterator like instance of either SavingsPlanOrderModel or the result of cls(response) |
Exceptions
Type | Description |
---|---|
Attributes
models
models = <module 'azure.mgmt.billing.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\billing\\models\\__init__.py'>
Azure SDK for Python