Mount new storage resources to a cluster.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ehpc:UpdateClusterVolumes |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ClusterId |
string |
Yes |
The ID of the cluster. |
ehpc-hz-FYUr32**** |
| AdditionalVolumes |
array<object> |
No |
The file systems to mount. |
|
|
array<object> |
No |
|||
| JobQueue |
string |
No |
The queue name of the file system. |
work |
| VolumeId |
string |
No |
The ID of the file system. |
extreme-00b88**** |
| Roles |
array<object> |
No |
The nodes to which the file system is mounted. |
|
|
object |
No |
|||
| Name |
string |
No |
The type of the node to which the file system is mounted. Valid values:
|
["Compute"] |
| VolumeMountpoint |
string |
No |
The mount target endpoint of the file system. |
0088****-sihc.cn-hangzhou.extreme.nas.aliyuncs.com |
| RemoteDirectory |
string |
No |
The remote directory to which the file system is mounted. |
/test |
| VolumeType |
string |
No |
The type of the file system. Set the value to NAS. |
NAS |
| LocalDirectory |
string |
No |
The local mount directory of the file system. |
/ff |
| VolumeProtocol |
string |
No |
The protocol type of the file system. Valid values:
|
NFS |
| Location |
string |
No |
The storage location of the file system. Valid values:
|
PublicCloud |
| VolumeMountOption |
string |
No |
The mount options for the file system. |
-t nfs -o vers=3,nolock,noresvport |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
F6757FA4-8FED-4602-B7F5-3550C0842122 |
Examples
Success response
JSON format
{
"RequestId": "F6757FA4-8FED-4602-B7F5-3550C0842122"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParams | The specified parameter %s is invalid. | The specified parameter %s is invalid. |
| 500 | UnknownError | An unknown error occurred. | An unknown error occurred. |
| 503 | ServiceUnavailable | The request has failed due to a temporary failure of the server | The request has failed due to a temporary failure of the server. |
| 406 | NasError | NAS API request failed. | Failed to request the NAS interface. |
| 406 | DbError | A database service error occurred. | Database request failed. |
| 407 | NotAuthorized | You are not authorized by RAM for this request. | The request is not authorized by RAM. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.