All Products
Search
Document Center

AnalyticDB:DescribeElasticPlan

Last Updated:Jun 11, 2026

Mengkueri rencana penskalaan kluster Database Analitik for MySQL. Operasi ini hanya dapat digunakan untuk kluster Database Analitik for MySQL dalam mode elastis untuk Edisi Kluster.

Deskripsi operasi

You can call this operation only for AnalyticDB for MySQL Data Warehouse Edition (V3.0) clusters in elastic mode for Cluster Edition that have 32 cores or more.

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

adb:DescribeElasticPlan

get

DBCluster

acs:adb:{#regionId}:{#accountId}:dbcluster/{#DBClusterId}

None None

Parameter permintaan

Parameter

Type

Required

Description

Example

DBClusterId

string

Yes

ID kluster Database Analitik for MySQL Edisi Gudang Data (V3.0).

Catatan

Anda dapat memanggil operasi DescribeDBClusters untuk mengkueri ID semua kluster Database Analitik for MySQL Edisi Gudang Data (V3.0) dalam suatu wilayah.

am-bp278jg9****

ElasticPlanName

string

No

Nama rencana penskalaan.

  • Panjang nama harus 2 hingga 30 karakter.

  • Nama dapat berisi huruf, angka, dan garis bawah (_).

Catatan

Jika Anda tidak menentukan parameter ini, informasi tentang semua rencana penskalaan untuk kluster yang ditentukan akan dikembalikan.

realtime

ResourcePoolName

string

No

Nama kelompok sumber daya.

Catatan

Anda dapat memanggil operasi DescribeDBResourceGroup untuk mengkueri nama kelompok sumber daya.

USER_DEFAULT

ElasticPlanEnable

boolean

No

Apakah rencana penskalaan berlaku. Nilai valid:

  • true (default)

  • false.

true

Elemen respons

Element

Type

Description

Example

object

RequestId

string

The request ID.

1AD222E9-E606-4A42-BF6D-8A4442913CEF

ElasticPlanList

array<object>

The queried scaling plans.

object

EndTime

string

The restoration time of the scaling plan. The interval between the scale-up time and the restoration time cannot be more than 24 hours. The time is in the HH:mm:ss format.

10:00:00

WeeklyRepeat

string

The days of the week when the scaling plan was executed. Valid values: 0 to 6, which indicate Sunday to Saturday. Multiple values are separated by commas (,).

3,4,5,6

MonthlyRepeat

string

The days of the month when the scaling plan was executed. A value indicates a day of the month. Multiple values are separated by commas (,).

1,15,25

StartTime

string

The scale-up time of the scaling plan. The time is in the HH:mm:ss format.

08:00:00

ResourcePoolName

string

The name of the resource group.

USER_DEFAULT

StartDay

string

The start date of the scaling plan. This parameter is returned only if the start date of the scaling plan is set. The date is in the yyyy-MM-dd format.

2022-12-02

ElasticNodeNum

integer

The number of nodes that are involved in the scaling plan.

  • If ElasticPlanType is set to worker, a value of 0 or null is returned.

  • If ElasticPlanType is set to executorcombineworker or executor, a value greater than 0 is returned.

0

Enable

boolean

Indicates whether the scaling plan takes effect. Valid values:

  • true (default)

  • false

true

EndDay

string

The end date of the scaling plan. This parameter is returned only if the end date of the scaling plan is set. The date is in the yyyy-MM-dd format.

2022-12-09

PlanName

string

The name of the scaling plan.

realtime

ElasticPlanType

string

The type of the scaling plan. Valid values:

  • worker: scales only elastic I/O resources.

  • executor: scales only computing resources.

  • executorcombineworker (default): scales both elastic I/O resources and computing resources by proportion.

worker

ElasticPlanWorkerSpec

string

The resource specifications that can be scaled up by the scaling plan. Valid values:

  • 8 Core 64 GB (default)

  • 16 Core 64 GB

  • 32 Core 64 GB

  • 64 Core 128 GB

  • 12 Core 96 GB

  • 24 Core 96 GB

  • 52 Core 86 GB

16 Core 64 GB

Contoh

Respons sukses

JSONformat

{
  "RequestId": "1AD222E9-E606-4A42-BF6D-8A4442913CEF",
  "ElasticPlanList": [
    {
      "EndTime": "10:00:00",
      "WeeklyRepeat": "3,4,5,6",
      "MonthlyRepeat": "1,15,25",
      "StartTime": "08:00:00",
      "ResourcePoolName": "USER_DEFAULT",
      "StartDay": "2022-12-02",
      "ElasticNodeNum": 0,
      "Enable": true,
      "EndDay": "2022-12-09",
      "PlanName": "realtime",
      "ElasticPlanType": "worker",
      "ElasticPlanWorkerSpec": "16 Core 64 GB"
    }
  ]
}

Kode kesalahan

HTTP status code

Error code

Error message

Description

404 InvalidDBCluster.NotFound The DBClusterId provided does not exist in our records.

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.