ConoHa API Documantation

ISOイメージの挿入(mount) - Compute API v2

Description

ISOイメージの挿入を行う
※ISOイメージをmountします。

VM停止時のみ実行可能です。

Request URL

Compute API v2.0

POST /v2/{tenant_id}​/servers/​{server_id}​/action

Request Paramters

Parameter Value Style Description
X-Auth-Token Userトークン header トークンID
tenant_id URI テナントID
server_id URI サーバID
mountImage plain <file_path>

Request Json

{
    "mountImage": "<file_path>"
}

Normal response codes

204

Example

  • REQ
curl -i -X POST \
-H "Accept: application/json" \
-H "X-Auth-Token: 35941e7df872405d84e5b026dba8323c" \
-d '{"mountImage": "<file_path>"}' \
https://compute.tyo1.conoha.io/v2/1864e71d2deb46f6b47526b69c65a45d/servers/e25b3611-96df-4514-a54b-7729aec48dc1/action
  • RES
HTTP/1.1 204 No Content
Date: Wed, 10 Dec 2014 04:13:45 GMT
Server: Apache
Content-Length: 0
Content-Type: text/html; charset=UTF-8