|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FirewallClient
Provides synchronous access to CloudStack PortForwardingRule features.
PortForwardingRuleAsyncClient,
| Method Detail |
|---|
Set<FirewallRule> listFirewallRules(ListFirewallRulesOptions... options)
options - if present, how to constrain the list.
FirewallRule getFirewallRule(String id)
id - the ID of the firewall rule
AsyncCreateResponse 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 creation
AsyncCreateResponse 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 ID
AsyncCreateResponse 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 rule
Void deletePortForwardingRule(String id)
id - the id of the forwarding rule
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||