[−][src]Struct rusoto_autoscaling::LoadBalancerState
Describes the state of a Classic Load Balancer.
If you specify a load balancer when creating the Auto Scaling group, the state of the load balancer is InService
.
If you attach a load balancer to an existing Auto Scaling group, the initial state is Adding
. The state transitions to Added
after all instances in the group are registered with the load balancer. If Elastic Load Balancing health checks are enabled for the load balancer, the state transitions to InService
after at least one instance in the group passes the health check. If EC2 health checks are enabled instead, the load balancer remains in the Added
state.
Fields
load_balancer_name: Option<String>
The name of the load balancer.
state: Option<String>
One of the following load balancer states:
-
Adding
- The instances in the group are being registered with the load balancer. -
Added
- All instances in the group are registered with the load balancer. -
InService
- At least one instance in the group passed an ELB health check. -
Removing
- The instances in the group are being deregistered from the load balancer. If connection draining is enabled, Elastic Load Balancing waits for in-flight requests to complete before deregistering the instances. -
Removed
- All instances in the group are deregistered from the load balancer.
Trait Implementations
impl Clone for LoadBalancerState
[src]
pub fn clone(&self) -> LoadBalancerState
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for LoadBalancerState
[src]
impl Default for LoadBalancerState
[src]
pub fn default() -> LoadBalancerState
[src]
impl PartialEq<LoadBalancerState> for LoadBalancerState
[src]
pub fn eq(&self, other: &LoadBalancerState) -> bool
[src]
pub fn ne(&self, other: &LoadBalancerState) -> bool
[src]
impl StructuralPartialEq for LoadBalancerState
[src]
Auto Trait Implementations
impl RefUnwindSafe for LoadBalancerState
[src]
impl Send for LoadBalancerState
[src]
impl Sync for LoadBalancerState
[src]
impl Unpin for LoadBalancerState
[src]
impl UnwindSafe for LoadBalancerState
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,