Queries data flow subtasks in batches.
Operation description
Only Cloud Parallel File Storage (CPFS) for LINGJUN V2.6.0 and later support this operation. You can view the version information on the file system details page in the console.
Debugging
Authorization information
The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action
policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:
- Operation: the value that you can use in the Action element to specify the operation on a resource.
- Access level: the access level of each operation. The levels are read, write, and list.
- Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
- The required resource types are displayed in bold characters.
- If the permissions cannot be granted at the resource level,
All Resources
is used in the Resource type column of the operation.
- Condition Key: the condition key that is defined by the cloud service.
- Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
Operation | Access level | Resource type | Condition key | Associated operation |
---|---|---|---|---|
nas:DescribeDataFlowSubTasks | list | *DataFlow acs:nas:{#regionId}:{#accountId}:filesystem/{#filesystemId} |
| none |
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
FileSystemId | string | Yes | The ID of the file system. | bmcpfs-370lx1ev9ss27o0**** |
Filters | array<object> | No | The filter that is used to query data streaming tasks. | |
object | No | |||
Key | string | No | The filter name. Valid values:
| DataFlowSubTaskIds |
Value | string | No | The filter value. This parameter does not support wildcards.
| subTaskId-370kyfmyknxcyzw**** |
NextToken | string | No | The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of NextToken. | iWk0AQAAAAAvY2FzZS8= |
MaxResults | long | No | The number of results for each query.
| 20 |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "98696EF0-1607-4E9D-B01D-F20930B6****",
"NextToken": "pUJaUwAAAABhdGUyNTk1MQ==",
"DataFlowSubTask": {
"DataFlowSubTask": [
{
"FileSystemId": "bmcpfs-370lx1ev9ss27o0****\n",
"DataFlowId": "df-194433a5be31****",
"DataFlowTaskId": "task-38aa8e890f45****",
"DataFlowSubTaskId": "subTaskId-370kyfmyknxcyzw****\n",
"SrcFilePath": "/test/file.png\n",
"DstFilePath": "/mnt/file.png\n",
"Status": "COMPLETE",
"Progress": 10000,
"CreateTime": "2024-07-01 19:59:29",
"StartTime": "2024-07-03 10:43:16",
"EndTime": "2024-07-04 11:14:22",
"ErrorMsg": "{\"ErrorKey\":\"PATH_NOT_ACCESSIBLE\",\"ErrorDetail\":\"lstat /cpfs/370lx1ev9ss27o****/test/abcdfnotfound: no such file or directory\"}",
"ProgressStats": {
"BytesTotal": 68,
"BytesDone": 68,
"ActualBytes": 68,
"AverageSpeed": 34
},
"FileDetail": {
"ModifyTime": 1721167603,
"Size": 68,
"Checksum": "crc64:850309505450944****"
}
}
]
}
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | IllegalCharacters | The parameter contains illegal characters. | The parameter contains illegal characters. |
400 | MissingFileSystemId | FileSystemId is mandatory for this action. | - |
400 | InvalidFilesystemVersion.NotSupport | This Api does not support this fileSystem version. | This Api does not support this fileSystem version. |
403 | OperationDenied.DataFlowNotSupported | The operation is not supported. | - |
404 | InvalidParameter.InvalidNextToken | The specified NextToken is invaild. | - |
404 | InvalidFileSystem.NotFound | The specified file system does not exist. | The specified file system does not exist. |
404 | InvalidDataFlow.NotFound | The specified data flow does not exist. | - |
404 | InvalidParameter.InvalidMaxResults | The specified MaxResults is invalid. | - |
404 | InvalidFilterParam | The specified Filter.N.Key is invalid. | - |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|