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 a load balancer.

Inheritance Hierarchy

System.Object
  Amazon.ElasticLoadBalancingV2.Model.LoadBalancer

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

Syntax

C#
public class LoadBalancer

The LoadBalancer type exposes the following members

Constructors

NameDescription
Public Method LoadBalancer()

Properties

NameTypeDescription
Public Property AvailabilityZones System.Collections.Generic.List<Amazon.ElasticLoadBalancingV2.Model.AvailabilityZone>

Gets and sets the property AvailabilityZones.

The Availability Zones for the load balancer.

Public Property CanonicalHostedZoneId System.String

Gets and sets the property CanonicalHostedZoneId.

The ID of the Amazon Route 53 hosted zone associated with the load balancer.

Public Property CreatedTime System.DateTime

Gets and sets the property CreatedTime.

The date and time the load balancer was created.

Public Property DNSName System.String

Gets and sets the property DNSName.

The public DNS name of the load balancer.

Public Property IpAddressType Amazon.ElasticLoadBalancingV2.IpAddressType

Gets and sets the property IpAddressType.

The type of IP addresses used by the subnets for your load balancer. The possible values are ipv4 (for IPv4 addresses) and dualstack (for IPv4 and IPv6 addresses).

Public Property LoadBalancerArn System.String

Gets and sets the property LoadBalancerArn.

The Amazon Resource Name (ARN) of the load balancer.

Public Property LoadBalancerName System.String

Gets and sets the property LoadBalancerName.

The name of the load balancer.

Public Property Scheme Amazon.ElasticLoadBalancingV2.LoadBalancerSchemeEnum

Gets and sets the property Scheme.

The nodes of an Internet-facing load balancer have public IP addresses. The DNS name of an Internet-facing load balancer is publicly resolvable to the public IP addresses of the nodes. Therefore, Internet-facing load balancers can route requests from clients over the Internet.

The nodes of an internal load balancer have only private IP addresses. The DNS name of an internal load balancer is publicly resolvable to the private IP addresses of the nodes. Therefore, internal load balancers can only route requests from clients with access to the VPC for the load balancer.

Public Property SecurityGroups System.Collections.Generic.List<System.String>

Gets and sets the property SecurityGroups.

The IDs of the security groups for the load balancer.

Public Property State Amazon.ElasticLoadBalancingV2.Model.LoadBalancerState

Gets and sets the property State.

The state of the load balancer.

Public Property Type Amazon.ElasticLoadBalancingV2.LoadBalancerTypeEnum

Gets and sets the property Type.

The type of load balancer.

Public Property VpcId System.String

Gets and sets the property VpcId.

The ID of the VPC for the load balancer.

Version Information

.NET Standard:
Supported in: 1.3

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

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms