ReservationSummary Class
reservation summary resource.
Variables are only populated by the server, and will be ignored when sending a request.
Constructor
ReservationSummary(**kwargs)
Variables
Name | Description |
---|---|
id
|
The full qualified ARM ID of an event. |
name
|
The ID that uniquely identifies an event. |
type
|
Resource type. |
etag
|
The etag for the resource. |
tags
|
A set of tags. Resource tags. |
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_id
|
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
|
This is the ARM Sku name. It can be used to join with the serviceType field in additional info in usage records. |
reserved_hours
|
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
|
Data corresponding to the utilization record. If the grain of data is monthly, it will be first day of month. |
used_hours
|
Total used hours by the reservation. |
min_utilization_percentage
|
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
|
This is average utilization for the entire time range. (day or month depending on the grain). |
max_utilization_percentage
|
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
|
The reservation kind. |
purchased_quantity
|
This is the purchased quantity for the reservationId. |
remaining_quantity
|
This is the remaining quantity for the reservationId. |
total_reserved_quantity
|
This is the total count of instances that are reserved for the reservationId. |
used_quantity
|
This is the used quantity for the reservationId. |
utilized_percentage
|
This is the utilized percentage for the reservation Id. |
Azure SDK for Python