Method getSerialPortOutput

Returns the serial port output of the specified Instance resource.

HTTP request

GET https://compute.api.cloud.yandex.net/compute/v1/instances/{instanceId}:serialPortOutput

Path parameters

Parameter Description
instanceId Required. ID of the instance to return the serial port output for. The maximum string length in characters is 50.

Query parameters

Parameter Description
port Serial port to retrieve data from. The default is 1. Value must be one of 1, 2, 3 or 4.

Response

HTTP Code: 200 - OK

{
  "contents": "string"
}
Field Description
contents string

The contents of the serial port output, starting from the time when the instance started to boot.