All Products
Search
Document Center

Apsara File Storage NAS:ModifyMountTarget

Last Updated:Mar 14, 2024

Modifies a mount target.

Debugging

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

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
FileSystemIdstringYes

The ID of the file system.

  • Sample ID of a General-purpose NAS file system: 31a8e4****.
  • The IDs of Extreme NAS file systems must start with extreme-, for example, extreme-0015****.
1ca404****
MountTargetDomainstringYes

The IPv4 domain name of the mount target.

1ca404a666-w****.cn-hangzhou.nas.aliyuncs.com
AccessGroupNamestringNo

The name of the permission group that is attached to the mount target.

classic-test
StatusstringNo

The status of the mount target.

Valid values:

  • Active: The mount target is available.
  • Inactive: The mount target is unavailable.
Inactive
DualStackMountTargetDomainstringNo

The dual-stack (IPv4 and IPv6) domain name of the mount target.

Note Only Extreme NAS file systems that reside in the Chinese mainland support IPv6.
174494b666-x****.dualstack.cn-hangzhou.nas.aliyuncs.com

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

FF387D95-34C4-4879-B65A-99D1FA1B****

Examples

Sample success responses

JSONformat

{
  "RequestId": "FF387D95-34C4-4879-B65A-99D1FA1B****"
}

Error codes

HTTP status codeError codeError messageDescription
400InvalidFileSystem.NotsupportedIPv6The file system does not support IPv6.The file system does not support IPv6.
400InvalidParam.MountTargetDomainThe specified mount target domain does not exist.The specified mount target domain does not exist.
400InvalidParam.DualStackMountTargetDomainThe specified dual stack mount target domain does not exist.The specified dual stack mount point does not exist.

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