Interface LoadBalancerApi
-
@Consumes("text/xml") @Produces("text/xml") public interface LoadBalancerApi
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
createLoadBalancer(LoadBalancer.Request.CreatePayload payload)
boolean
deleteLoadBalancer(String id)
String
deregisterLoadBalancer(LoadBalancer.Request.DeregisterPayload payload)
List<LoadBalancer>
getAllLoadBalancers()
LoadBalancer
getLoadBalancer(String identifier)
LoadBalancer
registerLoadBalancer(LoadBalancer.Request.RegisterPayload payload)
String
updateLoadBalancer(LoadBalancer.Request.UpdatePayload payload)
-
-
-
Method Detail
-
getAllLoadBalancers
@POST @Named("loadbalancer:getall") List<LoadBalancer> getAllLoadBalancers()
-
getLoadBalancer
@POST @Named("loadbalancer:get") LoadBalancer getLoadBalancer(String identifier)
-
createLoadBalancer
@POST @Named("loadbalancer:create") String createLoadBalancer(LoadBalancer.Request.CreatePayload payload)
-
registerLoadBalancer
@POST @Named("loadbalancer:register") LoadBalancer registerLoadBalancer(LoadBalancer.Request.RegisterPayload payload)
-
deregisterLoadBalancer
@POST @Named("loadbalancer:deregister") String deregisterLoadBalancer(LoadBalancer.Request.DeregisterPayload payload)
-
deleteLoadBalancer
@POST @Named("loadbalancer:delete") boolean deleteLoadBalancer(String id)
-
updateLoadBalancer
@POST @Named("loadbalancer:update") String updateLoadBalancer(LoadBalancer.Request.UpdatePayload payload)
-
-