pub struct AutoscalingTargets {
pub cpu_utilization_percent: Option<i32>,
pub storage_utilization_gib_per_node: Option<i32>,
}Expand description
The Autoscaling targets for a Cluster. These determine the recommended nodes.
This type is not used in any activity, and only used as part of another schema.
Fields§
§cpu_utilization_percent: Option<i32>The cpu utilization that the Autoscaler should be trying to achieve. This number is on a scale from 0 (no utilization) to 100 (total utilization), and is limited between 10 and 80, otherwise it will return INVALID_ARGUMENT error.
storage_utilization_gib_per_node: Option<i32>The storage utilization that the Autoscaler should be trying to achieve. This number is limited between 2560 (2.5TiB) and 5120 (5TiB) for a SSD cluster and between 8192 (8TiB) and 16384 (16TiB) for an HDD cluster, otherwise it will return INVALID_ARGUMENT error. If this value is set to 0, it will be treated as if it were set to the default value: 2560 for SSD, 8192 for HDD.
Trait Implementations§
Source§impl Clone for AutoscalingTargets
impl Clone for AutoscalingTargets
Source§fn clone(&self) -> AutoscalingTargets
fn clone(&self) -> AutoscalingTargets
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for AutoscalingTargets
impl Debug for AutoscalingTargets
Source§impl Default for AutoscalingTargets
impl Default for AutoscalingTargets
Source§fn default() -> AutoscalingTargets
fn default() -> AutoscalingTargets
Source§impl<'de> Deserialize<'de> for AutoscalingTargets
impl<'de> Deserialize<'de> for AutoscalingTargets
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Serialize for AutoscalingTargets
impl Serialize for AutoscalingTargets
impl Part for AutoscalingTargets
Auto Trait Implementations§
impl Freeze for AutoscalingTargets
impl RefUnwindSafe for AutoscalingTargets
impl Send for AutoscalingTargets
impl Sync for AutoscalingTargets
impl Unpin for AutoscalingTargets
impl UnwindSafe for AutoscalingTargets
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more