All Products
Search
Document Center

Elastic High Performance Computing:ListSharedStorages

Last Updated:Jan 14, 2026

Queries the shared storage that is attached to a cluster.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • For mandatory resource types, indicate with a prefix of * .
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
ehpc:ListSharedStorageslist
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
ClusterIdstringYes

The cluster ID.

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

ehpc-hz-FYUr32****
FileSystemTypestringNo

The type of the attached file system. Valid values:

  • nas
  • cpfs
nas
FileSystemIdstringNo

The ID of the attached file system.

0bd504b0**

Response parameters

ParameterTypeDescriptionExample
object

The data returned.

RequestIdstring

The request ID.

F6757FA4-8FED-4602-B7F5-3550C084****
Successstring

Indicates whether the request was successful. Valid values:

  • true: The request was successful.
  • false: The request failed.
true
SharedStoragesarray<object>

The information about the attached shared storage.

SharedStoragesobject

The configurations of the shared storage.

FileSystemIdstring

The ID of the attached file system.

08c7f4b***
FileSystemTypestring

The type of the attached file system. Valid values:

  • nas
  • cpfs
nas
MountInfoarray<object>

The mount information.

MountInfoobject

The mount configurations.

MountDirectorystring

The local mount directory of the attached file system.

/test
StorageDirectorystring

The storage directory of the attached file system.

/testehpc
MountOptionsstring

The mount options for the attached file system. Valid values:

  • -t nfs -o vers=3,nolock,proto=tcp,noresvport
  • -t nfs -o vers=4.0,noresvport
-t nfs -o vers=4.0,noresvport
MountTargetstring

The mount target of the attached file system.

0bd504b***-ngq26.cn-hangzhou.nas.aliyuncs.com
ProtocolTypestring

The protocol used by the mount target of the attached file system. Valid values:

  • nfs3
  • nfs4
  • cpfs
nfs3
FileSystemProtocolstring

The protocol used by the attached file system. Valid values:

  • nfs3
  • nfs4
  • cpfs
nfs4

Examples

Sample success responses

JSONformat

{
  "RequestId": "F6757FA4-8FED-4602-B7F5-3550C084****",
  "Success": true,
  "SharedStorages": [
    {
      "FileSystemId": "08c7f4b***",
      "FileSystemType": "nas",
      "MountInfo": [
        {
          "MountDirectory": "/test",
          "StorageDirectory": "/testehpc",
          "MountOptions": "-t nfs -o vers=4.0,noresvport",
          "MountTarget": "0bd504b***-ngq26.cn-hangzhou.nas.aliyuncs.com",
          "ProtocolType": "nfs3"
        }
      ],
      "FileSystemProtocol": "nfs4"
    }
  ]
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2025-12-08The Error code has changedView Change Details