- HOME
- 提供API一覧
- listVMSnapshot
listVMSnapshot
処理概要
VMSnapshotの情報を取得
注意事項
・なし
リクエスト
・リクエストパラメータ
| Parameter Name | Description | Required |
| name | lists snapshot by snapshot name or display name | false |
| state | state of the virtual machine snapshot | false |
| virtualmachineid | the ID of the vm | false |
| vmsnapshotid | The ID of the VM snapshot | false |
・リクエストサンプル
$ ./kick_api.sh command=listVMSnapshot name=test
レスポンス
・レスポンスボディ
| Response Name | Description |
| id | the ID of the vm snapshot |
| account | the account associated with the disk volume |
| created | the create date of the vm snapshot |
| current | indiates if this is current snapshot |
| description | the description of the vm snapshot |
| displayname | the display name of the vm snapshot |
| domain | the domain associated with the disk volume |
| domainid | the ID of the domain associated with the disk volume |
| name | the name of the vm snapshot |
| parent | the parent ID of the vm snapshot |
| parentName | the parent displayName of the vm snapshot |
| project | the project name of the vpn |
| projectid | the project id of the vpn |
| state | the state of the vm snapshot |
| type | VM Snapshot type |
| virtualmachineid | the vm ID of the vm snapshot |
| zoneid | the Zone ID of the vm snapshot |
・レスポンスサンプル
【API実行結果】
<?xml version=”1.0″ encoding=”UTF-8″?>
<listvmsnapshotresponse cloud-stack-version=”4.3.0.2″>
<count>1</count>
<vmSnapshot>
<id>a400511d-852e-4b43-a4fa-407d1ce45148</id>
<name>i-5-353933-VM_VS_20160921102042</name>
<state>Ready</state>
<displayname>test</displayname>
<virtualmachineid>ce379901-1b43-484b-8255-f7a52bd45600</virtualmachineid>
<current>true</current>
<type>Disk</type>
<created>2016-09-21T19:20:42+0900</created>
</vmSnapshot>
</listvmsnapshotresponse>
