Virtual Machine

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

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

Request

  • Base URL
    https://api.ubicloud.com
  • URL
    https://api.ubicloud.com/project/{project_id}/location/{location}/vm/{vm_reference}/serial-log
  • Auth
    HTTP bearer

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