サーバーリサイズ(Confirm)
Description
テナントIDとサーバーIDを指定し、指定されたサーバーのプラン変更を完了させます。
本APIを実行することで、Statusが“Confirm"、"Revert Resize/Migrate"のサーバーのプラン変更を完了させます。
Request URL
Compute API v2.0 POST /v2/{tenant_id}/servers/{server_id}/action
Request Json
{ "confirmResize": null }
Request Parameters
Parameter | Value | Style | Description |
---|---|---|---|
X-Auth-Token | Userトークン | header | トークン発行 にて払い出されたID |
tenant_id | テナントID | URI | API情報を確認する にてご確認ください。 |
server_id | サーバーID | plain | サーバー一覧取得 にてご確認ください。 |
Response
-
Normal response codes
202
Example
-
Request
curl -i -X POST \ -H "Accept: application/json" \ -H "Content-Type: application/json" \ -H "X-Auth-Token: トークンID" \ -d '{"confirmResize": null}' \ https://compute.jpt1.cloud.z.com/v2/テナントID/servers/サーバーID/action
-
Response
HTTP/1.1 204 No Content Date: Fri, 22 Jul 2016 03:13:31 GMT Server: Apache Content-Length: 0 Content-Type: application/json