/v2/projects/{project_id}/vms/{vm_id}/stop ------------------------------------------------------------------------------------------------------------------------------------------ .. contents:: POST /v2/projects/**{project_id}**/vms/**{vm_id}**/stop ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Start a VM instance Parameters ********** - **vm_id**: UUID for the VM - **project_id**: UUID for the project Response status codes ********************** - **400**: Invalid request - **201**: Instance created 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_projectsprojectidvmsvmidstop.txt