Query NAS file system information.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ens:DescribeFileSystems |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| EnsRegionId |
string |
No |
The ID of the region. |
cn-beijing-cmcc |
| FileSystemId |
string |
No |
The ID of the file system. |
c50f8***** |
| FileSystemName |
string |
No |
The name of the file system. |
FileSystem1 |
| PageNumber |
integer |
No |
The page number. Pages start from page 1. Default value: 1. |
1 |
| PageSize |
integer |
No |
The number of entries 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 entries returned. |
1 |
| FileSystems |
array<object> |
The information about the file systems. |
|
|
array<object> |
|||
| FileSystemId |
string |
The ID of the file system. |
c50f8***** |
| FileSystemName |
string |
The name of the file system. |
FileSystem1 |
| EnsRegionId |
string |
The ID of the region. |
cn-beijing-cmcc |
| StorageType |
string |
The storage type. Valid values:
|
capacity |
| ProtocolType |
string |
The protocol type of the file system. Valid values:
|
NFS |
| Capacity |
integer |
The capacity of the file system. Unit: MiB. |
100000 |
| MeteredSize |
integer |
The storage usage of the file system. The value of this parameter is the maximum storage usage of the file system over the last hour. Unit: bytes. |
102400 |
| Status |
string |
The status of the file system. Valid values:
|
running |
| PayType |
string |
The billing method. PostPaid is returned. PostPaid indicates the pay-as-you-go billing method. |
PostPaid |
| CreationTime |
string |
The time when the file system was created. |
2022-08-31 12:00:00 |
| MountTargets |
array<object> |
The information about mount targets. |
|
|
object |
|||
| MountTargetDomain |
string |
The path of the mount target. |
*.*.*.*:/${FileSystemName}/{MountTargetName} |
| MountTargetName |
string |
The name of the mount target. |
target1 |
| NetWorkId |
string |
The ID of the network. |
n-**** |
| Status |
string |
The status of the mount target. Valid values:
|
active |
| Description |
string |
Description. |
test |
| RequestId |
string |
The ID of the request. |
762DD527-358B-1E48-8005-CCE3ED4EB9E0 |
Examples
Success response
JSON format
{
"PageNumber": 1,
"PageSize": 2,
"TotalCount": 1,
"FileSystems": [
{
"FileSystemId": "c50f8*****",
"FileSystemName": "FileSystem1",
"EnsRegionId": "cn-beijing-cmcc",
"StorageType": "capacity",
"ProtocolType": "NFS",
"Capacity": 100000,
"MeteredSize": 102400,
"Status": "running",
"PayType": "PostPaid",
"CreationTime": "2022-08-31 12:00:00",
"MountTargets": [
{
"MountTargetDomain": "*.*.*.*:/${FileSystemName}/{MountTargetName}",
"MountTargetName": "target1",
"NetWorkId": "n-****",
"Status": "active"
}
],
"Description": "test"
}
],
"RequestId": "762DD527-358B-1E48-8005-CCE3ED4EB9E0"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | NoPermission | Permission denied. | |
| 400 | ens.interface.error | Failed to call API. | |
| 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.