Interface ReservationSummary
-
public interface ReservationSummary
An immutable client-side representation of ReservationSummary.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BigDecimal
avgUtilizationPercentage()
Gets the avgUtilizationPercentage property: This is average utilization for the entire time range.String
etag()
Gets the etag property: The etag for the resource.String
id()
Gets the id property: Fully qualified resource Id for the resource.ReservationSummaryInner
innerModel()
Gets the inner com.azure.resourcemanager.consumption.fluent.models.ReservationSummaryInner object.String
kind()
Gets the kind property: The reservation kind.BigDecimal
maxUtilizationPercentage()
Gets the maxUtilizationPercentage property: This is the maximum hourly utilization in the usage time (day or month).BigDecimal
minUtilizationPercentage()
Gets the minUtilizationPercentage property: This is the minimum hourly utilization in the usage time (day or month).String
name()
Gets the name property: The name of the resource.BigDecimal
purchasedQuantity()
Gets the purchasedQuantity property: This is the purchased quantity for the reservationId.BigDecimal
remainingQuantity()
Gets the remainingQuantity property: This is the remaining quantity for the reservationId.String
reservationId()
Gets the reservationId property: The reservation ID is the identifier of a reservation within a reservation order.String
reservationOrderId()
Gets the reservationOrderId property: The reservation order ID is the identifier for a reservation purchase.BigDecimal
reservedHours()
Gets the reservedHours property: This is the total hours reserved.String
skuName()
Gets the skuName property: This is the ARM Sku name.Map<String,String>
tags()
Gets the tags property: Resource tags.BigDecimal
totalReservedQuantity()
Gets the totalReservedQuantity property: This is the total count of instances that are reserved for the reservationId.String
type()
Gets the type property: The type of the resource.OffsetDateTime
usageDate()
Gets the usageDate property: Data corresponding to the utilization record.BigDecimal
usedHours()
Gets the usedHours property: Total used hours by the reservation.BigDecimal
usedQuantity()
Gets the usedQuantity property: This is the used quantity for the reservationId.BigDecimal
utilizedPercentage()
Gets the utilizedPercentage property: This is the utilized percentage for the reservation Id.
-
-
-
Method Detail
-
id
String id()
Gets the id property: Fully qualified resource Id for the resource.- Returns:
- the id value.
-
name
String name()
Gets the name property: The name of the resource.- Returns:
- the name value.
-
type
String type()
Gets the type property: The type of the resource.- Returns:
- the type value.
-
etag
String etag()
Gets the etag property: The etag for the resource.- Returns:
- the etag value.
-
reservationOrderId
String reservationOrderId()
Gets the reservationOrderId property: 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.- Returns:
- the reservationOrderId value.
-
reservationId
String reservationId()
Gets the reservationId property: 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.- Returns:
- the reservationId value.
-
skuName
String skuName()
Gets the skuName property: This is the ARM Sku name. It can be used to join with the serviceType field in additional info in usage records.- Returns:
- the skuName value.
-
reservedHours
BigDecimal reservedHours()
Gets the reservedHours property: 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.- Returns:
- the reservedHours value.
-
usageDate
OffsetDateTime usageDate()
Gets the usageDate property: Data corresponding to the utilization record. If the grain of data is monthly, it will be first day of month.- Returns:
- the usageDate value.
-
usedHours
BigDecimal usedHours()
Gets the usedHours property: Total used hours by the reservation.- Returns:
- the usedHours value.
-
minUtilizationPercentage
BigDecimal minUtilizationPercentage()
Gets the minUtilizationPercentage property: 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.- Returns:
- the minUtilizationPercentage value.
-
avgUtilizationPercentage
BigDecimal avgUtilizationPercentage()
Gets the avgUtilizationPercentage property: This is average utilization for the entire time range. (day or month depending on the grain).- Returns:
- the avgUtilizationPercentage value.
-
maxUtilizationPercentage
BigDecimal maxUtilizationPercentage()
Gets the maxUtilizationPercentage property: 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.- Returns:
- the maxUtilizationPercentage value.
-
kind
String kind()
Gets the kind property: The reservation kind.- Returns:
- the kind value.
-
purchasedQuantity
BigDecimal purchasedQuantity()
Gets the purchasedQuantity property: This is the purchased quantity for the reservationId.- Returns:
- the purchasedQuantity value.
-
remainingQuantity
BigDecimal remainingQuantity()
Gets the remainingQuantity property: This is the remaining quantity for the reservationId.- Returns:
- the remainingQuantity value.
-
totalReservedQuantity
BigDecimal totalReservedQuantity()
Gets the totalReservedQuantity property: This is the total count of instances that are reserved for the reservationId.- Returns:
- the totalReservedQuantity value.
-
usedQuantity
BigDecimal usedQuantity()
Gets the usedQuantity property: This is the used quantity for the reservationId.- Returns:
- the usedQuantity value.
-
utilizedPercentage
BigDecimal utilizedPercentage()
Gets the utilizedPercentage property: This is the utilized percentage for the reservation Id.- Returns:
- the utilizedPercentage value.
-
innerModel
ReservationSummaryInner innerModel()
Gets the inner com.azure.resourcemanager.consumption.fluent.models.ReservationSummaryInner object.- Returns:
- the inner object.
-
-