pub struct AutoscalingLimits {
pub max_nodes: Option<i32>,
pub max_processing_units: Option<i32>,
pub min_nodes: Option<i32>,
pub min_processing_units: Option<i32>,
}Expand description
The autoscaling limits for the instance. Users can define the minimum and maximum compute capacity allocated to the instance, and the autoscaler will only scale within that range. Users can either use nodes or processing units to specify the limits, but should use the same unit to set both the min_limit and max_limit.
This type is not used in any activity, and only used as part of another schema.
Fields§
§max_nodes: Option<i32>Maximum number of nodes allocated to the instance. If set, this number should be greater than or equal to min_nodes.
max_processing_units: Option<i32>Maximum number of processing units allocated to the instance. If set, this number should be multiples of 1000 and be greater than or equal to min_processing_units.
min_nodes: Option<i32>Minimum number of nodes allocated to the instance. If set, this number should be greater than or equal to 1.
min_processing_units: Option<i32>Minimum number of processing units allocated to the instance. If set, this number should be multiples of 1000.
Trait Implementations§
Source§impl Clone for AutoscalingLimits
impl Clone for AutoscalingLimits
Source§fn clone(&self) -> AutoscalingLimits
fn clone(&self) -> AutoscalingLimits
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more