Class ReservationDetailProperties

  • public final class ReservationDetailProperties
    extends Object
    The properties of the reservation detail.
    • Constructor Detail

      • ReservationDetailProperties

        public ReservationDetailProperties()
    • Method Detail

      • reservationOrderId

        public String reservationOrderId()
        Get 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.
        the reservationOrderId value.
      • instanceFlexibilityRatio

        public String instanceFlexibilityRatio()
        Get the instanceFlexibilityRatio property: The instance Flexibility Ratio.
        the instanceFlexibilityRatio value.
      • instanceFlexibilityGroup

        public String instanceFlexibilityGroup()
        Get the instanceFlexibilityGroup property: The instance Flexibility Group.
        the instanceFlexibilityGroup value.
      • reservationId

        public String reservationId()
        Get 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.
        the reservationId value.
      • skuName

        public String skuName()
        Get 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.
        the skuName value.
      • reservedHours

        public BigDecimal reservedHours()
        Get the reservedHours property: This is the total hours reserved for the day. 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.
        the reservedHours value.
      • usageDate

        public OffsetDateTime usageDate()
        Get the usageDate property: The date on which consumption occurred.
        the usageDate value.
      • usedHours

        public BigDecimal usedHours()
        Get the usedHours property: This is the total hours used by the instance.
        the usedHours value.
      • instanceId

        public String instanceId()
        Get the instanceId property: This identifier is the name of the resource or the fully qualified Resource ID.
        the instanceId value.
      • totalReservedQuantity

        public BigDecimal totalReservedQuantity()
        Get the totalReservedQuantity property: This is the total count of instances that are reserved for the reservationId.
        the totalReservedQuantity value.
      • kind

        public String kind()
        Get the kind property: The reservation kind.
        the kind value.
      • validate

        public void validate()
        Validates the instance.
        IllegalArgumentException - thrown if the instance is not valid.