Apache CloudStack 4.18.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 virtual machine for enabling static NAT feature | true |
networkid | The 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 |
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 |