Queries file system information.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
nas:DescribeFileSystems |
get |
*FileSystem
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| FileSystemId |
string |
No |
The file system ID.
|
31a8e4**** |
| FileSystemType |
string |
No |
The file system type. Valid values:
Note
To query multiple types, separate them with commas (,). |
standard |
| VpcId |
string |
No |
The virtual private cloud (VPC) ID. The VPC must be the same as the VPC of the Elastic Computing Service (ECS) server to which you want to mount the file system. |
vpc-bp1sevsgtqvk5gxbl**** |
| PageSize |
integer |
No |
The number of file systems on each page during a paged query. Valid values: 1 to 100. Default value: 10. |
1 |
| PageNumber |
integer |
No |
The page number of the file system list. Start value (default value): 1. |
1 |
| StorageType |
string |
No |
The storage type. Currently, only CPFS for Lingjun specifications are supported for filtered query. Other file system types (FileSystemType) are not supported. The following specifications are supported:
You can specify multiple specifications separated by commas (,). For example: bm_advance_400,bm_advance_new. |
bm_advance_400 |
| Tag |
array<object> |
No |
The tag information collection. |
|
|
object |
No |
The tag information collection. |
||
| Key |
string |
No |
The tag key. Limits:
|
testKey |
| Value |
string |
No |
The tag value. Limits:
|
testValue |
| ResourceGroupId |
string |
No |
The resource group ID. You can view the resource group ID in the Resource Management console. |
rg-acfmwavnfef**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| FileSystems |
object |
||
| FileSystem |
array<object> |
The list of file systems. |
|
|
array<object> |
|||
| AccessPointCount |
string |
The number of access points. |
1 |
| AutoSnapshotPolicyId |
string |
The ID of the automatic snapshot policy. |
sp-extreme-09npwxadu1eqvw**** |
| AutoUpgradeConfig |
object |
The automatic expansion configuration. |
|
| capacityUsedRatio |
integer |
The usage threshold, in percentage. |
80 |
| enabled |
boolean |
Specifies whether to enable automatic expansion. Valid values: ● true: Enable automatic expansion. ● false: Disable automatic expansion. |
|
| step |
integer |
The expansion step size. Unit: GiB. |
100 |
| time |
integer |
The duration threshold. Unit: minutes. |
30 |
| Bandwidth |
integer |
The bandwidth of the file system. Unit: MB/s. This field is not returned for General-purpose NAS file systems. |
150 |
| Capacity |
integer |
The capacity of the file system. Unit: GiB. |
100 |
| ChargeType |
string |
The billing type. Valid values:
|
PayAsYouGo |
| CreateTime |
string |
The time when the file system was created. The time is displayed in CST local time zone in the format of yyyy-MM-ddTHH:mm:ssCST. Example: 2026-07-20T14:31:42CST. |
2026-07-20T14:31:42CST |
| Description |
string |
The description of the file system. |
test |
| EncryptType |
integer |
The encryption type. Valid values:
|
1 |
| ExpiredTime |
string |
The time when the file system expires. The time follows the ISO 8601 standard in UTC. Format: yyyy-MM-ddTHH:mm:ssZ. |
2020-01-05T16:00:00Z |
| FileSystemId |
string |
The ID of the file system. |
109c04**** |
| FileSystemType |
string |
The type of the file system. Valid values:
|
standard |
| KMSKeyId |
string |
The ID of the KMS key. |
0e478b7a-4262-4802-b8cb-00d3fb40**** |
| Ldap |
object |
The LDAP configuration information. This parameter is returned only for CPFS file systems. |
|
| BindDN |
string |
The distinguished name (DN) used to bind to the LDAP server. |
cn=alibaba,dc=com |
| SearchBase |
string |
The LDAP search base. |
dc=example |
| URI |
string |
The LDAP server address. |
ldap://ldap.example.example |
| MeteredArchiveSize |
integer |
The storage usage of the archive storage class. Unit: bytes. |
1611661312 |
| MeteredIASize |
integer |
The storage usage of the IA storage class. Unit: bytes. |
362832 |
| MeteredSize |
integer |
The standard storage usage of the file system. This is not real-time usage. It represents the maximum usage in the previous hour. Unit: bytes. Note
To view the total storage capacity of a file system, see Query file system resource usage. |
1611661312 |
| MountTargets |
object |
||
| MountTarget |
array<object> |
The mount target information. |
|
|
array<object> |
|||
| AccessGroupName |
string |
The name of the permission group used by the mount target. |
test-001 |
| ClientMasterNodes |
object |
||
| ClientMasterNode |
array<object> |
The client management node information. This parameter is returned only for CPFS file systems. |
|
|
object |
|||
| DefaultPasswd |
string |
The default logon password of the management node. |
123456 |
| EcsId |
string |
The instance ID of the ECS instance used as the management node. |
i-hp3i3odi5ory1buo**** |
| EcsIp |
string |
The IP address of the ECS instance used as the management node. |
192.168.1.0 |
| DualStackMountTargetDomain |
string |
The dual-stack (IPv4 and IPv6) mount target domain. Note
Only Extreme NAS file systems in regions within the Chinese mainland support IPv6. |
174494b666-x****.dualstack.cn-hangzhou.nas.aliyuncs.com |
| MountTargetDomain |
string |
The mount target domain. |
109c042666-w****.cn-hangzhou.nas.aliyuncs.com |
| NetworkType |
string |
The network type. The value is vpc, which indicates a virtual private cloud (VPC). |
vpc |
| Status |
string |
The status of the mount target. Valid values:
|
Active |
| Tags |
object |
||
| Tag |
array<object> |
The tag information of the mount target. |
|
|
object |
|||
| Key |
string |
The tag key. |
testKey |
| Value |
string |
The tag value. |
testValue |
| VpcId |
string |
The ID of the VPC associated with the mount target. This field is returned only for General-purpose NAS file systems. |
vpc-bp1sevsgtqvk5gxbl**** |
| VswId |
string |
The ID of the vSwitch associated with the mount target. This field is returned only for General-purpose NAS file systems. |
vsw-bp1omfzsszekkvaxn**** |
| Options |
object |
The options. |
|
| EnableABE |
boolean |
Indicates whether the SMB Access-Based Enumeration (ABE) access control feature is enabled. |
true |
| EnableDataInsight |
boolean |
Indicates whether the EBS Lens feature is enabled. |
false |
| EnableOplock |
boolean |
Indicates whether the OpLock feature is enabled. Valid values:
Note
Only file systems with the SMB Protocol Type support this feature. |
true |
| VscAccessPointAccessOnly |
boolean |
Indicates whether the VSC mount target for AI computing supports access only through access points. |
false |
| Packages |
object |
||
| Package |
array<object> |
The storage plan information. |
|
|
object |
|||
| ExpiredTime |
string |
The time when the storage plan expires. The time follows the ISO 8601 standard in UTC. Format: yyyy-MM-ddTHH:mm:ssZ. |
2020-01-05T16:00:00Z |
| PackageId |
string |
The ID of the storage plan. |
naspackage-0be9c4b624-37**** |
| PackageType |
string |
The type of the storage plan. Valid values:
|
hybrid |
| Size |
integer |
The capacity of the storage plan. Unit: bytes. |
107374182400 |
| StartTime |
string |
The start time of the storage plan. The time follows the ISO 8601 standard in UTC. Format: yyyy-MM-ddTHH:mm:ssZ. |
2019-12-05T01:40:56Z |
| ProtocolType |
string |
The protocol type of the file system. Valid values:
|
NFS |
| QuorumVswId |
string |
The vSwitch ID. |
vsw-bp1omfzsszekkvaxn**** |
| RedundancyType |
string |
The storage redundancy type. This field has a value only for CPFS SE file systems. |
ZRS |
| RedundancyVSwitchIds |
object |
||
| RedundancyVSwitchId |
array |
The list of zone-redundant vSwitch IDs. |
|
|
string |
The list of zone-redundant vSwitch IDs. This field has a value when RedundancyType is set to ZRS. |
vsw-123xxx |
|
| RegionId |
string |
The region ID. |
cn-hangzhou |
| ResourceGroupId |
string |
The resource group ID. |
rg-acfmwavnfef**** |
| Status |
string |
The status of the file system. Valid values:
|
Pending |
| StorageType |
string |
The storage type. Valid values:
|
Performance |
| SupportedFeatures |
object |
||
| SupportedFeature |
array |
The features supported by the file system. |
|
|
string |
The feature supported by the file system. Valid values:
Note
Currently, only Extreme NAS file systems in regions within the Chinese mainland support IPv6. |
Lifecycle |
|
| Tags |
object |
||
| Tag |
array<object> |
The tag information of the file system. |
|
|
object |
|||
| Key |
string |
The tag key. |
testKey |
| Value |
string |
The tag value. |
testValue |
| Version |
string |
The version number of the file system. This field applies to Extreme NAS and CPFS file systems. |
2.3.4 |
| VpcId |
string |
The ID of the VPC associated with the file system. This field is returned only for general-purpose CPFS file systems. |
vpc-bp1sevsgtqvk5gxbl**** |
| VscTarget |
string |
Note
This parameter is not yet available for use. |
cpfs-370y1tv921vpuj4****-000001.cn-wulanchabu.cpfs.aliyuncs.com |
| VswIds |
object |
||
| VswId |
array |
The vSwitch information. |
|
|
string |
The ID of the vSwitch associated with the file system. This field is returned only for general-purpose CPFS file systems. |
vsw-2zeu1ncsckw5mv2j481gw |
|
| ZoneId |
string |
The zone where the file system resides. |
cn-hangzhou-b |
| PageNumber |
integer |
The page number of the file system list. |
1 |
| PageSize |
integer |
The number of file systems on each page. |
1 |
| RequestId |
string |
The request ID. |
035B3A3A-E514-4B41-B906-5D906CFB**** |
| TotalCount |
integer |
The total number of file systems. |
1 |
Examples
Success response
JSON format
{
"FileSystems": {
"FileSystem": [
{
"AccessPointCount": "1",
"AutoSnapshotPolicyId": "sp-extreme-09npwxadu1eqvw****",
"AutoUpgradeConfig": {
"capacityUsedRatio": 80,
"enabled": false,
"step": 100,
"time": 30
},
"Bandwidth": 150,
"Capacity": 100,
"ChargeType": "PayAsYouGo",
"CreateTime": "2026-07-20T14:31:42CST",
"Description": "test",
"EncryptType": 1,
"ExpiredTime": "2020-01-05T16:00:00Z",
"FileSystemId": "109c04****",
"FileSystemType": "standard",
"KMSKeyId": "0e478b7a-4262-4802-b8cb-00d3fb40****",
"Ldap": {
"BindDN": "cn=alibaba,dc=com",
"SearchBase": "dc=example",
"URI": "ldap://ldap.example.example"
},
"MeteredArchiveSize": 1611661312,
"MeteredIASize": 362832,
"MeteredSize": 1611661312,
"MountTargets": {
"MountTarget": [
{
"AccessGroupName": "test-001",
"ClientMasterNodes": {
"ClientMasterNode": [
{
"DefaultPasswd": "123456",
"EcsId": "i-hp3i3odi5ory1buo****",
"EcsIp": "192.168.1.0"
}
]
},
"DualStackMountTargetDomain": "174494b666-x****.dualstack.cn-hangzhou.nas.aliyuncs.com",
"MountTargetDomain": "109c042666-w****.cn-hangzhou.nas.aliyuncs.com",
"NetworkType": "vpc",
"Status": "Active",
"Tags": {
"Tag": [
{
"Key": "testKey",
"Value": "testValue"
}
]
},
"VpcId": "vpc-bp1sevsgtqvk5gxbl****",
"VswId": "vsw-bp1omfzsszekkvaxn****"
}
]
},
"Options": {
"EnableABE": true,
"EnableDataInsight": false,
"EnableOplock": true,
"VscAccessPointAccessOnly": false
},
"Packages": {
"Package": [
{
"ExpiredTime": "2020-01-05T16:00:00Z",
"PackageId": "naspackage-0be9c4b624-37****",
"PackageType": "hybrid",
"Size": 107374182400,
"StartTime": "2019-12-05T01:40:56Z"
}
]
},
"ProtocolType": "NFS",
"QuorumVswId": "vsw-bp1omfzsszekkvaxn****",
"RedundancyType": "ZRS",
"RedundancyVSwitchIds": {
"RedundancyVSwitchId": [
"vsw-123xxx"
]
},
"RegionId": "cn-hangzhou",
"ResourceGroupId": "rg-acfmwavnfef****",
"Status": "Pending",
"StorageType": "Performance",
"SupportedFeatures": {
"SupportedFeature": [
"Lifecycle"
]
},
"Tags": {
"Tag": [
{
"Key": "testKey",
"Value": "testValue"
}
]
},
"Version": "2.3.4",
"VpcId": "vpc-bp1sevsgtqvk5gxbl****",
"VscTarget": "cpfs-370y1tv921vpuj4****-000001.cn-wulanchabu.cpfs.aliyuncs.com",
"VswIds": {
"VswId": [
"vsw-2zeu1ncsckw5mv2j481gw"
]
},
"ZoneId": "cn-hangzhou-b"
}
]
},
"PageNumber": 1,
"PageSize": 1,
"RequestId": "035B3A3A-E514-4B41-B906-5D906CFB****",
"TotalCount": 1
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Region.NotSupported | The specified Region is not supported for this API now. | The current region does not support this function. |
| 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.