Modifier and Type | Method and Description |
---|---|
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
|
Set<IPForwardingRule> listIPForwardingRules(ListIPForwardingRulesOptions... options)
options
- if present, how to constrain the list.IPForwardingRule getIPForwardingRule(long id)
id
- IPForwardingRule to getSet<IPForwardingRule> getIPForwardingRulesForIPAddress(long id)
id
- IPAddress of rule to getSet<IPForwardingRule> getIPForwardingRulesForVirtualMachine(long id)
id
- virtual machine of rule to getAsyncCreateResponse 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 ruleLong 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
disabledCopyright © 2009-2012 jclouds. All Rights Reserved.