pub struct InstanceSummary {
pub deployment_id: Option<String>,
pub instance_id: Option<String>,
pub instance_type: Option<String>,
pub last_updated_at: Option<f64>,
pub lifecycle_events: Option<Vec<LifecycleEvent>>,
pub status: Option<String>,
}Expand description
Information about an instance in a deployment.
Fields§
§deployment_id: Option<String>The unique ID of a deployment.
instance_id: Option<String>The instance ID.
instance_type: Option<String>Information about which environment an instance belongs to in a blue/green deployment.
-
BLUE: The instance is part of the original environment.
-
GREEN: The instance is part of the replacement environment.
last_updated_at: Option<f64>A timestamp that indicates when the instance information was last updated.
lifecycle_events: Option<Vec<LifecycleEvent>>A list of lifecycle events for this instance.
status: Option<String>The deployment status for this instance:
-
Pending: The deployment is pending for this instance. -
In Progress: The deployment is in progress for this instance. -
Succeeded: The deployment has succeeded for this instance. -
Failed: The deployment has failed for this instance. -
Skipped: The deployment has been skipped for this instance. -
Unknown: The deployment status is unknown for this instance.
Trait Implementations§
Source§impl Clone for InstanceSummary
impl Clone for InstanceSummary
Source§fn clone(&self) -> InstanceSummary
fn clone(&self) -> InstanceSummary
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more