Adds a secondary instance to a global database network (GDN).
Operation description
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region in which the instance resides. |
cn-hangzhou |
| PayType |
string |
Yes |
The billing method of the instance.
|
PREPAY |
| ClientToken |
string |
No |
The client token that is used to ensure the idempotence of the request. Make sure that the value is different for each request. |
FEA5DC20-6D8A-5979-97AA-FC57546ADC20 |
| NetworkType |
string |
No |
The network type. Only VPC is supported. |
vpc |
| VPCId |
string |
No |
VPC ID。 |
vpc-***** |
| VSwitchId |
string |
No |
The vSwitch ID. |
vsw-********* |
| UsedTime |
integer |
No |
The subscription duration. Unit: months or years. Note
If Period is set to Year, valid values of this parameter are 1, 2, and 3. |
1 |
| Period |
string |
No |
The unit of the subscription duration. Valid values:
For pay-as-you-go instances, the default value is Hour. |
Month |
| ResourceGroupId |
string |
No |
The resource group ID. This parameter can be left empty. This parameter is not supported. |
null |
| AutoRenew |
boolean |
No |
Specifies whether to enable auto-renewal. Default value: true.
|
true |
| EngineVersion |
string |
Yes |
The MySQL DPI engine version. Valid values: 5.7 and 8.0. |
5.7 |
| TopologyType |
string |
Yes |
The topology type. Valid values:
|
3azones |
| PrimaryZone |
string |
No |
The primary zone. |
cn-shenzhen-e |
| SecondaryZone |
string |
No |
The secondary zone. |
cn-shenzhen-a |
| TertiaryZone |
string |
No |
The zone for Three-zone deployment. |
cn-shenzhen-e |
| CnClass |
string |
No |
The compute node specifications. This parameter is required for Enterprise Edition instances and is not required for Standard Edition instances. Enterprise Edition with local disks:
Enterprise Edition with cloud disks:
|
4 cores, 32 GB |
| DnClass |
string |
No |
The storage node specifications. This parameter is required for Enterprise Edition instances and is not required for Standard Edition instances. Enterprise Edition with local disks:
Enterprise Edition with cloud disks:
|
4 cores, 32 GB |
| CNNodeCount |
string |
No |
The number of compute nodes. |
2 |
| DNNodeCount |
string |
No |
The number of storage nodes. |
2 |
| Description |
string |
No |
The description of the instance. |
go-to-the-docks-for-french-fries |
| CloneInstanceName |
string |
Yes |
The name of the source instance. |
pxc-*** |
| SourceInstanceRegion |
string |
Yes |
The region in which the source instance resides. |
cn-chengdu |
| Series |
string |
No |
The edition of the instance. Valid values:
|
enterprise |
| StorageType |
string |
No |
The storage type. |
cloud_auto |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
173CA69A-3513-591D-8A09-C1EA37CBE2D9 |
| DBInstanceName |
string |
The name of the created instance. |
pxc-hzravgpt8q**** |
| OrderId |
string |
The order ID. |
12345 |
Examples
Success response
JSON format
{
"RequestId": "173CA69A-3513-591D-8A09-C1EA37CBE2D9",
"DBInstanceName": "pxc-hzravgpt8q****",
"OrderId": "12345"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.