ReservationsOperations Class
ReservationsOperations operations.
You should not instantiate this class directly. Instead, you should create a Client instance that instantiates it for you and attaches it as an attribute.
- Inheritance
-
builtins.objectReservationsOperations
Constructor
ReservationsOperations(client, config, serializer, deserializer)
Parameters
- client
Client for service requests.
- config
Configuration of service client.
- serializer
An object model serializer.
- deserializer
An object model deserializer.
Variables
- models
Alias to model classes used in this operation group.
Methods
list_by_billing_account |
Lists the reservations for a billing account and the roll up counts of reservations group by provisioning states. |
list_by_billing_profile |
Lists the reservations for a billing profile and the roll up counts of reservations group by provisioning state. |
list_by_billing_account
Lists the reservations for a billing account and the roll up counts of reservations group by provisioning states.
list_by_billing_account(billing_account_name: str, filter: str | None = None, orderby: str | None = None, refresh_summary: str | None = None, selected_state: str | None = None, **kwargs: Any) -> Iterable['_models.ReservationsListResult']
Parameters
- filter
- str
May be used to filter by reservation properties. The filter supports 'eq', 'or', and 'and'. It does not currently support 'ne', 'gt', 'le', 'ge', or 'not'.
- refresh_summary
- str
To indicate whether to refresh the roll up counts of the reservations group by provisioning states.
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either ReservationsListResult or the result of cls(response)
Return type
Exceptions
list_by_billing_profile
Lists the reservations for a billing profile and the roll up counts of reservations group by provisioning state.
list_by_billing_profile(billing_account_name: str, billing_profile_name: str, filter: str | None = None, orderby: str | None = None, refresh_summary: str | None = None, selected_state: str | None = None, **kwargs: Any) -> Iterable['_models.ReservationsListResult']
Parameters
- filter
- str
May be used to filter by reservation properties. The filter supports 'eq', 'or', and 'and'. It does not currently support 'ne', 'gt', 'le', 'ge', or 'not'.
- refresh_summary
- str
To indicate whether to refresh the roll up counts of the reservations group by provisioning state.
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either ReservationsListResult or the result of cls(response)
Return type
Exceptions
Attributes
models
models = <module 'azure.mgmt.billing.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.3\\x64\\Lib\\site-packages\\azure\\mgmt\\billing\\models\\__init__.py'>
Feedback
Submit and view feedback for