All Products
Search
Document Center

:GetNode

Last Updated:Jun 11, 2026

Apakah permintaan berhasil.

Coba sekarang

Coba API ini di OpenAPI Explorer tanpa perlu penandatanganan manual. Panggilan yang berhasil akan secara otomatis menghasilkan contoh kode SDK sesuai dengan parameter Anda. Unduh kode tersebut dengan kredensial bawaan yang aman untuk penggunaan lokal.

Test

RAM authorization

Tabel berikut menjelaskan otorisasi yang diperlukan untuk memanggil API ini. Anda dapat menentukannya dalam kebijakan Resource Access Management (RAM). Kolom pada tabel dijelaskan sebagai berikut:

  • Action: Aksi yang dapat digunakan dalam elemen Action pada pernyataan kebijakan izin RAM untuk memberikan izin guna melakukan operasi tersebut.

  • API: API yang dapat Anda panggil untuk melakukan aksi tersebut.

  • Access level: Tingkat akses yang telah ditentukan untuk setiap API. Nilai yang valid: create, list, get, update, dan delete.

  • Resource type: Jenis resource yang mendukung otorisasi untuk melakukan aksi tersebut. Ini menunjukkan apakah aksi tersebut mendukung izin tingkat resource. Resource yang ditentukan harus kompatibel dengan aksi tersebut. Jika tidak, kebijakan tersebut tidak akan berlaku.

    • Untuk API dengan izin tingkat resource, jenis resource yang diperlukan ditandai dengan tanda bintang (*). Tentukan Nama Sumber Daya Alibaba Cloud (ARN) yang sesuai dalam elemen Resource pada kebijakan.

    • Untuk API tanpa izin tingkat resource, ditampilkan sebagai All Resources. Gunakan tanda bintang (*) dalam elemen Resource pada kebijakan.

  • Condition key: Kunci kondisi yang didefinisikan oleh layanan. Kunci ini memungkinkan kontrol granular, berlaku baik hanya untuk aksi maupun untuk aksi yang terkait dengan resource tertentu. Selain kunci kondisi spesifik layanan, Alibaba Cloud menyediakan serangkaian common condition keys yang berlaku di semua layanan yang didukung RAM.

  • Dependent action: Aksi dependen yang diperlukan untuk menjalankan aksi tersebut. Untuk menyelesaikan aksi tersebut, pengguna RAM atau role RAM harus memiliki izin untuk melakukan semua aksi dependen.

Action

Access level

Resource type

Condition key

Dependent action

dataworks:*

get

*All Resource

*

None None

Parameter permintaan

Parameter

Type

Required

Description

Example

NodeId

integer

Yes

Interval saat node dijalankan ulang setelah node gagal dijalankan.

1234

ProjectEnv

string

Yes

Lingkungan ruang kerja. Nilai valid: PROD dan DEV.

PROD

Elemen respons

Element

Type

Description

Example

object

The response parameters.

HttpStatusCode

integer

The operation that you want to perform. Set the value to GetNode.

200

RequestId

string

Other parameters.

E6F0DBDD-5AD****

ErrorMessage

string

The connection string.

The connection does not exist.

ErrorCode

string

The ID of the node. You can call the ListNodes operation to query the node ID.

Invalid.Tenant.ConnectionNotExists

Success

boolean

The ID of the workflow.

true

Data

object

The details of the node.

SchedulerType

string

The ID of the workspace.

NORMAL

RepeatInterval

integer

The ID of the workflow to which the node belongs.

60

Repeatability

string

The type of the node.

true

RepeatMode

integer

Rerun mode. 0 indicates that you can rerun only if you fail, 1 indicates that you can rerun in all cases, and 2 indicates that you cannot rerun in all cases.

1

ProjectId

integer

Indicates whether the node can be rerun.

1234

ProgramType

string

The ID of the owner of the node.

ODPS_SQL

Priority

integer

The HTTP status code returned.

1

OwnerId

string

The ID of the node.

17366294****

Connection

string

The environment of the workspace. Valid values: PROD and DEV.

odps_source_dev

ParamValues

string

The CRON expression returned.

a=b

RelatedFlowId

integer

Indicates whether the node is associated with Data Quality. Valid values: 0 and 1. A value of 0 indicates that the node is associated with Data Quality. A value of 1 indicates that the node is not associated with Data Quality.

123

DqcType

integer

The error message returned.

1

BaselineId

integer

The description of the node.

123456

Description

string

The name of the resource group.

test

NodeName

string

The scheduling type of the node. Valid values:

  • NORMAL: The node is an auto triggered node.

  • MANUAL: The node is a manually triggered node. Manually triggered nodes cannot be automatically triggered.

  • PAUSE: The node is a paused node.

  • SKIP: The node is a dry-run node. Dry-run nodes are started as scheduled but the system sets the status of the nodes to successful when it starts to run them.

sql节点

ResGroupName

string

The ID of the request. You can use the ID to locate logs and troubleshoot issues.

默认资源组

BusinessId

integer

The operation that you want to perform. Set the value to GetNode.

123

DqcDescription

string

The ID of the node. You can call the ListNodes operation to query the node ID.

[{"projectName":"test_0923001","tableName":"test_table_001","partition":"ds\u003d$[yyyymmdd]"},{"projectName":"test_0923001","tableName":"test_table_002","partition":"NOTAPARTITIONTABLE"}]

CronExpress

string

The environment of the workspace. Valid values: PROD and DEV.

00 00 00 * * ?

NodeId

integer

The HTTP status code returned.

1234

ResGroupIdentifier

string

The unique identifier of the resource group.

group_123

FileType

integer

The file type. Different file types have different codes. For more information, see DataWorks node collection.

10

FileId

integer

The file ID.

**

Warning The field is deprecated.

123

FileVersion

integer

The version of the file.

1

DeployDate

integer

The deployment date.

1727280000000

CreateTime

integer

The creation time.

1727280000000

ModifyTime

integer

The modification time.

1727280000000

Contoh

Respons sukses

JSONformat

{
  "HttpStatusCode": 200,
  "RequestId": "E6F0DBDD-5AD****",
  "ErrorMessage": "The connection does not exist.",
  "ErrorCode": "Invalid.Tenant.ConnectionNotExists",
  "Success": true,
  "Data": {
    "SchedulerType": "NORMAL",
    "RepeatInterval": 60,
    "Repeatability": "true",
    "RepeatMode": 1,
    "ProjectId": 1234,
    "ProgramType": "ODPS_SQL",
    "Priority": 1,
    "OwnerId": "17366294****",
    "Connection": "odps_source_dev",
    "ParamValues": "a=b",
    "RelatedFlowId": 123,
    "DqcType": 1,
    "BaselineId": 123456,
    "Description": "test",
    "NodeName": "sql节点",
    "ResGroupName": "默认资源组",
    "BusinessId": 123,
    "DqcDescription": "[{\"projectName\":\"test_0923001\",\"tableName\":\"test_table_001\",\"partition\":\"ds\\u003d$[yyyymmdd]\"},{\"projectName\":\"test_0923001\",\"tableName\":\"test_table_002\",\"partition\":\"NOTAPARTITIONTABLE\"}]",
    "CronExpress": "00 00 00 * * ?",
    "NodeId": 1234,
    "ResGroupIdentifier": "group_123",
    "FileType": 10,
    "FileId": 123,
    "FileVersion": 1,
    "DeployDate": 1727280000000,
    "CreateTime": 1727280000000,
    "ModifyTime": 1727280000000
  }
}

Kode kesalahan

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.