Queries the list of software that is installed in a cluster.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes ListInstalledSoftware

The operation that you want to perform. Set the value to ListInstalledSoftware.

ClusterId String Yes ehpc-hz-FYUr32****

The ID of the cluster.

You can call the ListClusters operation to query the cluster ID.

Response parameters

Parameter Type Example Description
RequestId String DDCA0E7B-03E7-430D-810C-0D508539****

The ID of the request.

SoftwareList Array of SoftwareList

The list of installed software.

SoftwareList
SoftwareId String MPICH_3.2

The ID of the software.

SoftwareName String mpich

The name of the software.

SoftwareStatus String Installing

The status of the software. Valid values:

  • Installing: The software is being installed.
  • Installed: The software is installed.
SoftwareVersion String 3.2

The version of the software.

Examples

Sample requests

https://ehpc.cn-hangzhou.aliyuncs.com/?Action=ListInstalledSoftware
&ClusterId=ehpc-hz-FYUr32****
&<Common request parameters>

Sample success responses

XML format

<ListInstalledSoftwareResponse>
      <code>200</code>
      <data>
            <SoftwareList>
                  <SoftwareList>
                        <SoftwareVersion>3.2</SoftwareVersion>
                        <SoftwareStatus>Installing</SoftwareStatus>
                        <SoftwareId>MPICH_3.2</SoftwareId>
                        <SoftwareName>mpich</SoftwareName>
                  </SoftwareList>
            </SoftwareList>
      </data>
      <requestId>DDCA0E7B-03E7-430D-810C-0D508539****</requestId>
      <successResponse>true</successResponse>
</ListInstalledSoftwareResponse>

JSON format

{
"code":"200","data":{
    "SoftwareList":{
        "SoftwareList":[{
            "SoftwareVersion":"3.2",
            "SoftwareStatus":"Installing",
            "SoftwareId":"MPICH_3.2",
            "SoftwareName":"mpich"
        }]
    }
},
"requestId":"DDCA0E7B-03E7-430D-810C-0D508539****",
"successResponse":true
}

Error codes

HttpCode Error code Error message Description
503 ServiceUnavailable The request has failed due to a temporary failure of the server The error message returned because the request has failed. The service is temporarily unavailable.

For a list of error codes, visit the API Error Center.