Interface ReservationDetail


  • public interface ReservationDetail
    An immutable client-side representation of ReservationDetail.
    • 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.
      • tags

        Map<String,​String> tags()
        Gets the tags property: Resource tags.
        Returns:
        the tags 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.
      • instanceFlexibilityRatio

        String instanceFlexibilityRatio()
        Gets the instanceFlexibilityRatio property: The instance Flexibility Ratio.
        Returns:
        the instanceFlexibilityRatio value.
      • instanceFlexibilityGroup

        String instanceFlexibilityGroup()
        Gets the instanceFlexibilityGroup property: The instance Flexibility Group.
        Returns:
        the instanceFlexibilityGroup 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 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.
        Returns:
        the reservedHours value.
      • usageDate

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

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

        String instanceId()
        Gets the instanceId property: This identifier is the name of the resource or the fully qualified Resource ID.
        Returns:
        the instanceId 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.
      • kind

        String kind()
        Gets the kind property: The reservation kind.
        Returns:
        the kind value.
      • innerModel

        ReservationDetailInner innerModel()
        Gets the inner com.azure.resourcemanager.consumption.fluent.models.ReservationDetailInner object.
        Returns:
        the inner object.