mirror of
https://github.com/GNS3/gns3-server.git
synced 2024-12-21 05:43:12 +00:00
2.7 KiB
2.7 KiB
/v2/compute/projects/{project_id}/nat/nodes
POST /v2/compute/projects/{project_id}/nat/nodes
Create a new nat instance
Parameters
- project_id: Project UUID
Response status codes
- 400: Invalid request
- 201: Instance created
- 409: Conflict
Input
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
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
../../../examples/compute_post_projectsprojectidnatnodes.txt