Modifies the properties of a mount target.
Operation description
This operation applies only to mount targets on General-purpose NAS and Extreme NAS file systems.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
nas:ModifyMountTarget |
update |
*FileSystem
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| FileSystemId |
string |
Yes |
The ID of the file system.
|
1ca404**** |
| MountTargetDomain |
string |
No |
The domain name of the IPv4 mount target. |
1ca404a666-w****.cn-hangzhou.nas.aliyuncs.com |
| AccessGroupName |
string |
No |
The name of the access group that is associated with the mount target. |
classic-test |
| Status |
string |
No |
The status of the mount target. Valid values:
Note
You can change the status of a mount target only if the mount target is attached to a General-purpose NAS file system. |
Inactive |
| DualStackMountTargetDomain |
string |
No |
The domain name of the dual-stack mount target. Note
The IPv6 feature is available only for Extreme NAS file systems in the Chinese mainland. |
174494b666-x****.dualstack.cn-hangzhou.nas.aliyuncs.com |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response object. |
||
| RequestId |
string |
The request ID. |
FF387D95-34C4-4879-B65A-99D1FA1B**** |
Examples
Success response
JSON format
{
"RequestId": "FF387D95-34C4-4879-B65A-99D1FA1B****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidFileSystem.NotsupportedIPv6 | The file system does not support IPv6. | The file system does not support IPv6. |
| 400 | InvalidParam.MountTargetDomain | The specified mount target domain does not exist. | The specified mount target domain does not exist. |
| 400 | InvalidParam.DualStackMountTargetDomain | The specified dual stack mount target domain does not exist. | The specified dual stack mount point does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.