public interface InstanceApi
InstanceAsyncApi
Modifier and Type | Method and Description |
---|---|
Set<String> |
deregisterInstanceFromLoadBalancer(String instanceId,
String loadBalancerName) |
Set<String> |
deregisterInstancesFromLoadBalancer(Iterable<String> instanceIds,
String loadBalancerName)
Deregisters instances from the LoadBalancer.
|
Set<InstanceHealth> |
getHealthOfInstancesOfLoadBalancer(Iterable<String> instanceIds,
String loadBalancerName)
Returns the current state of the instances of the specified LoadBalancer.
|
Set<InstanceHealth> |
getHealthOfInstancesOfLoadBalancer(String loadBalancerName)
Returns the current state of the instances of the specified LoadBalancer.
|
Set<String> |
registerInstancesWithLoadBalancer(Iterable<String> instanceIds,
String loadBalancerName)
Adds new instances to the LoadBalancer.
|
Set<String> |
registerInstanceWithLoadBalancer(String instanceId,
String loadBalancerName) |
Set<InstanceHealth> getHealthOfInstancesOfLoadBalancer(String loadBalancerName)
loadBalancerName
- The name associated with the LoadBalancer. The name must be unique within the api
AWS account.Set<InstanceHealth> getHealthOfInstancesOfLoadBalancer(Iterable<String> instanceIds, String loadBalancerName)
instanceIds
- A list of instance IDs whose states are being queried.loadBalancerName
- The name associated with the LoadBalancer. The name must be unique within the api
AWS account.Set<String> registerInstancesWithLoadBalancer(Iterable<String> instanceIds, String loadBalancerName)
instanceIds
- A list of instance IDs that should be registered with the LoadBalancer.
loadBalancerName
- The name associated with the LoadBalancer. The name must be unique within the api
AWS account.Set<String> registerInstanceWithLoadBalancer(String instanceId, String loadBalancerName)
Set<String> deregisterInstancesFromLoadBalancer(Iterable<String> instanceIds, String loadBalancerName)
instanceIds
- A list of EC2 instance IDs consisting of all instances to be deregistered.loadBalancerName
- The name associated with the LoadBalancer. The name must be unique within the api
AWS account.Copyright © 2009-2013 jclouds. All Rights Reserved.