public interface NATClient
NATAsyncClient
,
Modifier and Type | Method and Description |
---|---|
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
|
Set<IPForwardingRule> listIPForwardingRules(ListIPForwardingRulesOptions... options)
options
- if present, how to constrain the list.IPForwardingRule getIPForwardingRule(String id)
id
- IPForwardingRule to getSet<IPForwardingRule> getIPForwardingRulesForIPAddress(String id)
id
- IPAddress of rule to getSet<IPForwardingRule> getIPForwardingRulesForVirtualMachine(String id)
id
- virtual machine of rule to getAsyncCreateResponse 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 ruleString deleteIPForwardingRule(String id)
id
- the id of the forwarding rulevoid enableStaticNATForVirtualMachine(String virtualMachineId, String IPAddressId)
Copyright © 2009-2013 jclouds. All Rights Reserved.