Obtaining the Serial Port Login Address
Function
This API is used to obtain the serial port login address of an ECS.
Constraints
This API is only supported in the following regions: AF-Cairo, AF-Johannesburg, and ME-Riyadh.
Debugging
You can debug this API in API Explorer.
URI
POST /v1/{project_id}/cloudservers/{server_id}/actions/serial-console
Parameter | Mandatory | Description |
|---|---|---|
project_id | Yes | Definition Specifies the project ID. For details about how to obtain the ID, see Obtaining a Project ID. Constraints N/A Range N/A Default Value N/A |
server_id | Yes | Definition Specifies the ECS ID. Constraints N/A Range N/A Default Value N/A |
Request
None.
Response
Table 2 describes the response parameter.
Parameter | Type | Description |
|---|---|---|
serial_console | Object | Definition Specifies the serial port login address. For details, see Table 3. Range N/A |
Parameter | Type | Description |
|---|---|---|
url | String | Definition Specifies the URL for serial port login. Range N/A |
Example Request
POST https://{endpoint}/v1/{project_id}/cloudservers/{server_id}/actions/serial-console Example Response
{
"serial_console": {
"url": "xxxx",
}
} Returned Values
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot
