CreateDBCluster
Create a lakehouse cluster.
Operation description
For the service endpoint, see Service 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 of the cluster. Note
You can call the DescribeRegions operation to query the IDs of available regions for Data Lakehouse Edition clusters. |
cn-hangzhou |
| ZoneId |
string |
Yes |
The availability zone ID of the cluster. Note
You can call the DescribeRegions operation to query the IDs of available zones for Data Lakehouse Edition clusters. |
cn-hangzhou-h |
| DBClusterVersion |
string |
Yes |
The version of the Data Lakehouse Edition cluster. The value must be 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 of the cluster. Valid values:
|
Prepaid |
| Period |
string |
No |
The unit of the subscription duration. Valid values:
Note
This parameter is required if you set |
Month |
| UsedTime |
string |
No |
The subscription duration.
Note
This parameter is required if you set |
3 |
| VPCId |
string |
Yes |
The VPC ID. |
vpc-bp1at5ze0t5u3xtqn**** |
| VSwitchId |
string |
Yes |
The vSwitch ID. |
vsw-bp1aadw9k19x6cis9**** |
| StorageResource |
string |
No |
The amount of reserved storage resources in ACUs. The number of ACUs must be an integer from 0 to 2064 and a multiple of 24. 1 ACU is equivalent to approximately 1 core and 4 GB of memory. Note
The unit |
24ACU |
| ComputeResource |
string |
No |
The amount of reserved computing resources in ACUs. The number of ACUs must be an integer from 0 to 4096 and a multiple of 16. 1 ACU is equivalent to approximately 1 core and 4 GB of memory. Note
The unit |
16ACU |
| EnableDefaultResourcePool |
boolean |
No |
Specifies whether to allocate all reserved computing resources to the default resource group
|
true |
| ResourceGroupId |
string |
No |
The resource group ID. |
rg-4690g37929**** |
| Tag |
array<object> |
No |
A list of tags. |
|
|
object |
No |
|||
| Key |
string |
No |
The tag key. You can specify up to 20 tags. Note
The tag key can be up to 64 characters in length. It cannot start with |
testkey1 |
| Value |
string |
No |
The tag value. You can specify up to 20 tags. Note
The tag value can be up to 64 characters in length. It cannot start with |
test1 |
| SourceDbClusterId |
string |
No |
The ID of the source AnalyticDB for MySQL Data Warehouse Edition instance. This parameter is used when restoring a Data Lakehouse Edition cluster from a Data Warehouse Edition cluster. |
amv-bp1r053byu48p**** |
| BackupSetId |
string |
No |
The ID of the backup set to use for restoration. Note
You can call the DescribeBackups operation to query the backup sets of a cluster. |
1880808684 |
| RestoreToTime |
string |
No |
The point in time to which you want to restore the cluster. Specify the time in the |
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 resource specification of each reserved node, in ACUs. |
8ACU |
| ReservedNodeCount |
integer |
No |
The number of reserved nodes.
Note
This parameter is available only when |
3 |
| KmsId |
string |
No |
The ID of the key used to encrypt data on cloud disks. Note
This parameter takes effect only when disk encryption is enabled for the AnalyticDB for MySQL cluster. |
e1935511-cf88-1123-a0f8-1be8d251**** |
| DiskEncryption |
boolean |
No |
Specifies whether to enable disk encryption. |
false |
| CloneSourceRegionId |
string |
No |
The region ID of the source cluster. Note
This parameter is required for cross-region cloning. |
cn-beijing |
| ProductVersion |
string |
No |
The product version. Valid values:
Note
This parameter is available only when |
BasicVersion |
| SecondaryZoneId |
string |
No |
The ID of the secondary availability zone. Note
The value of this parameter cannot be the same as the value of the |
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 |
vsw-bp1aadw9k19x451gx**** |
| EnableSSL |
boolean |
No |
Specifies whether to enable SSL encryption.
|
false |
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 Lakehouse Edition (3.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.