/v2/projects/{project_id}/vms ------------------------------------------------------------------------------------------------------------------------------------------ .. contents:: POST /v2/projects/**{project_id}**/vms ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Create a new VM instance Parameters ********** - **project_id**: UUID for the project Response status codes ********************** - **400**: Invalid request - **201**: Instance created Input ******* .. raw:: html
Name Mandatory Type Description
compute_id string Hypervisor identifier
console ['integer', 'null'] Console TCP port
console_type enum Possible values: serial, vnc, telnet
name string VM name
project_id string Project identifier
properties object Properties specific to an emulator
vm_id string VM identifier
vm_type enum Possible values: docker, dynamips, vpcs, virtualbox, vmware, iou
Output ******* .. raw:: html
Name Mandatory Type Description
compute_id string Hypervisor identifier
console ['integer', 'null'] Console TCP port
console_type enum Possible values: serial, vnc, telnet
name string VM name
project_id string Project identifier
properties object Properties specific to an emulator
vm_id string VM identifier
vm_type enum Possible values: docker, dynamips, vpcs, virtualbox, vmware, iou
Sample session *************** .. literalinclude:: ../../../examples/controller_post_projectsprojectidvms.txt