All Products
Search
Document Center

:ListNodes

Last Updated:Jun 11, 2026

ID ruang kerja.

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:*

list

*All Resource

*

None None

Parameter permintaan

Parameter

Type

Required

Description

Example

Owner

string

No

Deskripsi node.

193379****

BizName

string

No

Kode kesalahan yang dikembalikan.

test_bizName

ProgramType

string

No

Operasi yang ingin Anda lakukan. Tetapkan nilai ke ListNodes.

ODPS_SQL

PageNumber

integer

No

Nomor halaman. Nilai minimum: 1. Nilai maksimum: 100.

1

PageSize

integer

No

Jumlah entri per halaman. Nilai default: 10. Nilai maksimum: 100.

10

ProjectId

integer

Yes

ID pemilik.

1234

ProjectEnv

string

Yes

Lingkungan tempat node berjalan. Nilai valid: DEV dan PROD.

PROD

NodeName

string

No

ID garis dasar yang terkait dengan node.

liux_test_n****

SchedulerType

string

No

Tipe penjadwalan. Nilai valid:

  • NORMAL: Node dijadwalkan sesuai harapan.

  • PAUSE: Node dijeda.

  • SKIP: Node dijalankan sebagai dry-run. Node dry-run dimulai sesuai jadwal, tetapi sistem mengatur status node menjadi berhasil saat mulai menjalankannya.

NORMAL

Elemen respons

Element

Type

Description

Example

object

The returned result.

HttpStatusCode

integer

The interval at which the node is rerun after the node fails to run.

200

RequestId

string

The list of nodes.

E6F0DBDD-5AD****

ErrorMessage

string

The page number of the returned page.

The connection does not exist.

ErrorCode

string

The HTTP status code returned.

Invalid.Tenant.ConnectionNotExists

Success

boolean

Indicates whether the node can be rerun.

true

Data

object

The nodes.

PageNumber

integer

The name of the node.

1

PageSize

integer

The cron expression returned.

10

TotalCount

integer

The name of the workflow.

66

Nodes

array<object>

The information about the nodes.

object

The returned result.

SchedulerType

string

The types of the nodes. You can call the ListNodes operation to query the type of the node.

NORMAL

RepeatInterval

integer

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

60

Repeatability

boolean

The name of the node.

true

RepeatMode

integer

The rerun mode. The value 0 indicates that rerun can be performed only if a failure occurs. The value 1 indicates that rerun can be performed in all cases. The value 2 indicates that rerun cannot be performed in all cases.

1

ProjectId

integer

The information about the nodes.

33671

ProgramType

string

The error message returned.

ODPS_SQL

Priority

integer

The ID of the owner.

1

OwnerId

string

The additional parameters.

19337906836551

Connection

string

The name of the resource group.

odps_source

ParamValues

string

The type of the node.

a=b

RelatedFlowId

integer

The table and partition filter expression in Data Quality that are associated with the node.

1231123

DqcType

integer

The connection string.

1

BaselineId

integer

The number of the page to return. Minimum value: 1. Maximum value: 100.

123456

Description

string

The priority for running the node. Valid values: 1, 3, 5, 7, and 8.

test

NodeName

string

The total number of nodes returned.

liux_test_n****

ResGroupName

string

The ID of the workflow.

默认资源组

BusinessId

integer

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

123

DqcDescription

string

The ID of the owner.

[{"projectName":"ztjy_dim","tableName":"dim_user_agent_manage_area_a","partition":"ds\u003d$[yyyy-mm-dd-1]"}]

CronExpress

string

The name of the workflow.

00 00 00 * * ?

NodeId

integer

The types of the nodes. You can call the ListNodes operation to query the type of the node.

1234

ResGroupIdentifier

string

The identifier of the resource group.

group_123

FileType

integer

Different file types have different codes. For more information, see DataWorks node collection. You can also call the ListFileType interface to query the code type of the file.

10

FileId

integer

The file ID. You can call the ListFiles operation to query the ID.

**

Warning This field is deprecated.

20

FileVersion

integer

The latest version number of the file.

3

DeployDate

integer

The timestamp when the node was deployed. Unit: milliseconds.

1734537600000

CreateTime

integer

The timestamp when the node was created. Unit: milliseconds.

1593879116000

ModifyTime

integer

The timestamp when the node was modified. Unit: milliseconds.

1593879116000

Contoh

Respons sukses

JSONformat

{
  "HttpStatusCode": 200,
  "RequestId": "E6F0DBDD-5AD****",
  "ErrorMessage": "The connection does not exist.",
  "ErrorCode": "Invalid.Tenant.ConnectionNotExists",
  "Success": true,
  "Data": {
    "PageNumber": 1,
    "PageSize": 10,
    "TotalCount": 66,
    "Nodes": [
      {
        "SchedulerType": "NORMAL",
        "RepeatInterval": 60,
        "Repeatability": true,
        "RepeatMode": 1,
        "ProjectId": 33671,
        "ProgramType": "ODPS_SQL",
        "Priority": 1,
        "OwnerId": "19337906836551",
        "Connection": "odps_source",
        "ParamValues": "a=b",
        "RelatedFlowId": 1231123,
        "DqcType": 1,
        "BaselineId": 123456,
        "Description": "test",
        "NodeName": "liux_test_n****",
        "ResGroupName": "默认资源组",
        "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": 1234,
        "ResGroupIdentifier": "group_123",
        "FileType": 10,
        "FileId": 20,
        "FileVersion": 3,
        "DeployDate": 1734537600000,
        "CreateTime": 1593879116000,
        "ModifyTime": 1593879116000
      }
    ]
  }
}

Kode kesalahan

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.