All Products
Search
Document Center

File Storage NAS:DescribeMountTargets

Last Updated:May 08, 2026

Gets mount point information.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

nas:DescribeMountTargets

get

*FileSystem

acs:nas:{#regionId}:{#accountId}:filesystem/{#filesystemId}

None None

Request parameters

Parameter

Type

Required

Description

Example

FileSystemId

string

Yes

The ID of the file system.

  • General-purpose NAS: The file system ID looks like 31a8e4****.

  • Extreme NAS: The file system ID must start with extreme-, for example, extreme-0015****.

  • CPFS: The file system ID must start with cpfs-, for example, cpfs-125487****.

1ca404****

MountTargetDomain

string

No

The domain of the mount target.

1ca404****-x****.cn-hangzhou.nas.aliyuncs.com

PageSize

integer

No

The number of mount targets to return on each page.

Valid values: 1 to 100.

Default value: 10.

1

PageNumber

integer

No

The page number.

Pages start from page 1. Default value: 1.

1

DualStackMountTargetDomain

string

No

The domain of the dual-stack mount target.

Note

Only Extreme NAS file systems that are deployed in regions in the Chinese mainland support IPv6.

1ca404****-x****.dualstack.cn-hangzhou.nas.aliyuncs.com

Response elements

Element

Type

Description

Example

object

TotalCount

integer

The total number of mount targets.

1

RequestId

string

The request ID.

3BAB90FD-B4A0-48DA-9F09-2B963510****

PageSize

integer

The number of mount targets returned per page.

1

PageNumber

integer

The page number.

1

MountTargets

object

A collection of mount targets.

MountTarget

array<object>

An array of mount target objects.

array<object>

VpcId

string

The VPC ID.

vpc-2zesj9afh3y518k9o****

Status

string

The status of the mount target.

Valid values:

  • Active: The mount target is available.

  • Inactive: The mount target is unavailable.

  • Pending: The mount target is being created.

  • Deleting: The mount target is being deleted.

  • Hibernating: The mount target is entering hibernation.

  • Hibernated: The mount target is hibernated.

Note

You can mount a file system only when the mount target is in the Active state.

Active

ClientMasterNodes

object

The client's management nodes.

ClientMasterNode

array<object>

An array of client management node objects.

object

EcsId

string

The ID of the ECS instance for the management node.

i-hp3i3odi5ory1buo****

DefaultPasswd

string

The default login password.

12****

EcsIp

string

The IP address of the ECS instance for the management node.

192.168.1.0

MountTargetDomain

string

The domain name of the IPv4 mount target.

1ca404****-w****.cn-hangzhou.nas.aliyuncs.com

AccessGroup

string

The name of the access group associated with the mount target.

DEFAULT_VPC_GROUP_NAME

DualStackMountTargetDomain

string

The domain name of the dual-stack mount target.

1ca404****-x****.dualstack.cn-hangzhou.nas.aliyuncs.com

VswId

string

The VSwitch ID.

vsw-2zevmwkwyztjuoffg****

Tags

object

The tags attached to the mount target.

Tag

array<object>

A list of 1 to 20 tags. Each tag key must be unique.

object

A tag, which consists of a key and a value.

Key

string

The tag key. Constraints:

  • The tag key cannot be an empty string.

  • The tag key can be up to 128 characters long.

  • The tag key cannot start with aliyun or acs:.

  • The tag key cannot contain http:// or https://.

nastest

Value

string

The tag value.

Constraints:

  • The tag value can be up to 128 characters long.

  • The tag value cannot contain http:// or https://.

mounttargettest

NetworkType

string

The network type. The value is always Vpc, which indicates that the mount target is in a VPC.

Vpc

IPVersion

string

The IP version of the mount target.

  • IPv4: an IPv4 mount target.

  • DualStack: a dual-stack mount target.

IPv4

AccessPointAccessOnly

boolean

Examples

Success response

JSON format

{
  "TotalCount": 1,
  "RequestId": "3BAB90FD-B4A0-48DA-9F09-2B963510****",
  "PageSize": 1,
  "PageNumber": 1,
  "MountTargets": {
    "MountTarget": [
      {
        "VpcId": "vpc-2zesj9afh3y518k9o****",
        "Status": "Active",
        "ClientMasterNodes": {
          "ClientMasterNode": [
            {
              "EcsId": "i-hp3i3odi5ory1buo****",
              "DefaultPasswd": "12****",
              "EcsIp": "192.168.1.0"
            }
          ]
        },
        "MountTargetDomain": "1ca404****-w****.cn-hangzhou.nas.aliyuncs.com",
        "AccessGroup": "DEFAULT_VPC_GROUP_NAME",
        "DualStackMountTargetDomain": "1ca404****-x****.dualstack.cn-hangzhou.nas.aliyuncs.com",
        "VswId": "vsw-2zevmwkwyztjuoffg****",
        "Tags": {
          "Tag": [
            {
              "Key": "nastest",
              "Value": "mounttargettest"
            }
          ]
        },
        "NetworkType": "Vpc",
        "IPVersion": "IPv4",
        "AccessPointAccessOnly": false
      }
    ]
  }
}

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.
404 InvalidMountTarget.NotFound The specified mount target does not exist. The specified mount target does not exist.
404 InvalidFileSystem.NotFound The specified file system does not exist. The specified file system does not exist.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.