Memanggil operasi ListTaskFlow untuk mendapatkan daftar Tugas flow.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dms:ListTaskFlow |
list |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| Tid |
integer |
No |
ID penyewa. Anda dapat memanggil operasi GetUserActiveTenant atau ListUserTenants untuk mendapatkan nilai parameter ini. |
3*** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
4116147E-C628-5816-8779-8EEAF8E973F4 |
| ErrorCode |
string |
Kode kesalahan. |
403 |
| ErrorMessage |
string |
Paket kesalahan. |
UnknownError |
| Success |
boolean |
Apakah permintaan berhasil. Nilai valid:
|
true |
| TaskFlowList |
object |
||
| TaskFlow |
array<object> |
Daftar Tugas flow. |
|
|
object |
Daftar Tugas flow. |
||
| Id |
integer |
The ID of the task flow. |
134137**** |
| CreatorId |
string |
The ID of the user who creates the task flow. |
51**** |
| CreatorNickName |
string |
The name of the user who creates the task flow. |
Creator_NickName |
| DagOwnerNickName |
string |
The name of the task flow owner. |
Owner_NickName |
| DeployId |
integer |
The ID of the latest deployment record. |
12** |
| Status |
integer |
The status of the task flow. Valid values:
|
2 |
| LatestInstanceStatus |
integer |
The status of the latest execution. Valid values:
|
0 |
| LatestInstanceTime |
string |
The time when the latest execution record was generated. |
2022-04-13 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "4116147E-C628-5816-8779-8EEAF8E973F4",
"ErrorCode": "403",
"ErrorMessage": "UnknownError",
"Success": true,
"TaskFlowList": {
"TaskFlow": [
{
"Id": 0,
"CreatorId": "51****",
"CreatorNickName": "Creator_NickName",
"DagOwnerNickName": "Owner_NickName",
"DeployId": 0,
"Status": 2,
"LatestInstanceStatus": 0,
"LatestInstanceTime": "2022-04-13"
}
]
}
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.