Description
WEBシリアルコンソールへのHTTP用接続URLを取得します。
Request URL
Compute API v2.0 POST /v2/{tenant_id}/servers/{server_id}/action |
Request Json
{ “os-getWebConsole”: { “type”: “serial” } } |
Request Paramters
Parameter | Value | Style | Description |
---|---|---|---|
X-Auth-Token | Userトークン | header | トークンID |
tenant_id | テナントID | URI | テナントID |
server_id | サーバーID | plain | サーバーID |
type | plain | serial |
Response
Normal response codes
200 |
Example
Request
curl -i -X POST \ -H “Accept: application/json” \ -H “Content-Type: application/json” \ -H “X-Auth-Token: トークンID” \ -d ‘{“os-getWebConsole”: {“type”: “serial” }}’\ https://compute.odc01.eva-clouds.com/v2/テナントID/servers/サーバーID/action |
Response
HTTP/1.1 200 OK Date: Fri, 22 Jul 2016 03:53:44 GMT Server: Apache Content-Length: 118 Content-Type: application/json { |