@Beta
public interface LoadBalancerService
Modifier and Type | Method and Description |
---|---|
LoadBalancerMetadata |
createLoadBalancerInLocation(Location location,
String loadBalancerName,
String protocol,
int loadBalancerPort,
int instancePort,
Iterable<? extends NodeMetadata> nodes) |
void |
destroyLoadBalancer(String id) |
LoadBalancerServiceContext |
getContext() |
LoadBalancerMetadata |
getLoadBalancerMetadata(String id) |
Set<? extends Location> |
listAssignableLocations()
The list locations command returns all the valid locations for load balancers.
|
Set<? extends LoadBalancerMetadata> |
listLoadBalancers() |
Set<? extends Location> listAssignableLocations()
LoadBalancerServiceContext getContext()
@Beta LoadBalancerMetadata createLoadBalancerInLocation(@Nullable Location location, String loadBalancerName, String protocol, int loadBalancerPort, int instancePort, Iterable<? extends NodeMetadata> nodes)
location
- null if defaultloadBalancerName
- Load balancer nameprotocol
- LoadBalancer transport protocol to use for routing - TCP or HTTP. This property
cannot be modified for the life of the LoadBalancer.loadBalancerPort
- The external TCP port of the LoadBalancer. Valid LoadBalancer ports are - 80, 443
and 1024 through 65535. This property cannot be modified for the life of the
LoadBalancer.instancePort
- The InstancePort data type is simple type of type: integer. It is the TCP port on
which the server on the instance is listening. Valid instance ports are one (1)
through 65535. This property cannot be modified for the life of the LoadBalancer.nodes
- nodes to loadbalanceComputeService
@Beta void destroyLoadBalancer(String id)
@Beta Set<? extends LoadBalancerMetadata> listLoadBalancers()
LoadBalancerMetadata getLoadBalancerMetadata(String id)
Copyright © 2009-2013 jclouds. All Rights Reserved.