LegacyReservationTransactionProperties Class
The properties of a legacy reservation transaction.
Constructor
LegacyReservationTransactionProperties(*args: Any, **kwargs: Any)
Variables
| Name | Description |
|---|---|
|
event_date
|
The date of the transaction. |
|
reservation_order_id
|
The reservation order ID is the identifier for a reservation purchase. Each reservation order ID represents a single purchase transaction. A reservation order contains reservations. The reservation order specifies the VM size and region for the reservations. |
|
description
|
The description of the transaction. |
|
event_type
|
The type of the transaction (Purchase, Cancel or Refund). |
|
quantity
|
The quantity of the transaction. |
|
amount
|
The charge of the transaction. |
|
currency
|
The ISO currency in which the transaction is charged, for example, USD. |
|
reservation_order_name
|
The name of the reservation order. |
|
purchasing_enrollment
|
The purchasing enrollment. |
|
purchasing_subscription_guid
|
The subscription guid that makes the transaction. |
|
purchasing_subscription_name
|
The subscription name that makes the transaction. |
|
arm_sku_name
|
This is the ARM Sku name. It can be used to join with the serviceType field in additional info in usage records. |
|
term
|
This is the term of the transaction. |
|
region
|
The region of the transaction. |
|
account_name
|
The name of the account that makes the transaction. |
|
account_owner_email
|
The email of the account owner that makes the transaction. |
|
department_name
|
The department name. |
|
cost_center
|
The cost center of this department if it is a department and a cost center is provided. |
|
current_enrollment
|
The current enrollment. |
|
billing_frequency
|
The billing frequency, which can be either one-time or recurring. |
|
billing_month
|
The billing month(yyyyMMdd), on which the event initiated. |
|
monetary_commitment
|
The monetary commitment amount at the enrollment scope. |
|
overage
|
The overage amount at the enrollment scope. |
Attributes
account_name
The name of the account that makes the transaction.
account_name: str | None
account_owner_email
The email of the account owner that makes the transaction.
account_owner_email: str | None
amount
The charge of the transaction.
amount: Decimal | None
arm_sku_name
This is the ARM Sku name. It can be used to join with the serviceType field in additional info in usage records.
arm_sku_name: str | None
billing_frequency
The billing frequency, which can be either one-time or recurring.
billing_frequency: str | None
billing_month
The billing month(yyyyMMdd), on which the event initiated.
billing_month: int | None
cost_center
The cost center of this department if it is a department and a cost center is provided.
cost_center: str | None
currency
The ISO currency in which the transaction is charged, for example, USD.
currency: str | None
current_enrollment
The current enrollment.
current_enrollment: str | None
department_name
The department name.
department_name: str | None
description
The description of the transaction.
description: str | None
event_date
The date of the transaction.
event_date: datetime | None
event_type
The type of the transaction (Purchase, Cancel or Refund).
event_type: str | None
monetary_commitment
The monetary commitment amount at the enrollment scope.
monetary_commitment: Decimal | None
overage
The overage amount at the enrollment scope.
overage: Decimal | None
purchasing_enrollment
The purchasing enrollment.
purchasing_enrollment: str | None
purchasing_subscription_guid
The subscription guid that makes the transaction.
purchasing_subscription_guid: str | None
purchasing_subscription_name
The subscription name that makes the transaction.
purchasing_subscription_name: str | None
quantity
The quantity of the transaction.
quantity: Decimal | None
region
The region of the transaction.
region: str | None
reservation_order_id
The reservation order ID is the identifier for a reservation purchase. Each reservation order ID represents a single purchase transaction. A reservation order contains reservations. The reservation order specifies the VM size and region for the reservations.
reservation_order_id: str | None
reservation_order_name
The name of the reservation order.
reservation_order_name: str | None
term
This is the term of the transaction.
term: str | None