Memodifikasi parameter cluster dan menerapkannya ke node yang ditentukan.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:ModifyDBClusterAndNodesParameters |
update |
*DBCluster
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| DBClusterId |
string |
Yes |
ID cluster. |
pc-********** |
| DBNodeIds |
string |
No |
ID node. Dengan mengatur parameter ini, Anda dapat memodifikasi parameter cluster dan node yang ditentukan. Pisahkan beberapa ID node dengan koma (,). Catatan
Jika parameter ini tidak ditentukan, hanya parameter cluster yang dimodifikasi. |
pi-**********,pi-********** |
| Parameters |
string |
No |
String JSON yang terdiri dari parameter dan nilainya. |
{"wait_timeout":"86","innodb_old_blocks_time":"10"} |
| ParameterGroupId |
string |
No |
ID template parameter. |
pcpg-********** |
| PlannedStartTime |
string |
No |
Waktu paling awal untuk memulai tugas terjadwal. Tentukan waktu dalam format Catatan
|
2021-01-14T09:00:00Z |
| PlannedEndTime |
string |
No |
Waktu paling akhir untuk memulai tugas terjadwal. Tentukan waktu dalam format Catatan
|
2021-01-14T09:30:00Z |
| FromTimeService |
boolean |
No |
Menentukan apakah akan memodifikasi parameter dan memulai ulang cluster segera atau sesuai jadwal. Nilai yang valid:
|
false |
| ClearBinlog |
boolean |
No |
Menentukan apakah akan menghapus binlog. Parameter ini hanya valid ketika binlog dinonaktifkan. |
|
| StandbyClusterIdListNeedToSync |
string |
No |
Daftar cluster standby GDN tempat Anda ingin menyinkronkan pengaturan parameter. |
gdn-**********,gdn-********** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
9B7BFB11-C077-4FE3-B051-F69CEB****** |
Contoh
Respons sukses
JSONformat
{
"RequestId": "9B7BFB11-C077-4FE3-B051-F69CEB******"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameters.Format | Specified parameters is not valid. | |
| 400 | InvalidDBType.Malformed | The Specified DBType is not valid. | |
| 400 | ParamCollationServerNotValid | This param collation_server is not valid. | |
| 400 | MinorVersionNotSupport | Custins minor version does not support current action. | |
| 400 | ScheduleTaskExist | The specified dbCluster already has a scheduled task. | |
| 400 | ParamTypeException | Param is isClusterAvailable, not allow to change alone | |
| 400 | ParamDynamicException | Conflicting parameters: %s | |
| 400 | InvalidParameterGroupId.Malformed | The Specified parameter ParameterGroupId is not valid. | |
| 400 | InvalidParameters.Malformed | The Specified parameters is not valid. | |
| 400 | InvalidParameter.Malformed | Choose one of parameters and ParamGroupId. | |
| 404 | InvalidDBCluster.NotFound | The specified DBClusterId is not found. | |
| 404 | InvalidDBClusterId.NotFound | The DBClusterId provided does not exist in our records. | |
| 404 | InvalidDBNodeId.NotFound | The DBNodeId provided does not exist in our records. | |
| 404 | InvalidDBClusterId.Malformed | The specified parameter DBClusterId is not valid. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.