Mengambil status dan detail Tugas Batch.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:DescribeBatchTask |
none |
*全部资源
|
None | None |
Sintaks permintaan
POST HTTP/1.1
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| BatchId |
string |
No |
ID Tugas Batch. |
pcb-xxx |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response object. |
||
| RequestId |
string |
The request ID. |
25C70FF3-D49B-594D-BECE-0DE2BA1D8BBB |
| BatchId |
string |
The batch task ID. |
pcb-xxx |
| TaskName |
string |
The name of the batch task. |
batch_task_test |
| TaskType |
string |
The task type. |
polarclaw_install_skills |
| Status |
string |
The task status. Valid values:
|
RUNNING |
| TotalCount |
integer |
The total number of entries. |
10 |
| SuccessCount |
integer |
The total number of successfully processed domain names or resolution records. |
8 |
| TaskBegin |
string |
The task start time. |
2026/05/28T16:38:20Z |
| TaskEnd |
string |
The task end time. |
2026/05/28T15:23:47Z |
| SubTasks |
array<object> |
A list of subtasks. |
|
|
object |
The details of a subtask. |
||
| TaskId |
string |
The subtask ID. |
629271331 |
| InstanceId |
string |
The instance ID. |
pc-pz5f6mvi1p84t35d7 |
| Status |
string |
The subtask status. Valid values:
|
COMPLETED |
| TaskBegin |
string |
The subtask start time. |
2026/05/28T17:38:20Z |
| TaskEnd |
string |
The subtask end time. |
2026/05/28T20:38:20Z |
| ErrorMsg |
string |
The error message if the subtask failed. |
aliuid:1422133474238823 assumeOssRole not exist,serviceName:aliyunesarealtimelogpushossrole |
| ApplicationType |
string |
Contoh
Respons sukses
JSONformat
{
"RequestId": "25C70FF3-D49B-594D-BECE-0DE2BA1D8BBB",
"BatchId": "pcb-xxx",
"TaskName": "batch_task_test",
"TaskType": "polarclaw_install_skills",
"Status": "RUNNING ",
"TotalCount": 10,
"SuccessCount": 8,
"TaskBegin": "2026/05/28T16:38:20Z",
"TaskEnd": "2026/05/28T15:23:47Z",
"SubTasks": [
{
"TaskId": "629271331",
"InstanceId": "pc-pz5f6mvi1p84t35d7",
"Status": "COMPLETED",
"TaskBegin": "2026/05/28T17:38:20Z",
"TaskEnd": "2026/05/28T20:38:20Z",
"ErrorMsg": "aliuid:1422133474238823 assumeOssRole not exist,serviceName:aliyunesarealtimelogpushossrole"
}
],
"ApplicationType": ""
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.