Class ReservationRecommendationDetailsUsageProperties
- java.lang.Object
-
- com.azure.resourcemanager.consumption.models.ReservationRecommendationDetailsUsageProperties
-
public final class ReservationRecommendationDetailsUsageProperties extends Object
Details about historical usage data that has been used for computing the recommendation.
-
-
Constructor Summary
Constructors Constructor Description ReservationRecommendationDetailsUsageProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
firstConsumptionDate()
Get the firstConsumptionDate property: The first usage date used for looking back for computing the recommendation.String
lastConsumptionDate()
Get the lastConsumptionDate property: The last usage date used for looking back for computing the recommendation.String
lookBackUnitType()
Get the lookBackUnitType property: What the usage data values represent ex: virtual machine instance.List<Float>
usageData()
Get the usageData property: The breakdown of historical resource usage.String
usageGrain()
Get the usageGrain property: The grain of the values represented in the usage data ex: hourly.void
validate()
Validates the instance.
-
-
-
Method Detail
-
firstConsumptionDate
public String firstConsumptionDate()
Get the firstConsumptionDate property: The first usage date used for looking back for computing the recommendation.- Returns:
- the firstConsumptionDate value.
-
lastConsumptionDate
public String lastConsumptionDate()
Get the lastConsumptionDate property: The last usage date used for looking back for computing the recommendation.- Returns:
- the lastConsumptionDate value.
-
lookBackUnitType
public String lookBackUnitType()
Get the lookBackUnitType property: What the usage data values represent ex: virtual machine instance.- Returns:
- the lookBackUnitType value.
-
usageData
public List<Float> usageData()
Get the usageData property: The breakdown of historical resource usage. The values are in the order of usage between the firstConsumptionDate and the lastConsumptionDate.- Returns:
- the usageData value.
-
usageGrain
public String usageGrain()
Get the usageGrain property: The grain of the values represented in the usage data ex: hourly.- Returns:
- the usageGrain value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-