Skip to main content
GET
Get a VM's serial console log, fetching it first if it has never been fetched

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

project_id
string
required

ID of the project

Pattern: ^pj[0-9a-hj-km-np-tv-z]{24}$
Example:

"pjkkmx0f2vke4h36nk9cm8v8q0"

location
string
required

The Ubicloud location/region

Example:

"eu-central-h1"

vm_reference
string
required

Virtual machine ID or name Resource ID or name

Pattern: ^[a-z0-9](?:[a-z0-9\-]{0,61}[a-z0-9])?$

Query Parameters

refresh
boolean

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
enum<string>
required

Status of the run command

Available options:
created,
succeeded,
failed
output
string | null
required

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

timestamp
string<date-time>
required

Time the run command was last updated to its current status