MultiZoneClusterProps
Properties for defining a MultiZoneCluster.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-hbase-multizonecluster
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkhbase"
&alicloudroscdkhbase.MultiZoneClusterProps {
ArbiterVSwitchId: interface{},
ArbiterZoneId: interface{},
ArchVersion: interface{},
CoreDiskSize: interface{},
CoreDiskType: interface{},
CoreInstanceType: interface{},
CoreNodeCount: interface{},
Engine: interface{},
EngineVersion: interface{},
LogDiskSize: interface{},
LogDiskType: interface{},
LogInstanceType: interface{},
LogNodeCount: interface{},
MultiZoneCombination: interface{},
PayType: interface{},
PrimaryVSwitchId: interface{},
PrimaryZoneId: interface{},
StandbyVSwitchId: interface{},
StandbyZoneId: interface{},
AutoRenewPeriod: interface{},
ClusterName: interface{},
DeletionProtection: interface{},
MasterInstanceType: interface{},
Period: interface{},
PeriodUnit: interface{},
ResourceGroupId: interface{},
SecurityIpList: interface{},
VpcId: interface{},
}
Properties
| Name | Type | Description |
|---|---|---|
ArbiterVSwitchId | interface{} | Property arbiterVSwitchId: Arbitration virtual switch ID. |
ArbiterZoneId | interface{} | Property arbiterZoneId: Arbiter zond id. |
ArchVersion | interface{} | Property archVersion: Version of the deployment architecture. |
CoreDiskSize | interface{} | Property coreDiskSize: The value ranges from 400 GB to 64,000 GB. |
CoreDiskType | interface{} | Property coreDiskType: Core node disk type. |
CoreInstanceType | interface{} | Property coreInstanceType: You can call the DescribeAvailableResource operation to obtain the value of this parameter. |
CoreNodeCount | interface{} | Property coreNodeCount: Number of Core nodes. |
Engine | interface{} | Property engine: Service type. |
EngineVersion | interface{} | Property engineVersion: The version of the engine. |
LogDiskSize | interface{} | Property logDiskSize: log disk size. |
LogDiskType | interface{} | Property logDiskType: Log node disk type. |
LogInstanceType | interface{} | Property logInstanceType: The node specifications for log nodes. |
LogNodeCount | interface{} | Property logNodeCount: Log number of nodes. |
MultiZoneCombination | interface{} | Property multiZoneCombination: The zone combination. |
PayType | interface{} | Property payType: The billing method. |
PrimaryVSwitchId | interface{} | Property primaryVSwitchId: The virtual switch ID of the instance in primary availability zone must be in the availability zone corresponding to PrimaryZoneId. |
PrimaryZoneId | interface{} | Property primaryZoneId: Availability zone ID of the primary availability zone instance. |
StandbyVSwitchId | interface{} | Property standbyVSwitchId: The virtual switch ID of the standby availability zone instance must be in the corresponding availability zone of StandbyZoneId. |
StandbyZoneId | interface{} | Property standbyZoneId: Standby zone id. |
AutoRenewPeriod | interface{} | Property autoRenewPeriod: The auto-renewal period. |
ClusterName | interface{} | Property clusterName: Instance name. |
DeletionProtection | interface{} | Property deletionProtection: Specifies whether to enable the release protection feature for the cluster. |
MasterInstanceType | interface{} | Property masterInstanceType: The instance type of the master node. |
Period | interface{} | Property period: The subscription duration of a subscription instance. |
PeriodUnit | interface{} | Property periodUnit: The purchase unit for subscription instances. |
ResourceGroupId | interface{} | Property resourceGroupId: The ID of the resource group. |
SecurityIpList | interface{} | Property securityIpList: The IP addresses to add to the instance whitelist. |
VpcId | interface{} | Property vpcId: The ID of the virtual private cloud (VPC). |
ArbiterVSwitchIdRequired
ArbiterVSwitchId interface{}
- Type: interface{}
Property arbiterVSwitchId: Arbitration virtual switch ID.
The switch must be in the availability zone corresponding to ArbiterZoneId.
ArbiterZoneIdRequired
ArbiterZoneId interface{}
- Type: interface{}
Property arbiterZoneId: Arbiter zond id.
ArchVersionRequired
ArchVersion interface{}
- Type: interface{}
Property archVersion: Version of the deployment architecture.
Currently, only the hbaseue engine type is supported. The value can be 2.0.
CoreDiskSizeRequired
CoreDiskSize interface{}
- Type: interface{}
Property coreDiskSize: The value ranges from 400 GB to 64,000 GB.
The step size is 40 GB.
CoreDiskTypeRequired
CoreDiskType interface{}
- Type: interface{}
Property coreDiskType: Core node disk type.
Valid values: cloud_efficiency cloud_ssd local_hdd_pro local_ssd_pro
CoreInstanceTypeRequired
CoreInstanceType interface{}
- Type: interface{}
Property coreInstanceType: You can call the DescribeAvailableResource operation to obtain the value of this parameter.
CoreNodeCountRequired
CoreNodeCount interface{}
- Type: interface{}
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 interface{}
- Type: interface{}
Property engine: Service type.
Currently, only HBase enhanced version is supported. The value can be hbaseue.
EngineVersionRequired
EngineVersion interface{}
- Type: interface{}
Property engineVersion: The version of the engine.
Valid values: hbaseue:2.0
LogDiskSizeRequired
LogDiskSize interface{}
- Type: interface{}
Property logDiskSize: log disk size.
The value ranges from 400 GB to 64,000 GB. The step size is 40 GB.
LogDiskTypeRequired
LogDiskType interface{}
- Type: interface{}
Property logDiskType: Log node disk type.
Valid values: cloud_efficiency cloud_ssd local_hdd_pro local_ssd_pro
LogInstanceTypeRequired
LogInstanceType interface{}
- Type: interface{}
Property logInstanceType: The node specifications for log nodes.
You can query available specifications by calling the DescribeInstanceType API.
LogNodeCountRequired
LogNodeCount interface{}
- Type: interface{}
Property logNodeCount: Log number of nodes.
The value of log nodes ranges from 4 to 400 and is a multiple of 4.
MultiZoneCombinationRequired
MultiZoneCombination interface{}
- Type: interface{}
Property multiZoneCombination: The zone combination.
You can check the supported zone combinations on the buy page or by calling the DescribeMultiZoneAvailableRegions API.
PayTypeRequired
PayType interface{}
- Type: interface{}
Property payType: The billing method.
Prepaid: The subscription billing method is used. Postpaid: The pay-as-you-go billing method is used.
PrimaryVSwitchIdRequired
PrimaryVSwitchId interface{}
- Type: interface{}
Property primaryVSwitchId: The virtual switch ID of the instance in primary availability zone must be in the availability zone corresponding to PrimaryZoneId.
PrimaryZoneIdRequired
PrimaryZoneId interface{}
- Type: interface{}
Property primaryZoneId: Availability zone ID of the primary availability zone instance.
StandbyVSwitchIdRequired
StandbyVSwitchId interface{}
- Type: interface{}
Property standbyVSwitchId: The virtual switch ID of the standby availability zone instance must be in the corresponding availability zone of StandbyZoneId.
StandbyZoneIdRequired
StandbyZoneId interface{}
- Type: interface{}
Property standbyZoneId: Standby zone id.
AutoRenewPeriodOptional
AutoRenewPeriod interface{}
- Type: interface{}
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
ClusterName interface{}
- Type: interface{}
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 (_).
DeletionProtectionOptional
DeletionProtection interface{}
- Type: interface{}
Property deletionProtection: Specifies whether to enable the release protection feature for the cluster.
Default is false.
MasterInstanceTypeOptional
MasterInstanceType interface{}
- Type: interface{}
Property masterInstanceType: The instance type of the master node.
You can call the DescribeAvailableResource operation to obtain the value of this parameter.
PeriodOptional
Period interface{}
- Type: interface{}
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.
PeriodUnitOptional
PeriodUnit interface{}
- Type: interface{}
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.
ResourceGroupIdOptional
ResourceGroupId interface{}
- Type: interface{}
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
SecurityIpList interface{}
- Type: interface{}
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.
VpcIdOptional
VpcId interface{}
- Type: interface{}
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.