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
Adds the specified Availability Zones to the set of Availability Zones for the specified load balancer.
The load balancer evenly distributes requests across all its registered Availability Zones that contain instances.
- Assembly
- Cake
.AWS . Elastic Load Balancing .dll - Namespace
- Cake
.AWS . Elastic Load Balancing - Containing Type
- I
Load Balancing Manager
Syntax
Task<bool> EnableAvailabilityZones(string loadBalancer, IList<string> zones, LoadBalancingSettings settings, CancellationToken cancellationToken = null)
Parameters
Name | Type | Description |
---|---|---|
loadBalancer | string | The name associated with the load balancer. |
zones | IList |
The Availability Zones to add to the load balancer. |
settings | Load |
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 |