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.
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 |
| 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 LoadBalancer.
| |||
| 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 LoadBalancer. The name must be unique within the client AWS account.
| |||
| ToString()()()() | (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
Amazon.Runtime..::..AmazonWebServiceRequest
Amazon.ElasticLoadBalancing.Model..::..DisableAvailabilityZonesForLoadBalancerRequest