Retrieves the list of created data retrieval tasks.
Operation description
Only General-purpose NAS file systems support this feature.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
nas:ListLifecycleRetrieveJobs |
get |
*FileSystem
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| PageSize |
integer |
No |
The number of data retrieval tasks on each page. Valid values: 1 to 100. Default value: 10. |
10 |
| PageNumber |
integer |
No |
The page number of the list. Start value (default value): 1. |
1 |
| FileSystemId |
string |
No |
The file system ID. |
31a8e4**** |
| Status |
string |
No |
The status of the data retrieval task. Valid values:
Valid values:
|
completed |
| StorageType |
string |
No |
The storage class. Valid values:
Note
If StorageType is not specified, data retrieval tasks of all storage classes are returned. |
InfrequentAccess |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| TotalCount |
integer |
The total number of data retrieval tasks. |
10 |
| RequestId |
string |
The request ID. |
BC7C825C-5F65-4B56-BEF6-98C56C7C**** |
| PageSize |
integer |
The number of data retrieval tasks on each page. |
10 |
| PageNumber |
integer |
The page number of the list. |
1 |
| LifecycleRetrieveJobs |
array<object> |
The collection of data retrieval task information. |
|
|
object |
The collection of data retrieval task information. |
||
| FileSystemId |
string |
The file system ID. |
31a8e4**** |
| Status |
string |
The status of the data retrieval task. Valid values:
|
completed |
| DiscoveredFileCount |
integer |
The total number of files read by the data retrieval task. |
100 |
| UpdateTime |
string |
The time when the task was last updated. The time follows the ISO 8601 standard in the format of |
2021-02-30T11:08:08Z |
| Paths |
array |
The execution paths of the data retrieval task. |
|
|
string |
The directory or file to retrieve. The path must start with a forward slash (/) and must be an existing path in the mount target. |
["/pathway/to/folder","/pathway/to/folder","/pathway/to/folder"] |
|
| RetrievedFileCount |
integer |
The number of files successfully retrieved by the data retrieval task. |
80 |
| JobId |
string |
The data retrieval task ID. |
lrj-nfstest-ia-160****853-hshvw |
| CreateTime |
string |
The time when the task was created. The time follows the ISO 8601 standard in the format of |
2021-02-30T10:08:08Z |
| StorageType |
string |
The storage class. Valid values:
|
InfrequentAccess |
Examples
Success response
JSON format
{
"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"
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 404 | InvalidFileSystem.NotFound | The specified file system does not exist. | The specified file system does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.