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. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes UpdateClusterVolumes

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

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

The ID of the cluster.

AdditionalVolumes.N.VolumeType String No NAS

The type of the nth additional mounted file system. Currently, only NAS is supported.

Valid values of N: 1 to 10.

AdditionalVolumes.N.VolumeId String No extreme-00b88****

The ID of the nth additional mounted file system.

AdditionalVolumes.N.VolumeProtocol String No NFS

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

  • NFS
  • SMB
AdditionalVolumes.N.VolumeMountpoint String No 0088****-sihc.cn-hangzhou.extreme.nas.aliyuncs.com

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

AdditionalVolumes.N.RemoteDirectory String No /test

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

AdditionalVolumes.N.LocalDirectory String No /ff

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

AdditionalVolumes.N.Roles.N.Name String No ["Compute"]

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

  • Manager: management node
  • Login: logon node
  • Compute: compute node
AdditionalVolumes.N.Location String No PublicCloud

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

  • OnPremise: hybrid cloud cluster
  • PublicCloud: public cloud cluster
AdditionalVolumes.N.JobQueue String No work

The queue name of the nth attached mounted filesystem.

Response parameters

Parameter Type Example Description
RequestId String F6757FA4-8FED-4602-B7F5-3550C0842122

The ID of the request.

Examples

Sample requests

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

Sample success responses

XML format

<UpdateClusterVolumesResponse>
      <RequestId>F6757FA4-8FED-4602-B7F5-3550C0842122</RequestId>
</UpdateClusterVolumesResponse>

JSON format

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

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 server is temporarily unavailable.

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