pub struct AutoscalingConfig {
pub asymmetric_autoscaling_options: Option<Vec<AsymmetricAutoscalingOption>>,
pub autoscaling_limits: Option<AutoscalingLimits>,
pub autoscaling_targets: Option<AutoscalingTargets>,
}Expand description
Autoscaling configuration for an instance.
This type is not used in any activity, and only used as part of another schema.
Fields§
§asymmetric_autoscaling_options: Option<Vec<AsymmetricAutoscalingOption>>Optional. Optional asymmetric autoscaling options. Replicas matching the replica selection criteria will be autoscaled independently from other replicas. The autoscaler will scale the replicas based on the utilization of replicas identified by the replica selection. Replica selections should not overlap with each other. Other replicas (those do not match any replica selection) will be autoscaled together and will have the same compute capacity allocated to them.
autoscaling_limits: Option<AutoscalingLimits>Required. Autoscaling limits for an instance.
autoscaling_targets: Option<AutoscalingTargets>Required. The autoscaling targets for an instance.
Trait Implementations§
Source§impl Clone for AutoscalingConfig
impl Clone for AutoscalingConfig
Source§fn clone(&self) -> AutoscalingConfig
fn clone(&self) -> AutoscalingConfig
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 AutoscalingConfig
impl Debug for AutoscalingConfig
Source§impl Default for AutoscalingConfig
impl Default for AutoscalingConfig
Source§fn default() -> AutoscalingConfig
fn default() -> AutoscalingConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AutoscalingConfig
impl<'de> Deserialize<'de> for AutoscalingConfig
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 AutoscalingConfig
impl Serialize for AutoscalingConfig
impl Part for AutoscalingConfig
Auto Trait Implementations§
impl Freeze for AutoscalingConfig
impl RefUnwindSafe for AutoscalingConfig
impl Send for AutoscalingConfig
impl Sync for AutoscalingConfig
impl Unpin for AutoscalingConfig
impl UnwindSafe for AutoscalingConfig
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