Mengambil daftar tugas pengambilan data yang telah dibuat.
Deskripsi operasi
Hanya sistem file NAS General-purpose yang mendukung fitur ini.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
nas:ListLifecycleRetrieveJobs |
get |
*FileSystem
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| PageSize |
integer |
No |
Jumlah tugas pengambilan data pada setiap halaman. Nilai valid: 1 hingga 100. Nilai default: 10. |
10 |
| PageNumber |
integer |
No |
Nomor halaman daftar. Nilai awal (nilai default): 1. |
1 |
| FileSystemId |
string |
No |
ID sistem file. |
31a8e4**** |
| Status |
string |
No |
Status tugas pengambilan data. Nilai valid:
|
completed |
| StorageType |
string |
No |
Kelas penyimpanan. Nilai valid:
Catatan
Jika StorageType tidak ditentukan, tugas pengambilan data dari semua kelas penyimpanan akan dikembalikan. |
InfrequentAccess |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| TotalCount |
integer |
Jumlah total tugas pengambilan data. |
10 |
| RequestId |
string |
ID permintaan. |
BC7C825C-5F65-4B56-BEF6-98C56C7C**** |
| PageSize |
integer |
Jumlah tugas pengambilan data pada setiap halaman. |
10 |
| PageNumber |
integer |
Nomor halaman daftar. |
1 |
| LifecycleRetrieveJobs |
array<object> |
Kumpulan informasi tugas pengambilan data. |
|
|
object |
Kumpulan informasi tugas pengambilan data. |
||
| FileSystemId |
string |
ID sistem file. |
31a8e4**** |
| Status |
string |
Status tugas pengambilan data. Nilai valid:
|
completed |
| DiscoveredFileCount |
integer |
Jumlah total file yang dibaca oleh tugas pengambilan data. |
100 |
| UpdateTime |
string |
Waktu ketika tugas terakhir diperbarui. Waktu mengikuti standar ISO 8601 dalam format yyyy-MM-ddTHH:mm:ssZ. |
2021-02-30T11:08:08Z |
| Paths |
array |
Jalur eksekusi tugas pengambilan data. |
|
|
string |
Direktori atau file yang akan diambil. Jalur harus diawali dengan garis miring (/) dan harus merupakan jalur yang ada di titik pemasangan. |
["/pathway/to/folder","/pathway/to/folder","/pathway/to/folder"] |
|
| RetrievedFileCount |
integer |
Jumlah file yang berhasil diambil oleh tugas pengambilan data. |
80 |
| JobId |
string |
ID tugas pengambilan data. |
lrj-nfstest-ia-160****853-hshvw |
| CreateTime |
string |
Waktu ketika tugas dibuat. Waktu mengikuti standar ISO 8601 dalam format yyyy-MM-ddTHH:mm:ssZ. |
2021-02-30T10:08:08Z |
| StorageType |
string |
Kelas penyimpanan. Nilai valid:
|
InfrequentAccess |
Contoh
Respons sukses
JSONformat
{
"TotalCount": 10,
"RequestId": "BC7C825C-5F65-4B56-BEF6-98C56C7C****",
"PageSize": 10,
"PageNumber": 1,
"LifecycleRetrieveJobs": [
{
"FileSystemId": "31a8e4****",
"Status": "completed",
"DiscoveredFileCount": 100,
"UpdateTime": "2021-02-30T11:08:08Z",
"Paths": [
"[\"/pathway/to/folder\",\"/pathway/to/folder\",\"/pathway/to/folder\"]"
],
"RetrievedFileCount": 80,
"JobId": "lrj-nfstest-ia-160****853-hshvw",
"CreateTime": "2021-02-30T10:08:08Z",
"StorageType": "InfrequentAccess"
}
]
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 404 | InvalidFileSystem.NotFound | The specified file system does not exist. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.