|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface NATClient
Provides synchronous access to CloudStack IPForwardingRule features.
NATAsyncClient,
| Method Summary | |
|---|---|
AsyncCreateResponse |
createIPForwardingRule(String IPAddressId,
String protocol,
int startPort,
CreateIPForwardingRuleOptions... options)
Creates an ip forwarding rule |
String |
deleteIPForwardingRule(String id)
Deletes an ip forwarding rule |
String |
disableStaticNATOnPublicIP(String IPAddressId)
Disables static rule for given ip address |
void |
enableStaticNATForVirtualMachine(String virtualMachineId,
String IPAddressId)
|
IPForwardingRule |
getIPForwardingRule(String id)
get a specific IPForwardingRule by id |
Set<IPForwardingRule> |
getIPForwardingRulesForIPAddress(String id)
get a set of IPForwardingRules by ipaddress id |
Set<IPForwardingRule> |
getIPForwardingRulesForVirtualMachine(String id)
get a set of IPForwardingRules by virtual machine id |
Set<IPForwardingRule> |
listIPForwardingRules(ListIPForwardingRulesOptions... options)
List the ip forwarding rules |
| Method Detail |
|---|
Set<IPForwardingRule> listIPForwardingRules(ListIPForwardingRulesOptions... options)
options - if present, how to constrain the list.
IPForwardingRule getIPForwardingRule(String id)
id - IPForwardingRule to get
Set<IPForwardingRule> getIPForwardingRulesForIPAddress(String id)
id - IPAddress of rule to get
Set<IPForwardingRule> getIPForwardingRulesForVirtualMachine(String id)
id - virtual machine of rule to get
AsyncCreateResponse createIPForwardingRule(String IPAddressId,
String protocol,
int startPort,
CreateIPForwardingRuleOptions... options)
IPAddressId - the public IP address id of the forwarding rule, already
associated via associateIpprotocol - the protocol for the rule. Valid values are TCP or UDP.startPort - the start port for the rule
String deleteIPForwardingRule(String id)
id - the id of the forwarding rule
void enableStaticNATForVirtualMachine(String virtualMachineId,
String IPAddressId)
String disableStaticNATOnPublicIP(String IPAddressId)
IPAddressId - the public IP address id for which static nat feature is being
disabled
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||