Apache CloudStack 4.23.0.0 Root Admin API Reference
enableStaticNat
Enables static NAT for given IP address
Request parameters
| Parameter Name | Description | Required |
| ipaddressid | The public IP address ID for which static NAT feature is being enabled | true |
| virtualmachineid | The ID of the Instance for enabling static NAT feature | true |
| networkid | The Network of the Instance the static NAT will be enabled for. Required when public IP address is not associated with any guest Network yet (VPC case) | false |
| vmguestip | VM guest NIC secondary IP address for the port forwarding rule | false |
Response Tags
| Response Name | Description |
| displaytext | Any text associated with the success or failure |
| success | True if operation is executed successfully |