| 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
|
@Named(value="listIpForwardingRules") Set<IPForwardingRule> listIPForwardingRules(ListIPForwardingRulesOptions... options)
options - if present, how to constrain the list.@Named(value="listIpForwardingRules") IPForwardingRule getIPForwardingRule(String id)
id - IPForwardingRule to get@Named(value="listIpForwardingRules") Set<IPForwardingRule> getIPForwardingRulesForIPAddress(String id)
id - IPAddress of rule to get@Named(value="listIpForwardingRules") Set<IPForwardingRule> getIPForwardingRulesForVirtualMachine(String id)
id - virtual machine of rule to get@Named(value="createIpForwardingRule") 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@Named(value="enableStaticNat") void enableStaticNATForVirtualMachine(String virtualMachineId, String IPAddressId)
@Named(value="deleteIpForwardingRule") String deleteIPForwardingRule(String id)
id - the id of the forwarding ruleCopyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.