AWS SDK for .NET Documentation
DisableAvailabilityZonesForLoadBalancerRequest Class
AmazonAmazon.ElasticLoadBalancing.ModelDisableAvailabilityZonesForLoadBalancerRequest Did this page help you?   Yes   No    Tell us about it...
Container for the parameters to the DisableAvailabilityZonesForLoadBalancer operation.

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 .

Declaration Syntax
C#
public class DisableAvailabilityZonesForLoadBalancerRequest : AmazonWebServiceRequest
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
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.
Note:
There must be at least one Availability Zone registered with a load balancer at all times. Specified Availability Zones must be in the same region.

Equals(Object)
Determines whether the specified Object is equal to the current 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

Inheritance Hierarchy
Object
AmazonWebServiceRequest
 DisableAvailabilityZonesForLoadBalancerRequest
See Also

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