public interface LoadBalancerClient
LoadBalancerAsyncClient
,
Modifier and Type | Method and Description |
---|---|
LoadBalancer |
createLoadBalancer(LoadBalancerRequest lb)
Create a new load balancer with the configuration defined by the request.
|
LoadBalancer |
getLoadBalancer(int id) |
Set<LoadBalancer> |
listLoadBalancers() |
void |
removeLoadBalancer(int id)
Remove a load balancer from the account.
|
void |
updateLoadBalancerAttributes(int id,
LoadBalancerAttributes attrs)
Update the properties of a load balancer.
|
LoadBalancer createLoadBalancer(LoadBalancerRequest lb)
lb
- configuration to creategetLoadBalancer(int)
.HttpResponseException
- If the corresponding request cannot be fulfilled due to insufficient or invalid
datavoid updateLoadBalancerAttributes(int id, LoadBalancerAttributes attrs)
id
- id of the loadbalancer to changeattrs
- what to changeLoadBalancerAttributes.fromLoadBalancer(T)
Set<LoadBalancer> listLoadBalancers()
LoadBalancer getLoadBalancer(int id)
id
- id of the loadbalancer to retrievevoid removeLoadBalancer(int id)
id
- to removeCopyright © 2009-2012 jclouds. All Rights Reserved.