Memodifikasi parameter kluster PolarDB atau menerapkan template parameter yang ada ke kluster target.
Deskripsi operasi
Fitur template parameter di PolarDB memungkinkan Anda mengelola parameter secara terpusat dan menerapkannya ke kluster Anda. Untuk informasi selengkapnya, lihat Use parameter templates.
Fitur template parameter hanya tersedia untuk PolarDB for MySQL.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:ModifyDBClusterParameters |
update |
*dbcluster
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| DBClusterId |
string |
Yes |
ID kluster. Catatan
Panggil operasi DescribeDBClusters untuk melihat informasi tentang semua kluster di Wilayah tujuan, termasuk ID kluster. |
pc-************** |
| Parameters |
string |
No |
String JSON yang terdiri dari parameter dan nilai-nilainya. Nilai parameter harus berupa string. Contoh: Catatan
|
{"wait_timeout":"86","innodb_old_blocks_time":"10"} |
| ParameterGroupId |
string |
No |
ID template parameter. Catatan
|
pcpg-************** |
| PlannedStartTime |
string |
No |
Waktu paling awal untuk memulai Tugas terjadwal. Tentukan waktu dalam format Catatan
|
2022-04-28T14:00:00Z |
| PlannedEndTime |
string |
No |
Waktu paling akhir untuk memulai Tugas terjadwal. Tentukan waktu dalam format Catatan
|
2022-04-28T14:30:00Z |
| FromTimeService |
boolean |
No |
Menentukan apakah parameter akan langsung dimodifikasi dan kluster direstart. Nilai yang valid:
|
false |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
C5D526E5-91B5-48B8-B980-FE07FF****** |
Contoh
Respons sukses
JSONformat
{
"RequestId": "C5D526E5-91B5-48B8-B980-FE07FF******"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameters.Format | Specified parameters is not valid. | |
| 400 | MinorVersionNotSupport | Custins minor version does not support current action. | |
| 400 | ParamDynamicException | Conflicting parameters: %s | |
| 400 | InvalidParameters.Malformed | The Specified parameters is not valid. | |
| 400 | InvalidParameter.Malformed | Choose one of parameters and ParamGroupId. | |
| 404 | InvalidDBClusterId.NotFound | The DBClusterId 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.