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 instances from the load balancer. Once the instance is deregistered, it will stop receiving traffic from the load balancer.
Syntax
public static Task<bool> DeregisterLoadBalancerInstances(this ICakeContext context, string loadBalancer, string instances, 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. |
instances |
string |
A list of instance IDs that should be deregistered with the load balancer. |
settings |
LoadBalancingSettings |
The LoadBalancingSettings used during the request to AWS. |
Return Value
Type |
Description |
Task<bool> |
|