Queries the information about mount targets.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ens:DescribeMountTargets |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| EnsRegionId |
string |
Yes |
The ID of the region. |
cn-beijing-cmcc |
| FileSystemId |
string |
Yes |
The ID of the file system. |
c50f8***** |
| MountTargetName |
string |
No |
The name of the mount target. |
TestMountPath |
| PageNumber |
integer |
No |
The number of the page to return. Pages start from page 1. Default value: 1 |
1 |
| PageSize |
integer |
No |
The number of entries returned per page. Maximum value: 100. Default value: 10. |
10 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| PageNumber |
integer |
The page number. |
1 |
| PageSize |
integer |
The number of entries per page. |
2 |
| TotalCount |
integer |
The total number of mount targets. |
1 |
| MountTargets |
array<object> |
The information about mount targets. |
|
|
object |
|||
| MountTargetDomain |
string |
The path of the mount target. |
LB:/fileSystemName/mountTargetName |
| MountTargetName |
string |
The name of the mount target. |
TestMountPath |
| NetWorkId |
string |
The ID of the network. |
n-*** |
| Status |
string |
The state of the mount target. Valid values:
|
active |
| EnsRegionId |
string |
The ID of the region. |
cn-beijing-cmcc |
| FileSystemId |
string |
The ID of the file system. |
c50f8***** |
| RequestId |
string |
The ID of the request. |
762DD527-358B-1E48-8005-CCE3ED4EB9E0 |
Examples
Success response
JSON format
{
"PageNumber": 1,
"PageSize": 2,
"TotalCount": 1,
"MountTargets": [
{
"MountTargetDomain": "LB:/fileSystemName/mountTargetName",
"MountTargetName": "TestMountPath",
"NetWorkId": "n-***",
"Status": "active",
"EnsRegionId": "cn-beijing-cmcc",
"FileSystemId": "c50f8*****"
}
],
"RequestId": "762DD527-358B-1E48-8005-CCE3ED4EB9E0"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | NoPermission | Permission denied. | |
| 400 | InvalidParameter.%s | The specified field %s invalid. Please check it again. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.