Modifies a mount target.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | ModifyMountTarget |
The operation that you want to perform. Set the value to ModifyMountTarget. |
FileSystemId | String | Yes | 1ca404**** |
The ID of the file system. |
MountTargetDomain | String | Yes | 1ca404a666-w****.cn-hangzhou.nas.aliyuncs.com |
The IPv4 domain name of the mount target. |
AccessGroupName | String | No | classic-test |
The name of the permission group that is attached to the mount target. |
Status | String | No | Inactive |
The status of the mount target. Valid values:
|
DualStackMountTargetDomain | String | No | 174494b666-x****.dualstack.cn-hangzhou.nas.aliyuncs.com |
The dual-stack domain name of the mount target. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | FF387D95-34C4-4879-B65A-99D1FA1B**** |
The ID of the request. |
Examples
Sample requests
http(s)://[Endpoint]/? Action=ModifyMountTarget
&FileSystemId=1ca404****
&MountTargetDomain=1ca404a666-w****.cn-hangzhou.nas.aliyuncs.com
&<Common request parameters>
Sample success responses
XML
format
<RequestId>FF387D95-34C4-4879-B65A-99D1FA1B****</RequestId>
JSON
format
{
"RequestId": "FF387D95-34C4-4879-B65A-99D1FA1B****"
}
Error codes
HttpCode | Error code | Error message | Description |
---|---|---|---|
400 | InvalidFileSystem.NotsupportedIPv6 | The file system does not support IPv6. | The error message returned because the file system does not support IPv6. |
400 | InvalidParam.MountTargetDomain | The specified mount target domain does not exist. | The error message returned because the specified domain name of the mount target does not exist. Check whether the domain name is correct. |
400 | InvalidParam.DualStackMountTargetDomain | The specified dual stack mount target domain does not exist. | The error message returned because the specified dual-stack domain name of the mount target does not exist. Check whether the domain name is correct. |
For a list of error codes, visit the API Error Center.