Apache CloudStack v4.4.0 Domain Admin API Reference

enableStaticNat

Enables static nat for given ip address

Request parameters

Parameter NameDescriptionRequired
ipaddressidthe public IP address id for which static nat feature is being enabledtrue
virtualmachineidthe ID of the virtual machine for enabling static nat featuretrue
networkidThe network of the vm the static nat will be enabled for. Required when public Ip address is not associated with any Guest network yet (VPC case)false
vmguestipVM guest nic Secondary ip address for the port forwarding rulefalse

Response Tags

Response NameDescription
displaytextany text associated with the success or failure
successtrue if operation is executed successfully