检索应用模板的列表
/api/v2/template/list?vdc=controller-name
目标虚拟数据中心的名称
同步
GET
检索应用模板的列表
GET http://192.168.123.200/api/v2/template/list?vdc=mygrid
<templates> template> name>TWiki_r11</name> description>TWiki 4.3.1 collaboration platform (v4.3.1-7)</description> destroy_on_stop>0</destroy_on_stop> doc_url>http://doc.3tera.net/AppLogic29/RefAppsTWiki4.html</doc_url> id>2</id> state>stopped</state> template>0</template> user1></user1> user2></user2> </template> 。 。 。 </templates>
{
"template" : [
{
"template" : "0",
"user1" : "",
"name" : "TWiki_r11",
"description" : "TWiki 4.3.1 collaboration platform (v4.3.1-7)",
"state" : "stopped",
"doc_url" : "http://doc.3tera.net/AppLogic29/RefAppsTWiki4.html",
"destroy_on_stop" : "0",
"id" : "2",
"user2" : ""
},
.
.
.
}
未找到实体 vdc mygrid-WS_API 应用中没有配置指定的 VDC 名称。
|
版权所有 © 2013 CA。
保留所有权利。
|
|