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

14.1.5 ListDiskImage (マスターイメージの一覧を取得)

名前

【Windowsマネージャー】
インストールフォルダー\RCXCFMG\bin\ListDiskImage - マスターイメージの一覧を取得

【Linuxマネージャー】
/opt/FJSVcfmg/bin/ListDiskImage.sh - マスターイメージの一覧を取得

形式

【Windowsマネージャー】

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

【Linuxマネージャー】

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

機能説明

仮想データセンター内にあるディスクイメージのIDを取得します。

オプション

-version

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

-locale

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

-userId

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

-password

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

-orgId

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

必要な権限・実行環境

権限

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

実行環境

管理サーバ

使用例

【Windowsマネージャー】
> ListDiskImage -version 2.0 -locale ja -userId user3 -password password -orgId tenantA
<?xml version="1.0" encoding="UTF-8"?>
<ListDiskImageResponse xmlns="http://cfmg.systemwalker.jp.fujitsu.com">
  <diskimages>
    <diskimage>
      <creatorName>cfmgadm</creatorName>
      <diskimageId>image-13f2b6162a3</diskimageId>
      <diskimageName>g-vm-0002</diskimageName>
      <disks>
        <disk>
          <diskSize>400.0</diskSize>
          <no>3</no>
        </disk>
        <disk>
          <diskSize>500.0</diskSize>
          <no>5</no>
        </disk>
      </disks>
      <maxCpuPerf>1.4</maxCpuPerf>
      <maxDiskSize>500.0</maxDiskSize>
      <maxMemorySize>2.0</maxMemorySize>
      <maxSysvolSize>70.0</maxSysvolSize>
      <name>data_disks</name>
      <numOfMaxCpu>1</numOfMaxCpu>
      <numOfMaxDisk>5</numOfMaxDisk>
      <numOfMaxNic>1</numOfMaxNic>
      <registrant>manage1</registrant>
      <size>70.0</size>
      <softwares>
        <software>
          <category>OS</category>
          <license/>
          <name>Windows Server 2008 R2 Enterprise</name>
          <officialVersion/>
          <osCategory>windows64</osCategory>
          <patch/>
          <softwareId>SW00000007</softwareId>
          <support/>
          <version>6.1</version>
        </software>
      </softwares>
      <vmType>VMware</vmType>
    </diskimage>
    <diskimage>
      <creatorName>cfmgadm</creatorName>
      <diskimageId>image-13d23c1c832</diskimageId>
      <diskimageName>g-vm-0001</diskimageName>
      <maxCpuPerf>3.2</maxCpuPerf>
      <maxDiskSize>30.0</maxDiskSize>
      <maxMemorySize>8.0</maxMemorySize>
      <maxSysvolSize>50.0</maxSysvolSize>
      <name>solaristest</name>
      <numOfMaxCpu>4</numOfMaxCpu>
      <numOfMaxDisk>1</numOfMaxDisk>
      <numOfMaxNic>1</numOfMaxNic>
      <patches>
        <patch>
          <componentName/>
          <description/>
          <patchId>PATCH1</patchId>
          <softwareId>SW00000016</softwareId>
        </patch>
        <patch>
          <componentName/>
          <description/>
          <patchId>PATCH2</patchId>
          <softwareId>SW00000016</softwareId>
        </patch>
      </patches>
      <registrant>manage1</registrant>
      <size>50.0</size>
      <softwares>
        <software>
          <category>OS</category>
          <license/>
          <name>FreeOS</name>
          <officialVersion/>
          <osCategory>other</osCategory>
          <patch/>
          <softwareId>SW00000016</softwareId>
          <support/>
          <version>1.0</version>
        </software>
      </softwares>
      <vmType>VMware</vmType>
    </diskimage>
  </diskimages>
  <responseMessage>PAPI00000 Processing was completed.</responseMessage>
  <responseStatus>SUCCESS</responseStatus>
</ListDiskImageResponse>
【Linuxマネージャー】
# ListDiskImage.sh -version 2.0 -locale ja -userId user3 -password password -orgId tenantA
<?xml version="1.0" encoding="UTF-8"?>
<ListDiskImageResponse xmlns="http://cfmg.systemwalker.jp.fujitsu.com">
  <diskimages>
    <diskimage>
      <creatorName>cfmgadm</creatorName>
      <diskimageId>image-13f2b6162a3</diskimageId>
      <diskimageName>g-vm-0002</diskimageName>
      <disks>
        <disk>
          <diskSize>400.0</diskSize>
          <no>3</no>
        </disk>
        <disk>
          <diskSize>500.0</diskSize>
          <no>5</no>
        </disk>
      </disks>
      <maxCpuPerf>1.4</maxCpuPerf>
      <maxDiskSize>500.0</maxDiskSize>
      <maxMemorySize>2.0</maxMemorySize>
      <maxSysvolSize>70.0</maxSysvolSize>
      <name>data_disks</name>
      <numOfMaxCpu>1</numOfMaxCpu>
      <numOfMaxDisk>5</numOfMaxDisk>
      <numOfMaxNic>1</numOfMaxNic>
      <registrant>manage1</registrant>
      <size>70.0</size>
      <softwares>
        <software>
          <category>OS</category>
          <license/>
          <name>Windows Server 2008 R2 Enterprise</name>
          <officialVersion/>
          <osCategory>windows64</osCategory>
          <patch/>
          <softwareId>SW00000007</softwareId>
          <support/>
          <version>6.1</version>
        </software>
      </softwares>
      <vmType>VMware</vmType>
    </diskimage>
    <diskimage>
      <creatorName>cfmgadm</creatorName>
      <diskimageId>image-13d23c1c832</diskimageId>
      <diskimageName>g-vm-0001</diskimageName>
      <maxCpuPerf>3.2</maxCpuPerf>
      <maxDiskSize>30.0</maxDiskSize>
      <maxMemorySize>8.0</maxMemorySize>
      <maxSysvolSize>50.0</maxSysvolSize>
      <name>solaristest</name>
      <numOfMaxCpu>4</numOfMaxCpu>
      <numOfMaxDisk>1</numOfMaxDisk>
      <numOfMaxNic>1</numOfMaxNic>
      <patches>
        <patch>
          <componentName/>
          <description/>
          <patchId>PATCH1</patchId>
          <softwareId>SW00000016</softwareId>
        </patch>
        <patch>
          <componentName/>
          <description/>
          <patchId>PATCH2</patchId>
          <softwareId>SW00000016</softwareId>
        </patch>
      </patches>
      <registrant>manage1</registrant>
      <size>50.0</size>
      <softwares>
        <software>
          <category>OS</category>
          <license/>
          <name>FreeOS</name>
          <officialVersion/>
          <osCategory>other</osCategory>
          <patch/>
          <softwareId>SW00000016</softwareId>
          <support/>
          <version>1.0</version>
        </software>
      </softwares>
      <vmType>VMware</vmType>
    </diskimage>
  </diskimages>
  <responseMessage>PAPI00000 Processing was completed.</responseMessage>
  <responseStatus>SUCCESS</responseStatus>
</ListDiskImageResponse>

終了ステータス

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

0

正常に処理されました。

0以外

エラーが発生しました。