Virtual Machine

Get a VM's serial console log, fetching it first if it has never been fetched

get/project/{project_id}/location/{location}/vm/{vm_reference}/serial-log

Query parameters

refreshboolean

Request a newer fetch than the last one (ignored if the last fetch was too recent, and done automatically regardless once the last result is old enough)

Response

The status/output of a VM run command

status'created' | 'succeeded' | 'failed' required

Status of the run command

outputstring nullable required

Output of the run command, truncated to the last 64KB. Null unless status is succeeded.

timestampstring date-time required

Time the run command was last updated to its current status

Changes

Changed in 1 of the 59 revisions of this API.1