Skip to main content

oci_rust_sdk/core/models/
configuration_state.rs

1use serde::{Deserialize, Serialize};
2
3/// The current state of the host configuration. The Host is either CONFORMANT - current state matches the desired configuration NON_CONFORMANT - current state does not match the desired configuration PRE_APPLYING, APPLYING, CHECKING - transitional states UNKNOWN - current state is unknown
4#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
5pub enum ConfigurationState {
6    #[serde(rename = "CONFORMANT")]
7    Conformant,
8
9    #[serde(rename = "NON_CONFORMANT")]
10    NonConformant,
11
12    #[serde(rename = "CHECKING")]
13    Checking,
14
15    #[serde(rename = "PRE_APPLYING")]
16    PreApplying,
17
18    #[serde(rename = "APPLYING")]
19    Applying,
20
21    #[serde(rename = "UNKNOWN")]
22    Unknown,
23
24    /// This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
25    #[serde(other)]
26    UnknownValue,
27}