/v1/{project_id}/vpcs/vms
-----------------------------------------------------------
.. contents::
POST /v1/**{project_id}**/vpcs/vms
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Create a new VPCS instance
Parameters
**********
- **project_id**: UUID for the project
Response status codes
**********************
- **400**: Invalid request
- **201**: Instance created
- **409**: Conflict
Input
*******
.. raw:: html
Name | Mandatory | Type | Description |
console | | ['integer', 'null'] | console TCP port |
name | ✔ | string | VPCS VM name |
startup_script | | ['string', 'null'] | Content of the VPCS startup script |
vm_id | | string | VPCS VM identifier |
Output
*******
.. raw:: html
Name | Mandatory | Type | Description |
console | ✔ | integer | console TCP port |
name | ✔ | string | VPCS VM name |
project_id | ✔ | string | Project UUID |
script_file | | ['string', 'null'] | VPCS startup script |
startup_script | | ['string', 'null'] | Content of the VPCS startup script |
vm_id | ✔ | string | VPCS VM UUID |