Enum google_api_proto::google::cloud::compute::v1::managed_instance::CurrentAction
source · #[repr(i32)]pub enum CurrentAction {
UndefinedCurrentAction = 0,
Abandoning = 388_244_813,
Creating = 455_564_985,
CreatingWithoutRetries = 428_843_785,
Deleting = 528_602_024,
None = 2_402_104,
Recreating = 287_278_572,
Refreshing = 163_266_343,
Restarting = 320_534_387,
Resuming = 446_856_618,
Starting = 488_820_800,
Verifying = 16_982_185,
}
Expand description
[Output Only] The current action that the managed instance group has scheduled for the instance. Possible values: - NONE The instance is running, and the managed instance group does not have any scheduled actions for this instance. - 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. - CREATING_WITHOUT_RETRIES 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 instead. - RECREATING The managed instance group is recreating this instance. - DELETING The managed instance group is permanently deleting this instance. - 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. - RESTARTING The managed instance group is restarting the 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. - VERIFYING The managed instance group has created the instance and it is in the process of being verified. Additional supported values which may be not listed in the enum directly due to technical reasons: STOPPING SUSPENDING
Variants§
UndefinedCurrentAction = 0
A value indicating that the enum field is not set.
Abandoning = 388_244_813
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 = 455_564_985
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 = 428_843_785
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 = 528_602_024
The managed instance group is permanently deleting this instance.
None = 2_402_104
The managed instance group has not scheduled any actions for this instance.
Recreating = 287_278_572
The managed instance group is recreating this instance.
Refreshing = 163_266_343
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 = 320_534_387
The managed instance group is restarting this instance.
Resuming = 446_856_618
The managed instance group is resuming this instance.
Starting = 488_820_800
The managed instance group is starting this instance.
Verifying = 16_982_185
The managed instance group is verifying this already created instance. Verification happens every time the instance is (re)created or restarted and consists of: 1. 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 2. Waiting for addition verification steps performed as post-instance creation (subject to future extensions).
Implementations§
source§impl CurrentAction
impl CurrentAction
source§impl CurrentAction
impl CurrentAction
sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
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§fn default() -> CurrentAction
fn default() -> CurrentAction
source§impl From<CurrentAction> for i32
impl From<CurrentAction> for i32
source§fn from(value: CurrentAction) -> i32
fn from(value: CurrentAction) -> i32
source§impl Hash for CurrentAction
impl Hash for CurrentAction
source§impl Ord for CurrentAction
impl Ord for CurrentAction
source§fn cmp(&self, other: &CurrentAction) -> Ordering
fn cmp(&self, other: &CurrentAction) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for CurrentAction
impl PartialEq for CurrentAction
source§fn eq(&self, other: &CurrentAction) -> bool
fn eq(&self, other: &CurrentAction) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for CurrentAction
impl PartialOrd for CurrentAction
source§fn partial_cmp(&self, other: &CurrentAction) -> Option<Ordering>
fn partial_cmp(&self, other: &CurrentAction) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<i32> for CurrentAction
impl TryFrom<i32> for CurrentAction
§type Error = UnknownEnumValue
type Error = UnknownEnumValue
source§fn try_from(value: i32) -> Result<CurrentAction, UnknownEnumValue>
fn try_from(value: i32) -> Result<CurrentAction, UnknownEnumValue>
impl Copy for CurrentAction
impl Eq 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
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§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