Struct rusoto_autoscaling::InstanceRefresh
source · [−]pub struct InstanceRefresh {
pub auto_scaling_group_name: Option<String>,
pub end_time: Option<String>,
pub instance_refresh_id: Option<String>,
pub instances_to_update: Option<i64>,
pub percentage_complete: Option<i64>,
pub progress_details: Option<InstanceRefreshProgressDetails>,
pub start_time: Option<String>,
pub status: Option<String>,
pub status_reason: Option<String>,
}
Expand description
Describes an instance refresh for an Auto Scaling group.
Fields
auto_scaling_group_name: Option<String>
The name of the Auto Scaling group.
end_time: Option<String>
The date and time at which the instance refresh ended.
instance_refresh_id: Option<String>
The instance refresh ID.
instances_to_update: Option<i64>
The number of instances remaining to update before the instance refresh is complete.
percentage_complete: Option<i64>
The percentage of the instance refresh that is complete. For each instance replacement, Amazon EC2 Auto Scaling tracks the instance's health status and warm-up time. When the instance's health status changes to healthy and the specified warm-up time passes, the instance is considered updated and is added to the percentage complete.
progress_details: Option<InstanceRefreshProgressDetails>
Additional progress details for an Auto Scaling group that has a warm pool.
start_time: Option<String>
The date and time at which the instance refresh began.
status: Option<String>
The current status for the instance refresh operation:
-
Pending
- The request was created, but the operation has not started. -
InProgress
- The operation is in progress. -
Successful
- The operation completed successfully. -
Failed
- The operation failed to complete. You can troubleshoot using the status reason and the scaling activities. -
Cancelling
- An ongoing operation is being cancelled. Cancellation does not roll back any replacements that have already been completed, but it prevents new replacements from being started. -
Cancelled
- The operation is cancelled.
status_reason: Option<String>
Provides more details about the current status of the instance refresh.
Trait Implementations
sourceimpl Clone for InstanceRefresh
impl Clone for InstanceRefresh
sourcefn clone(&self) -> InstanceRefresh
fn clone(&self) -> InstanceRefresh
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for InstanceRefresh
impl Debug for InstanceRefresh
sourceimpl Default for InstanceRefresh
impl Default for InstanceRefresh
sourcefn default() -> InstanceRefresh
fn default() -> InstanceRefresh
Returns the “default value” for a type. Read more
sourceimpl PartialEq<InstanceRefresh> for InstanceRefresh
impl PartialEq<InstanceRefresh> for InstanceRefresh
sourcefn eq(&self, other: &InstanceRefresh) -> bool
fn eq(&self, other: &InstanceRefresh) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &InstanceRefresh) -> bool
fn ne(&self, other: &InstanceRefresh) -> bool
This method tests for !=
.
impl StructuralPartialEq for InstanceRefresh
Auto Trait Implementations
impl RefUnwindSafe for InstanceRefresh
impl Send for InstanceRefresh
impl Sync for InstanceRefresh
impl Unpin for InstanceRefresh
impl UnwindSafe for InstanceRefresh
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more