Membuat global database network (GDN) baru.
Deskripsi operasi
Satu kluster hanya dapat menjadi anggota satu GDN.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:CreateGlobalDatabaseNetwork |
create |
*GlobalDatabaseNetwork
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| DBClusterId |
string |
Yes |
ID kluster utama. |
pc-bp1q76364ird***** |
| GDNDescription |
string |
No |
Deskripsi GDN. Deskripsi harus memenuhi persyaratan berikut:
|
GDN-fortest |
| ResourceGroupId |
string |
No |
ID kelompok sumber daya. |
rg-************ |
| GDNVersion |
string |
No |
||
| EnableGlobalDomainName |
boolean |
No |
Menentukan apakah akan membuat Nama domain global. |
false |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| GDNId |
string |
ID GDN. |
gd-m5ex5wqfqbou***** |
| RequestId |
string |
ID permintaan. |
C61892A4-0850-4516-9E26-44D96C1782DE |
Contoh
Respons sukses
JSONformat
{
"GDNId": "gd-m5ex5wqfqbou*****",
"RequestId": "C61892A4-0850-4516-9E26-44D96C1782DE"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | MemberIns.Exist | Specified member ins already exist. | |
| 400 | InvalidEngineVersion.Unsupported | The specified engineVersion is not supported. | |
| 404 | InvalidDBCluster.NotFound | The DBClusterId provided does not exist in our records. | |
| 404 | InvalidDBClusterId.NotFound | The DBInstanceId provided does not exist in our records. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.