This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see
Cake.AWS.ElasticLoadBalancing.
Summary
Removes the specified Availability Zones from the set of Availability Zones for the specified load balancer.
There must be at least one Availability Zone registered with a load balancer at all times. After an Availability Zone is removed,
all instances registered with the load balancer that are in the removed Availability Zone go into the OutOfService state.
Then, the load balancer attempts to equally balance the traffic among its remaining Availability Zones.
Syntax
public Task<bool> DisableAvailabilityZones(string loadBalancer, IList<string> zones, LoadBalancingSettings settings, CancellationToken cancellationToken = null)
Attributes
Type |
Description |
AsyncStateMachineAttribute |
|
Parameters
Name |
Type |
Description |
loadBalancer |
string |
The name associated with the load balancer. |
zones |
IList<string> |
The Availability Zones to remove from the load balancer. |
settings |
LoadBalancingSettings |
The LoadBalancingSettings used during the request to AWS. |
cancellationToken |
CancellationToken |
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Return Value
Type |
Description |
Task<bool> |
|