Memodifikasi dan menerapkan parameter dari satu atau beberapa node.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:ModifyDBNodesParameters |
update |
*DBCluster
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| DBClusterId |
string |
Yes |
ID cluster. |
pc-************** |
| DBNodeIds |
string |
Yes |
ID dari node. Untuk menentukan beberapa ID node, pisahkan ID dengan tanda koma (,). |
pi-****************, pi-**************** |
| Parameters |
string |
No |
String JSON yang berisi parameter dan nilainya. |
{"wait_timeout":"86","innodb_old_blocks_time":"10"} |
| ParameterGroupId |
string |
No |
ID dari template parameter. |
pcpg-************** |
| PlannedStartTime |
string |
No |
Waktu paling awal untuk memulai tugas terjadwal. Waktu harus dalam format `YYYY-MM-DDThh:mm:ssZ` dan dalam UTC. |
2022-04-28T14:00:00Z |
| PlannedEndTime |
string |
No |
Waktu paling akhir untuk memulai tugas terjadwal. Waktu harus dalam format `YYYY-MM-DDThh:mm:ssZ` dan dalam UTC. |
2022-04-28T14:30:00Z |
| FromTimeService |
boolean |
No |
Menentukan apakah akan menerapkan modifikasi parameter dan memulai ulang node. Nilai yang valid: `false` (default): Menjadwalkan tugas. `true`: Menjalankan tugas segera. |
false |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID dari permintaan. |
EBEAA83D-1734-42E3-85E3-E25F6E****** |
Contoh
Respons sukses
JSONformat
{
"RequestId": "EBEAA83D-1734-42E3-85E3-E25F6E******"
}
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 | InvalidDBNodeId.Malformed | The specified parameter DBNodeId is not valid. | |
| 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.Malformed | The specified parameter DBClusterId is not valid. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.