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(String ipAddressId, FirewallRule.Protocol protocol, CreateFirewallRuleOptions... options)
           
 com.google.common.util.concurrent.ListenableFuture<AsyncCreateResponse> createFirewallRuleForIpProtocolAndPort(String ipAddressId, FirewallRule.Protocol protocol, int startPort, int endPort)
           
 com.google.common.util.concurrent.ListenableFuture<AsyncCreateResponse> createPortForwardingRuleForVirtualMachine(String ipAddressId, PortForwardingRule.Protocol protocol, int publicPort, String virtualMachineId, int privatePort)
           
 com.google.common.util.concurrent.ListenableFuture<Void> deleteFirewallRule(String id)
           
 com.google.common.util.concurrent.ListenableFuture<Void> deletePortForwardingRule(String id)
           
 com.google.common.util.concurrent.ListenableFuture<FirewallRule> getFirewallRule(String id)
           
 com.google.common.util.concurrent.ListenableFuture<PortForwardingRule> getPortForwardingRule(String 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(String id)
See Also:
FirewallClient.getFirewallRule(java.lang.String)

createFirewallRuleForIpAndProtocol

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

createFirewallRuleForIpProtocolAndPort

com.google.common.util.concurrent.ListenableFuture<AsyncCreateResponse> createFirewallRuleForIpProtocolAndPort(String ipAddressId,
                                                                                                               FirewallRule.Protocol protocol,
                                                                                                               int startPort,
                                                                                                               int endPort)
See Also:
FirewallClient.createFirewallRuleForIpProtocolAndPort(java.lang.String, org.jclouds.cloudstack.domain.FirewallRule.Protocol, int, int)

deleteFirewallRule

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

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(String id)
See Also:
FirewallClient.getPortForwardingRule(java.lang.String)

createPortForwardingRuleForVirtualMachine

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

deletePortForwardingRule

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


Copyright © 2009-2013 jclouds. All Rights Reserved.