前のトピック: dpmresourcemgr removeservice コマンド -- サービスを削除する

次のトピック: dpmresourcemgr retrieveresourcegroup コマンド -- リソース グループの取得


dpmresourcemgr removesourcetemplate コマンド -- リソース テンプレートの削除

removeresourcetemplate コマンドは、パッケージ テンプレートを削除します。

このコマンドの形式は、以下のとおりです。

dpmresourcemgr removeresourcetemplate [-sc sc_url] -template_name templatename -template_os_type OStype [-ws_user username -ws_password password][-locale iso639value]
-sc sc_url

(オプション)サービス コントローラ ホスト用の URL を定義します。

例: https://hostname:port/...

hostname

サービス コントローラがインストールされている完全修飾ホスト名を定義します。

例: localhost.ca.com

port

サービス コントローラ ホスト用のリスニング ポートを定義します。

例: 80

-template_name templatename

テンプレートの名前を定義します。

-template_os_type OS タイプ

展開用のリソース テンプレートの OS タイプを定義します。

-ws_user username -ws_password password

(オプション)Web サービスのセキュリティ チェックで使用する認証情報を指定します。 認証情報が含まれていない場合、入力が求められます。 caaipsecurity を使用して独自のセッションをセット アップすることにより、認証情報のプロンプトを回避します。

-locale iso639value

(オプション)デフォルトの英語出力より優先させるロケールを、IS0 639_3166 の組み合わせ(たとえばフランス語の場合は fr_FR)で指定します。コマンド プロンプトのロケールを使用する場合は「native」を指定します。

例: リソース テンプレートの削除

この例では、Generic template という名前のパッケージ テンプレートを削除します。

dpmresourcemgr removeresourcetemplate -template_name "Generic template" -template_os_type 0