LoadBalancingAliases.

EnableAvailabilityZones(ICakeContext, string, string, LoadBalancingSettings) Method

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.

Syntax

public static Task<bool> EnableAvailabilityZones(this ICakeContext context, string loadBalancer, string zones, LoadBalancingSettings settings)

Attributes

Type Description
AsyncStateMachineAttribute
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext The cake context.
loadBalancer string The name associated with the load balancer.
zones string The Availability Zones to add to the load balancer.
settings LoadBalancingSettings The LoadBalancingSettings used during the request to AWS.

Return Value

Type Description
Task<bool>