Clones a PolarDB-X instance.
Operation description
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardbx:RestoreDBInstance |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region where the instance resides. |
cn-hangzhou |
| PayType |
string |
Yes |
The billing method of the instance.
|
PREPAY |
| DBNodeCount |
integer |
No |
The number of instance nodes. The minimum value is 2. |
2 |
| DBNodeClass |
string |
No |
The node specifications. Valid values:
|
polarx.x4.2xlarge.2d |
| ClientToken |
string |
No |
The client token used to ensure the idempotence of the request. Use a different value for each request. |
xxxxxx-xxx |
| 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. Specify the number of 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 billing cycle. Valid values for subscription: Year and Month. Default value for pay-as-you-go: 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 |
| ZoneId |
string |
No |
The zone of the instance. |
cn-hangzhou-a |
| CnClass |
string |
No |
The compute node specifications. Valid values:
|
polarx.x4.medium.2e |
| DnClass |
string |
No |
The storage node specifications. Valid values:
|
mysql.n4.medium.25 |
| CNNodeCount |
string |
No |
The number of compute nodes. |
2 |
| DNNodeCount |
string |
No |
The number of storage nodes. |
2 |
| CloneInstanceName |
string |
Yes |
The name of the source instance. |
pxc-*** |
| RestoreTime |
string |
No |
The point in time to which you want to restore the instance. Specify the time in the yyyy-MM-ddTHH:mm:ssZ format (UTC). |
2024-10-14T00:00:00Z |
| RecoveryTypeCode |
string |
Yes |
The recovery type. |
Clone |
| BackupSetId |
string |
No |
The backup set ID. |
111 |
| BackupSetRegion |
string |
Yes |
The region where the backup set resides. |
cn-chengdu |
| SourceInstanceRegion |
string |
Yes |
The region where the source instance resides. |
cn-chengdu |
| Series |
string |
No |
The instance series. Valid values:
|
enterprise |
| StorageType |
string |
No |
The storage type. |
cloud_auto |
| GdnRole |
string |
No |
The GDN role. |
standby |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
9B2F3840-XXXX-XXXX-XXXX-2D5C3A31797C |
| DBInstanceName |
string |
The instance name. |
pxc-********* |
| OrderId |
string |
The order ID. |
12345 |
Examples
Success response
JSON format
{
"RequestId": "9B2F3840-XXXX-XXXX-XXXX-2D5C3A31797C",
"DBInstanceName": "pxc-*********",
"OrderId": "12345"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.