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 new instances to the load balancer.
Once the instance is registered, it starts receiving traffic and requests from the load balancer.
Any instance that is not in any of the Availability Zones registered for the load balancer will be moved to the OutOfService state.
It will move to the InService state when the Availability Zone is added to the load balancer.
- Assembly
- Cake
.AWS . Elastic Load Balancing .dll - Namespace
- Cake
.AWS . Elastic Load Balancing - Containing Type
- I
Load Balancing Manager
Syntax
Task<bool> RegisterInstances(string loadBalancer, IList<string> instances, LoadBalancingSettings settings, CancellationToken cancellationToken = null)
Parameters
Name | Type | Description |
---|---|---|
loadBalancer | string | The name associated with the load balancer. |
instances | IList |
A list of instance IDs that should be registered with 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 |