アプリケーション内のボリュームのリストを取得します。
/api/v1/vol/list?app=application&vdc=controller-name
アプリケーションの名前
ターゲットの仮想データ センターの名前
同期
GET
test のボリュームのリストを取得します。
GET http://192.168.123.200/api/v1/vol/list?app=test&vdc=mygrid
<volume> <name>vol1</name> <comment></comment> <filesystem>ext3</filesystem> <mount_state>available</mount_state> <n_mirrors>1</n_mirrors> <scope_name>test</scope_name> <scope_type>application</scope_type> <server>srv1</server> <size>1073741824</size> <state>ok</state> <uuid>cf432100-63fc-450d-8eb7- 2da6deca8627</uuid> </volume>
{
"scope_type" : "application",
"name" : "vol1",
"scope_name" : "test",
"mount_state" : "available",
"uuid" : "cf432100-63fc-450d-8eb7-2da6deca8627",
"size" : "1073741824",
"state" : "ok",
"comment" : "",
"filesystem" : "ext3",
"n_mirrors" : "1",
"server" : "srv1"
}
エンティティ vdc mygrid が見つかりません。WS_API アプリケーションに設定されていない VDC 名が指定されました。
必要な引数(app)がありません。 リクエストに引数 app=app がありません。
アプリケーション test がありません。 リクエストに無効なアプリケーションが指定されています。
| Copyright © 2012 CA. All rights reserved. |
|