#[non_exhaustive]pub enum CurrentAction {
Show 14 variants
Abandoning,
Creating,
CreatingWithoutRetries,
Deleting,
None,
Recreating,
Refreshing,
Restarting,
Resuming,
Starting,
Stopping,
Suspending,
Verifying,
UnknownValue(UnknownValue),
}instance-group-managers or region-instance-group-managers only.Expand description
The enumerated type for the currentAction field.
§Working with unknown values
This enum is defined as #[non_exhaustive] because Google Cloud may add
additional enum variants at any time. Adding new variants is not considered
a breaking change. Applications should write their code in anticipation of:
- New values appearing in future releases of the client library, and
- New values received dynamically, without application changes.
Please consult the Working with enums section in the user guide for some guidelines.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Abandoning
The managed instance group is abandoning this instance. The instance will be removed from the instance group and from any target pools that are associated with this group.
Creating
The managed instance group is creating this instance. If the group fails to create this instance, it will try again until it is successful.
CreatingWithoutRetries
The managed instance group is attempting to create this instance only once. If the group fails to create this instance, it does not try again and the group’s targetSize value is decreased.
Deleting
The managed instance group is permanently deleting this instance.
None
The managed instance group has not scheduled any actions for this instance.
Recreating
The managed instance group is recreating this instance.
Refreshing
The managed instance group is applying configuration changes to the instance without stopping it. For example, the group can update the target pool list for an instance without stopping that instance.
Restarting
The managed instance group is restarting this instance.
Resuming
The managed instance group is resuming this instance.
Starting
The managed instance group is starting this instance.
Stopping
The managed instance group is stopping this instance.
Suspending
The managed instance group is suspending this instance.
Verifying
The managed instance group is verifying this already created instance. Verification happens every time the instance is (re)created or restarted and consists of:
- Waiting until health check specified as part of this managed instance group’s autohealing policy reports HEALTHY. Note: Applies only if autohealing policy has a health check specified
- Waiting for addition verification steps performed as post-instance creation (subject to future extensions).
UnknownValue(UnknownValue)
If set, the enum was initialized with an unknown value.
Applications can examine the value using CurrentAction::value or CurrentAction::name.
Implementations§
Trait Implementations§
Source§impl Clone for CurrentAction
impl Clone for CurrentAction
Source§fn clone(&self) -> CurrentAction
fn clone(&self) -> CurrentAction
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for CurrentAction
impl Debug for CurrentAction
Source§impl Default for CurrentAction
impl Default for CurrentAction
Source§impl<'de> Deserialize<'de> for CurrentAction
impl<'de> Deserialize<'de> for CurrentAction
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>,
Source§impl Display for CurrentAction
impl Display for CurrentAction
Source§impl From<&str> for CurrentAction
impl From<&str> for CurrentAction
Source§impl From<i32> for CurrentAction
impl From<i32> for CurrentAction
Source§impl PartialEq for CurrentAction
impl PartialEq for CurrentAction
Source§impl Serialize for CurrentAction
impl Serialize for CurrentAction
impl StructuralPartialEq for CurrentAction
Auto Trait Implementations§
impl Freeze for CurrentAction
impl RefUnwindSafe for CurrentAction
impl Send for CurrentAction
impl Sync for CurrentAction
impl Unpin for CurrentAction
impl UnwindSafe for CurrentAction
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> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.