public interface LoadBalancerApi
LoadBalancerAsyncApi
Modifier and Type | Method and Description |
---|---|
LoadBalancer |
create(LoadBalancerRequest lb)
Create a new load balancer with the configuration defined by the request.
|
LoadBalancer |
get(int id) |
PagedIterable<LoadBalancer> |
list() |
IterableWithMarker<LoadBalancer> |
list(PaginationOptions options) |
void |
remove(int id)
Remove a load balancer from the account.
|
void |
update(int id,
LoadBalancerAttributes attrs)
Update the properties of a load balancer.
|
LoadBalancer create(LoadBalancerRequest lb)
lb
- configuration to createLoadBalancerApi#getLoadBalancer
.HttpResponseException
- If the corresponding request cannot be fulfilled due to insufficient or invalid
datavoid update(int id, LoadBalancerAttributes attrs)
id
- id of the loadbalancer to changeattrs
- what to changeLoadBalancerAttributes.fromLoadBalancer(T)
PagedIterable<LoadBalancer> list()
IterableWithMarker<LoadBalancer> list(PaginationOptions options)
LoadBalancer get(int id)
id
- id of the loadbalancer to retrievevoid remove(int id)
id
- to removeCopyright © 2009-2013 jclouds. All Rights Reserved.