pub struct InstanceGroupManagerInstanceLifecyclePolicy {
pub default_action_on_failure: Option<String>,
pub force_update_on_repair: 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§
§default_action_on_failure: Option<String>The action that a MIG performs on a failed or an unhealthy VM. A VM is marked as unhealthy when the application running on that VM fails a health check. Valid values are - REPAIR (default): MIG automatically repairs a failed or an unhealthy VM by recreating it. For more information, see About repairing VMs in a MIG. - DO_NOTHING: MIG does not repair a failed or an unhealthy VM.
force_update_on_repair: Option<String>A bit indicating whether to forcefully apply the group’s latest configuration when repairing a VM. Valid options are: - NO (default): If configuration updates are available, they are not forcefully applied during repair. Instead, configuration updates are applied according to the group’s update policy. - YES: If configuration updates are available, they are applied during repair.
Trait Implementations§
Source§impl Clone for InstanceGroupManagerInstanceLifecyclePolicy
impl Clone for InstanceGroupManagerInstanceLifecyclePolicy
Source§fn clone(&self) -> InstanceGroupManagerInstanceLifecyclePolicy
fn clone(&self) -> InstanceGroupManagerInstanceLifecyclePolicy
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for InstanceGroupManagerInstanceLifecyclePolicy
impl Default for InstanceGroupManagerInstanceLifecyclePolicy
Source§fn default() -> InstanceGroupManagerInstanceLifecyclePolicy
fn default() -> InstanceGroupManagerInstanceLifecyclePolicy
Source§impl<'de> Deserialize<'de> for InstanceGroupManagerInstanceLifecyclePolicy
impl<'de> Deserialize<'de> for InstanceGroupManagerInstanceLifecyclePolicy
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>,
impl Part for InstanceGroupManagerInstanceLifecyclePolicy
Auto Trait Implementations§
impl Freeze for InstanceGroupManagerInstanceLifecyclePolicy
impl RefUnwindSafe for InstanceGroupManagerInstanceLifecyclePolicy
impl Send for InstanceGroupManagerInstanceLifecyclePolicy
impl Sync for InstanceGroupManagerInstanceLifecyclePolicy
impl Unpin for InstanceGroupManagerInstanceLifecyclePolicy
impl UnwindSafe for InstanceGroupManagerInstanceLifecyclePolicy
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more