ページの先頭行へ戻る
ServerView Resource Orchestrator Cloud Edition V3.2.0 リファレンスガイド (コマンド/XML編)
FUJITSU Software

14.1.7 ListLPlatformDescriptor (テンプレート一覧を取得)

名前

【Windowsマネージャー】
インストールフォルダー\RCXCFMG\bin\ListLPlatformDescriptor - テンプレート一覧を取得

【Linuxマネージャー】
/opt/FJSVcfmg/bin/ListLPlatformDescriptor.sh - テンプレート一覧を取得

形式

【Windowsマネージャー】

ListLPlatformDescriptor -version バージョンID -locale 言語コード -userId ユーザーID -password パスワード -orgId テナント名 [-keyword キーワード]

【Linuxマネージャー】

ListLPlatformDescriptor.sh -version バージョンID -locale 言語コード -userId ユーザーID -password パスワード -orgId テナント名 [-keyword キーワード]

機能説明

仮想データセンター内のテンプレート一覧を取得します。

同時にテンプレートの属性情報を取得します。

オプション

-version

L-Platform APIのバージョンIDを指定します。

-locale

L-Platform APIと通信するための言語を指定します。

-userId

L-Platform APIを実行するユーザーIDを指定します。

-password

L-Platform APIを実行するユーザーIDのパスワードを指定します。

-orgId

L-Platform APIを実行するユーザーのテナント名を指定します。

-keyword(省略可)

一覧に表示するテンプレートを絞り込むためのキーワードを指定します。

必要な権限・実行環境

権限

OSの管理者権限をもつユーザー

実行環境

管理サーバ

使用例

【Windowsマネージャー】
> ListLPlatformDescriptor -version 2.0 -locale ja -userId user3 -password password -orgId tenantA -keyword sample
<?xml version="1.0" encoding="UTF-8"?>
<ListLPlatformDescriptorResponse xmlns="http://cfmg.systemwalker.jp.fujitsu.com">
  <responseMessage>PAPI00000 Processing was completed.</responseMessage>
  <responseStatus>SUCCESS</responseStatus>
  <lplatformdescriptors>
    <lplatformdescriptor>
      <creatorName>user3</creatorName>
      <description>sample1</description>
      <registrant>cfmgadm</registrant>
      <lplatformdescriptorId>template-138141e01cc</lplatformdescriptorId>
      <lplatformdescriptorName>sampleTemplate1</lplatformdescriptorName>
    </lplatformdescriptor>
    <lplatformdescriptor>
      <creatorName>cfmgadm</creatorName>
      <description>sample2</description>
      <registrant>user3</registrant>
      <lplatformdescriptorId>template-138241e02dd</lplatformdescriptorId>
      <lplatformdescriptorName>sampleTemplate2</lplatformdescriptorName>
    </lplatformdescriptor>
  </lplatformdescriptors>
</ListLPlatformDescriptorResponse>
【Linuxマネージャー】
# ListLPlatformDescriptor.sh -version 2.0 -locale ja -userId user3 -password password -orgId tenantA -keyword sample
<?xml version="1.0" encoding="UTF-8"?>
<ListLPlatformDescriptorResponse xmlns="http://cfmg.systemwalker.jp.fujitsu.com">
  <responseMessage>PAPI00000 Processing was completed.</responseMessage>
  <responseStatus>SUCCESS</responseStatus>
  <lplatformdescriptors>
    <lplatformdescriptor>
      <creatorName>user3</creatorName>
      <description>sample1</description>
      <registrant>cfmgadm</registrant>
      <lplatformdescriptorId>template-138141e01cc</lplatformdescriptorId>
      <lplatformdescriptorName>sampleTemplate1</lplatformdescriptorName>
    </lplatformdescriptor>
    <lplatformdescriptor>
      <creatorName>user3</creatorName>
      <description>sample2</description>
      <registrant>cfmgadm</registrant>
      <lplatformdescriptorId>template-138241e02dd</lplatformdescriptorId>
      <lplatformdescriptorName>sampleTemplate2</lplatformdescriptorName>
    </lplatformdescriptor>
  </lplatformdescriptors>
</ListLPlatformDescriptorResponse>

終了ステータス

以下の終了ステータスが返されます。

0

正常に処理されました。

0以外

エラーが発生しました。