Create an HBase cluster


You can directly run this interface in OpenAPI Explorer, saving you from the trouble of calculating the signature. After the SDK runs successfully, OpenAPI Explorer automatically generates SDK code examples.

Request parameters

Name Type Required or not Sample value Description
Action String Yes CreateCluster

The operation that you want to perform. Set the value to CreateCluster.

ClusterName String Yes Hbase_test

Cluster name

The name must be 2 to 128 characters in length and can contain numbers, '.', '_' or '-'; It must start with an uppercase or lowercase letter or a Chinese character.

CoreInstanceType String Yes hbase.sn1.medium

For more information, you can call the DescribeInstanceType operation.

DiskSize Integer Yes 400

Node disk size, in GB

DiskType String Yes Cloud_ssd

The type of the disk. Valid values: cloud_efficiency, cloud_ssd, local_hdd_pro, and local_ssd_pro.

Engine String Yes hbase

Service Type: hbase, hbaseue, etc.

EngineVersion String Yes 2.0

There are differences depending on the engine type,

hbase: 1.1, 2.0

hbaseue: 2.0

MasterInstanceType String Yes hbase.sn1.medium

For more information, you can call the DescribeInstanceType operation.

NodeCount Integer Yes 2

The number of nodes. Valid values: 1 to 20. Single cluster: 1. cloud disk: at least 2. local disk: at least 3.

PayType String Yes Prepaid

The billing method. Valid values: Prepaid and Postpaid.

RegionId String Yes cn-hangzhou

Region ID

SecurityIPList String Yes

The whitelist. is not recommended. Separate multiple IP addresses with commas (,).

VpcId String Yes Vpc-bp120k6ixs4eog modifyblockchains *

The id of the vpc. If both vswitchId and vswitchId are null, the vpc is connected to a classic network. Vpc

VSwitchId String Yes Vsw-bp191ipotqj1ssyl modifyblockchains *

The id of the vSwitch.

ZoneId String Yes cn-hangzhou-f

Zone id

ColdStorageSize Integer No 1024

The cold storage size. A value equal to 0 indicates that cold storage is not enabled. A value greater than 0 indicates that cold storage is enabled.

PeriodUnit String No month

Prepayment cycle unit:

year; month.

Period Integer No 6

Pre-payment cycle: effective when PayType = Prepaid.

Valid values: 1 to 5.

PeriodUnit = month. Valid values: 1 to 9.

AutoRenewPeriod Integer No 2

The automatic renewal cycle. Unit: month. Default value: 0, indicating that automatic renewal is disabled.

Autorenamespace period = 2 indicates that the instance is automatically renewed for two months after expiration.

ClientToken String No ETnLKlblzczshOTUbOCzxxxxxxxxxx

Used to ensure the idempotence of the request. This parameter value is generated by the client and must be unique among different requests. It is case-sensitive and can contain up to 64 ASCII characters.

Response Data

Name Type Sample value Description
RequestId String Renewal

Request id

ClusterId String hb-bp1hy2ipk*****g

Cluster id

OrderId String 23232453233

Order id


Request example

http(s)://[Endpoint]/? Action=CreateCluster
& <Common request parameters>

Normal response example





Error code

AccessError CenterFor more information, see error codes.