ALIYUN::HBase::Cluster is used to create an ApsaraDB for HBase cluster.
Syntax
{
"Type": "ALIYUN::HBase::Cluster",
"Properties": {
"AutoRenewPeriod": Integer,
"ColdStorageSize": Integer,
"EngineVersion": String,
"ResourceGroupId": String,
"NodeCount": Integer,
"ZoneId": String,
"VSwitchId": String,
"Period": Integer,
"EncryptionKey": String,
"PayType": String,
"MasterInstanceType": String,
"DiskType": String,
"VpcId": String,
"SecurityIPList": String,
"CoreInstanceType": String,
"DiskSize": Integer,
"ClusterName": String,
"Engine": String,
"PeriodUnit": String
}
}
Properties
Property | Type | Required | Editable | Description | Constraint |
AutoRenewPeriod | Integer | No | No | The auto-renewal period of the cluster. | Unit: month. If you set this property to 2, the system automatically renews the cluster for 2 months when the cluster expires. Note Default value: 0. A value of 0 indicates that the system does not automatically renew the cluster when the cluster expires. |
ColdStorageSize | Integer | No | No | The cold storage capacity of the cluster. | Unit: GB. Valid values:
Note You can enable the cold storage feature only when Engine is set to hbaseue. |
EngineVersion | String | Yes | No | The engine version of the cluster. | The valid values of EngineVersion vary based on the value of Engine.
|
ResourceGroupId | String | No | No | The ID of the resource group. | None. |
NodeCount | Integer | Yes | Yes | The number of core nodes. |
|
ZoneId | String | Yes | No | The zone ID. | None. |
VSwitchId | String | No | No | The ID of the vSwitch that belongs to the virtual private cloud (VPC). | None. |
Period | Integer | No | No | The subscription duration of the cluster. |
Note You must specify this property only when PayType is set to Prepaid. |
EncryptionKey | String | No | No | The ID of the encryption key. | The value is empty if you do not enable encryption. If encryption is enabled for a cluster that uses cloud disks, you cannot disable encryption for the cluster. |
PayType | String | Yes | No | The billing method of the cluster. | Valid values:
|
MasterInstanceType | String | No | Yes | The instance type of the master node. | You can call the DescribeAvailableResource operation to query the instance type. |
DiskType | String | No | No | The disk category of the core nodes of the cluster. | Valid values:
|
VpcId | String | No | No | The VPC ID. | If you leave this property and |
SecurityIPList | String | No | Yes | The IP addresses or CIDR blocks that you want to add to the whitelist of the cluster. | Separate multiple IP addresses with commas (,). Note If you set this property to 127.0.0.1, all IP addresses are not allowed to access the cluster. If you set this property to 192.168.0.0/24, IP addresses in the 192.168.0.XX format are allowed to access the cluster. |
CoreInstanceType | String | Yes | Yes | The instance type of the core nodes. | You can call the DescribeAvailableResource operation to query the instance type. |
DiskSize | Integer | No | Yes | The disk size of the core node. | Unit: GB.
|
ClusterName | String | No | Yes | The cluster name. | The name must comply with the following rules:
|
Engine | String | Yes | No | The type of the database engine. | Valid values:
|
PeriodUnit | String | No | No | The unit of the subscription duration of the cluster. | Valid values:
Note You must specify this property only when PayType is set to Prepaid. |
Return values
Fn::GetAtt
UiProxyConnAddrInfo: the addresses of the web console connections.
ClusterId: the cluster ID.
ServiceConnAddrs: the addresses of the sub-services.
ThriftConn: the addresses of the Thrift connections.
SlbConnAddrs: the addresses of the connections with the Server Load Balancer (SLB) instances.
ZkConnAddrs: the addresses of the Zookeeper connections.