名前
【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を取得します。
オプション
L-Platform APIのバージョンIDを指定します。
L-Platform APIと通信するための言語を指定します。
L-Platform APIを実行するユーザーIDを指定します。
L-Platform APIを実行するユーザーIDのパスワードを指定します。
L-Platform APIを実行するユーザーのテナント名を指定します。
必要な権限・実行環境
OSの管理者権限をもつユーザー
管理サーバ
使用例
> 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>
# 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>
終了ステータス
以下の終了ステータスが返されます。
正常に処理されました。
エラーが発生しました。