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.

Information about the state of the load balancer.

Inheritance Hierarchy

System.Object
  Amazon.ElasticLoadBalancingV2.Model.LoadBalancerState

Namespace: Amazon.ElasticLoadBalancingV2.Model
Assembly: AWSSDK.ElasticLoadBalancingV2.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 Code Amazon.ElasticLoadBalancingV2.LoadBalancerStateEnum

Gets and sets the property Code.

The state code. The initial state of the load balancer is provisioning. After the load balancer is fully set up and ready to route traffic, its state is active. If load balancer is routing traffic but does not have the resources it needs to scale, its state isactive_impaired. If the load balancer could not be set up, its state is failed.

Public Property Reason System.String

Gets and sets the property Reason.

A description of the state.

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