LegacyReservationRecommendationProperties Class

The properties of the reservation recommendation.

You probably want to use the sub-classes and not this class directly. Known sub-classes are: LegacySharedScopeReservationRecommendationProperties, LegacySingleScopeReservationRecommendationProperties

Constructor

LegacyReservationRecommendationProperties(*args: Any, **kwargs: Any)

Variables

Name Description
look_back_period
str

The number of days of usage to look back for recommendation.

instance_flexibility_ratio

The instance Flexibility Ratio.

instance_flexibility_group
str

The instance Flexibility Group.

normalized_size
str

The normalized Size.

recommended_quantity_normalized

The recommended Quantity Normalized.

meter_id
str

The meter id (GUID).

resource_type
str

The azure resource type.

term
str

Term period of the reservation. ex: P1M, P1Y or P3Y.

cost_with_no_reserved_instances

The total amount of cost without reserved instances.

recommended_quantity

Recommended quality for reserved instances.

total_cost_with_reserved_instances

The total amount of cost with reserved instances.

net_savings

Total estimated savings with reserved instances.

first_usage_date

The usage date for looking back.

scope
str

Shared or single recommendation. Required. Default value is None.

sku_properties

List of sku properties.

last_usage_date

The last usage date used for looking back for computing the recommendation.

total_hours
int

The total hours for which the cost is covered.

Attributes

cost_with_no_reserved_instances

The total amount of cost without reserved instances.

cost_with_no_reserved_instances: Decimal | None

first_usage_date

The usage date for looking back.

first_usage_date: datetime | None

instance_flexibility_group

The instance Flexibility Group.

instance_flexibility_group: str | None

instance_flexibility_ratio

The instance Flexibility Ratio.

instance_flexibility_ratio: float | None

last_usage_date

The last usage date used for looking back for computing the recommendation.

last_usage_date: datetime | None

look_back_period

The number of days of usage to look back for recommendation.

look_back_period: str | None

meter_id

The meter id (GUID).

meter_id: str | None

net_savings

Total estimated savings with reserved instances.

net_savings: Decimal | None

normalized_size

The normalized Size.

normalized_size: str | None

Recommended quality for reserved instances.

recommended_quantity: Decimal | None

The recommended Quantity Normalized.

recommended_quantity_normalized: float | None

resource_type

The azure resource type.

resource_type: str | None

scope

Shared or single recommendation. Required. Default value is None.

scope: str

sku_properties

List of sku properties.

sku_properties: list['_models.SkuProperty'] | None

term

P1M, P1Y or P3Y.

term: str | None

total_cost_with_reserved_instances

The total amount of cost with reserved instances.

total_cost_with_reserved_instances: Decimal | None

total_hours

The total hours for which the cost is covered.

total_hours: int | None