[][src]Struct rusoto_compute_optimizer::InstanceRecommendationOption

pub struct InstanceRecommendationOption {
    pub instance_type: Option<String>,
    pub performance_risk: Option<f64>,
    pub projected_utilization_metrics: Option<Vec<UtilizationMetric>>,
    pub rank: Option<i64>,
}

Describes a recommendation option for an Amazon EC2 instance.

Fields

instance_type: Option<String>

The instance type of the instance recommendation.

performance_risk: Option<f64>

The performance risk of the instance recommendation option.

Performance risk is the likelihood of the recommended instance type not meeting the performance requirement of your workload.

The lowest performance risk is categorized as 0, and the highest as 5.

projected_utilization_metrics: Option<Vec<UtilizationMetric>>

An array of objects that describe the projected utilization metrics of the instance recommendation option.

The Cpu and Memory metrics are the only projected utilization metrics returned. Additionally, the Memory metric is returned only for resources that have the unified CloudWatch agent installed on them. For more information, see Enabling Memory Utilization with the CloudWatch Agent.

rank: Option<i64>

The rank of the instance recommendation option.

The top recommendation option is ranked as 1.

Trait Implementations

impl Clone for InstanceRecommendationOption[src]

impl Debug for InstanceRecommendationOption[src]

impl Default for InstanceRecommendationOption[src]

impl<'de> Deserialize<'de> for InstanceRecommendationOption[src]

impl PartialEq<InstanceRecommendationOption> for InstanceRecommendationOption[src]

impl StructuralPartialEq for InstanceRecommendationOption[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.