org.jclouds.cloudstack.features
Interface FirewallAsyncClient


public interface FirewallAsyncClient

Provides asynchronous access to cloudstack via their REST API.

Author:
Adrian Cole
See Also:
FirewallClient,

Method Summary
 com.google.common.util.concurrent.ListenableFuture<AsyncCreateResponse> createFirewallRuleForIpAndProtocol(long ipAddressId, FirewallRule.Protocol protocol, CreateFirewallRuleOptions... options)
           
 com.google.common.util.concurrent.ListenableFuture<AsyncCreateResponse> createPortForwardingRuleForVirtualMachine(long ipAddressId, PortForwardingRule.Protocol protocol, int publicPort, long virtualMachineId, int privatePort)
           
 com.google.common.util.concurrent.ListenableFuture<Void> deleteFirewallRule(long id)
           
 com.google.common.util.concurrent.ListenableFuture<Void> deletePortForwardingRule(long id)
           
 com.google.common.util.concurrent.ListenableFuture<FirewallRule> getFirewallRule(long id)
           
 com.google.common.util.concurrent.ListenableFuture<PortForwardingRule> getPortForwardingRule(long id)
           
 com.google.common.util.concurrent.ListenableFuture<Set<FirewallRule>> listFirewallRules(ListFirewallRulesOptions... options)
           
 com.google.common.util.concurrent.ListenableFuture<Set<PortForwardingRule>> listPortForwardingRules(ListPortForwardingRulesOptions... options)
           
 

Method Detail

listFirewallRules

com.google.common.util.concurrent.ListenableFuture<Set<FirewallRule>> listFirewallRules(ListFirewallRulesOptions... options)
See Also:
FirewallClient.listFirewallRules(org.jclouds.cloudstack.options.ListFirewallRulesOptions...)

getFirewallRule

com.google.common.util.concurrent.ListenableFuture<FirewallRule> getFirewallRule(long id)
See Also:
FirewallClient.getFirewallRule(long)

createFirewallRuleForIpAndProtocol

com.google.common.util.concurrent.ListenableFuture<AsyncCreateResponse> createFirewallRuleForIpAndProtocol(long ipAddressId,
                                                                                                           FirewallRule.Protocol protocol,
                                                                                                           CreateFirewallRuleOptions... options)
See Also:
FirewallClient.createFirewallRuleForIpAndProtocol(long, org.jclouds.cloudstack.domain.FirewallRule.Protocol, org.jclouds.cloudstack.options.CreateFirewallRuleOptions...)

deleteFirewallRule

com.google.common.util.concurrent.ListenableFuture<Void> deleteFirewallRule(long id)
See Also:
FirewallClient.deleteFirewallRule(long)

listPortForwardingRules

com.google.common.util.concurrent.ListenableFuture<Set<PortForwardingRule>> listPortForwardingRules(ListPortForwardingRulesOptions... options)
See Also:
FirewallClient.listPortForwardingRules(org.jclouds.cloudstack.options.ListPortForwardingRulesOptions...)

getPortForwardingRule

com.google.common.util.concurrent.ListenableFuture<PortForwardingRule> getPortForwardingRule(long id)
See Also:
FirewallClient.getPortForwardingRule(long)

createPortForwardingRuleForVirtualMachine

com.google.common.util.concurrent.ListenableFuture<AsyncCreateResponse> createPortForwardingRuleForVirtualMachine(long ipAddressId,
                                                                                                                  PortForwardingRule.Protocol protocol,
                                                                                                                  int publicPort,
                                                                                                                  long virtualMachineId,
                                                                                                                  int privatePort)
See Also:
FirewallClient.createPortForwardingRuleForVirtualMachine(long, org.jclouds.cloudstack.domain.PortForwardingRule.Protocol, int, long, int)

deletePortForwardingRule

com.google.common.util.concurrent.ListenableFuture<Void> deletePortForwardingRule(long id)
See Also:
FirewallClient.deletePortForwardingRule(long)


Copyright © 2009-2012 jclouds. All Rights Reserved.