org.jclouds.cloudstack.features
Interface NATAsyncClient


public interface NATAsyncClient

Provides asynchronous access to cloudstack via their REST API.

Author:
Adrian Cole
See Also:
NATClient,

Method Summary
 com.google.common.util.concurrent.ListenableFuture<AsyncCreateResponse> createIPForwardingRule(long IPAddressId, String protocol, int startPort, CreateIPForwardingRuleOptions... options)
           
 com.google.common.util.concurrent.ListenableFuture<Long> deleteIPForwardingRule(long id)
           
 com.google.common.util.concurrent.ListenableFuture<Long> disableStaticNATOnPublicIP(long IPAddressId)
           
 com.google.common.util.concurrent.ListenableFuture<Void> enableStaticNATForVirtualMachine(long virtualMachineId, long IPAddressId)
           
 com.google.common.util.concurrent.ListenableFuture<IPForwardingRule> getIPForwardingRule(long id)
           
 com.google.common.util.concurrent.ListenableFuture<Set<IPForwardingRule>> getIPForwardingRulesForIPAddress(long id)
           
 com.google.common.util.concurrent.ListenableFuture<Set<IPForwardingRule>> getIPForwardingRulesForVirtualMachine(long id)
           
 com.google.common.util.concurrent.ListenableFuture<Set<IPForwardingRule>> listIPForwardingRules(ListIPForwardingRulesOptions... options)
           
 

Method Detail

listIPForwardingRules

com.google.common.util.concurrent.ListenableFuture<Set<IPForwardingRule>> listIPForwardingRules(ListIPForwardingRulesOptions... options)
See Also:
NATClient.listIPForwardingRules(org.jclouds.cloudstack.options.ListIPForwardingRulesOptions...)

getIPForwardingRule

com.google.common.util.concurrent.ListenableFuture<IPForwardingRule> getIPForwardingRule(long id)
See Also:
NATClient.getIPForwardingRule(long)

getIPForwardingRulesForIPAddress

com.google.common.util.concurrent.ListenableFuture<Set<IPForwardingRule>> getIPForwardingRulesForIPAddress(long id)
See Also:
NATClient.getIPForwardingRulesForIPAddress(long)

getIPForwardingRulesForVirtualMachine

com.google.common.util.concurrent.ListenableFuture<Set<IPForwardingRule>> getIPForwardingRulesForVirtualMachine(long id)
See Also:
NATClient.getIPForwardingRulesForVirtualMachine(long)

createIPForwardingRule

com.google.common.util.concurrent.ListenableFuture<AsyncCreateResponse> createIPForwardingRule(long IPAddressId,
                                                                                               String protocol,
                                                                                               int startPort,
                                                                                               CreateIPForwardingRuleOptions... options)
See Also:
NATClient.createIPForwardingRule(long, java.lang.String, int, org.jclouds.cloudstack.options.CreateIPForwardingRuleOptions...)

enableStaticNATForVirtualMachine

com.google.common.util.concurrent.ListenableFuture<Void> enableStaticNATForVirtualMachine(long virtualMachineId,
                                                                                          long IPAddressId)
See Also:
NATClient.enableStaticNATForVirtualMachine(long, long)

deleteIPForwardingRule

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

disableStaticNATOnPublicIP

com.google.common.util.concurrent.ListenableFuture<Long> disableStaticNATOnPublicIP(long IPAddressId)
See Also:
NATClient.disableStaticNATOnPublicIP(long)


Copyright © 2009-2012 jclouds. All Rights Reserved.