Obtaining a Remote Login Address (Deprecated)
Function
This API is used to obtain the address for remotely logging in to a BMS.
URL
POST /v2.1/{project_id}/servers/{server_id}/action
Table 1 lists the parameters.
| Parameter | Mandatory | Description |
|---|---|---|
| project_id | Yes | Specifies the project ID. For details about how to obtain the project ID, see Obtaining a Project ID. |
| server_id | Yes | Specifies the BMS ID. You can obtain the BMS ID from the BMS console or by calling the API Querying BMSs (Deprecated). |
Request Message
- Request parameters
Parameter
Mandatory
Type
Description
os-getSerialConsole
Yes
Object
Specifies the action to obtain a BMS remote login address. For details, see Table 2.
- Example request
Response Message
Returned Values
| Returned Values | Description |
|---|---|
| 200 | The request has been successfully processed. |
For details about other returned values, see Status Codes.
Error Codes
See Error Codes.