Struct google_compute1::api::NodeGroupAutoscalingPolicy
source · pub struct NodeGroupAutoscalingPolicy {
pub max_nodes: Option<i32>,
pub min_nodes: Option<i32>,
pub mode: Option<String>,
}
Expand description
There is no detailed description.
This type is not used in any activity, and only used as part of another schema.
Fields§
§max_nodes: Option<i32>
The maximum number of nodes that the group should have. Must be set if autoscaling is enabled. Maximum value allowed is 100.
min_nodes: Option<i32>
The minimum number of nodes that the group should have.
mode: Option<String>
The autoscaling mode. Set to one of: ON, OFF, or ONLY_SCALE_OUT. For more information, see Autoscaler modes.
Trait Implementations§
source§impl Clone for NodeGroupAutoscalingPolicy
impl Clone for NodeGroupAutoscalingPolicy
source§fn clone(&self) -> NodeGroupAutoscalingPolicy
fn clone(&self) -> NodeGroupAutoscalingPolicy
Returns a copy 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 NodeGroupAutoscalingPolicy
impl Debug for NodeGroupAutoscalingPolicy
source§impl Default for NodeGroupAutoscalingPolicy
impl Default for NodeGroupAutoscalingPolicy
source§fn default() -> NodeGroupAutoscalingPolicy
fn default() -> NodeGroupAutoscalingPolicy
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for NodeGroupAutoscalingPolicy
impl<'de> Deserialize<'de> for NodeGroupAutoscalingPolicy
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
impl Part for NodeGroupAutoscalingPolicy
Auto Trait Implementations§
impl RefUnwindSafe for NodeGroupAutoscalingPolicy
impl Send for NodeGroupAutoscalingPolicy
impl Sync for NodeGroupAutoscalingPolicy
impl Unpin for NodeGroupAutoscalingPolicy
impl UnwindSafe for NodeGroupAutoscalingPolicy
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