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

Response Tags

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