Memodifikasi mode high-availability dari sebuah cluster.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:ModifyDBClusterArch |
none |
*全部资源
|
None | None |
Sintaks permintaan
POST HTTP/1.1
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| DBClusterId |
string |
No |
ID cluster. |
pc-**************** |
| HotStandbyCluster |
string |
No |
Menentukan apakah akan mengaktifkan hot standby cluster. Nilai yang valid:
|
on |
| RegionId |
string |
No |
ID region. Catatan
Untuk informasi lebih lanjut, lihat DescribeRegions. |
cn-beijing |
| StandbyAZ |
string |
No |
Zona untuk hot standby storage cluster. Nilai yang valid:
Catatan
Nilai default hanya valid ketika `HotStandbyCluster` diatur ke `on`. Zona spesifik diperlukan ketika `HotStandbyCluster` diatur ke `equal`. Untuk informasi lebih lanjut tentang zona, lihat DescribeZones. |
cn-beijing-i |
| AutoUseCoupon |
boolean |
No |
||
| PromotionCode |
string |
No |
727xxxxxx934 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Badan respons. |
||
| RequestId |
string |
ID permintaan. |
6A2EE5B4-CC9F-46E1-A747-E43BC9****** |
| DBClusterId |
string |
ID cluster. |
pc-************** |
| OrderId |
string |
ID pesanan. |
2148126708***** |
Contoh
Respons sukses
JSONformat
{
"RequestId": "6A2EE5B4-CC9F-46E1-A747-E43BC9******",
"DBClusterId": "pc-**************",
"OrderId": "2148126708*****"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.