Mengkueri daftar instans.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dataworks:* |
get |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ProjectEnv |
string |
Yes |
Jenis lingkungan Pusat Operasi. Nilai valid: PROD dan DEV. Nilai PROD menunjukkan lingkungan produksi, dan nilai DEV menunjukkan lingkungan pengembangan. |
PROD |
| NodeId |
integer |
Yes |
ID node. Anda dapat membuka halaman Pusat Operasi di Konsol DataWorks untuk mengkueri ID node. |
123456878 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
| RequestId |
string |
The request ID. You can use the ID to troubleshoot issues. |
adsfasdf-adf-asdf-asdf-asdfadfasdd |
| ErrorMessage |
string |
The error message. |
err |
| ErrorCode |
string |
The error code. |
1060010000000 |
| Success |
boolean |
Indicates whether the request was successful. |
true |
| Data |
object |
The information about the descendant nodes. |
|
| Nodes |
array<object> |
The descendant nodes. |
|
|
object |
The descendant node. |
||
| SchedulerType |
string |
The scheduling type of the node. Valid values:
|
NORMAL |
| BaselineId |
integer |
The baseline ID. |
12345656 |
| Repeatability |
boolean |
Indicates whether the node can be rerun if the node fails to run. Valid values:
|
true |
| NodeName |
string |
The name of the node. |
test_Node |
| ProjectId |
integer |
The ID of the workspace to which the node belongs. |
12315412412 |
| ProgramType |
string |
The type of the node. |
ODPS_SQL |
| Priority |
integer |
The priority. Valid values: 1 to 8. A large value indicates a high priority. |
3 |
| OwnerId |
string |
The ID of the Alibaba Cloud account used by the node owner. |
123124561341251321 |
| CronExpress |
string |
The CRON expression. CRON expressions are used to run auto triggered nodes. |
00 00 * * * * |
| NodeId |
integer |
The node ID. |
1244564565 |
| StepType |
string |
The scheduling dependency type. Valid values:
|
0 |
Contoh
Respons sukses
JSONformat
{
"HttpStatusCode": 200,
"RequestId": "adsfasdf-adf-asdf-asdf-asdfadfasdd",
"ErrorMessage": "err",
"ErrorCode": "1060010000000",
"Success": true,
"Data": {
"Nodes": [
{
"SchedulerType": "NORMAL",
"BaselineId": 12345656,
"Repeatability": true,
"NodeName": "test_Node",
"ProjectId": 12315412412,
"ProgramType": "ODPS_SQL",
"Priority": 3,
"OwnerId": "123124561341251321",
"CronExpress": "00 00 * * * * ",
"NodeId": 1244564565,
"StepType": "0"
}
]
}
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.