Mengaktifkan rencana penskalaan untuk kluster AnalyticDB for MySQL.
Deskripsi operasi
Untuk informasi mengenai titik akhir AnalyticDB for MySQL, lihat Endpoints.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
adb:EnableElasticPlan |
update |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ElasticPlanName |
string |
Yes |
Nama rencana penskalaan. Catatan
Anda dapat memanggil operasi DescribeElasticPlans untuk menanyakan nama-nama rencana penskalaan. |
test |
| DBClusterId |
string |
Yes |
ID kluster. Catatan
Anda dapat memanggil operasi DescribeDBClusters untuk menanyakan ID semua kluster AnalyticDB for MySQL dalam suatu wilayah. |
amv-wz9509beptiz**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Parameter respons. |
||
| RequestId |
string |
ID permintaan. |
A5C433C2-001F-58E3-99F5-3274C14DF8BD |
Contoh
Respons sukses
JSONformat
{
"RequestId": "A5C433C2-001F-58E3-99F5-3274C14DF8BD"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ACS.ElasticPlan.AutoWorkerPlanExists | Failed to enable the elastic plan. The instance already has an active elastic plan. | |
| 400 | ACS.ElasticPlan.WorkerPlanExists | Failed to enable the elastic plan. At least one active elastic plan already exists. | |
| 400 | ACS.ElasticPlan.InvalidStartTimeInterval | The start time of this elastic plan is too closed to another one. | |
| 400 | ACS.ElasticPlan.InvalidEndTime | The end time should be later than current time. | |
| 400 | ACS.ElasticPlan.InvalidTodayPlan | Failed to enable this elastic plan. Today's schedule time is missed and you should prepare at least %s minutes for us to prepare resource. | |
| 400 | ACS.ElasticPlan.InvalidTargetSize | Invalid target size. | |
| 400 | ACS.ElasticPlan.InvalidStartTime | Invalid start time. | |
| 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.