ReservationTransactionsOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:reservation_transactions> attribute.
- Inheritance
-
builtins.objectReservationTransactionsOperations
Constructor
ReservationTransactionsOperations(*args, **kwargs)
Methods
list |
List of transactions for reserved instances on billing account scope. |
list_by_billing_profile |
List of transactions for reserved instances on billing account scope. |
list
List of transactions for reserved instances on billing account scope.
list(billing_account_id: str, filter: str | None = None, **kwargs: Any) -> Iterable[ReservationTransactionsListResult]
Parameters
Name | Description |
---|---|
billing_account_id
Required
|
BillingAccount ID. |
filter
Required
|
Filter reservation transactions by date range. The properties/EventDate for start date and end date. The filter supports 'le' and 'ge'. Default value is None. |
Keyword-Only Parameters
Name | Description |
---|---|
cls
|
A custom type or function that will be passed the direct response |
Returns
Type | Description |
---|---|
An iterator like instance of either ReservationTransactionsListResult or the result of cls(response) |
Exceptions
Type | Description |
---|---|
list_by_billing_profile
List of transactions for reserved instances on billing account scope.
list_by_billing_profile(billing_account_id: str, billing_profile_id: str, filter: str | None = None, **kwargs: Any) -> Iterable[ModernReservationTransactionsListResult]
Parameters
Name | Description |
---|---|
billing_account_id
Required
|
BillingAccount ID. |
billing_profile_id
Required
|
Azure Billing Profile ID. |
filter
Required
|
Filter reservation transactions by date range. The properties/EventDate for start date and end date. The filter supports 'le' and 'ge'. Default value is None. |
Keyword-Only Parameters
Name | Description |
---|---|
cls
|
A custom type or function that will be passed the direct response |
Returns
Type | Description |
---|---|
An iterator like instance of either ModernReservationTransactionsListResult 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'>
Azure SDK for Python