Description
ビデオデバイスの変更を行います。
Request URL
Compute API v2.0 POST /v2/{tenant_id}/servers/{server_id}/action |
Request Json
{ “hwVideoModel”: “ビデオデバイス“ } |
Request Paramters
Parameter | Value | Style | Description |
---|---|---|---|
X-Auth-Token | Userトークン | header | トークンID |
tenant_id | テナントID | URI | テナントID |
server_id | サーバーID | plain | サーバーID |
hwVideomodel | plain | “qxl”、”vga”、”cirrus”のうち、入力されたものにビデオデバイスを変更します(default: vga) |
Response
Normal response codes
204 |
Example
Request
curl -i -X POST \ -H “Accept: application/json” \ -H “X-Auth-Token: トークンID” \ -d ‘{“hwVideoModel”: “ビデオデバイス“}’\ https://compute.odc01.eva-clouds.com/v2/テナントID/servers/サーバーID/action |
Response
HTTP/1.1 204 No Content Date: Thu, 07 Jul 2016 05:17:06 GMT Server: Apache Content-Length: 0 Content-Type: application/json |