Container for the parameters to the DisableAvailabilityZonesForLoadBalancer operation.

Removes the specified EC2 Availability Zones from the set of configured Availability Zones for the LoadBalancer.

There must be at least one Availability Zone registered with a LoadBalancer at all times. A client cannot remove all the Availability Zones from a LoadBalancer. Once an Availability Zone is removed, all the instances registered with the LoadBalancer that are in the removed Availability Zone go into the OutOfService state. Upon Availability Zone removal, the LoadBalancer attempts to equally balance the traffic among its remaining usable Availability Zones. Trying to remove an Availability Zone that was not associated with the LoadBalancer does nothing.

NOTE: In order for this call to be successful, the client must have created the LoadBalancer. The client must provide the same account credentials as those that were used to create the LoadBalancer.

Namespace: Amazon.ElasticLoadBalancing.Model
Assembly: AWSSDK (in AWSSDK.dll) Version: 1.4.10.0 (1.4.10.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public class DisableAvailabilityZonesForLoadBalancerRequest : AmazonWebServiceRequest
Public Class DisableAvailabilityZonesForLoadBalancerRequest _
	Inherits AmazonWebServiceRequest
public ref class DisableAvailabilityZonesForLoadBalancerRequest : public AmazonWebServiceRequest

Members

            
 All Members  Constructors   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
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 LoadBalancer.
Note:
There must be at least one Availability Zone registered with a LoadBalancer at all times. The client cannot remove all the Availability Zones from a LoadBalancer. 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 LoadBalancer. The name must be unique within the client AWS account.
ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
WithAvailabilityZones(IEnumerable<(Of <<'(String>)>>))
Adds elements to the AvailabilityZones collection
WithAvailabilityZones(array<String>[]()[][])
Adds elements to the AvailabilityZones collection
WithLoadBalancerName(String)
Sets the LoadBalancerName property

Inheritance Hierarchy

System..::..Object
  Amazon.Runtime..::..AmazonWebServiceRequest
    Amazon.ElasticLoadBalancing.Model..::..DisableAvailabilityZonesForLoadBalancerRequest

See Also