LegacyReservationTransaction Class

Legacy Reservation transaction resource.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
azure.mgmt.consumption.models._models_py3.ReservationTransaction
LegacyReservationTransaction

Constructor

LegacyReservationTransaction(**kwargs)

Variables

id
str

Resource Id.

name
str

Resource name.

type
str

Resource type.

tags
list[str]

A set of tags. Resource tags.

event_date
datetime

The date of the transaction.

reservation_order_id
str

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
str

The description of the transaction.

event_type
str

The type of the transaction (Purchase, Cancel, etc.).

quantity
float

The quantity of the transaction.

amount
float

The charge of the transaction.

currency
str

The ISO currency in which the transaction is charged, for example, USD.

reservation_order_name
str

The name of the reservation order.

purchasing_enrollment
str

The purchasing enrollment.

purchasing_subscription_guid
str

The subscription guid that makes the transaction.

purchasing_subscription_name
str

The subscription name that makes the transaction.

arm_sku_name
str

This is the ARM Sku name. It can be used to join with the serviceType field in additional info in usage records.

term
str

This is the term of the transaction.

region
str

The region of the transaction.

account_name
str

The name of the account that makes the transaction.

account_owner_email
str

The email of the account owner that makes the transaction.

department_name
str

The department name.

cost_center
str

The cost center of this department if it is a department and a cost center is provided.

current_enrollment
str

The current enrollment.

billing_frequency
str

The billing frequency, which can be either one-time or recurring.