All Products
Search
Document Center

Elastic High Performance Computing:UpdateClusterVolumes

Last Updated:Mar 03, 2024

Updates the mounted storage resources for a specified cluster.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

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:
    • The required resource types are displayed in bold characters.
    • 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:UpdateClusterVolumesWRITE
  • All Resources
    *
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
ClusterIdstringYes

The ID of the cluster.

ehpc-hz-FYUr32****
AdditionalVolumesobject []No

The list of file system information.

JobQueuestringNo

The queue name of the attached mounted file system.

work
VolumeIdstringNo

The ID of the additional mounted file system.

extreme-00b88****
Rolesobject []No

The array of the node on which the file system is mounted.

NamestringNo

The node type on which the additional mounted file system is mounted. Valid values:

  • Manager: management node
  • Login: logon node
  • Compute: compute node
["Compute"]
VolumeMountpointstringNo

The domain name of the mount target for the additional mounted file system.

0088****-sihc.cn-hangzhou.extreme.nas.aliyuncs.com
RemoteDirectorystringNo

The remote directory to be mounted by the additional mounted file system.

/test
VolumeTypestringNo

The type of the additional mounted file system. Only NAS is supported.

NAS
LocalDirectorystringNo

The on-premises mount directory for the additional mounted file system.

/ff
VolumeProtocolstringNo

The protocol type of the additional mounted file system. Valid values:

  • NFS
  • SMB
NFS
LocationstringNo

The storage location of the attached mounted file system. Valid values:

  • OnPremise: The cluster is deployed on a hybrid cloud.
  • PublicCloud: The cluster is deployed on a public cloud.
PublicCloud
VolumeMountOptionstringNo

The mount option of the attached mounted file system.

-t nfs -o vers=3,nolock,noresvport

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

F6757FA4-8FED-4602-B7F5-3550C0842122

Examples

Sample success responses

JSONformat

{
  "RequestId": "F6757FA4-8FED-4602-B7F5-3550C0842122"
}

Error codes

HTTP status codeError codeError messageDescription
400InvalidParamsThe specified parameter %s is invalid.The specified parameter %s is invalid.
406NasErrorNAS API request failed.Failed to request the NAS interface.
406DbErrorA database service error occurred.Database request failed.
407NotAuthorizedYou are not authorized by RAM for this request.The request is not authorized by RAM.
500UnknownErrorAn unknown error occurred.An unknown error occurred.
503ServiceUnavailableThe request has failed due to a temporary failure of the serverThe request has failed due to a temporary failure of the server.

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

Change history

Change timeSummary of changesOperation
2023-03-16The Error code has changedsee changesets
Change itemChange content
Error CodesThe Error code has changed.
    delete Error Codes: 400
    delete Error Codes: 406
    delete Error Codes: 407
    delete Error Codes: 500
    delete Error Codes: 503