pub struct InstanceGroupManagersApplyUpdatesRequest {
pub all_instances: Option<bool>,
pub instances: Option<Vec<String>>,
pub minimal_action: Option<String>,
pub most_disruptive_allowed_action: Option<String>,
}
Expand description
InstanceGroupManagers.applyUpdatesToInstances
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
Fields§
§all_instances: Option<bool>
Flag to update all instances instead of specified list of “instances”. If the flag is set to true then the instances may not be specified in the request.
instances: Option<Vec<String>>
The list of URLs of one or more instances for which you want to apply updates. Each URL can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].
minimal_action: Option<String>
The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance and limit disruption as much as possible. - NONE: Do not disrupt the instance at all. By default, the minimum action is NONE. If your update requires a more disruptive action than you set with this flag, the necessary action is performed to execute the update.
most_disruptive_allowed_action: Option<String>
The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance and limit disruption as much as possible. - NONE: Do not disrupt the instance at all. By default, the most disruptive allowed action is REPLACE. If your update requires a more disruptive action than you set with this flag, the update request will fail.
Trait Implementations§
Source§impl Clone for InstanceGroupManagersApplyUpdatesRequest
impl Clone for InstanceGroupManagersApplyUpdatesRequest
Source§fn clone(&self) -> InstanceGroupManagersApplyUpdatesRequest
fn clone(&self) -> InstanceGroupManagersApplyUpdatesRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for InstanceGroupManagersApplyUpdatesRequest
impl Default for InstanceGroupManagersApplyUpdatesRequest
Source§fn default() -> InstanceGroupManagersApplyUpdatesRequest
fn default() -> InstanceGroupManagersApplyUpdatesRequest
Source§impl<'de> Deserialize<'de> for InstanceGroupManagersApplyUpdatesRequest
impl<'de> Deserialize<'de> for InstanceGroupManagersApplyUpdatesRequest
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 RequestValue for InstanceGroupManagersApplyUpdatesRequest
Auto Trait Implementations§
impl Freeze for InstanceGroupManagersApplyUpdatesRequest
impl RefUnwindSafe for InstanceGroupManagersApplyUpdatesRequest
impl Send for InstanceGroupManagersApplyUpdatesRequest
impl Sync for InstanceGroupManagersApplyUpdatesRequest
impl Unpin for InstanceGroupManagersApplyUpdatesRequest
impl UnwindSafe for InstanceGroupManagersApplyUpdatesRequest
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