Top
ServerView Resource Orchestrator Cloud Edition V3.1.2 Reference Guide (Command/XML)
FUJITSU Software

14.1.5 ListDiskImage (Gets a List of Cloning Images)

Name

[Windows Manager]
Installation_folder\RCXCFMG\bin\ListDiskImage - Gets a List of Cloning Images

[Linux Manager]
/opt/FJSVcfmg/bin/ListDiskImage.sh - Gets a List of Cloning Images

Synopsis

[Windows Manager]

ListDiskImage -version version_ID -locale the_language_for_communicating -userId user_ID -password password -orgId tenant_name

[Linux Manager]

ListDiskImage.sh -version version_ID -locale the_language_for_communicating -userId user_ID -password password -orgId tenant_name

Function description

This command gets a list of the disk image IDs in the virtual data center.

Options

-version

Specify the version ID of the L-Platform API.

-locale

Specify the language used to communicate with the L-Platform API.

-userId

Specify the user ID for executing the L-Platform API.

-password

Specify the password for the user ID for executing the L-Platform API.

-orgId

Specify the tenant name of the user for executing the L-Platform API.

Requirements

Permissions

User with OS administrator privilege

Location

Admin server

Example

[Windows Manager]
> ListDiskImage -version 2.0 -locale en -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 Manager]
# ListDiskImage.sh -version 2.0 -locale en -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>

Exit Status

This command returns the following values:

0

The command executed successfully.

non-zero

An error has occurred.