Gets mount point 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 ID of the file system.
|
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:
Note
You can mount a file system only when the mount target is in the |
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:
|
nastest |
| Value |
string |
The tag value. Constraints:
|
mounttargettest |
| NetworkType |
string |
The network type. The value is always |
Vpc |
| IPVersion |
string |
The IP version of the 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.