[−][src]Struct google_autoscaler1_beta2::AutoscalingPolicy
Cloud Autoscaler policy.
This type is not used in any activity, and only used as part of another schema.
Fields
custom_metric_utilizations: Option<Vec<AutoscalingPolicyCustomMetricUtilization>>
Configuration parameters of autoscaling based on custom metric.
max_num_replicas: Option<i32>
The maximum number of replicas that the Autoscaler can scale up to.
cpu_utilization: Option<AutoscalingPolicyCpuUtilization>
Exactly one utilization policy should be provided. Configuration parameters of CPU based autoscaling policy.
min_num_replicas: Option<i32>
The minimum number of replicas that the Autoscaler can scale down to.
cool_down_period_sec: Option<i32>
The number of seconds that the Autoscaler should wait between two succeeding changes to the number of virtual machines. You should define an interval that is at least as long as the initialization time of a virtual machine and the time it may take for replica pool to create the virtual machine. The default is 60 seconds.
load_balancing_utilization: Option<AutoscalingPolicyLoadBalancingUtilization>
Configuration parameters of autoscaling based on load balancer.
Trait Implementations
impl Part for AutoscalingPolicy
[src]
impl Default for AutoscalingPolicy
[src]
fn default() -> AutoscalingPolicy
[src]
impl Clone for AutoscalingPolicy
[src]
fn clone(&self) -> AutoscalingPolicy
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for AutoscalingPolicy
[src]
impl Serialize for AutoscalingPolicy
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for AutoscalingPolicy
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Send for AutoscalingPolicy
impl Unpin for AutoscalingPolicy
impl Sync for AutoscalingPolicy
impl UnwindSafe for AutoscalingPolicy
impl RefUnwindSafe for AutoscalingPolicy
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Typeable for T where
T: Any,
T: Any,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,