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") @GET @Consumes(value="application/json") Set<IPForwardingRule> listIPForwardingRules(ListIPForwardingRulesOptions... options)
options
- if present, how to constrain the list.@Named(value="listIpForwardingRules") @GET @Consumes(value="application/json") IPForwardingRule getIPForwardingRule(@QueryParam(value="id") String id)
id
- IPForwardingRule to get@Named(value="listIpForwardingRules") @GET @Consumes(value="application/json") Set<IPForwardingRule> getIPForwardingRulesForIPAddress(@QueryParam(value="ipaddressid") String id)
id
- IPAddress of rule to get@Named(value="listIpForwardingRules") @GET @Consumes(value="application/json") Set<IPForwardingRule> getIPForwardingRulesForVirtualMachine(@QueryParam(value="virtualmachineid") String id)
id
- virtual machine of rule to get@Named(value="createIpForwardingRule") @GET @Consumes(value="application/json") AsyncCreateResponse createIPForwardingRule(@QueryParam(value="ipaddressid") String IPAddressId, @QueryParam(value="protocol") String protocol, @QueryParam(value="startport") 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") @GET @Consumes(value="application/json") void enableStaticNATForVirtualMachine(@QueryParam(value="virtualmachineid") String virtualMachineId, @QueryParam(value="ipaddressid") String IPAddressId)
@Named(value="deleteIpForwardingRule") @GET @Consumes(value="application/json") String deleteIPForwardingRule(@QueryParam(value="id") String id)
id
- the id of the forwarding rule@Named(value="disableStaticNat") @GET @Consumes(value="application/json") String disableStaticNATOnPublicIP(@QueryParam(value="ipaddressid") String IPAddressId)
IPAddressId
- the public IP address id for which static nat feature is being
disabledCopyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.