ReservationSummary Class

reservation summary resource.

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

Inheritance
azure.mgmt.consumption.models._models_py3.Resource
ReservationSummary

Constructor

ReservationSummary(**kwargs)

Variables

id
str

Resource Id.

name
str

Resource name.

type
str

Resource type.

tags
dict[str, str]

A set of tags. Resource tags.

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.

reservation_id
str

The reservation ID is the identifier of a reservation within a reservation order. Each reservation is the grouping for applying the benefit scope and also specifies the number of instances to which the reservation benefit can be applied to.

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.

reserved_hours
float

This is the total hours reserved. E.g. if reservation for 1 instance was made on 1 PM, this will be 11 hours for that day and 24 hours from subsequent days.

usage_date
datetime

Data corresponding to the utilization record. If the grain of data is monthly, it will be first day of month.

used_hours
float

Total used hours by the reservation.

min_utilization_percentage
float

This is the minimum hourly utilization in the usage time (day or month). E.g. if usage record corresponds to 12/10/2017 and on that for hour 4 and 5, utilization was 10%, this field will return 10% for that day.

avg_utilization_percentage
float

This is average utilization for the entire time range. (day or month depending on the grain).

max_utilization_percentage
float

This is the maximum hourly utilization in the usage time (day or month). E.g. if usage record corresponds to 12/10/2017 and on that for hour 4 and 5, utilization was 100%, this field will return 100% for that day.

kind
str

The reservation kind.

purchased_quantity
float

This is the purchased quantity for the reservationId.

remaining_quantity
float

This is the remaining quantity for the reservationId.

total_reserved_quantity
float

This is the total count of instances that are reserved for the reservationId.

used_quantity
float

This is the used quantity for the reservationId.

utilized_percentage
float

This is the utilized percentage for the reservation Id.