Queries mount target information.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
nas:DescribeMountTargets |
get |
*FileSystem
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| FileSystemId |
string |
Yes |
The file system ID.
|
1ca404**** |
| MountTargetDomain |
string |
No |
The mount target address. |
1ca404****-x****.cn-hangzhou.nas.aliyuncs.com |
| PageSize |
integer |
No |
The number of mount targets on each page. Valid values: 1 to 100. Default value: 10. |
1 |
| PageNumber |
integer |
No |
The page number of the list. Start value (default value): 1. |
1 |
| DualStackMountTargetDomain |
string |
No |
The dual-stack (IPv4 and IPv6) mount target domain. Note
Currently, IPv6 is supported only by Extreme NAS file systems in regions in the Chinese mainland. |
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 on each page when paging is used. |
1 |
| PageNumber |
integer |
The page number of the file system list. |
1 |
| MountTargets |
object |
||
| MountTarget |
array<object> |
The collection of mount target information. |
|
|
array<object> |
|||
| VpcId |
string |
The ID of the VPC. |
vpc-2zesj9afh3y518k9o**** |
| Status |
string |
The status of the mount target. Valid values:
Note
You can mount a file system only when the mount target is Active. |
Active |
| ClientMasterNodes |
object |
A collection of client management nodes. |
|
| ClientMasterNode |
array<object> |
A list of client management nodes. |
|
|
object |
|||
| EcsId |
string |
The ID of the ECS instance that serves as a management node. |
i-hp3i3odi5ory1buo**** |
| DefaultPasswd |
string |
The default login password. |
12**** |
| EcsIp |
string |
The IP address of the ECS instance that serves as a 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 permission group for 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 ID of the VSwitch. |
vsw-2zevmwkwyztjuoffg**** |
| Tags |
object |
||
| Tag |
array<object> |
A list of tags attached to the mount target. A mount target can have up to 20 tags, and each tag key must be unique. |
|
|
object |
The tag. |
||
| Key |
string |
The tag key.
|
nastest |
| Value |
string |
The tag value. Restrictions:
|
mounttargettest |
| NetworkType |
string |
The network type of the mount target. The value is always Vpc. |
Vpc |
| IPVersion |
string |
The IP version supported by the mount target.
|
IPv4 |
| AccessPointAccessOnly |
boolean |
Indicates whether the file system can be accessed only by using an access point.
|
true |
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": true
}
]
}
}
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.