MultiZoneClusterProps
Properties for defining a MultiZoneCluster.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-hbase-multizonecluster
Initializer
import ros_cdk_hbase
ros_cdk_hbase.MultiZoneClusterProps(
arbiter_v_switch_id: typing.Union[str, IResolvable],
arbiter_zone_id: typing.Union[str, IResolvable],
arch_version: typing.Union[str, IResolvable],
core_disk_size: typing.Union[typing.Union[int, float], IResolvable],
core_disk_type: typing.Union[str, IResolvable],
core_instance_type: typing.Union[str, IResolvable],
core_node_count: typing.Union[typing.Union[int, float], IResolvable],
engine: typing.Union[str, IResolvable],
engine_version: typing.Union[str, IResolvable],
log_disk_size: typing.Union[typing.Union[int, float], IResolvable],
log_disk_type: typing.Union[str, IResolvable],
log_instance_type: typing.Union[str, IResolvable],
log_node_count: typing.Union[typing.Union[int, float], IResolvable],
multi_zone_combination: typing.Union[str, IResolvable],
pay_type: typing.Union[str, IResolvable],
primary_v_switch_id: typing.Union[str, IResolvable],
primary_zone_id: typing.Union[str, IResolvable],
standby_v_switch_id: typing.Union[str, IResolvable],
standby_zone_id: typing.Union[str, IResolvable],
auto_renew_period: typing.Union[typing.Union[int, float], IResolvable] = None,
cluster_name: typing.Union[str, IResolvable] = None,
deletion_protection: typing.Union[bool, IResolvable] = None,
master_instance_type: typing.Union[str, IResolvable] = None,
period: typing.Union[typing.Union[int, float], IResolvable] = None,
period_unit: typing.Union[str, IResolvable] = None,
resource_group_id: typing.Union[str, IResolvable] = None,
security_ip_list: typing.Union[str, IResolvable] = None,
vpc_id: typing.Union[str, IResolvable] = None
)
Properties
| Name | Type | Description |
|---|---|---|
arbiter_v_switch_id | typing.Union[str, ros_cdk_core.IResolvable] | Property arbiterVSwitchId: Arbitration virtual switch ID. |
arbiter_zone_id | typing.Union[str, ros_cdk_core.IResolvable] | Property arbiterZoneId: Arbiter zond id. |
arch_version | typing.Union[str, ros_cdk_core.IResolvable] | Property archVersion: Version of the deployment architecture. |
core_disk_size | typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] | Property coreDiskSize: The value ranges from 400 GB to 64,000 GB. |
core_disk_type | typing.Union[str, ros_cdk_core.IResolvable] | Property coreDiskType: Core node disk type. |
core_instance_type | typing.Union[str, ros_cdk_core.IResolvable] | Property coreInstanceType: You can call the DescribeAvailableResource operation to obtain the value of this parameter. |
core_node_count | typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] | Property coreNodeCount: Number of Core nodes. |
engine | typing.Union[str, ros_cdk_core.IResolvable] | Property engine: Service type. |
engine_version | typing.Union[str, ros_cdk_core.IResolvable] | Property engineVersion: The version of the engine. |
log_disk_size | typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] | Property logDiskSize: log disk size. |
log_disk_type | typing.Union[str, ros_cdk_core.IResolvable] | Property logDiskType: Log node disk type. |
log_instance_type | typing.Union[str, ros_cdk_core.IResolvable] | Property logInstanceType: The node specifications for log nodes. |
log_node_count | typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] | Property logNodeCount: Log number of nodes. |
multi_zone_combination | typing.Union[str, ros_cdk_core.IResolvable] | Property multiZoneCombination: The zone combination. |
pay_type | typing.Union[str, ros_cdk_core.IResolvable] | Property payType: The billing method. |
primary_v_switch_id | typing.Union[str, 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. |
primary_zone_id | typing.Union[str, ros_cdk_core.IResolvable] | Property primaryZoneId: Availability zone ID of the primary availability zone instance. |
standby_v_switch_id | typing.Union[str, 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. |
standby_zone_id | typing.Union[str, ros_cdk_core.IResolvable] | Property standbyZoneId: Standby zone id. |
auto_renew_period | typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] | Property autoRenewPeriod: The auto-renewal period. |
cluster_name | typing.Union[str, ros_cdk_core.IResolvable] | Property clusterName: Instance name. |
deletion_protection | typing.Union[bool, ros_cdk_core.IResolvable] | Property deletionProtection: Specifies whether to enable the release protection feature for the cluster. |
master_instance_type | typing.Union[str, ros_cdk_core.IResolvable] | Property masterInstanceType: The instance type of the master node. |
period | typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] | Property period: The subscription duration of a subscription instance. |
period_unit | typing.Union[str, ros_cdk_core.IResolvable] | Property periodUnit: The purchase unit for subscription instances. |
resource_group_id | typing.Union[str, ros_cdk_core.IResolvable] | Property resourceGroupId: The ID of the resource group. |
security_ip_list | typing.Union[str, ros_cdk_core.IResolvable] | Property securityIpList: The IP addresses to add to the instance whitelist. |
vpc_id | typing.Union[str, ros_cdk_core.IResolvable] | Property vpcId: The ID of the virtual private cloud (VPC). |
arbiter_v_switch_idRequired
arbiter_v_switch_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property arbiterVSwitchId: Arbitration virtual switch ID.
The switch must be in the availability zone corresponding to ArbiterZoneId.
arbiter_zone_idRequired
arbiter_zone_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property arbiterZoneId: Arbiter zond id.
arch_versionRequired
arch_version: typing.Union[str, IResolvable]
- Type: typing.Union[str, 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.
core_disk_sizeRequired
core_disk_size: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property coreDiskSize: The value ranges from 400 GB to 64,000 GB.
The step size is 40 GB.
core_disk_typeRequired
core_disk_type: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property coreDiskType: Core node disk type.
Valid values: cloud_efficiency cloud_ssd local_hdd_pro local_ssd_pro
core_instance_typeRequired
core_instance_type: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property coreInstanceType: You can call the DescribeAvailableResource operation to obtain the value of this parameter.
core_node_countRequired
core_node_count: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], 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
engine: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property engine: Service type.
Currently, only HBase enhanced version is supported. The value can be hbaseue.
engine_versionRequired
engine_version: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property engineVersion: The version of the engine.
Valid values: hbaseue:2.0
log_disk_sizeRequired
log_disk_size: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], 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.
log_disk_typeRequired
log_disk_type: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property logDiskType: Log node disk type.
Valid values: cloud_efficiency cloud_ssd local_hdd_pro local_ssd_pro
log_instance_typeRequired
log_instance_type: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property logInstanceType: The node specifications for log nodes.
You can query available specifications by calling the DescribeInstanceType API.
log_node_countRequired
log_node_count: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], 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.
multi_zone_combinationRequired
multi_zone_combination: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property multiZoneCombination: The zone combination.
You can check the supported zone combinations on the buy page or by calling the DescribeMultiZoneAvailableRegions API.
pay_typeRequired
pay_type: typing.Union[str, IResolvable]
- Type: typing.Union[str, 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.
primary_v_switch_idRequired
primary_v_switch_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, 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.
primary_zone_idRequired
primary_zone_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property primaryZoneId: Availability zone ID of the primary availability zone instance.
standby_v_switch_idRequired
standby_v_switch_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, 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.
standby_zone_idRequired
standby_zone_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property standbyZoneId: Standby zone id.
auto_renew_periodOptional
auto_renew_period: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], 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.
cluster_nameOptional
cluster_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property clusterName: Instance name.
The naming convention is as follows:
- Length must be 2 to 128 characters.
- Must start with a letter (uppercase or lowercase) or a Chinese character.
- Can contain digits or special characters. Valid special characters include the period (.), hyphen (-), and underscore (_).
deletion_protectionOptional
deletion_protection: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, ros_cdk_core.IResolvable]
Property deletionProtection: Specifies whether to enable the release protection feature for the cluster.
Default is false.
master_instance_typeOptional
master_instance_type: typing.Union[str, IResolvable]
- Type: typing.Union[str, 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
period: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property period: The subscription duration of a subscription instance.
Valid values:
- When PeriodUnit is year, the value range is 1 to 3.
- When PeriodUnit is month, the value range is 1 to 9.
This parameter is required only when the payment type of the instance is Prepaid.
period_unitOptional
period_unit: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property periodUnit: The purchase unit for subscription instances.
Valid values:
- year: Year.
- month: Month.
This parameter is required only when the payment type of the instance is Prepaid.
resource_group_idOptional
resource_group_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, 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.
security_ip_listOptional
security_ip_list: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property securityIpList: The IP addresses to add to the instance whitelist.
Separate multiple IP addresses with commas (,).
If the IP address is set to 127.0.0.1, access to the instance from all IP addresses is denied. For example, if the IP address is set to 192.168.0.0/24, all IP addresses in the range 192.168.0.XX are allowed to access the instance.
vpc_idOptional
vpc_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, 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.