Removes the specified EC2 Availability Zones from the set of configured Availability Zones for the load balancer.
There must be at least one Availability Zone registered with a load balancer at all times. Once an Availability Zone is removed, all the instances registered with the load balancer that are in the removed Availability Zone go into the OutOfService state. Upon Availability Zone removal, the load balancer attempts to equally balance the traffic among its remaining usable Availability Zones. Trying to remove an Availability Zone that was not associated with the load balancer does nothing.
For more information, see Disable an Availability Zone from a Load-Balanced Application in the Elastic Load Balancing Developer Guide .
C# |
public class DisableAvailabilityZonesForLoadBalancerRequest : AmazonWebServiceRequest
All Members | Constructors | Methods | Properties | ||
Icon | Member | Description | ||
---|---|---|---|---|
DisableAvailabilityZonesForLoadBalancerRequest()()()() |
Default constructor for a new DisableAvailabilityZonesForLoadBalancerRequest object. Callers should use the
properties or fluent setter (With...) methods to initialize this object after creating it.
| |||
DisableAvailabilityZonesForLoadBalancerRequest(String, List<(Of <<'(String>)>>)) |
Constructs a new DisableAvailabilityZonesForLoadBalancerRequest object.
Callers should use the properties or fluent setter (With...) methods to
initialize any additional object members.
| |||
AvailabilityZones |
A list of Availability Zones to be removed from the load balancer.
| |||
Equals(Object) | (Inherited from Object.) | |||
GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) | |||
GetType()()()() | Gets the type of the current instance. (Inherited from Object.) | |||
LoadBalancerName |
The name associated with the load balancer.
| |||
ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) | |||
WithAvailabilityZones(array<String>[]()[][]) | Obsolete.
Adds elements to the AvailabilityZones collection
| |||
WithAvailabilityZones(IEnumerable<(Of <<'(String>)>>)) | Obsolete.
Adds elements to the AvailabilityZones collection
| |||
WithLoadBalancerName(String) | Obsolete.
Sets the LoadBalancerName property
|
Object | ||
AmazonWebServiceRequest | ||
DisableAvailabilityZonesForLoadBalancerRequest |