pub struct ManagedInstance {
pub current_action: Option<String>,
pub id: Option<u64>,
pub instance: Option<String>,
pub instance_health: Option<Vec<ManagedInstanceInstanceHealth>>,
pub instance_status: Option<String>,
pub last_attempt: Option<ManagedInstanceLastAttempt>,
pub name: Option<String>,
pub preserved_state_from_config: Option<PreservedState>,
pub preserved_state_from_policy: Option<PreservedState>,
pub version: Option<ManagedInstanceVersion>,
}
Expand description
A Managed Instance resource.
This type is not used in any activity, and only used as part of another schema.
Fields§
§current_action: Option<String>
[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.
id: Option<u64>
[Output only] The unique identifier for this resource. This field is empty when instance does not exist.
instance: Option<String>
[Output Only] The URL of the instance. The URL can exist even if the instance has not yet been created.
instance_health: Option<Vec<ManagedInstanceInstanceHealth>>
[Output Only] Health state of the instance per health-check.
instance_status: Option<String>
[Output Only] The status of the instance. This field is empty when the instance does not exist.
last_attempt: Option<ManagedInstanceLastAttempt>
[Output Only] Information about the last attempt to create or delete the instance.
name: Option<String>
[Output Only] The name of the instance. The name always exists even if the instance has not yet been created.
preserved_state_from_config: Option<PreservedState>
[Output Only] Preserved state applied from per-instance config for this instance.
preserved_state_from_policy: Option<PreservedState>
[Output Only] Preserved state generated based on stateful policy for this instance.
version: Option<ManagedInstanceVersion>
[Output Only] Intended version of this instance.
Trait Implementations§
Source§impl Clone for ManagedInstance
impl Clone for ManagedInstance
Source§fn clone(&self) -> ManagedInstance
fn clone(&self) -> ManagedInstance
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for ManagedInstance
impl Debug for ManagedInstance
Source§impl Default for ManagedInstance
impl Default for ManagedInstance
Source§fn default() -> ManagedInstance
fn default() -> ManagedInstance
Source§impl<'de> Deserialize<'de> for ManagedInstance
impl<'de> Deserialize<'de> for ManagedInstance
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 Serialize for ManagedInstance
impl Serialize for ManagedInstance
impl Part for ManagedInstance
Auto Trait Implementations§
impl Freeze for ManagedInstance
impl RefUnwindSafe for ManagedInstance
impl Send for ManagedInstance
impl Sync for ManagedInstance
impl Unpin for ManagedInstance
impl UnwindSafe for ManagedInstance
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