Creates a Data Lakehouse Edition cluster.
Operation description
For the service registration endpoint of the current service, refer to 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 |
The region ID. Note
You can call the DescribeRegions operation to query the region ID of a specified Data Lakehouse Edition cluster. |
cn-hangzhou |
| ZoneId |
string |
Yes |
The zone ID. Note
You can call the DescribeRegions operation to query the zone ID of a specified Data Lakehouse Edition cluster. |
cn-hangzhou-h |
| DBClusterVersion |
string |
Yes |
The version of the Data Lakehouse Edition cluster. Valid value: 5.0. |
5.0 |
| DBClusterNetworkType |
string |
No |
The network type of the cluster. Only VPC is supported. |
VPC |
| DBClusterDescription |
string |
No |
The description of the cluster.
|
test |
| PayType |
string |
Yes |
The billing method. Valid values:
|
Prepaid |
| Period |
string |
No |
The subscription period of the subscription cluster. Valid values:
Note
This parameter is required when PayType is set to Prepaid. |
Month |
| UsedTime |
string |
No |
The subscription duration of the subscription cluster. Valid values:
Note
This parameter is required when PayType is set to Prepaid. |
3 |
| VPCId |
string |
Yes |
The ID of the virtual private cloud (VPC). |
vpc-bp1at5ze0t5u3xtqn**** |
| VSwitchId |
string |
Yes |
The ID of the vSwitch. |
vsw-bp1aadw9k19x6cis9**** |
| StorageResource |
string |
No |
The reserved storage resources. Valid values: 0 ACU to 2064 ACU, in steps of 24 ACU. 1 ACU is approximately equal to 1 core and 4 GB of memory. Note
You must include the unit when you specify this parameter. |
24ACU |
| ComputeResource |
string |
No |
The reserved compute resources. Valid values: 0 ACU to 4096 ACU, in steps of 16 ACU. 1 ACU is approximately equal to 1 core and 4 GB of memory. Note
You must include the unit when you specify this parameter. |
16ACU |
| EnableDefaultResourcePool |
boolean |
No |
Specifies whether to allocate all reserved compute resources to the default resource group (user_default). Valid values:
|
true |
| ResourceGroupId |
string |
No |
The ID of the resource group. |
rg-4690g37929**** |
| Tag |
array<object> |
No |
The tags. |
|
|
object |
No |
|||
| Key |
string |
No |
The tag key. You can use tags to filter the cluster list. You can specify up to 20 tag key-value pairs. The number N in each tag pair must be unique and must be a consecutive integer starting from 1. The value of Note
The tag key can be up to 64 characters in length and cannot start with |
testkey1 |
| Value |
string |
No |
The tag value. You can use tags to filter the cluster list. You can specify up to 20 tag key-value pairs. The number N in each tag pair must be unique and must be a consecutive integer starting from 1. The value of Note
The tag value can be up to 64 characters in length and cannot start with |
test1 |
| SourceDbClusterId |
string |
No |
The source instance ID of the AnalyticDB for MySQL Data Warehouse Edition cluster. If you specify this parameter, you can recover the Data Lakehouse Edition cluster from the Data Warehouse Edition cluster. |
amv-bp1r053byu48p**** |
| BackupSetId |
string |
No |
The ID of the backup set used for restoration. Note
You can call the DescribeBackups operation to query the backup sets of the cluster. |
1880808684 |
| RestoreToTime |
string |
No |
The point in time to which you want to restore the cluster. |
2023-09-20T03:13:56Z |
| RestoreType |
string |
No |
The restoration method. Valid values:
|
backup |
| ProductForm |
string |
No |
The product form. Valid values:
|
LegacyForm |
| ReservedNodeSize |
string |
No |
The reserved node specifications. Unit: ACU. |
8ACU |
| ReservedNodeCount |
integer |
No |
The number of reserved nodes.
Note
This parameter is required only when ProductForm is set to IntegrationForm. |
3 |
| KmsId |
string |
No |
The ID of the key used to encrypt cloud disk data. Note
This parameter is used only when cloud disk encryption is enabled for the AnalyticDB for MySQL cluster. |
e1935511-cf88-1123-a0f8-1be8d251**** |
| DiskEncryption |
boolean |
No |
Specifies whether to enable cloud disk encryption. |
false |
| CloneSourceRegionId |
string |
No |
The region of the source cluster. Note
This parameter is required for cross-region cloning. |
cn-beijing |
| ProductVersion |
string |
No |
The product edition. Valid values:
Note
This parameter is required only when ProductForm is set to IntegrationForm. |
BasicVersion |
| SecondaryZoneId |
string |
No |
The ID of the secondary zone. Note
The value of this parameter cannot be the same as the value of the ZoneId parameter. |
cn-beijing-h |
| SecondaryVSwitchId |
string |
No |
The ID of the secondary vSwitch. Note
The value of this parameter cannot be the same as the value of the VSwitchId parameter. |
vsw-bp1aadw9k19x451gx**** |
| EnableSSL |
boolean |
No |
Specifies whether to enable SSL encryption. Valid values:
|
false |
| AINodeSpec |
string |
No |
The AI node specifications. |
ADB.MLPlus.4 |
| AINodeNumber |
integer |
No |
The number of AI nodes. |
1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The 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 for MySQL Data Lakehouse Edition (V3.0) cluster. |
amv-bp1r053byu48p**** |
| OrderId |
string |
The 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.