pub struct PerInstanceConfig {
pub fingerprint: Option<Vec<u8>>,
pub name: Option<String>,
pub preserved_state: Option<PreservedState>,
pub status: 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§
§fingerprint: Option<Vec<u8>>
Fingerprint of this per-instance config. This field can be used in optimistic locking. It is ignored when inserting a per-instance config. An up-to-date fingerprint must be provided in order to update an existing per-instance configuration or the field needs to be unset.
name: Option<String>
The name of a per-instance configuration and its corresponding instance. Serves as a merge key during UpdatePerInstanceConfigs operations, that is, if a per-instance configuration with the same name exists then it will be updated, otherwise a new one will be created for the VM instance with the same name. An attempt to create a per-instance configconfiguration for a VM instance that either doesn’t exist or is not part of the group will result in an error.
preserved_state: Option<PreservedState>
The intended preserved state for the given instance. Does not contain preserved state generated from a stateful policy.
status: Option<String>
The status of applying this per-instance configuration on the corresponding managed instance.
Trait Implementations§
Source§impl Clone for PerInstanceConfig
impl Clone for PerInstanceConfig
Source§fn clone(&self) -> PerInstanceConfig
fn clone(&self) -> PerInstanceConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for PerInstanceConfig
impl Debug for PerInstanceConfig
Source§impl Default for PerInstanceConfig
impl Default for PerInstanceConfig
Source§fn default() -> PerInstanceConfig
fn default() -> PerInstanceConfig
Source§impl<'de> Deserialize<'de> for PerInstanceConfig
impl<'de> Deserialize<'de> for PerInstanceConfig
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 PerInstanceConfig
impl Serialize for PerInstanceConfig
impl Part for PerInstanceConfig
Auto Trait Implementations§
impl Freeze for PerInstanceConfig
impl RefUnwindSafe for PerInstanceConfig
impl Send for PerInstanceConfig
impl Sync for PerInstanceConfig
impl Unpin for PerInstanceConfig
impl UnwindSafe for PerInstanceConfig
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