gns3-server/docs/api/v2/compute/docker/projectsprojectiddockervmsidsuspend.rst
Julien Duponchelle 97aea5f82a
Doc update
2016-04-18 16:58:06 +02:00

5.1 KiB

/v2/compute/projects/{project_id}/docker/vms/{id}/suspend

POST /v2/compute/projects/{project_id}/docker/vms/{id}/suspend

Pause a Docker container

Parameters

  • id: ID of the container
  • project_id: UUID of the project

Response status codes

  • 400: Invalid request
  • 404: Instance doesn't exist
  • 204: Instance paused

Input

Name Mandatory Type Description
adapters ['integer', 'null'] number of adapters
aux ['integer', 'null'] auxilary TCP port
console ['integer', 'null'] console TCP port
console_resolution ['string', 'null'] console resolution for VNC
console_type enum Possible values: telnet, vnc
environment ['string', 'null'] Docker environment
image string Docker image name
name string Docker container name
start_command ['string', 'null'] Docker CMD entry
vm_id string Docker VM instance identifier

Output

Name Mandatory Type Description
adapters ['integer', 'null'] number of adapters
aux integer auxilary TCP port
console integer console TCP port
console_resolution string console resolution for VNC
console_type enum Possible values: telnet, vnc
container_id string Docker container ID
environment ['string', 'null'] Docker environment
image string Docker image name
name string Docker container name
project_id string Project UUID
start_command ['string', 'null'] Docker CMD entry
vm_directory string
vm_id string Docker container instance UUID