Mengkueri log eksekusi kebijakan siklus hidup. Anda dapat mengkueri log dari 90 hari terakhir, dengan maksimum 1.000 entri. Hanya CPFS for Intelligent Computing yang mendukung operasi ini.
Deskripsi operasi
Mengkueri log eksekusi kebijakan siklus hidup. Anda dapat mengkueri log dari 90 hari terakhir, dengan maksimum 1.000 entri. Hanya CPFS for Intelligent Computing yang mendukung operasi ini.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| FileSystemId |
string |
Yes |
ID sistem file. |
bmcpfs-030wldnqm8evtpy**** |
| LifecyclePolicyId |
string |
Yes |
ID kebijakan siklus hidup. |
lc-xxx |
| PageSize |
integer |
No |
Jumlah log yang disertakan per halaman. Nilai valid: 1 hingga 100. Nilai default: 10. |
10 |
| PageNumber |
integer |
No |
Nomor halaman daftar. Nilai awal (default): 1. |
1 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
BC7C825C-5F65-4B56-BEF6-98C56C7C**** |
| Success |
boolean |
Status permintaan. Mencakup:
|
true |
| LifecyclePolicyLogs |
array<object> |
Log eksekusi kebijakan siklus hidup. |
|
|
array<object> |
|||
| Status |
string |
Status tugas pengambilan data. Mencakup:
|
RUNNING |
| Paths |
array |
Jalur eksekusi untuk tugas pengambilan yang ditentukan. |
|
|
string |
Jalur eksekusi untuk tugas pengambilan yang ditentukan. |
/path1 |
|
| StorageType |
string |
Tipe penyimpanan bertingkat.
|
InfrequentAccess |
| TransitRules |
array<object> |
Aturan transisi data file. |
|
|
object |
Aturan transisi data file. |
||
| Attribute |
string |
Atime |
|
| Threshold |
string |
3 |
|
| RetrieveRules |
array<object> |
Aturan pengambilan data file. |
|
|
object |
Aturan pengambilan data file. |
||
| Attribute |
string |
RetrieveType |
|
| Threshold |
string |
All |
|
| CreateTime |
string |
Pengatur waktu pembuatan tugas. Pengatur waktu mengikuti standar ISO 8601 dalam UTC+0. Format pengembalian adalah yyyy-MM-ddTHH:mm:ssZ. |
2025-10-20T02:25:07Z |
| Summary |
string |
Ringkasan tugas. |
Total tasks: 100000, success tasks: 100000 |
| TotalCount |
integer |
Jumlah total log. |
36 |
| PageNumber |
integer |
Nomor halaman. |
1 |
| PageSize |
integer |
Jumlah log yang disertakan per halaman. |
10 |
Contoh
Respons sukses
JSONformat
{
"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
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidLifecyclePolicy.NotFound | The specified LifecyclePolicy does not exist. | |
| 404 | InvalidFileSystem.NotFound | The specified file system does not exist. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.