Struct google_api_proto::google::cloud::vmwareengine::v1::AutoscalingSettings
source · pub struct AutoscalingSettings {
pub autoscaling_policies: BTreeMap<String, AutoscalingPolicy>,
pub min_cluster_node_count: i32,
pub max_cluster_node_count: i32,
pub cool_down_period: Option<Duration>,
}
Expand description
Autoscaling settings define the rules used by VMware Engine to automatically scale-out and scale-in the clusters in a private cloud.
Fields§
§autoscaling_policies: BTreeMap<String, AutoscalingPolicy>
Required. The map with autoscaling policies applied to the cluster. The key is the identifier of the policy. It must meet the following requirements:
- Only contains 1-63 alphanumeric characters and hyphens
- Begins with an alphabetical character
- Ends with a non-hyphen character
- Not formatted as a UUID
- Complies with RFC 1034 (section 3.5)
Currently there map must contain only one element that describes the autoscaling policy for compute nodes.
min_cluster_node_count: i32
Optional. Minimum number of nodes of any type in a cluster. If not specified the default limits apply.
max_cluster_node_count: i32
Optional. Maximum number of nodes of any type in a cluster. If not specified the default limits apply.
cool_down_period: Option<Duration>
Optional. The minimum duration between consecutive autoscale operations. It starts once addition or removal of nodes is fully completed. Defaults to 30 minutes if not specified. Cool down period must be in whole minutes (for example, 30, 31, 50, 180 minutes).
Trait Implementations§
source§impl Clone for AutoscalingSettings
impl Clone for AutoscalingSettings
source§fn clone(&self) -> AutoscalingSettings
fn clone(&self) -> AutoscalingSettings
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AutoscalingSettings
impl Debug for AutoscalingSettings
source§impl Default for AutoscalingSettings
impl Default for AutoscalingSettings
source§impl Message for AutoscalingSettings
impl Message for AutoscalingSettings
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for AutoscalingSettings
impl PartialEq for AutoscalingSettings
source§fn eq(&self, other: &AutoscalingSettings) -> bool
fn eq(&self, other: &AutoscalingSettings) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AutoscalingSettings
Auto Trait Implementations§
impl Freeze for AutoscalingSettings
impl RefUnwindSafe for AutoscalingSettings
impl Send for AutoscalingSettings
impl Sync for AutoscalingSettings
impl Unpin for AutoscalingSettings
impl UnwindSafe for AutoscalingSettings
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request