Compute Cloud API, REST: Instance.GetSerialPortOutput
Written by
Updated at November 26, 2024
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
Field |
Description |
instanceId |
string Required field. ID of the instance to return the serial port output for. |
Query parameters
Field |
Description |
port |
string (int64) Serial port to retrieve data from. The default is 1. |
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 |