Mengambil daftar node internal dalam grup node atau node do-while. Operasi ini tidak mendukung kueri node internal dari node PAI.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ProgramType |
string |
No |
Tipe node tempat node internal berada. Nilai yang valid: 6 (Shell), 10 (ODPS SQL), 11 (ODPS MR), 23 (Data Integration), 24 (ODPS Script), 97 (PAI), 98 (grup node), 99 (zero load), 221 (PyODPS 2), 225 (ODPS Spark), 227 (EMR Hive), 228 (EMR Spark), 229 (EMR Spark SQL), 230 (EMR MR), 239 (inspeksi objek OSS), 257 (EMR Shell), 258 (EMR Spark Shell), 259 (EMR Presto), 260 (EMR Impala), 900 (sinkronisasi real-time), 1002 (node internal PAI), 1089 (kolaborasi lintas-tenant), 1091 (pengembangan Hologres), 1093 (Hologres SQL), 1100 (penugasan), 1106 (for-each), dan 1221 (PyODPS 3). Anda dapat memanggil operasi ListNodes untuk mengkueri tipe node. |
ODPS_SQL |
| PageNumber |
integer |
No |
Nomor halaman. Nilai yang valid: 1 hingga 100. |
1 |
| PageSize |
integer |
No |
Jumlah entri per halaman. Nilai default: 10. Nilai maksimum: 100. |
10 |
| ProjectId |
integer |
Yes |
ID workspace. |
1234 |
| ProjectEnv |
string |
No |
Lingkungan tempat node dijalankan. Nilai yang valid: DEV dan PROD. Nilai default: PROD. |
PROD |
| NodeName |
string |
No |
Nama node tempat node internal berada. |
liux_test_n**** |
| OuterNodeId |
integer |
Yes |
ID grup node tempat node internal berada. |
12345 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Hasil yang dikembalikan. |
||
| RequestId |
string |
ID permintaan. |
E6F0DBDD-5AD**** |
| Success |
boolean |
Menunjukkan apakah permintaan berhasil. |
true |
| Paging |
object |
Informasi paginasi. |
|
| PageNumber |
integer |
Nomor halaman. |
1 |
| PageSize |
integer |
Jumlah entri per halaman. Nilai default: 10. Nilai maksimum: 100. |
10 |
| TotalCount |
integer |
Jumlah total node internal yang dikembalikan. |
100 |
| Nodes |
array<object> |
Daftar node internal. |
|
|
object |
Node internal. |
||
| SchedulerType |
string |
The scheduling type of the inner node. Valid values:
|
NORMAL |
| RepeatInterval |
integer |
The interval at which the inner node is rerun after the inner node fails to run. |
60 |
| Repeatability |
boolean |
Indicates whether the inner node can be rerun. |
true |
| ProjectId |
integer |
The workspace ID. |
123 |
| ProgramType |
string |
The type of the inner node. |
ODPS_SQL |
| Priority |
integer |
The priority of the inner node. Valid values: 1, 3, 5, 7, and 8. |
1 |
| OwnerId |
string |
The owner ID. |
1933****36551 |
| Connection |
string |
The connection string. |
odps_source |
| ParamValues |
string |
The additional parameters. |
a=b |
| DqcType |
string |
Indicates whether the inner node is associated with a monitoring rule in Data Quality. Valid values: 0 and 1. The value 0 indicates that the inner node is associated with a monitoring rule in Data Quality. The value 1 indicates that the inner node is not associated with a monitoring rule in Data Quality. |
1 |
| BaselineId |
integer |
The baseline ID. |
1234 |
| Description |
string |
The description of the inner node. |
test |
| NodeName |
string |
The name of the inner node. |
liux_test_n**** |
| ResGroupName |
string |
The name of the resource group. |
Default Resource Group |
| BusinessId |
integer |
The workflow ID. |
123 |
| DqcDescription |
string |
The table and partition filter expression in Data Quality that are associated with the inner node. |
[{"projectName":"ztjy_dim","tableName":"dim_user_agent_manage_area_a","partition":"ds\u003d$[yyyy-mm-dd-1]"}] |
| CronExpress |
string |
The CRON expression. |
00 00 00 * * ? |
| NodeId |
integer |
The inner node ID. |
12 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "E6F0DBDD-5AD****",
"Success": true,
"Paging": {
"PageNumber": 1,
"PageSize": 10,
"TotalCount": 100,
"Nodes": [
{
"SchedulerType": "NORMAL",
"RepeatInterval": 60,
"Repeatability": true,
"ProjectId": 123,
"ProgramType": "ODPS_SQL",
"Priority": 1,
"OwnerId": "1933****36551",
"Connection": "odps_source",
"ParamValues": "a=b",
"DqcType": "1",
"BaselineId": 1234,
"Description": "test",
"NodeName": "liux_test_n****",
"ResGroupName": "Default Resource Group",
"BusinessId": 123,
"DqcDescription": "[{\"projectName\":\"ztjy_dim\",\"tableName\":\"dim_user_agent_manage_area_a\",\"partition\":\"ds\\u003d$[yyyy-mm-dd-1]\"}]",
"CronExpress": "00 00 00 * * ?",
"NodeId": 12
}
]
}
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.