Memanggil operasi ListTaskFlowsByPage untuk mengkueri daftar detail alur tugas berdasarkan halaman.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dms:ListTaskFlowsByPage |
list |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| Tid |
integer |
No |
ID penyewa. Catatan
Anda dapat memperoleh ID penyewa dengan mengarahkan penunjuk ke foto profil di sudut kanan atas konsol DMS. Untuk informasi selengkapnya, lihat Melihat informasi tentang penyewa saat ini. |
3*** |
| ScenarioId |
integer |
No |
Kondisi filter. ID skenario. |
12*** |
| DagIdList |
array |
No |
Kondisi filter. Daftar ID alur tugas. |
|
|
integer |
No |
Kondisi filter. ID alur tugas. |
4512 |
|
| SearchKey |
string |
No |
Kata kunci yang digunakan untuk mencari nama alur tugas. |
测试节点 |
| PageIndex |
integer |
No |
Nomor halaman. |
1 |
| PageSize |
integer |
No |
Jumlah entri per halaman. |
20 |
Hubungan logis antara kondisi filter adalah AND.
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
6CB28697-BFE2-5739-9228-3971990E982C |
| ErrorCode |
string |
Kode kesalahan. |
UnknownError |
| ErrorMessage |
string |
Pesan kesalahan yang dikembalikan jika pemanggilan gagal. |
UnknownError |
| Success |
boolean |
Menunjukkan apakah permintaan berhasil. Nilai yang valid:
|
true |
| TaskFlowList |
object |
||
| TaskFlow |
array<object> |
Daftar informasi alur tugas. |
|
|
object |
|||
| Id |
integer |
The ID of the task flow. |
7*** |
| DagName |
string |
The name of the task flow. |
poc_task_test |
| Description |
string |
The description of the task flow. |
test |
| CreatorId |
string |
The ID of the user who created the task flow. |
51**** |
| CreatorNickName |
string |
The username of the user who created the task flow. |
Creator_NickName |
| DagOwnerNickName |
string |
The username of the owner of the task flow. |
Owner_NickName |
| DeployId |
integer |
The ID of the last deployment record of the task flow. |
65*** |
| Status |
integer |
The status of the task flow. Valid values:
|
1 |
| LatestInstanceStatus |
integer |
The status of the last execution of the task flow. Valid values:
|
0 |
| LatestInstanceTime |
string |
The time when the last execution record was created. |
2022-04-13 |
| ScenarioId |
string |
The ID of the application scenario. |
1245 |
| CronSwitch |
boolean |
Whether to enable scheduled scheduling. |
false |
| CronStr |
string |
Scheduled Cron. |
0 0 1 * * ? * |
| ScheduleParam |
string |
Event scheduling configuration, JSON string format. |
{\"triggerType\":\"1\",\"specificTime\":'2022-11-15 11:59'} |
| TriggerType |
integer |
The trigger type. Valid values:
|
0 |
| CronType |
integer |
Scheduling cycle type. Valid values:
|
2 |
| CronBeginDate |
string |
The start time of scheduled scheduling. The task flow is not scheduled before this point in time. |
1970-01-01 |
| CronEndDate |
string |
The end time of scheduled scheduling. The task flow is not scheduled after this point in time. |
2023-01-01 |
| TimeZoneId |
string |
Time zone setting. Default value: East 8(Asia/Shanghai). |
Asia/Shanghai |
| DagOwnerId |
string |
The user ID of the task flow owner. |
12***89 |
| TotalCount |
integer |
Jumlah total catatan. |
24 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "6CB28697-BFE2-5739-9228-3971990E982C",
"ErrorCode": "UnknownError",
"ErrorMessage": "UnknownError",
"Success": true,
"TaskFlowList": {
"TaskFlow": [
{
"Id": 0,
"DagName": "poc_task_test",
"Description": "test",
"CreatorId": "51****",
"CreatorNickName": "Creator_NickName",
"DagOwnerNickName": "Owner_NickName",
"DeployId": 0,
"Status": 1,
"LatestInstanceStatus": 0,
"LatestInstanceTime": "2022-04-13",
"ScenarioId": "1245",
"CronSwitch": false,
"CronStr": "0 0 1 * * ? *",
"ScheduleParam": "{\\\"triggerType\\\":\\\"1\\\",\\\"specificTime\\\":'2022-11-15 11:59'}",
"TriggerType": 0,
"CronType": 2,
"CronBeginDate": "1970-01-01",
"CronEndDate": "2023-01-01",
"TimeZoneId": "Asia/Shanghai",
"DagOwnerId": "12***89"
}
]
},
"TotalCount": 24
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.