Name
[Windows Manager]
Installation_folder\RCXCFMG\bin\ListDisk - Gets a List of Existing Disks
[Linux Manager]
/opt/FJSVcfmg/bin/ListDisk.sh - Gets a List of Existing Disks
Format
[Windows Manager]
ListDisk -version version_ID -locale the_language_for_communicating -userId user_ID -password password -orgId tenant_name
[Linux Manager]
ListDisk.sh -version version_ID -locale the_language_for_communicating -userId user_ID -password password -orgId tenant_name
Description
This command gets a list of existing disks.
Options
Specify the version ID of the L-Platform API.
Specify the language used to communicate with the L-Platform API.
Specify the user ID for executing the L-Platform API.
Specify the password for the user ID for executing the L-Platform API.
Specify the tenant name of the user for executing the L-Platform API.
Requirements
User with OS administrator privilege
Admin server
Example
> ListDisk -version 2.0 -locale en -userId user3 -password password -orgId tenantA
<?xml version="1.0" encoding="UTF-8"?>
<ListDiskResponse xmlns="http://cfmg.systemwalker.jp.fujitsu.com" >
  <disks>
    <disk>
      <comment>comment</comment>
      <diskResourceId>disk-1241</diskResourceId>
      <label>label</label>
      <locked>true</locked>
      <resourceName>small-disk</resourceName>
      <size>31.3</size>
      <status>normal</status>
      <storagePool>/StoragePool</storagePool>
    </disk>
  </disks>
  <responseMessage>PAPI00000 Processing was completed.</responseMessage>
  <responseStatus>SUCCESS</responseStatus>
</ListDiskResponse># ListDisk.sh -version 2.0 -locale en -userId user3 -password password -orgId tenantA
<?xml version="1.0" encoding="UTF-8"?>
<ListDiskResponse xmlns="http://cfmg.systemwalker.jp.fujitsu.com">
  <disks>
    <disk>
      <comment>comment</comment>
      <diskResourceId>disk-1241</diskResourceId>
      <label>label</label>
      <locked>true</locked>
      <resourceName>small-disk</resourceName>
      <size>31.3</size>
      <status>normal</status>
      <storagePool>/StoragePool</storagePool>
    </disk>
  </disks>
  <responseMessage>PAPI00000 Processing was completed.</responseMessage>
  <responseStatus>SUCCESS</responseStatus>
</ListDiskResponse>Exit Status
This command returns the following values:
The command executed successfully.
An error has occurred.