/v2/compute/projects/{project_id}/nat/nodes
------------------------------------------------------------------------------------------------------------------------------------------
.. contents::
POST /v2/compute/projects/**{project_id}**/nat/nodes
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Create a new nat instance
Parameters
**********
- **project_id**: Project UUID
Response status codes
**********************
- **201**: Instance created
- **400**: Invalid request
- **409**: Conflict
Input
*******
.. raw:: html
Name | Mandatory | Type | Description |
name | | string | Nat name |
node_id | | string | Node UUID |
ports_mapping | | array | |
project_id | | string | Project UUID |
status | | enum | Possible values: started, stopped, suspended |
Output
*******
.. raw:: html
Name | Mandatory | Type | Description |
name | | string | Nat name |
node_id | | string | Node UUID |
ports_mapping | | array | |
project_id | | string | Project UUID |
status | | enum | Possible values: started, stopped, suspended |
Sample session
***************
.. literalinclude:: ../../../examples/compute_post_projectsprojectidnatnodes.txt