|
||||||||||
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.
IPForwardingRuleAsyncClient
,
Method Summary | |
---|---|
AsyncCreateResponse |
createIPForwardingRule(long IPAddressId,
String protocol,
int startPort,
CreateIPForwardingRuleOptions... options)
Creates an ip forwarding rule |
Long |
deleteIPForwardingRule(long id)
Deletes an ip forwarding rule |
Long |
disableStaticNATOnPublicIP(long IPAddressId)
Disables static rule for given ip address |
void |
enableStaticNATForVirtualMachine(long virtualMachineId,
long IPAddressId)
|
IPForwardingRule |
getIPForwardingRule(long id)
get a specific IPForwardingRule by id |
Set<IPForwardingRule> |
getIPForwardingRulesForIPAddress(long id)
get a set of IPForwardingRules by ipaddress id |
Set<IPForwardingRule> |
getIPForwardingRulesForVirtualMachine(long 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(long id)
id
- IPForwardingRule to get
Set<IPForwardingRule> getIPForwardingRulesForIPAddress(long id)
id
- IPAddress of rule to get
Set<IPForwardingRule> getIPForwardingRulesForVirtualMachine(long id)
id
- virtual machine of rule to get
AsyncCreateResponse createIPForwardingRule(long 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
Long deleteIPForwardingRule(long id)
id
- the id of the forwarding rulevoid enableStaticNATForVirtualMachine(long virtualMachineId, long IPAddressId)
Long disableStaticNATOnPublicIP(long 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 |