Creates a Data Lakehouse Edition cluster.
Operation description
For information about the service endpoint, see Endpoints.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
adb:CreateDBCluster |
create |
*All Resource
|
|
None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
Region ID. Note
Call the DescribeRegions interface to view the region ID of the specified Data Lakehouse Edition cluster. |
cn-hangzhou |
| ZoneId |
string |
Yes |
Zone ID. Note
Call the DescribeRegions interface to view the zone ID of the specified Data Lakehouse Edition cluster. |
cn-hangzhou-h |
| DBClusterVersion |
string |
Yes |
The version of the Data Lakehouse Edition cluster. Value: 5.0. |
5.0 |
| DBClusterNetworkType |
string |
No |
Cluster network type. Only VPC (virtual private cloud) is supported. |
VPC |
| DBClusterDescription |
string |
No |
Cluster description.
|
test |
| PayType |
string |
Yes |
Billing method. Values:
|
Prepaid |
| Period |
string |
No |
Specify whether a subscription cluster is annual or monthly. Values:
Note
This parameter is required when PayType is Prepaid (subscription). |
Month |
| UsedTime |
string |
No |
Specify the subscription duration for a subscription cluster. Values:
Note
This parameter is required when PayType is Prepaid (subscription). |
3 |
| VPCId |
string |
Yes |
VPC ID. |
vpc-bp1at5ze0t5u3xtqn**** |
| VSwitchId |
string |
Yes |
Virtual switch ID. |
vsw-bp1aadw9k19x6cis9**** |
| StorageResource |
string |
No |
Storage reserved resources. Range: 0 ACU to 2064 ACU. Step size: 24. 1 ACU is approximately 1 core and 4 GB. Note
Include the unit when specifying the parameter. |
24ACU |
| ComputeResource |
string |
No |
Compute reserved resources. Range: 0 ACU to 4096 ACU. Step size: 16. 1 ACU is approximately 1 core and 4 GB. Note
Include the unit when specifying the parameter. |
16ACU |
| EnableDefaultResourcePool |
boolean |
No |
Whether to allocate all compute reserved resources to the default resource group (user_default). Values:
|
true |
| ResourceGroupId |
string |
No |
Resource group ID. |
rg-4690g37929**** |
| Tag |
array<object> |
No |
Tag list information. |
|
|
object |
No |
|||
| Key |
string |
No |
Tag key. Use tags to filter the cluster list. Up to 20 tag pairs are allowed. The number 'n' for each tag pair must be unique and a consecutive integer starting from 1. Note
Up to 64 characters. Do not start with |
testkey1 |
| Value |
string |
No |
Tag value. Use tags to filter the cluster list. Up to 20 tag pairs are allowed. The number 'n' for each tag pair must be unique and a consecutive integer starting from 1. Note
Up to 64 characters. Do not start with |
test1 |
| SourceDbClusterId |
string |
No |
The source instance ID of the AnalyticDB MySQL Data Warehouse Edition cluster. Specify this parameter to recover a Data Lakehouse Edition cluster from a Data Warehouse Edition cluster. |
amv-bp1r053byu48p**** |
| BackupSetId |
string |
No |
The ID of the backup set used for recovery from a backup set. Note
Call the DescribeBackups interface to view the cluster's backup list. |
1880808684 |
| RestoreToTime |
string |
No |
The point in time for recovery from a backup set. |
2023-09-20T03:13:56Z |
| RestoreType |
string |
No |
Recovery method. Values:
|
backup |
| ProductForm |
string |
No |
Product form. Values:
|
LegacyForm |
| ReservedNodeSize |
string |
No |
Reserved node specifications, in ACU. |
8ACU |
| ReservedNodeCount |
integer |
No |
Reserved node count.
Note
Provide this parameter only when ProductForm is IntegrationForm. |
3 |
| KmsId |
string |
No |
The key ID used to encrypt cloud disk data. Note
This parameter is used only when disk encryption is enabled for the AnalyticDB MySQL cluster. |
e1935511-cf88-1123-a0f8-1be8d251**** |
| DiskEncryption |
boolean |
No |
Enable disk encryption. |
false |
| CloneSourceRegionId |
string |
No |
The region where the source cluster is located. Note
This parameter is required for cross-region cloning. |
cn-beijing |
| ProductVersion |
string |
No |
Edition. Values:
Note
Provide this parameter only when ProductForm is IntegrationForm. |
BasicVersion |
| SecondaryZoneId |
string |
No |
Secondary zone ID. Note
The value for this parameter cannot be the same as the ZoneId parameter. |
cn-beijing-h |
| SecondaryVSwitchId |
string |
No |
Secondary virtual switch ID. Note
The value for this parameter cannot be the same as the VSwitchId parameter. |
vsw-bp1aadw9k19x451gx**** |
| EnableSSL |
boolean |
No |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
Request ID. |
1AD222E9-E606-4A42-BF6D-8A4442913CEF |
| ResourceGroupId |
string |
The ID of the default resource group. |
rg-4690g37929**** |
| DBClusterId |
string |
The ID of the AnalyticDB MySQL Data Lakehouse Edition (3.0) cluster. |
amv-bp1r053byu48p**** |
| OrderId |
string |
Order ID. |
202353278**** |
Examples
Success response
JSON format
{
"RequestId": "1AD222E9-E606-4A42-BF6D-8A4442913CEF",
"ResourceGroupId": "rg-4690g37929****",
"DBClusterId": "amv-bp1r053byu48p****",
"OrderId": "202353278****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.