Apache CloudStack v4.8.0 User 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