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
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
adb:DescribeElasticPlan |
get |
DBCluster
|
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.
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 |
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.
|
0 |
| Enable |
boolean |
Indicates whether the scaling plan takes effect. Valid values:
|
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 |
| ElasticPlanWorkerSpec |
string |
The resource specifications that can be scaled up by the scaling plan. Valid values:
|
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.