Mengubah spesifikasi node kluster PolarDB.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:ModifyDBNodeClass |
update |
*DBCluster
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| DBClusterId |
string |
Yes |
ID kluster. |
pc-************* |
| ModifyType |
string |
Yes |
Jenis perubahan. Nilai yang valid:
|
Upgrade |
| DBNodeTargetClass |
string |
Yes |
Spesifikasi target untuk semua node. Untuk informasi selengkapnya, lihat Compute node specifications. |
polar.mysql.x4.large |
| ClientToken |
string |
No |
Token client untuk memastikan idempotensi permintaan. Nilai ini dihasilkan oleh client dan harus unik untuk setiap permintaan. Token bersifat case-sensitive dan tidak boleh melebihi 64 karakter ASCII. |
6000170000591aed949d0f54a343f1a4233c1e7d1c5c****** |
| PlannedStartTime |
string |
No |
Waktu paling awal untuk memulai tugas peningkatan atau penurunan 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 |
| SubCategory |
string |
No |
Subkategori kluster. Nilai yang valid:
Parameter ini wajib diisi jika Anda mengubah spesifikasi antara Dedicated dan General-purpose. |
normal_general |
| DBNodeType |
string |
No |
Tipe node. Parameter ini wajib diisi dan harus diatur ke DLNode hanya ketika Anda mengubah spesifikasi node AI. Valid values:
|
DLNode |
| PlannedFlashingOffTime |
string |
No |
||
| CloudProvider |
string |
No |
ENS |
|
| AutoUseCoupon |
boolean |
No |
||
| PromotionCode |
string |
No |
727xxxxxx934 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
685F028C-4FCD-407D-A559-072D63****** |
| DBClusterId |
string |
ID kluster database. |
pc-************* |
| OrderId |
string |
ID pesanan. |
2035629****** |
Contoh
Respons sukses
JSONformat
{
"RequestId": "685F028C-4FCD-407D-A559-072D63******",
"DBClusterId": "pc-*************",
"OrderId": "2035629******"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ORDER.ARREARAGE | 您有欠费账单,不符合购买条件,请先结清账单后再购买 | |
| 400 | InsufficientResourceCapacity | The resource is insufficient. | |
| 400 | InvalidModifyType.Malformed | The specified parameter ModifyType is not valid. | |
| 403 | OperationDenied.RoEqualSpec | must exist at least ro class equal with rw | |
| 403 | OperationDenied.DBClusterStatus | The operation is not permitted due to status of cluster. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.