pub struct ReadPoolAutoScaleConfig {
pub disable_scale_in: Option<bool>,
pub enabled: Option<bool>,
pub max_node_count: Option<i32>,
pub min_node_count: Option<i32>,
pub scale_in_cooldown_seconds: Option<i32>,
pub scale_out_cooldown_seconds: Option<i32>,
pub target_metrics: Option<Vec<TargetMetric>>,
}Expand description
The read pool auto-scale configuration.
This type is not used in any activity, and only used as part of another schema.
Fields§
§disable_scale_in: Option<bool>Indicates whether read pool auto scaling supports scale in operations (removing nodes).
enabled: Option<bool>Indicates whether read pool auto scaling is enabled.
max_node_count: Option<i32>Maximum number of read pool nodes to be maintained.
min_node_count: Option<i32>Minimum number of read pool nodes to be maintained.
scale_in_cooldown_seconds: Option<i32>The cooldown period for scale-in operations.
scale_out_cooldown_seconds: Option<i32>The cooldown period for scale-out operations.
target_metrics: Option<Vec<TargetMetric>>Optional. Target metrics for read pool auto scaling.
Trait Implementations§
Source§impl Clone for ReadPoolAutoScaleConfig
impl Clone for ReadPoolAutoScaleConfig
Source§fn clone(&self) -> ReadPoolAutoScaleConfig
fn clone(&self) -> ReadPoolAutoScaleConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ReadPoolAutoScaleConfig
impl Debug for ReadPoolAutoScaleConfig
Source§impl Default for ReadPoolAutoScaleConfig
impl Default for ReadPoolAutoScaleConfig
Source§fn default() -> ReadPoolAutoScaleConfig
fn default() -> ReadPoolAutoScaleConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ReadPoolAutoScaleConfig
impl<'de> Deserialize<'de> for ReadPoolAutoScaleConfig
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for ReadPoolAutoScaleConfig
impl Serialize for ReadPoolAutoScaleConfig
impl Part for ReadPoolAutoScaleConfig
Auto Trait Implementations§
impl Freeze for ReadPoolAutoScaleConfig
impl RefUnwindSafe for ReadPoolAutoScaleConfig
impl Send for ReadPoolAutoScaleConfig
impl Sync for ReadPoolAutoScaleConfig
impl Unpin for ReadPoolAutoScaleConfig
impl UnwindSafe for ReadPoolAutoScaleConfig
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
Mutably borrows from an owned value. Read more