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 Task<bool> DeregisterInstances(string loadBalancer, IList<string> instances, LoadBalancingSettings settings, CancellationToken cancellationToken = null)
Attributes
Type |
Description |
AsyncStateMachineAttribute |
|
Parameters
Name |
Type |
Description |
loadBalancer |
string |
The name associated with the load balancer. |
instances |
IList<string> |
A list of instance IDs that should be deregistered with 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> |
|