Skip to content

RecommendedOptionProjectedMetric

Source code in docs_src/capo_compute_optimizer/types/recommended_option_projected_metric.py
class RecommendedOptionProjectedMetric(TypedDict, closed=True):
    recommended_instance_type: NotRequired[
        "capo_compute_optimizer.types.recommended_instance_type.RecommendedInstanceType"
    ]
    """<p>The recommended instance type.</p>"""
    rank: "capo_compute_optimizer.types.rank.Rank"
    """<p>The rank of the recommendation option projected metric.</p> <p>The top recommendation option is ranked as <code>1</code>.</p> <p>The projected metric rank correlates to the recommendation option rank. For example, the projected metric ranked as <code>1</code> is related to the recommendation option that is also ranked as <code>1</code> in the same response.</p>"""
    projected_metrics: NotRequired[
        "capo_compute_optimizer.types.projected_metrics.ProjectedMetrics"
    ]
    """<p>An array of objects that describe a projected utilization metric.</p>"""

projected_metrics instance-attribute

projected_metrics: NotRequired[ProjectedMetrics]

An array of objects that describe a projected utilization metric.

rank instance-attribute

rank: Rank

The rank of the recommendation option projected metric.

The top recommendation option is ranked as 1.

The projected metric rank correlates to the recommendation option rank. For example, the projected metric ranked as 1 is related to the recommendation option that is also ranked as 1 in the same response.

recommended_instance_type instance-attribute

recommended_instance_type: NotRequired[RecommendedInstanceType]

The recommended instance type.