- ホワイトクラウド ASPIRE
- サービスご利用ガイド
- APIを利用する
- APIリファレンス
- 仮想マシン
- シャットダウン
シャットダウン
対象の仮想マシンに対してOSのシャットダウンを行います。
PUT /api/1.0/vm/{vmId}/action/shutdown
※ vmId :シャットダウンする仮想マシンのID
Request parameters | ||||
---|---|---|---|---|
Name | Description | Type | Data type | Required |
Authorization | Bearer [APIキー] | header | String | True |
Successful Response | |||
---|---|---|---|
Response Code | 200 OK | ||
Response Headers | Content-type: application/json | ||
Response parameters | |||
Name | Description | Example | Data type |
vmId | 仮想マシンID | 01887c57faef446fb2cca00cef507efa | String |
実行例 |
---|
# Execute request curl -i -X PUT -H "Authorization:$token" -H Content-Type:application/json -d '{ }' https://eastapi.aspire.gcf.whitecloud.jp/api/1.0/vm/ f99... 04bd...g12/action/shutdown |
レスポンス例 |
---|
|