Modifies the mount target of an Apsara File Storage NAS file system.

Description

When you create a NAS file system, a mount target is automatically generated. By default, the mount target does not need to be changed. If the mount target is accidentally deleted, you must specify a new mount target for the NAS file system in the workspace. You can call the CreateMountTarget operation to create a mount target.

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 ModifyNASDefaultMountTarget

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

FileSystemId String Yes 04f314****

The ID of the NAS file system.

MountTargetDomain String Yes 0bf744****-xo***.cn-hangzhou.nas.aliyuncs.com

The domain name of the mount target.

RegionId String Yes cn-hangzhou

The ID of the region.

Response parameters

Parameter Type Example Description
RequestId String 269BDB16-2CD8-4865-84BD-11C40BC21DB0

The ID of the request.

Examples

Sample requests

https://ecd.cn-hangzhou.aliyuncs.com/?Action=ModifyNASDefaultMountTarget
&FileSystemId=04f314****
&MountTargetDomain=0bf744****-xo***.cn-hangzhou.nas.aliyuncs.com
&RegionId=cn-hangzhou
&<Common request parameters>

Sample success responses

XML format

<ModifyNASDefaultMountTargetResponse>
      <RequestId>269BDB16-2CD8-4865-84BD-11C40BC21DB0</RequestId>
</ModifyNASDefaultMountTargetResponse>

JSON format

{
    "RequestId":"269BDB16-2CD8-4865-84BD-11C40BC21DB0"
}