This API is used to obtain the address for remotely logging in to a BMS.
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 how to obtain the project ID, see Obtaining Required Information. |
server_id |
Yes |
Specifies the BMS ID. You can obtain the BMS ID from the BMS console or by calling the API Querying BMSs. |
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
os-getSerialConsole |
Yes |
Object |
Specifies the action to obtain a BMS remote login address. For details, see Table 2. |
Returned Values |
Description |
|---|---|
200 |
The request has been successfully processed. |
For details about other returned values, see Status Codes.
See Error Codes.