Mengkueri status berjalan node pipeline.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
paiflow:ListPipelineRunNodeStatus |
list |
*全部资源
|
None | None |
Sintaks permintaan
GET /api/v1/pipelineruns/{PipelineRunId}/nodes/{NodeId}/status HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| PipelineRunId |
string |
Yes |
ID pekerjaan pipeline. Anda dapat memanggil ListPipelineRuns untuk mendapatkan ID pekerjaan pipeline. |
flow-rbvg5wzljzjhc9**** |
| NodeId |
string |
Yes |
ID node pipeline. Anda dapat memanggil ListPipelineRuns untuk mendapatkan ID node. |
node-kdkfkfds**** |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| Depth |
integer |
No |
Kedalaman tempat informasi node dikueri. Jika Anda mengatur Depth ke N, informasi node dan semua node turunannya di lapisan N-1 akan dikembalikan. |
2 |
| Type |
string |
No |
Tipe node. Nilai valid:
|
Logical |
| TokenId |
string |
No |
ID pekerjaan pipeline bersama. |
https://pai.console.alibabacloud.com/?regionId=cn-hangzhou&workspaceId=102******&mode=noSidebar#/paiflow/pipeline-runs/flow-6y7******?Token=eyJ0e****** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
473469C7-****-****-****-A3DC0DE3C83E |
| Status |
array<object> |
The statuses of the pipeline node. |
|
|
object |
|||
| NodeId |
string |
The ID of the pipeline node. |
node-1jlzg7ncv0j6i3**** |
| NodeName |
string |
The name of the pipeline node. |
sql |
| Status |
string |
The running status of the node. |
Succeeded |
| StartedAt |
string |
The time when the node started to run, in UTC. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. |
2021-01-21T17:12:35.232Z |
| FinishedAt |
string |
The time when the node finished running, in UTC. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. |
2021-01-21T17:12:40.232Z |
| RuntimeInfo |
string |
The runtime information of the node, in the escaped MAP format. You can customize the output of multiple KV pairs. If the same key value is used, the last output value is used. If the returned information is empty, {} is returned. |
{\"DLC_INSTANCE_IDS\": \"i-12224afdfsaf,i-22224afdfsaf,i-13224afdfsaf\"} |
Contoh
Respons sukses
JSONformat
{
"RequestId": "473469C7-****-****-****-A3DC0DE3C83E\n",
"Status": [
{
"NodeId": "node-1jlzg7ncv0j6i3****",
"NodeName": "sql",
"Status": "Succeeded",
"StartedAt": "2021-01-21T17:12:35.232Z",
"FinishedAt": "2021-01-21T17:12:40.232Z",
"RuntimeInfo": "{\\\"DLC_INSTANCE_IDS\\\": \\\"i-12224afdfsaf,i-22224afdfsaf,i-13224afdfsaf\\\"}\n"
}
]
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.