org.jclouds.cloudstack.features
Interface LoadBalancerAsyncClient


public interface LoadBalancerAsyncClient

Provides asynchronous access to cloudstack via their REST API.

Author:
Adrian Cole
See Also:
LoadBalancerClient,

Method Summary
 com.google.common.util.concurrent.ListenableFuture<Long> assignVirtualMachinesToLoadBalancerRule(long id, Iterable<Long> virtualMachineIds)
           
 com.google.common.util.concurrent.ListenableFuture<Long> assignVirtualMachinesToLoadBalancerRule(long id, long... virtualMachineIds)
           
 com.google.common.util.concurrent.ListenableFuture<Long> createLoadBalancerRuleForPublicIP(long publicIPId, LoadBalancerRule.Algorithm algorithm, String name, int privatePort, int publicPort, CreateLoadBalancerRuleOptions... options)
           
 com.google.common.util.concurrent.ListenableFuture<Long> deleteLoadBalancerRule(long id)
           
 com.google.common.util.concurrent.ListenableFuture<LoadBalancerRule> getLoadBalancerRule(long id)
           
 com.google.common.util.concurrent.ListenableFuture<Set<LoadBalancerRule>> listLoadBalancerRules(ListLoadBalancerRulesOptions... options)
           
 com.google.common.util.concurrent.ListenableFuture<Set<VirtualMachine>> listVirtualMachinesAssignedToLoadBalancerRule(long id)
           
 com.google.common.util.concurrent.ListenableFuture<Long> removeVirtualMachinesFromLoadBalancerRule(long id, Iterable<Long> virtualMachineIds)
           
 com.google.common.util.concurrent.ListenableFuture<Long> removeVirtualMachinesFromLoadBalancerRule(long id, long... virtualMachineIds)
           
 com.google.common.util.concurrent.ListenableFuture<LoadBalancerRule> updateLoadBalancerRule(long id, UpdateLoadBalancerRuleOptions... options)
           
 

Method Detail

listLoadBalancerRules

com.google.common.util.concurrent.ListenableFuture<Set<LoadBalancerRule>> listLoadBalancerRules(ListLoadBalancerRulesOptions... options)
See Also:
LoadBalancerClient.listLoadBalancerRules(org.jclouds.cloudstack.options.ListLoadBalancerRulesOptions...)

getLoadBalancerRule

com.google.common.util.concurrent.ListenableFuture<LoadBalancerRule> getLoadBalancerRule(long id)
See Also:
LoadBalancerClient.getLoadBalancerRule(long)

createLoadBalancerRuleForPublicIP

com.google.common.util.concurrent.ListenableFuture<Long> createLoadBalancerRuleForPublicIP(long publicIPId,
                                                                                           LoadBalancerRule.Algorithm algorithm,
                                                                                           String name,
                                                                                           int privatePort,
                                                                                           int publicPort,
                                                                                           CreateLoadBalancerRuleOptions... options)
See Also:
LoadBalancerClient.createLoadBalancerRuleForPublicIP(long, org.jclouds.cloudstack.domain.LoadBalancerRule.Algorithm, java.lang.String, int, int, org.jclouds.cloudstack.options.CreateLoadBalancerRuleOptions...)

updateLoadBalancerRule

com.google.common.util.concurrent.ListenableFuture<LoadBalancerRule> updateLoadBalancerRule(long id,
                                                                                            UpdateLoadBalancerRuleOptions... options)
See Also:
LoadBalancerClient.updateLoadBalancerRule(long, org.jclouds.cloudstack.options.UpdateLoadBalancerRuleOptions...)

deleteLoadBalancerRule

com.google.common.util.concurrent.ListenableFuture<Long> deleteLoadBalancerRule(long id)
See Also:
LoadBalancerClient.deleteLoadBalancerRule(long)

assignVirtualMachinesToLoadBalancerRule

com.google.common.util.concurrent.ListenableFuture<Long> assignVirtualMachinesToLoadBalancerRule(long id,
                                                                                                 Iterable<Long> virtualMachineIds)
See Also:
LoadBalancerClient.assignVirtualMachinesToLoadBalancerRule(long,Iterable)

assignVirtualMachinesToLoadBalancerRule

com.google.common.util.concurrent.ListenableFuture<Long> assignVirtualMachinesToLoadBalancerRule(long id,
                                                                                                 long... virtualMachineIds)
See Also:
LoadBalancerClient.assignVirtualMachinesToLoadBalancerRule(long,long[])

removeVirtualMachinesFromLoadBalancerRule

com.google.common.util.concurrent.ListenableFuture<Long> removeVirtualMachinesFromLoadBalancerRule(long id,
                                                                                                   Iterable<Long> virtualMachineIds)
See Also:
LoadBalancerClient.removeVirtualMachinesFromLoadBalancerRule(long,Iterable)

removeVirtualMachinesFromLoadBalancerRule

com.google.common.util.concurrent.ListenableFuture<Long> removeVirtualMachinesFromLoadBalancerRule(long id,
                                                                                                   long... virtualMachineIds)
See Also:
LoadBalancerClient.removeVirtualMachinesFromLoadBalancerRule(long,long[])

listVirtualMachinesAssignedToLoadBalancerRule

com.google.common.util.concurrent.ListenableFuture<Set<VirtualMachine>> listVirtualMachinesAssignedToLoadBalancerRule(long id)
See Also:
LoadBalancerClient.listVirtualMachinesAssignedToLoadBalancerRule(long)


Copyright © 2009-2012 jclouds. All Rights Reserved.