@Singleton public class CreateFirewallRulesForIP extends Object
| Constructor and Description | 
|---|
| CreateFirewallRulesForIP(CloudStackApi client,
                        BlockUntilJobCompletesAndReturnResult blockUntilJobCompletesAndReturnResult,
                        com.google.common.cache.LoadingCache<String,Set<FirewallRule>> getFirewallRulesByVirtualMachine) | 
| Modifier and Type | Method and Description | 
|---|---|
| Set<FirewallRule> | apply(PublicIPAddress ip,
     Iterable<Integer> ports) | 
| Set<FirewallRule> | apply(PublicIPAddress ip,
     String protocol,
     Iterable<Integer> ports) | 
@Named(value="jclouds.compute") protected Logger logger
@Inject public CreateFirewallRulesForIP(CloudStackApi client, BlockUntilJobCompletesAndReturnResult blockUntilJobCompletesAndReturnResult, com.google.common.cache.LoadingCache<String,Set<FirewallRule>> getFirewallRulesByVirtualMachine)
public Set<FirewallRule> apply(PublicIPAddress ip, Iterable<Integer> ports)
public Set<FirewallRule> apply(PublicIPAddress ip, String protocol, Iterable<Integer> ports)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.