AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Describes the state of a Classic Load Balancer.

Inheritance Hierarchy

System.Object
  Amazon.AutoScaling.Model.LoadBalancerState

Namespace: Amazon.AutoScaling.Model
Assembly: AWSSDK.AutoScaling.dll
Version: 3.x.y.z

Syntax

C#
public class LoadBalancerState

The LoadBalancerState type exposes the following members

Constructors

NameDescription
Public Method LoadBalancerState()

Properties

NameTypeDescription
Public Property LoadBalancerName System.String

Gets and sets the property LoadBalancerName.

The name of the load balancer.

Public Property State System.String

Gets and sets the property State.

One of the following load balancer states:

  • Adding - The Auto Scaling instances are being registered with the load balancer.

  • Added - All Auto Scaling instances are registered with the load balancer.

  • InService - At least one Auto Scaling instance passed an ELB health check.

  • Removing - The Auto Scaling instances 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 Auto Scaling instances are deregistered from the load balancer.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5