Class LegacyReservationRecommendationProperties
- java.lang.Object
-
- com.azure.resourcemanager.consumption.fluent.models.LegacyReservationRecommendationProperties
-
- Direct Known Subclasses:
LegacySharedScopeReservationRecommendationProperties
,LegacySingleScopeReservationRecommendationProperties
public class LegacyReservationRecommendationProperties extends Object
The properties of the reservation recommendation.
-
-
Constructor Summary
Constructors Constructor Description LegacyReservationRecommendationProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigDecimal
costWithNoReservedInstances()
Get the costWithNoReservedInstances property: The total amount of cost without reserved instances.OffsetDateTime
firstUsageDate()
Get the firstUsageDate property: The usage date for looking back.String
instanceFlexibilityGroup()
Get the instanceFlexibilityGroup property: The instance Flexibility Group.Float
instanceFlexibilityRatio()
Get the instanceFlexibilityRatio property: The instance Flexibility Ratio.String
lookBackPeriod()
Get the lookBackPeriod property: The number of days of usage to look back for recommendation.UUID
meterId()
Get the meterId property: The meter id (GUID).BigDecimal
netSavings()
Get the netSavings property: Total estimated savings with reserved instances.String
normalizedSize()
Get the normalizedSize property: The normalized Size.BigDecimal
recommendedQuantity()
Get the recommendedQuantity property: Recommended quality for reserved instances.Float
recommendedQuantityNormalized()
Get the recommendedQuantityNormalized property: The recommended Quantity Normalized.String
resourceType()
Get the resourceType property: The azure resource type.List<SkuProperty>
skuProperties()
Get the skuProperties property: List of sku properties.String
term()
Get the term property: RI recommendations in one or three year terms.BigDecimal
totalCostWithReservedInstances()
Get the totalCostWithReservedInstances property: The total amount of cost with reserved instances.void
validate()
Validates the instance.
-
-
-
Method Detail
-
lookBackPeriod
public String lookBackPeriod()
Get the lookBackPeriod property: The number of days of usage to look back for recommendation.- Returns:
- the lookBackPeriod value.
-
instanceFlexibilityRatio
public Float instanceFlexibilityRatio()
Get the instanceFlexibilityRatio property: The instance Flexibility Ratio.- Returns:
- the instanceFlexibilityRatio value.
-
instanceFlexibilityGroup
public String instanceFlexibilityGroup()
Get the instanceFlexibilityGroup property: The instance Flexibility Group.- Returns:
- the instanceFlexibilityGroup value.
-
normalizedSize
public String normalizedSize()
Get the normalizedSize property: The normalized Size.- Returns:
- the normalizedSize value.
-
recommendedQuantityNormalized
public Float recommendedQuantityNormalized()
Get the recommendedQuantityNormalized property: The recommended Quantity Normalized.- Returns:
- the recommendedQuantityNormalized value.
-
meterId
public UUID meterId()
Get the meterId property: The meter id (GUID).- Returns:
- the meterId value.
-
resourceType
public String resourceType()
Get the resourceType property: The azure resource type.- Returns:
- the resourceType value.
-
term
public String term()
Get the term property: RI recommendations in one or three year terms.- Returns:
- the term value.
-
costWithNoReservedInstances
public BigDecimal costWithNoReservedInstances()
Get the costWithNoReservedInstances property: The total amount of cost without reserved instances.- Returns:
- the costWithNoReservedInstances value.
-
recommendedQuantity
public BigDecimal recommendedQuantity()
Get the recommendedQuantity property: Recommended quality for reserved instances.- Returns:
- the recommendedQuantity value.
-
totalCostWithReservedInstances
public BigDecimal totalCostWithReservedInstances()
Get the totalCostWithReservedInstances property: The total amount of cost with reserved instances.- Returns:
- the totalCostWithReservedInstances value.
-
netSavings
public BigDecimal netSavings()
Get the netSavings property: Total estimated savings with reserved instances.- Returns:
- the netSavings value.
-
firstUsageDate
public OffsetDateTime firstUsageDate()
Get the firstUsageDate property: The usage date for looking back.- Returns:
- the firstUsageDate value.
-
skuProperties
public List<SkuProperty> skuProperties()
Get the skuProperties property: List of sku properties.- Returns:
- the skuProperties value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-