查詢NAS檔案系統資訊。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
ens:DescribeFileSystems |
list |
*全部資源
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| EnsRegionId |
string |
否 |
節點 ID。 |
cn-beijing-cmcc |
| FileSystemId |
string |
否 |
NAS 檔案系統 ID。 |
c50f8***** |
| FileSystemName |
string |
否 |
NAS 檔案系統名稱。 |
FileSystem1 |
| PageNumber |
integer |
否 |
頁碼,起始值為 1。預設值:1。 |
1 |
| PageSize |
integer |
否 |
每頁行數,最大值為 100 行。預設值:10。 |
10 |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
Schema of Response |
||
| PageNumber |
integer |
頁碼。 |
1 |
| PageSize |
integer |
單頁行數。 |
2 |
| TotalCount |
integer |
總數。 |
1 |
| FileSystems |
array<object> |
檔案系統資訊集合。 |
|
|
array<object> |
|||
| FileSystemId |
string |
檔案系統 ID。 |
c50f8***** |
| FileSystemName |
string |
檔案系統名稱。 |
FileSystem1 |
| EnsRegionId |
string |
地區 ID。 |
cn-beijing-cmcc |
| StorageType |
string |
儲存類型。取值:
|
capacity |
| ProtocolType |
string |
檔案系統協議類型。取值:
|
NFS |
| Capacity |
integer |
容量。單位:MiB。 |
100000 |
| MeteredSize |
integer |
檔案系統的使用量。 非即時使用量,為上一小時最大使用量,單位:Byte。 |
102400 |
| Status |
string |
檔案系統狀態
|
running |
| PayType |
string |
付費類型。取值:PostPaid(後付費)。 |
PostPaid |
| CreationTime |
string |
檔案系統建立時間。 |
2022-08-31 12:00:00 |
| MountTargets |
array<object> |
掛載點資訊集合 |
|
|
object |
|||
| MountTargetDomain |
string |
掛載點路徑。 |
*.*.*.*:/${FileSystemName}/{MountTargetName} |
| MountTargetName |
string |
掛載點名稱。 |
target1 |
| NetWorkId |
string |
網路識別碼。 |
n-**** |
| Status |
string |
掛載點狀態。取值:
|
active |
| Description |
string |
描述資訊。 |
test |
| RequestId |
string |
請求 ID。 |
762DD527-358B-1E48-8005-CCE3ED4EB9E0 |
樣本
正常返回樣本
JSON格式
{
"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"
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 400 | NoPermission | Permission denied. | |
| 400 | ens.interface.error | Failed to call API. | 介面調用發生異常。 |
| 400 | InvalidParameter.%s | The specified field %s invalid. Please check it again. |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。