All Products
Search
Document Center

:ListClusters

Last Updated:Jun 11, 2026

Mengkueri kluster yang terdaftar di DataWorks. Kluster E-MapReduce (EMR) dan kluster Cloudera's Distribution Including Apache Hadoop (CDH) didukung.

Deskripsi operasi

本接口当前处于试用阶段。需要体验的用户可以提出申请,管理员加入试用名单后即可调用。

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

Tidak ada otorisasi untuk operasi ini. Jika Anda mengalami masalah saat menjalankan operasi ini, hubungi dukungan teknis.

Parameter permintaan

Parameter

Type

Required

Description

Example

ClusterType

string

Yes

Tipe kluster. Nilai valid:

  • CDH: Kluster CDH

  • EMR: Kluster EMR.

EMR

PageNumber

integer

No

Nomor halaman. Halaman dimulai dari halaman 1.

1

PageSize

integer

No

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

10

Elemen respons

Element

Type

Description

Example

object

The returned data.

Data

object

The returns data.

PageNumber

integer

The page number.

1

PageSize

integer

The number of entries per page.

10

TotalCount

integer

The total number of entries returned.

100

Clusters

array

List of cluster information.

Cluster

Cluster information

RequestId

string

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

0000-ABCD-E****

Success

boolean

Indicates whether the request was successful. Valid values:

  • true

  • false

true

ErrorCode

string

The error code.

101011005

ErrorMessage

string

The error message.

Invalid.Cluster.ClusterNotFound

HttpStatusCode

integer

The HTTP status code.

200

Contoh

Respons sukses

JSONformat

{
  "Data": {
    "PageNumber": 1,
    "PageSize": 10,
    "TotalCount": 100,
    "Clusters": [
      {
        "ClusterId": 1234,
        "ClusterBizId": "c-d8a7523****"
      }
    ]
  },
  "RequestId": "0000-ABCD-E****",
  "Success": true,
  "ErrorCode": "101011005",
  "ErrorMessage": "Invalid.Cluster.ClusterNotFound",
  "HttpStatusCode": 200
}

Kode kesalahan

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.