Set<FirewallRule> listFirewallRules(ListFirewallRulesOptions... options)
options
- if present, how to constrain the list.FirewallRule getFirewallRule(String id)
id
- the ID of the firewall ruleAsyncCreateResponse createFirewallRuleForIpAndProtocol(String ipAddressId, FirewallRule.Protocol protocol, CreateFirewallRuleOptions... options)
ipAddressId
- the IP address id of the port forwarding ruleprotocol
- the protocol for the firewall rule. Valid values are TCP/UDP/ICMPoptions
- optional arguments for firewall rule creationAsyncCreateResponse createFirewallRuleForIpProtocolAndPort(String ipAddressId, FirewallRule.Protocol protocol, int startPort, int endPort)
Void deleteFirewallRule(String id)
id
- the ID of the firewall ruleSet<PortForwardingRule> listPortForwardingRules(ListPortForwardingRulesOptions... options)
options
- if present, how to constrain the list.PortForwardingRule getPortForwardingRule(String id)
id
- port forwarding rule IDAsyncCreateResponse createPortForwardingRuleForVirtualMachine(String ipAddressId, PortForwardingRule.Protocol protocol, int publicPort, String virtualMachineId, int privatePort)
ipAddressId
- protocol
- the protocol for the rule. Valid values are TCP or UDP.publicPort
- the public port of the port forwarding rulevirtualMachineId
- the ID of the virtual machine for the port forwarding ruleprivatePort
- the private port of the port forwarding ruleCopyright © 2009-2013 jclouds. All Rights Reserved.