Class LegacySingleScopeReservationRecommendationProperties
- java.lang.Object
-
- com.azure.resourcemanager.consumption.fluent.models.LegacyReservationRecommendationProperties
-
- com.azure.resourcemanager.consumption.models.LegacySingleScopeReservationRecommendationProperties
-
public final class LegacySingleScopeReservationRecommendationProperties extends LegacyReservationRecommendationProperties
The properties of the legacy reservation recommendation for single scope.
-
-
Constructor Summary
Constructors Constructor Description LegacySingleScopeReservationRecommendationProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UUID
subscriptionId()
Get the subscriptionId property: Subscription id associated with single scoped recommendation.void
validate()
Validates the instance.-
Methods inherited from class com.azure.resourcemanager.consumption.fluent.models.LegacyReservationRecommendationProperties
costWithNoReservedInstances, firstUsageDate, instanceFlexibilityGroup, instanceFlexibilityRatio, lookBackPeriod, meterId, netSavings, normalizedSize, recommendedQuantity, recommendedQuantityNormalized, resourceType, skuProperties, term, totalCostWithReservedInstances
-
-
-
-
Method Detail
-
subscriptionId
public UUID subscriptionId()
Get the subscriptionId property: Subscription id associated with single scoped recommendation.- Returns:
- the subscriptionId value.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classLegacyReservationRecommendationProperties
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-