Menambahkan satu atau beberapa node read-only ke kluster PolarDB.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:CreateDBNodes |
create |
*dbcluster
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ResourceGroupId |
string |
No |
ID kelompok sumber daya. |
rg-************ |
| DBClusterId |
string |
Yes |
ID kluster. |
pc-************* |
| ClientToken |
string |
No |
Token client yang digunakan untuk memastikan idempotensi permintaan. Token ini dihasilkan oleh client, tetapi Anda harus memastikan bahwa token tersebut unik di antara permintaan yang berbeda. Token bersifat case-sensitive dan dapat berisi hingga 64 karakter ASCII. |
6000170000591aed949d0f54a343f1a4233c1e7d1c5c****** |
| EndpointBindList |
string |
No |
ID titik akhir kluster tempat node baru akan ditambahkan. Pisahkan beberapa ID titik akhir dengan koma (,). Catatan
|
pe-****************,pe-**************** |
| PlannedStartTime |
string |
No |
Waktu paling awal untuk memulai tugas terjadwal penambahan node. Waktu dalam format Catatan
|
2021-01-14T09:00:00Z |
| PlannedEndTime |
string |
No |
Waktu paling akhir untuk memulai tugas terjadwal. Waktu dalam format Catatan
|
2021-01-14T09:30:00Z |
| DBNode |
array<object> |
Yes |
Informasi tentang node baru. |
|
|
object |
No |
|||
| TargetClass |
string |
No |
Spesifikasi node baru. Spesifikasi ini harus sama dengan spesifikasi node yang sudah ada. Untuk informasi selengkapnya, lihat dokumen berikut:
Catatan
|
polar.mysql.x4.medium |
| ZoneId |
string |
No |
ID zona node baru. Node baru harus berada di zona yang sama dengan node yang sudah ada. Anda dapat memanggil operasi DescribeRegions untuk mengkueri ID zona. Catatan
|
cn-qingdao-c |
| DBNodeType |
string |
No |
Tipe node. Nilai yang valid:
Valid values:
|
RO |
| ImciSwitch |
string |
No |
Menentukan apakah fitur In-Memory Column Index (IMCI) diaktifkan. Nilai yang valid:
Catatan
Parameter ini tidak didukung oleh PolarDB for PostgreSQL (Oracle Compatible) atau PolarDB for PostgreSQL. |
ON |
| CloudProvider |
string |
No |
ENS |
|
| AutoUseCoupon |
boolean |
No |
||
| PromotionCode |
string |
No |
727xxxxxx934 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| DBNodeIds |
object |
||
| DBNodeId |
array |
Daftar ID node yang dibuat. |
|
|
string |
ID sebuah node yang dibuat. |
pi-*************** |
|
| RequestId |
string |
ID permintaan. |
E053E730-5755-4AA9-AA9D-A47867****** |
| DBClusterId |
string |
ID kluster database. |
pc-*************** |
| OrderId |
string |
ID pesanan. |
2148126708***** |
Contoh
Respons sukses
JSONformat
{
"DBNodeIds": {
"DBNodeId": [
"pi-***************"
]
},
"RequestId": "E053E730-5755-4AA9-AA9D-A47867******",
"DBClusterId": "pc-***************",
"OrderId": "2148126708*****"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ORDER.ARREARAGE | 您有欠费账单,不符合购买条件,请先结清账单后再购买 | |
| 400 | InvalidDBNodeNum.Malformed | The number of parameter DBNode.N is not valid. | |
| 400 | InvalidDBNode.Malformed | The specified parameter DBNode.N is not valid. | |
| 400 | OperationDenied.CreateDBNodesWithStrictConsistencyOn | 3AZ cluster does not allow create db nodes. | |
| 400 | InvalidZoneId.Malformed | The specified parameter ZoneId is not valid. | |
| 403 | OperationDenied.ClusterCategory | The operation is not permitted due to cluster category. | |
| 403 | OperationDenied.DbVersion | The operation is not permitted due to DbVersion. | |
| 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.