|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface GridLoadBalancerClient
| Method Summary | |
|---|---|
LoadBalancer |
addLoadBalancer(String name,
IpPortPair virtualIp,
List<IpPortPair> realIps,
AddLoadBalancerOptions... options)
Creates a load balancer with given properties. |
LoadBalancer |
deleteById(Long id)
Deletes the load balancer by Id |
LoadBalancer |
deleteByName(String name)
Deletes the load balancer by name; NOTE: Using this parameter may generate an error if one or more load balancers share a non-unique name. |
LoadBalancer |
editLoadBalancer(long id,
List<IpPortPair> realIps)
Edits the existing load balancer to change the real IP mapping. |
LoadBalancer |
editLoadBalancerNamed(String name,
List<IpPortPair> realIps)
Edits the existing load balancer to change the real IP mapping. |
Set<Option> |
getDatacenters()
Retrieves the list of supported Datacenters to launch servers into. |
Set<LoadBalancer> |
getLoadBalancerList()
Returns all load balancers found for the current user. |
Set<LoadBalancer> |
getLoadBalancersById(Long... ids)
Returns the load balancer(s) by unique id(s). |
Set<LoadBalancer> |
getLoadBalancersByName(String... names)
Returns the load balancer(s) by unique name(s). |
| Method Detail |
|---|
Set<LoadBalancer> getLoadBalancerList()
Set<LoadBalancer> getLoadBalancersByName(String... names)
names - to get the load balancers
Set<LoadBalancer> getLoadBalancersById(Long... ids)
ids - to get the load balancers
LoadBalancer addLoadBalancer(String name,
IpPortPair virtualIp,
List<IpPortPair> realIps,
AddLoadBalancerOptions... options)
name - name of the load balancervirtualIp - virtual IP with IP address set in Ip.ip and port
set in IpPortPair.portrealIps - real IPs to bind the virtual IP to, with IP address set in
Ip.ip and port set in IpPortPair.portoptions - options that specify load balancer's type (round robin, least load), persistence
strategy, or description.
LoadBalancer editLoadBalancer(long id,
List<IpPortPair> realIps)
id - id of the existing load balancerrealIps - real IPs to bind the virtual IP to, with IP address set in
Ip.ip and port set in IpPortPair.port
LoadBalancer editLoadBalancerNamed(String name,
List<IpPortPair> realIps)
name - name of the existing load balancerrealIps - real IPs to bind the virtual IP to, with IP address set in
Ip.ip and port set in IpPortPair.port
LoadBalancer deleteById(Long id)
id - id of the load balancer to delete
LoadBalancer deleteByName(String name)
name - name of the load balancer to be deleted
Set<Option> getDatacenters()
addLoadBalancer(java.lang.String, org.jclouds.gogrid.domain.IpPortPair, java.util.List, org.jclouds.gogrid.options.AddLoadBalancerOptions...) .
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||