Memodifikasi konfigurasi sebuah node secara sementara.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:TempModifyDBNode |
update |
*DBCluster
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ClientToken |
string |
No |
Token client untuk memastikan idempotensi permintaan. Hasilkan token unik untuk setiap permintaan. Token bersifat case-sensitive dan dapat memiliki panjang hingga 64 karakter ASCII. |
6000170000591aed949d0f5******************** |
| DBClusterId |
string |
Yes |
ID kluster. |
pc-xxxxxxxxxx |
| OperationType |
string |
Yes |
Jenis operasi. Nilai yang valid:
|
Modify |
| ModifyType |
string |
Yes |
Jenis modifikasi. Nilainya tetap TempUpgrade. |
TempUpgrade |
| DBNode |
array<object> |
Yes |
Informasi mengenai node yang akan di-upgrade atau ditambahkan. |
|
|
object |
No |
|||
| TargetClass |
string |
No |
Spesifikasi node yang akan di-upgrade atau ditambahkan. Catatan
|
polar.mysql.x4.medium |
| ZoneId |
string |
No |
Zona untuk node baru. Zona tersebut harus sama dengan zona node yang sudah ada. |
cn-hangzhou-i |
| RestoreTime |
string |
Yes |
Waktu untuk mengembalikan upgrade sementara. Formatnya adalah YYYY-MM-DD hh:mm:ss. Catatan
Waktu pengembalian harus setidaknya 1 jam lebih lambat dari waktu saat ini. Waktu tersebut juga harus setidaknya 1 hari sebelum kluster kedaluwarsa. |
2021-09-23 18:16:00 |
| AutoUseCoupon |
boolean |
No |
||
| PromotionCode |
string |
No |
727xxxxxx934 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| DBClusterId |
string |
ID kluster. |
pc-xxxxxxxxxxxxxxxxx |
| DBNodeIds |
array |
Daftar node. |
|
|
string |
Daftar node. Catatan
Parameter ini hanya dikembalikan ketika OperationType diatur ke Add. Jika OperationType diatur ke Modify, nilai kosong akan dikembalikan. |
pi-*************** |
|
| OrderId |
string |
ID pesanan. |
2035638******* |
| RequestId |
string |
ID permintaan. |
69A85BAF-1089-4CDF-A82F-0A140F****** |
Contoh
Respons sukses
JSONformat
{
"DBClusterId": "pc-xxxxxxxxxxxxxxxxx",
"DBNodeIds": [
"pi-***************"
],
"OrderId": "2035638*******",
"RequestId": "69A85BAF-1089-4CDF-A82F-0A140F******"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidDBType.Malformed | The Specified DBType is not valid. | |
| 400 | InvalidDBNodeNum.Malformed | The number of parameter DBNode.N is not valid. | |
| 400 | InvalidDBNode.Malformed | The specified parameter DBNode.N is not valid. | |
| 400 | InvalidModifyType.Malformed | The specified parameter ModifyType is not valid. | |
| 400 | InvalidZoneId.Malformed | The specified parameter ZoneId is not valid. | |
| 400 | InvalidDBNodeClass.Malformed | The specified parameter DBNodeClass is not valid. | |
| 403 | OperationDenied.TempAddNodeDuring | This operation is not allowed during the temporary add node of the cluster. | |
| 404 | InvalidDBCluster.NotFound | The specified DBClusterId is not found. | |
| 404 | InvalidDBClusterId.Malformed | The specified parameter DBClusterId is not valid. | |
| 404 | InvalidRestoreTimeExceedsExpirationTime.Malformed | The RestoreTime cannot be later than 1 day before the cluster ExpirationTime. | |
| 404 | InvalidCurrentTimeExceedsRestoreTime.Malformed | The RestoreTime cannot be 1 hour later than the CurrentTime. | |
| 404 | InvalidRestoreTime.Malformed | The specified RestoreTime is not valid. | |
| 404 | InvalidOperationType.Malformed | The specified OperationType is not valid. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.