Mengkueri rencana penskalaan kluster Database Analitik for MySQL.
Deskripsi operasi
For information about the endpoints of AnalyticDB for MySQL, see Endpoints.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
adb:DescribeElasticPlans |
list |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ElasticPlanName |
string |
No |
Nama rencana penskalaan. Catatan
Jika Anda tidak menentukan parameter ini, semua rencana penskalaan akan dikueri. |
test |
| ResourceGroupName |
string |
No |
Nama kelompok sumber daya. Catatan
|
test |
| Enabled |
boolean |
No |
Apakah akan mengkueri rencana penskalaan yang langsung diaktifkan setelah dibuat. Nilai valid:
|
true |
| PageSize |
integer |
Yes |
Jumlah entri per halaman. |
10 |
| PageNumber |
integer |
Yes |
Nomor halaman. |
1 |
| DBClusterId |
string |
Yes |
ID kluster. Catatan
Anda dapat memanggil operasi DescribeDBClusters untuk mengkueri ID semua kluster Database Analitik for MySQL dalam sebuah wilayah. |
amv-wz9509beptiz**** |
| Type |
string |
No |
Tipe rencana penskalaan. Nilai valid:
|
EXECUTOR |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
PaginationResponse<List> |
||
| TotalCount |
integer |
The total number of entries returned. |
15 |
| PageNumber |
integer |
The page number. |
1 |
| PageSize |
integer |
The number of entries per page. |
10 |
| ElasticPlans |
array<object> |
The queried scaling plans. |
|
|
object |
The queried scaling plan. |
||
| ElasticPlanName |
string |
The name of the scaling plan. |
test |
| Type |
string |
The type of the scaling plan. Valid values:
|
EXECUTOR |
| Enabled |
boolean |
Indicates whether the scaling plan is immediately enabled after the plan is created. Valid values:
|
true |
| ResourceGroupName |
string |
The name of the resource group. Catatan
You can call the DescribeDBResourceGroup operation to query the name of a resource group within a cluster. |
test |
| TargetSize |
string |
The amount of elastic resources after scaling. |
32ACU |
| NextScheduleTime |
string |
The time when the next scheduling is performed. Catatan
The time is in the yyyy-MM-ddTHH:mm:ssZ format. |
2022-01-01T12:01:00Z |
| AutoScale |
boolean |
Indicates whether Proportional Default Scaling for EIUs is enabled. Valid values:
|
false |
| RequestId |
string |
The request ID. |
A5C433C2-001F-58E3-99F5-3274C14DF8BD |
Contoh
Respons sukses
JSONformat
{
"TotalCount": 15,
"PageNumber": 1,
"PageSize": 10,
"ElasticPlans": [
{
"ElasticPlanName": "test",
"Type": "EXECUTOR",
"Enabled": true,
"ResourceGroupName": "test",
"TargetSize": "32ACU",
"NextScheduleTime": "2022-01-01T12:01:00Z",
"AutoScale": false
}
],
"RequestId": "A5C433C2-001F-58E3-99F5-3274C14DF8BD"
}
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.