アプリケーション テンプレートの設定パラメータを取得します
/api/v2/template/config?template=template&vdc=controller-name
アプリケーション テンプレートの名前
ターゲットの仮想データ センターの名前
このコマンドで使用可能なオプションの詳細については、「コマンド ライン シェル リファレンス」の「アプリケーション制御」を参照してください。
注: Web サービス API 内の template オブジェクトはシェルの application オブジェクトに関連付けられています。
同期
GET
テンプレート VDS_CentOS51_r15 の設定パラメータを取得します。
GET http://192.168.123.200/api/v2/template/config?template=VDS_CentOS51_r15&vdc=mygrid
<config> <name>VDS_CentOS51_r15</name> <__description>Virtual Dedicated Server - Based on CentOS 5.1 (v1.0.14-1)</__description> <__doc_url>http://doc.3tera.net/AppLogic27/RefAppsVdsLinux.html</__doc_url> <__template>0</__template> </config>
{
"__doc_url" : "http://doc.3tera.net/AppLogic27/RefAppsVdsLinux.html",
"__template" : "0",
"__description" : "Virtual Dedicated Server - Based on CentOS 5.1 (v1.0.14-1)",
"name" : "VDS_CentOS51_r15"
}
エンティティ vdc mygrid が見つかりません。WS_API アプリケーションに設定されていない VDC 名が指定されました。
必要な引数(template)がありません。 リクエストに引数 template=template がありません。
エンティティが見つかりません - 権限が拒否されました – アプリケーション VDS_CentOS_r1 は存在しません。
|
Copyright © 2013 CA.
All rights reserved.
|
|