查詢生命週期策略的作業記錄。 可查詢最近 90 天或最多 1000 條日誌。 僅 CPFS 智算版支援。
介面說明
查詢生命週期策略的作業記錄。 可查詢最近 90 天或最多 1000 條日誌。 僅 CPFS 智算版支援。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| FileSystemId |
string |
是 |
檔案系統 ID。 |
bmcpfs-030wldnqm8evtpy**** |
| LifecyclePolicyId |
string |
是 |
生命週期策略的 ID。 |
lc-xxx |
| PageSize |
integer |
否 |
每個分頁包含的日誌條數。 取值範圍:1~100 預設值:10 |
10 |
| PageNumber |
integer |
否 |
列表的分頁頁碼。 起始值(預設值):1 |
1 |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
|||
| RequestId |
string |
請求 ID。 |
BC7C825C-5F65-4B56-BEF6-98C56C7C**** |
| Success |
boolean |
請求狀態。 包括:
|
true |
| LifecyclePolicyLogs |
array<object> |
生命週期策略的作業記錄。 |
|
|
array<object> |
|||
| Status |
string |
資料取回任務的狀態。包括:
|
RUNNING |
| Paths |
array |
指定取回任務的執行路徑。 |
|
|
string |
指定取回任務的執行路徑。 |
/path1 |
|
| StorageType |
string |
分級儲存類型。
|
InfrequentAccess |
| TransitRules |
array<object> |
檔案資料轉儲規則。 |
|
|
object |
檔案資料轉儲規則。 |
||
| Attribute |
string |
規則的屬性。 取值:
|
Atime |
| Threshold |
string |
規則的閾值。 取值:
|
3 |
| RetrieveRules |
array<object> |
檔案資料取回規則。 |
|
|
object |
檔案資料取回規則。 |
||
| Attribute |
string |
規則的屬性,取值:
|
RetrieveType |
| Threshold |
string |
規則的閾值,取值:
|
All |
| CreateTime |
string |
任務建立時間。 以 ISO 8601 為標準,並使用 UTC+0 時間,返回格式:yyyy-MM-ddTHH:mm:ssZ。 |
2025-10-20T02:25:07Z |
| Summary |
string |
任務總覽 |
Total tasks: 100000, success tasks: 100000 |
| TotalCount |
integer |
日誌總數。 |
36 |
| PageNumber |
integer |
分頁頁碼。 |
1 |
| PageSize |
integer |
每個分頁包含的日誌條數。 |
10 |
樣本
正常返回樣本
JSON格式
{
"RequestId": "BC7C825C-5F65-4B56-BEF6-98C56C7C****",
"Success": true,
"LifecyclePolicyLogs": [
{
"Status": "RUNNING",
"Paths": [
"/path1"
],
"StorageType": "InfrequentAccess",
"TransitRules": [
{
"Attribute": "Atime",
"Threshold": "3"
}
],
"RetrieveRules": [
{
"Attribute": "RetrieveType",
"Threshold": "All"
}
],
"CreateTime": "2025-10-20T02:25:07Z",
"Summary": "Total tasks: 100000, success tasks: 100000"
}
],
"TotalCount": 36,
"PageNumber": 1,
"PageSize": 10
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 400 | InvalidLifecyclePolicy.NotFound | The specified LifecyclePolicy does not exist. | 指定的生命週期策略不存在。 |
| 404 | InvalidFileSystem.NotFound | The specified file system does not exist. | 指定的檔案系統不存在。 |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。