查詢 CPFS 智算版 AccessPoint。
介面說明
查詢 CPFS 智算版 AccessPoint。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
nas:DescribeCpfsAccessPoints |
list |
*全部資源。
|
無 | 無 |
請求文法
GET / HTTP/1.1
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| RegionId |
string |
是 |
區域 ID。 |
cn-hangzhou |
| FileSystemId |
string |
是 |
檔案系統 ID。
|
bmcpfs-290rg9crq96m362ups2 |
| AccessPointId |
string |
否 |
存取點 ID。 |
ap-ie15yd**** |
| PageSize |
integer |
否 |
每次查詢結果的筆數。 取值範圍:1~100。 預設值:10。 |
10 |
| PageNumber |
integer |
否 |
列表的分頁頁碼。 |
1 |
|
否 |
cpfs 存取點標籤列表。 |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
查詢成功。 |
||
| RequestId |
string |
請求 ID。 |
A323836B-5BC6-45A6-8048-60675C23**** |
| AccessPoints |
array<object> |
存取點資訊。 |
|
|
array<object> |
存取點資訊。 |
||
| RegionId |
string |
區域 ID。 |
cn-hangzhou |
| ARN |
string |
存取點 ARN。 |
acs:nas:cn-hangzhou:178321033379****:accesspoint/ap-ie15yd**** |
| AccessPointId |
string |
存取點 ID。 |
ap-ie15y***** |
| Description |
string |
存取點描述資訊。 |
Description |
| FileSystemId |
string |
檔案系統 ID。 |
bmcpfs-290r9c75fnb0il8d8v1 |
| CreateTime |
string |
存取點的建立時間。按照 ISO 8601 標準表示,並使用 UTC 時間。格式為:yyyy-MM-ddTHH:mm:ssZ。 |
2026-03-28T06:32:14Z |
| ModifyTime |
string |
存取點的修改時間。按照 ISO 8601 標準表示,並使用 UTC 時間。格式為:yyyy-MM-ddTHH:mm:ssZ。 |
2025-03-28T06:32:14Z |
| Status |
string |
目前存取點狀態。 包含:
說明
當狀態為 Active 時才可以掛載檔案系統。 |
Active |
| RootDirectory |
object |
根目錄資訊。 |
|
| RootPath |
string |
根目錄。 |
/path |
| RootPathStatus |
string |
目前根目錄狀態。 包含:
|
Ready |
| Tags |
array<object> |
cpfs 存取點標籤列表。 |
|
|
object |
cpfs 存取點標籤。 |
||
| Key |
string |
cpfs 存取點標籤鍵。 |
TestKey |
| Value |
string |
cpfs 存取點標籤值。 |
TestValue |
| TotalCount |
integer |
存取點總筆數。 |
6 |
| PageSize |
integer |
每頁查詢結果的筆數。
取值範圍:1~100。 |
10 |
| PageNumber |
integer |
列表的分頁頁碼。 |
1 |
樣本
正常返回樣本
JSON格式
{
"RequestId": "A323836B-5BC6-45A6-8048-60675C23****",
"AccessPoints": [
{
"RegionId": "cn-hangzhou",
"ARN": "acs:nas:cn-hangzhou:178321033379****:accesspoint/ap-ie15yd****",
"AccessPointId": "ap-ie15y*****\n",
"Description": "Description",
"FileSystemId": "bmcpfs-290r9c75fnb0il8d8v1",
"CreateTime": "2026-03-28T06:32:14Z",
"ModifyTime": "2025-03-28T06:32:14Z",
"Status": "Active",
"RootDirectory": {
"RootPath": "/path",
"RootPathStatus": "Ready"
},
"Tags": [
{
"Key": "TestKey",
"Value": "TestValue"
}
]
}
],
"TotalCount": 6,
"PageSize": 10,
"PageNumber": 1
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 400 | InvalidRequest | The request is invalid. | 請求無效。 |
| 400 | InvalidParameter.FileSystem | Invalid FileSystem in ResourceIds. | ResourceIds 中的檔案系統無效。 |
| 400 | InvalidFilesystemType.NotSupport | This Api does not support this fileSystem type. | 目前介面不支援該類型檔案系統。 |
| 400 | FeatureOrAPI.NotSupported | The Feature/API is not supported in this region now. | 目前該地區不支援此功能或 API。 |
| 403 | Forbbiden.Ram | User not authorized to operate on the specified resource, or this API doesn't support RAM. | 您的帳戶 RAM 權限驗證失敗,請前往 RAM 確保授權 NAS 相關權限。 |
| 404 | InvalidAccessPoint.NotFound | The specified AccessPoint does not exist. | 指定的存取點不存在。 |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。