查詢檔案系統資訊。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
nas:DescribeFileSystems |
get |
*FileSystem
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| FileSystemId |
string |
否 |
檔案系統 ID。
|
31a8e4**** |
| FileSystemType |
string |
否 |
檔案系統類型。 取值:
說明
如果查詢多個類型,請使用英文逗號分隔。 |
standard |
| VpcId |
string |
否 |
專有網路 ID。 |
vpc-bp1sevsgtqvk5gxbl**** |
| PageSize |
integer |
否 |
分頁查詢時,每個分頁包含的檔案系統個數。 |
1 |
| PageNumber |
integer |
否 |
檔案系統清單的分頁頁碼。 |
1 |
| StorageType |
string |
否 |
儲存類型。目前僅支援傳入智算 CPFS 的規格進行篩選查詢,其他類型 FileSystemType 暫不支援。支援以下規格:
支援同時傳入多個規格,以英文逗號分隔;例如傳入:bm_advance_400,bm_advance_new。 枚舉值:
|
bm_advance_400 |
| Tag |
array<object> |
否 |
標籤資訊集合。 |
|
|
object |
否 |
標籤資訊集合。 |
||
| Key |
string |
否 |
標籤鍵。 限制:
|
testKey |
| Value |
string |
否 |
標籤值。 限制:
|
testValue |
| ResourceGroupId |
string |
否 |
資源群組 ID。 您可以透過資源管理主控台檢視資源群組 ID。 |
rg-acfmwavnfef**** |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
|||
| FileSystems |
object |
||
| FileSystem |
array<object> |
檔案系統清單。 |
|
|
array<object> |
|||
| Status |
string |
檔案系統狀態。包括:
|
Pending |
| MeteredIASize |
integer |
低頻儲存用量。 |
362832 |
| Capacity |
integer |
檔案系統的容量。 |
100 |
| CreateTime |
string |
檔案系統的建立時間。按照 CST 本地時區時間表示,格式為:yyyy-MM-ddTHH:mm:ssCST,例如:2026-07-20T14:31:42CST。 |
2026-07-20T14:31:42CST |
| ChargeType |
string |
計費類型。 |
PayAsYouGo |
| Tags |
object |
||
| Tag |
array<object> |
檔案系統標籤資訊集合。 |
|
|
object |
|||
| Key |
string |
標籤鍵。 |
testKey |
| Value |
string |
標籤值。 |
testValue |
| StorageType |
string |
儲存類型。 包括:
|
Performance |
| MeteredSize |
integer |
檔案系統的標準儲存使用量。 非即時使用量,為上一小時最大使用量,單位:Byte。 說明
如果您需要檢視檔案系統總儲存容量,請參閱查詢檔案系統資源使用量。 |
1611661312 |
| Description |
string |
檔案系統的描述資訊。 |
test |
| Bandwidth |
integer |
檔案系統的頻寬。 |
150 |
| SupportedFeatures |
object |
||
| SupportedFeature |
array |
檔案系統支援的功能集合。 |
|
|
string |
檔案系統支援的功能。 包括:
說明
目前僅極速型 NAS 中國內地各地域支援 IPv6 功能。 |
Lifecycle |
|
| Version |
string |
檔案系統版本號碼。 |
2.3.4 |
| ProtocolType |
string |
檔案系統通訊協定類型。 |
NFS |
| MountTargets |
object |
||
| MountTarget |
array<object> |
掛載點資訊集合。 |
|
|
array<object> |
|||
| VpcId |
string |
掛載點關聯的專屬網路 ID。僅通用型 NAS 檔案系統傳回該欄位。 |
vpc-bp1sevsgtqvk5gxbl**** |
| Status |
string |
掛載點狀態。 包括:
|
Active |
| ClientMasterNodes |
object |
||
| ClientMasterNode |
array<object> |
用戶端管理節點資訊集合。 |
|
|
object |
|||
| EcsId |
string |
管理節點 ECS 執行個體 ID。 |
i-hp3i3odi5ory1buo**** |
| DefaultPasswd |
string |
管理節點預設登入密碼。 |
123456 |
| EcsIp |
string |
管理節點 ECS 執行個體 IP。 |
192.168.1.0 |
| MountTargetDomain |
string |
掛載點。 |
109c042666-w****.cn-hangzhou.nas.aliyuncs.com |
| AccessGroupName |
string |
掛載點使用的權限組名稱。 |
test-001 |
| DualStackMountTargetDomain |
string |
IPv4 和 IPv6 雙堆疊掛載點。 |
174494b666-x****.dualstack.cn-hangzhou.nas.aliyuncs.com |
| VswId |
string |
掛載點關聯的交換器 ID。僅通用型 NAS 檔案系統傳回該欄位。 |
vsw-bp1omfzsszekkvaxn**** |
| Tags |
object |
||
| Tag |
array<object> |
掛載點標籤資訊集合。 |
|
|
object |
|||
| Key |
string |
標籤鍵。 |
testKey |
| Value |
string |
標籤值。 |
testValue |
| NetworkType |
string |
網路類型。取值為 vpc,表示專屬網路類型。 |
vpc |
| KMSKeyId |
string |
KMS 金鑰 ID。 |
0e478b7a-4262-4802-b8cb-00d3fb40**** |
| AutoSnapshotPolicyId |
string |
自動快照原則 ID。 |
sp-extreme-09npwxadu1eqvw**** |
| RegionId |
string |
地域 ID。 |
cn-hangzhou |
| FileSystemType |
string |
檔案系統類型。 包括:
|
standard |
| FileSystemId |
string |
檔案系統 ID。 |
109c04**** |
| EncryptType |
integer |
加密類型。 |
1 |
| Ldap |
object |
LDAP 設定資訊集合。 |
|
| BindDN |
string |
綁定 LDAP 的指定項目。 |
cn=alibaba,dc=com |
| SearchBase |
string |
LDAP 搜尋起始點。 |
dc=example |
| URI |
string |
LDAP 服務位址。 |
ldap://ldap.example.example |
| ExpiredTime |
string |
檔案系統到期時間。按照 ISO 8601 標準表示,並使用 UTC 時間。格式為:yyyy-MM-ddTHH:mm:ssZ。 |
2020-01-05T16:00:00Z |
| ZoneId |
string |
檔案系統所在的可用區。 |
cn-hangzhou-b |
| VpcId |
string |
檔案系統關聯的專屬網路 ID。僅通用 CPFS 檔案系統傳回該欄位。 |
vpc-bp1sevsgtqvk5gxbl**** |
| VswIds |
object |
||
| VswId |
array |
交換器資訊集合。 |
|
|
string |
檔案系統關聯的交換器 ID。僅通用 CPFS 檔案系統傳回該欄位。 |
vsw-2zeu1ncsckw5mv2j481gw |
|
| Packages |
object |
||
| Package |
array<object> |
儲存套件資訊集合。 |
|
|
object |
|||
| StartTime |
string |
儲存套件起始時間。按照 ISO 8601 標準表示,並使用 UTC 時間。格式為:yyyy-MM-ddTHH:mm:ssZ。 |
2019-12-05T01:40:56Z |
| ExpiredTime |
string |
儲存套件到期時間。按照 ISO 8601 標準表示,並使用 UTC 時間。格式為:yyyy-MM-ddTHH:mm:ssZ。 |
2020-01-05T16:00:00Z |
| Size |
integer |
儲存套件容量。 |
107374182400 |
| PackageId |
string |
儲存套件 ID。 |
naspackage-0be9c4b624-37**** |
| PackageType |
string |
儲存套件類型。 |
hybrid |
| AccessPointCount |
string |
存取點數量。 |
1 |
| ResourceGroupId |
string |
資源群組 ID。 |
rg-acfmwavnfef**** |
| MeteredArchiveSize |
integer |
歸檔儲存用量。 |
1611661312 |
| Options |
object |
選項。 |
|
| EnableOplock |
boolean |
是否開啟 OpLock 功能。 |
true |
| VscAccessPointAccessOnly |
boolean |
智算 VSC 掛載點是否開啟僅支援透過 AP 方式使用。 |
false |
| EnableABE |
boolean |
是否啟用 SMB ABE 存取控制功能。 |
true |
| EnableDataInsight |
boolean |
是否啟用資料洞察功能。 |
false |
| QuorumVswId |
string |
交換器 ID。 |
vsw-bp1omfzsszekkvaxn**** |
| VscTarget |
string |
說明
該參數暫未開放使用。 |
cpfs-370y1tv921vpuj4****-000001.cn-wulanchabu.cpfs.aliyuncs.com |
| RedundancyType |
string |
儲存冗餘類型。僅 CPFS SE 時有值。 |
ZRS |
| RedundancyVSwitchIds |
object |
||
| RedundancyVSwitchId |
array |
同區域冗餘交換器 ID 清單。 |
|
|
string |
同區域冗餘交換器 ID 清單。 |
vsw-123xxx |
|
| RequestId |
string |
請求 ID。 |
035B3A3A-E514-4B41-B906-5D906CFB**** |
| TotalCount |
integer |
檔案系統的總數。 |
1 |
| PageSize |
integer |
每個分頁包含的檔案系統個數。 |
1 |
| PageNumber |
integer |
檔案系統清單的分頁頁碼。 |
1 |
樣本
正常返回樣本
JSON格式
{
"FileSystems": {
"FileSystem": [
{
"Status": "Pending",
"MeteredIASize": 362832,
"Capacity": 100,
"CreateTime": "2026-07-20T14:31:42CST",
"ChargeType": "PayAsYouGo",
"Tags": {
"Tag": [
{
"Key": "testKey",
"Value": "testValue"
}
]
},
"StorageType": "Performance",
"MeteredSize": 1611661312,
"Description": "test",
"Bandwidth": 150,
"SupportedFeatures": {
"SupportedFeature": [
"Lifecycle"
]
},
"Version": "2.3.4",
"ProtocolType": "NFS",
"MountTargets": {
"MountTarget": [
{
"VpcId": "vpc-bp1sevsgtqvk5gxbl****",
"Status": "Active",
"ClientMasterNodes": {
"ClientMasterNode": [
{
"EcsId": "i-hp3i3odi5ory1buo****",
"DefaultPasswd": "123456",
"EcsIp": "192.168.1.0"
}
]
},
"MountTargetDomain": "109c042666-w****.cn-hangzhou.nas.aliyuncs.com",
"AccessGroupName": "test-001",
"DualStackMountTargetDomain": "174494b666-x****.dualstack.cn-hangzhou.nas.aliyuncs.com",
"VswId": "vsw-bp1omfzsszekkvaxn****",
"Tags": {
"Tag": [
{
"Key": "testKey",
"Value": "testValue"
}
]
},
"NetworkType": "vpc"
}
]
},
"KMSKeyId": "0e478b7a-4262-4802-b8cb-00d3fb40****",
"AutoSnapshotPolicyId": "sp-extreme-09npwxadu1eqvw****",
"RegionId": "cn-hangzhou",
"FileSystemType": "standard",
"FileSystemId": "109c04****",
"EncryptType": 1,
"Ldap": {
"BindDN": "cn=alibaba,dc=com",
"SearchBase": "dc=example",
"URI": "ldap://ldap.example.example"
},
"ExpiredTime": "2020-01-05T16:00:00Z",
"ZoneId": "cn-hangzhou-b",
"VpcId": "vpc-bp1sevsgtqvk5gxbl****",
"VswIds": {
"VswId": [
"vsw-2zeu1ncsckw5mv2j481gw"
]
},
"Packages": {
"Package": [
{
"StartTime": "2019-12-05T01:40:56Z",
"ExpiredTime": "2020-01-05T16:00:00Z",
"Size": 107374182400,
"PackageId": "naspackage-0be9c4b624-37****",
"PackageType": "hybrid"
}
]
},
"AccessPointCount": "1",
"ResourceGroupId": "rg-acfmwavnfef****",
"MeteredArchiveSize": 1611661312,
"Options": {
"EnableOplock": true,
"VscAccessPointAccessOnly": false,
"EnableABE": true,
"EnableDataInsight": false
},
"QuorumVswId": "vsw-bp1omfzsszekkvaxn****",
"VscTarget": "cpfs-370y1tv921vpuj4****-000001.cn-wulanchabu.cpfs.aliyuncs.com",
"RedundancyType": "ZRS",
"RedundancyVSwitchIds": {
"RedundancyVSwitchId": [
"vsw-123xxx"
]
}
}
]
},
"RequestId": "035B3A3A-E514-4B41-B906-5D906CFB****",
"TotalCount": 1,
"PageSize": 1,
"PageNumber": 1
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 400 | Region.NotSupported | The specified Region is not supported for this API now. | 目前地域暫不支援此功能。 |
| 404 | InvalidFileSystem.NotFound | The specified file system does not exist. | 指定的檔案系統不存在。 |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。