Skip to main content

oci_rust_sdk/core/models/
image_lifecycle_state.rs

1use serde::{Deserialize, Serialize};
2
3#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
4pub enum ImageLifecycleState {
5    #[serde(rename = "PROVISIONING")]
6    Provisioning,
7
8    #[serde(rename = "IMPORTING")]
9    Importing,
10
11    #[serde(rename = "AVAILABLE")]
12    Available,
13
14    #[serde(rename = "EXPORTING")]
15    Exporting,
16
17    #[serde(rename = "DISABLED")]
18    Disabled,
19
20    #[serde(rename = "DELETED")]
21    Deleted,
22
23    /// This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
24    #[serde(other)]
25    UnknownValue,
26}