対象仮想マシングループのプロパティを更新します。
PUT /api/1.0/vmgroup/{vmgroupId}
※ vmgroupId :プロパティを更新したい仮想マシングループのID
| Request parameters |
| Name |
Description |
Type |
Data type |
Required |
| Authorization |
Bearer [APIキー] |
header |
string |
True |
| vmgroup |
対象の仮想マシングループ情報 |
body |
object |
True |
| body parameters |
| Name |
Description |
Example |
Data type |
Required |
| vmgroup |
仮想マシングループ情報 |
|
object |
True |
| vmgroupName |
仮想マシングループ名 |
VMGROUP01 |
string |
True |
| comment |
コメント |
コメント |
string |
|
| Successful Response |
| Response Code |
200 OK |
| Response Headers |
Content-type: application/json |
| Response parameters |
| Name |
Description |
Example |
Data type |
| vmgroupId |
仮想マシングループID |
2973fgh4vbcccccccaafascccda5873d |
string |
|
実行例) 仮想マシングループプロパティを更新する場合
|
# Execute request
curl -i -X PUT -H "Authorization:$token" -H "Content-Type:application/json" ¥
-d '{
"vmgroup": {
"vmgroupName": "TestVMGroup01",
"comment": "TestVMG01"
}
}' ¥
'https://eastapi.aspire.gcf.whitecloud.jp/api/1.0/vmgroup/2973fgh4vb…c…da5873d'
|
|
レスポンス例
|
{"vmgroupId":"2973fgh4vbn74e39a57b59d95da5873d"}
|