AWS SDK for .NET Documentation
EnableAvailabilityZonesForLoadBalancer Method (enableAvailabilityZonesForLoadBalancerRequest)
Amazon ► Amazon.ElasticLoadBalancing ► AmazonElasticLoadBalancing ► EnableAvailabilityZonesForLoadBalancer(EnableAvailabilityZonesForLoadBalancerRequest)
Did this page help you? Yes No Tell us about it...

Adds one or more EC2 Availability Zones to the load balancer.

The load balancer evenly distributes requests across all its registered Availability Zones that contain instances.

NOTE: The new EC2 Availability Zones to be added must be in the same EC2 Region as the Availability Zones for which the load balancer was created.

For more information, see Expand a Load Balanced Application to an Additional Availability Zone in the Elastic Load Balancing Developer Guide .

Declaration Syntax

C#

    EnableAvailabilityZonesForLoadBalancerResponse EnableAvailabilityZonesForLoadBalancer(
    	EnableAvailabilityZonesForLoadBalancerRequest enableAvailabilityZonesForLoadBalancerRequest
    )

Parameters

enableAvailabilityZonesForLoadBalancerRequest (EnableAvailabilityZonesForLoadBalancerRequest)
  Container for the necessary parameters to execute the EnableAvailabilityZonesForLoadBalancer service method on AmazonElasticLoadBalancing.

Return Value
The response from the EnableAvailabilityZonesForLoadBalancer service method, as returned by AmazonElasticLoadBalancing.
Exceptions

Exception | Condition
--- | ---
LoadBalancerNotFoundException |

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)