org.dasein.cloud.services.lb
Interface LoadBalancerServices


public interface LoadBalancerServices


Method Summary
 void addDataCenters(String toLoadBalancerId, String... dataCenterIdsToAdd)
           
 void addServers(String toLoadBalancerId, String... serverIdsToAdd)
           
 LoadBalancer create(String name, String description, String[] dataCenterIds, LbListener... listeners)
           
 LoadBalancer getLoadBalancer(String loadBalancerId)
           
 String getProviderTermForLoadBalancer(Locale locale)
           
 boolean isSupportsCnames()
           
 boolean isSupportsIps()
           
 boolean isSupportsMonitoring()
           
 Collection<LoadBalancer> list()
           
 void remove(String loadBalancerId)
           
 void removeDataCenters(String fromLoadBalancerId, String... dataCenterIdsToRemove)
           
 void removeServers(String fromLoadBalancerId, String... serverIdsToRemove)
           
 

Method Detail

addDataCenters

void addDataCenters(String toLoadBalancerId,
                    String... dataCenterIdsToAdd)
                    throws CloudException,
                           InternalException
Throws:
CloudException
InternalException

addServers

void addServers(String toLoadBalancerId,
                String... serverIdsToAdd)
                throws CloudException,
                       InternalException
Throws:
CloudException
InternalException

create

LoadBalancer create(String name,
                    String description,
                    String[] dataCenterIds,
                    LbListener... listeners)
                    throws CloudException,
                           InternalException
Throws:
CloudException
InternalException

getLoadBalancer

LoadBalancer getLoadBalancer(String loadBalancerId)
                             throws CloudException,
                                    InternalException
Throws:
CloudException
InternalException

getProviderTermForLoadBalancer

String getProviderTermForLoadBalancer(Locale locale)

list

Collection<LoadBalancer> list()
                              throws CloudException,
                                     InternalException
Throws:
CloudException
InternalException

remove

void remove(String loadBalancerId)
            throws CloudException,
                   InternalException
Throws:
CloudException
InternalException

removeDataCenters

void removeDataCenters(String fromLoadBalancerId,
                       String... dataCenterIdsToRemove)
                       throws CloudException,
                              InternalException
Throws:
CloudException
InternalException

removeServers

void removeServers(String fromLoadBalancerId,
                   String... serverIdsToRemove)
                   throws CloudException,
                          InternalException
Throws:
CloudException
InternalException

isSupportsCnames

boolean isSupportsCnames()
                         throws CloudException,
                                InternalException
Throws:
CloudException
InternalException

isSupportsIps

boolean isSupportsIps()
                      throws CloudException,
                             InternalException
Throws:
CloudException
InternalException

isSupportsMonitoring

boolean isSupportsMonitoring()
                             throws CloudException,
                                    InternalException
Throws:
CloudException
InternalException