Skip to content

MultiZoneCluster

This class encapsulates and extends the ROS resource type ALIYUN::HBase::MultiZoneCluster, which is used to create an ApsaraDB for HBase cluster that resides in multiple zones.

Initializers

import com.aliyun.ros.cdk.hbase.MultiZoneCluster;
MultiZoneCluster.Builder.create(Construct scope, java.lang.String id, java.lang.Boolean enableResourcePropertyConstraint)
    .arbiterVSwitchId(java.lang.String)
    .arbiterVSwitchId(IResolvable)
    .arbiterZoneId(java.lang.String)
    .arbiterZoneId(IResolvable)
    .archVersion(java.lang.String)
    .archVersion(IResolvable)
    .coreDiskSize(java.lang.Number)
    .coreDiskSize(IResolvable)
    .coreDiskType(java.lang.String)
    .coreDiskType(IResolvable)
    .coreInstanceType(java.lang.String)
    .coreInstanceType(IResolvable)
    .coreNodeCount(java.lang.Number)
    .coreNodeCount(IResolvable)
    .engine(java.lang.String)
    .engine(IResolvable)
    .engineVersion(java.lang.String)
    .engineVersion(IResolvable)
    .logDiskSize(java.lang.Number)
    .logDiskSize(IResolvable)
    .logDiskType(java.lang.String)
    .logDiskType(IResolvable)
    .logInstanceType(java.lang.String)
    .logInstanceType(IResolvable)
    .logNodeCount(java.lang.Number)
    .logNodeCount(IResolvable)
    .multiZoneCombination(java.lang.String)
    .multiZoneCombination(IResolvable)
    .payType(java.lang.String)
    .payType(IResolvable)
    .primaryVSwitchId(java.lang.String)
    .primaryVSwitchId(IResolvable)
    .primaryZoneId(java.lang.String)
    .primaryZoneId(IResolvable)
    .standbyVSwitchId(java.lang.String)
    .standbyVSwitchId(IResolvable)
    .standbyZoneId(java.lang.String)
    .standbyZoneId(IResolvable)
//  .autoRenewPeriod(java.lang.Number)
//  .autoRenewPeriod(IResolvable)
//  .clusterName(java.lang.String)
//  .clusterName(IResolvable)
//  .masterInstanceType(java.lang.String)
//  .masterInstanceType(IResolvable)
//  .period(java.lang.Number)
//  .period(IResolvable)
//  .periodUnit(java.lang.String)
//  .periodUnit(IResolvable)
//  .resourceGroupId(java.lang.String)
//  .resourceGroupId(IResolvable)
//  .securityIpList(java.lang.String)
//  .securityIpList(IResolvable)
//  .vpcId(java.lang.String)
//  .vpcId(IResolvable)
    .build();
Name Type Description
scope com.aliyun.ros.cdk.core.Construct No description.
id java.lang.String No description.
enableResourcePropertyConstraint java.lang.Boolean No description.
arbiterVSwitchId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property arbiterVSwitchId: Arbitration virtual switch ID.
arbiterZoneId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property arbiterZoneId: Arbiter zond id.
archVersion java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property archVersion: Version of the deployment architecture.
coreDiskSize java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property coreDiskSize: The value ranges from 400 GB to 64,000 GB.
coreDiskType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property coreDiskType: Core node disk type.
coreInstanceType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property coreInstanceType: You can call the DescribeAvailableResource operation to obtain the value of this parameter.
coreNodeCount java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property coreNodeCount: Number of Core nodes.
engine java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property engine: Service type.
engineVersion java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property engineVersion: The version of the engine.
logDiskSize java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property logDiskSize: log disk size.
logDiskType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property logDiskType: Log node disk type.
logInstanceType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property logInstanceType: Log instance type.
logNodeCount java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property logNodeCount: Log number of nodes.
multiZoneCombination java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property multiZoneCombination: Availability zone combination.
payType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property payType: The billing method.
primaryVSwitchId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property primaryVSwitchId: The virtual switch ID of the instance in primary availability zone must be in the availability zone corresponding to PrimaryZoneId.
primaryZoneId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property primaryZoneId: Availability zone ID of the primary availability zone instance.
standbyVSwitchId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property standbyVSwitchId: The virtual switch ID of the standby availability zone instance must be in the corresponding availability zone of StandbyZoneId.
standbyZoneId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property standbyZoneId: Standby zone id.
autoRenewPeriod java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property autoRenewPeriod: The auto-renewal period.
clusterName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property clusterName: The name of the instance.
masterInstanceType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property masterInstanceType: The instance type of the master node.
period java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property period: The subscription period.
periodUnit java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property periodUnit: The unit of the subscription period.
resourceGroupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property resourceGroupId: The ID of the resource group.
securityIpList java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property securityIpList: The IP addresses in the whitelist.
vpcId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property vpcId: The ID of the virtual private cloud (VPC).

scopeRequired

  • Type: com.aliyun.ros.cdk.core.Construct

idRequired

  • Type: java.lang.String

enableResourcePropertyConstraintOptional

  • Type: java.lang.Boolean

arbiterVSwitchIdRequired

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property arbiterVSwitchId: Arbitration virtual switch ID.

The switch must be in the availability zone corresponding to ArbiterZoneId.


arbiterZoneIdRequired

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property arbiterZoneId: Arbiter zond id.


archVersionRequired

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property archVersion: Version of the deployment architecture.

Currently, only the hbaseue engine type is supported. The value can be 2.0.


coreDiskSizeRequired

  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

Property coreDiskSize: The value ranges from 400 GB to 64,000 GB.

The step size is 40 GB.


coreDiskTypeRequired

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property coreDiskType: Core node disk type.

Valid values: cloud_efficiency cloud_ssd local_hdd_pro local_ssd_pro


coreInstanceTypeRequired

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property coreInstanceType: You can call the DescribeAvailableResource operation to obtain the value of this parameter.


coreNodeCountRequired

  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

Property coreNodeCount: Number of Core nodes.

The value of the number of Core nodes ranges from 2 to 20, and the increment is a multiple of 2.


engineRequired

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property engine: Service type.

Currently, only HBase enhanced version is supported. The value can be hbaseue.


engineVersionRequired

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property engineVersion: The version of the engine.

Valid values: hbaseue:2.0


logDiskSizeRequired

  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

Property logDiskSize: log disk size.

The value ranges from 400 GB to 64,000 GB. The step size is 40 GB.


logDiskTypeRequired

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property logDiskType: Log node disk type.

Valid values: cloud_efficiency cloud_ssd local_hdd_pro local_ssd_pro


logInstanceTypeRequired

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property logInstanceType: Log instance type.


logNodeCountRequired

  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

Property logNodeCount: Log number of nodes.

The value of log nodes ranges from 4 to 400 and is a multiple of 4.


multiZoneCombinationRequired

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property multiZoneCombination: Availability zone combination.


payTypeRequired

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property payType: The billing method.

Prepaid: The subscription billing method is used. Postpaid: The pay-as-you-go billing method is used.


primaryVSwitchIdRequired

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property primaryVSwitchId: The virtual switch ID of the instance in primary availability zone must be in the availability zone corresponding to PrimaryZoneId.


primaryZoneIdRequired

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property primaryZoneId: Availability zone ID of the primary availability zone instance.


standbyVSwitchIdRequired

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property standbyVSwitchId: The virtual switch ID of the standby availability zone instance must be in the corresponding availability zone of StandbyZoneId.


standbyZoneIdRequired

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property standbyZoneId: Standby zone id.


autoRenewPeriodOptional

  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

Property autoRenewPeriod: The auto-renewal period.

Unit: month. The default value of this parameter is 0. This value indicates that auto-renewal is disabled. If this parameter is set to 2, the instance is automatically renewed for a two-month subscription after the instance expires.


clusterNameOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property clusterName: The name of the instance.

The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-). It must start with a letter.


masterInstanceTypeOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property masterInstanceType: The instance type of the master node.

You can call the DescribeAvailableResource operation to obtain the value of this parameter.


periodOptional

  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

Property period: The subscription period.

This parameter only takes effect when the PayType parameter is set to Prepaid. When the PeriodUnit parameter is set to year, the value of the Period parameter ranges from 1 to 5. When the PeriodUnit parameter is set to month, the value of the Period parameter ranges from 1 to 9.


periodUnitOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property periodUnit: The unit of the subscription period.

Valid values: year month


resourceGroupIdOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property resourceGroupId: The ID of the resource group.

You can query the group ID in the resource group console. If you leave this parameter empty, the instance is allocated to the default resource group.


securityIpListOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property securityIpList: The IP addresses in the whitelist.

Example: 192.168../24. The 0.0.0.0/0 value cannot be added to the whitelist. Separate multiple IP addresses with commas (,).


vpcIdOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property vpcId: The ID of the virtual private cloud (VPC).

If you leave this parameter and the VSwitchId parameter empty, the classic network type is used. The VPC network type is preferred.


Methods

Name Description
toString Returns a string representation of this construct.
synthesize Allows this construct to emit artifacts into the cloud assembly during synthesis.
addCondition No description.
addCount No description.
addDependency No description.
addResourceDesc No description.
applyRemovalPolicy No description.
getAtt No description.
setMetadata No description.

toString

public java.lang.String toString()

Returns a string representation of this construct.

synthesize

public void synthesize(ISynthesisSession session)

Allows this construct to emit artifacts into the cloud assembly during synthesis.

This method is usually implemented by framework-level constructs such as Stack and Asset as they participate in synthesizing the cloud assembly.

sessionRequired

  • Type: com.aliyun.ros.cdk.core.ISynthesisSession

The synthesis session.


addCondition

public void addCondition(RosCondition condition)

conditionRequired

  • Type: com.aliyun.ros.cdk.core.RosCondition

addCount

public void addCount(java.lang.Number OR IResolvable count)

countRequired

  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

addDependency

public void addDependency(Resource resource)

resourceRequired

  • Type: com.aliyun.ros.cdk.core.Resource

addResourceDesc

public void addResourceDesc(java.lang.String desc)

descRequired

  • Type: java.lang.String

applyRemovalPolicy

public void applyRemovalPolicy(RemovalPolicy policy)

policyRequired

  • Type: com.aliyun.ros.cdk.core.RemovalPolicy

getAtt

public IResolvable getAtt(java.lang.String name)

nameRequired

  • Type: java.lang.String

setMetadata

public void setMetadata(java.lang.String key, java.lang.Object value)

keyRequired

  • Type: java.lang.String

valueRequired

  • Type: java.lang.Object

Static Functions

Name Description
isConstruct Return whether the given object is a Construct.

isConstruct

import com.aliyun.ros.cdk.hbase.MultiZoneCluster;
MultiZoneCluster.isConstruct(java.lang.Object x)

Return whether the given object is a Construct.

xRequired

  • Type: java.lang.Object

Properties

Name Type Description
node com.aliyun.ros.cdk.core.ConstructNode The construct tree node associated with this construct.
ref java.lang.String No description.
stack com.aliyun.ros.cdk.core.Stack The stack in which this resource is defined.
resource com.aliyun.ros.cdk.core.RosResource No description.
attrClusterId com.aliyun.ros.cdk.core.IResolvable Attribute ClusterId: The ID of the instance.
attrServiceConnAddrs com.aliyun.ros.cdk.core.IResolvable Attribute ServiceConnAddrs: LIST of ServiceConnAddr.
attrSlbConnAddrs com.aliyun.ros.cdk.core.IResolvable Attribute SlbConnAddrs: LIST of SlbConnAddr.
attrThriftConn com.aliyun.ros.cdk.core.IResolvable Attribute ThriftConn: Thrift Connection address list.
attrUiProxyConnAddrInfo com.aliyun.ros.cdk.core.IResolvable Attribute UiProxyConnAddrInfo: WebUI connection information list.
attrZkConnAddrs com.aliyun.ros.cdk.core.IResolvable Attribute ZkConnAddrs: List of ZkConnAddr.

nodeRequired

public ConstructNode getNode();
  • Type: com.aliyun.ros.cdk.core.ConstructNode

The construct tree node associated with this construct.


refRequired

public java.lang.String getRef();
  • Type: java.lang.String

stackRequired

public Stack getStack();
  • Type: com.aliyun.ros.cdk.core.Stack

The stack in which this resource is defined.


resourceOptional

public RosResource getResource();
  • Type: com.aliyun.ros.cdk.core.RosResource

attrClusterIdRequired

public IResolvable getAttrClusterId();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute ClusterId: The ID of the instance.


attrServiceConnAddrsRequired

public IResolvable getAttrServiceConnAddrs();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute ServiceConnAddrs: LIST of ServiceConnAddr.


attrSlbConnAddrsRequired

public IResolvable getAttrSlbConnAddrs();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute SlbConnAddrs: LIST of SlbConnAddr.


attrThriftConnRequired

public IResolvable getAttrThriftConn();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute ThriftConn: Thrift Connection address list.


attrUiProxyConnAddrInfoRequired

public IResolvable getAttrUiProxyConnAddrInfo();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute UiProxyConnAddrInfo: WebUI connection information list.


attrZkConnAddrsRequired

public IResolvable getAttrZkConnAddrs();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute ZkConnAddrs: List of ZkConnAddr.