-
名称
-
list-custom-resources - 全カスタムリソースの取得
-
形式
-
list-custom-resources --user admin_user [--password admin_password] [--host host_name] [--port port_number] [--passwordfile filename] [--terse=true|false] [--echo=true|false] [--interactive=true|false]
-
説明
-
全カスタムリソースを取得します。このコマンドはリモートモード
でのみ使用できます。
-
オプション
-
-
--user
-
ドメインアプリケーションサーバの管理ユーザ名
-
--password
-
ドメインアプリケーションサーバの管理ユーザのパスワード
-
--host
-
ドメインアプリケーションサーバが起動しているマシン名
-
--port
-
ドメインアプリケーションサーバのポート番号( 既 定 値:
6212)
-
--passwordfile
-
ドメインアプリケーションサーバの管理ユーザのパスワード
を含むファイル
-
--terse
-
trueを指定すると、出力データがスクリプトによる処理のた
めの簡潔なデータとなります。既定値はfalseです。
-
--echo
-
trueを指定すると、標準出力でコマンドライン文が表示され
ます。既定値はfalseです。
-
--interactive
-
true(既定値)を指定すると、パスワードオプション入力用の
プロンプトを表示します。
-
使用例
-
例1: list-custom-resourcesの使用法
otxadmin> list-custom-resources --user admin --password adminadmin
--host bluestar --port 6212
sample_custom_resource
sample_custom_resourceは一覧表示されるカスタムリソースです。
-
終了ステータス
-
| 0 : | コマンド実行成功 |
| 1 : | コマンド実行失敗 |
-
関連事項
-
create-custom-resource(1)
delete-custom-resource(1)