virtual_machines

Get virtual machine state

Returns the current power state of the virtual machine.


Requires team role: any

get/teams/{team}/virtual_machines/{vm}/state/

Request

Path parameters

teamstring required

Team handle

vmstring required

Virtual machine name or deployment ID

Response

Current virtual machine state

hoststring required

The host where the VM is running

statestring required

The current state of the virtual machine. Values can include "running", "shut off", "paused", etc.

Example response

{
  "host": "vm-host-01",
  "state": "running"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.