MultiZoneInstanceProps
Properties for defining a MultiZoneInstance.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-lindorm-multizoneinstance
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdklindorm"
&alicloudroscdklindorm.MultiZoneInstanceProps {
DiskCategory: interface{},
InstanceName: interface{},
VpcId: interface{},
ArbiterVSwitchId: interface{},
ArbiterZoneId: interface{},
ColdStorage: interface{},
CoreSingleStorage: interface{},
CoreSpec: interface{},
DeletionProtection: interface{},
FilestoreNum: interface{},
FilestoreSpec: interface{},
InstanceChargeType: interface{},
LindormNum: interface{},
LindormSpec: interface{},
LogDiskCategory: interface{},
LogNum: interface{},
LogSingleStorage: interface{},
LogSpec: interface{},
MultiZoneCombination: interface{},
Period: interface{},
PeriodUnit: interface{},
PrimaryVSwitchId: interface{},
PrimaryZoneId: interface{},
ResourceGroupId: interface{},
SecurityIpList: interface{},
SolrNum: interface{},
SolrSpec: interface{},
StandbyVSwitchId: interface{},
StandbyZoneId: interface{},
StreamNum: interface{},
StreamSpec: interface{},
TsdbNum: interface{},
TsdbSpec: interface{},
}
Properties
| Name | Type | Description |
|---|---|---|
DiskCategory |
interface{} |
Property diskCategory: The storage type of the instance. |
InstanceName |
interface{} |
Property instanceName: The name of the instance that you want to create. |
VpcId |
interface{} |
Property vpcId: The ID of the VPC in which you want to create the instance. |
ArbiterVSwitchId |
interface{} |
Property arbiterVSwitchId: The ID of the vSwitch that is specified for the zone for the coordinate node of the instance. |
ArbiterZoneId |
interface{} |
Property arbiterZoneId: The ID of the zone for the coordinate node of the instance. |
ColdStorage |
interface{} |
Property coldStorage: The cold storage capacity of the instance. |
CoreSingleStorage |
interface{} |
Property coreSingleStorage: The storage capacity of the disk of a single core node. |
CoreSpec |
interface{} |
Property coreSpec: The specification of the nodes in the instance if you set DiskCategory to local_ssd_pro or local_hdd_pro. |
DeletionProtection |
interface{} |
Property deletionProtection: Specifies whether to enable the release protection feature for the instance. |
FilestoreNum |
interface{} |
Property filestoreNum: The number of LindormDFS nodes in the instance. |
FilestoreSpec |
interface{} |
Property filestoreSpec: The specification of LindormDFS nodes in the instance. |
InstanceChargeType |
interface{} |
Property instanceChargeType: The billing method of the instance you want to create. |
LindormNum |
interface{} |
Property lindormNum: The number of LindormTable nodes in the instance. |
LindormSpec |
interface{} |
Property lindormSpec: The specification of LindormTable nodes in the instance. |
LogDiskCategory |
interface{} |
Property logDiskCategory: The disk type of the log nodes. |
LogNum |
interface{} |
Property logNum: The number of the log nodes. |
LogSingleStorage |
interface{} |
Property logSingleStorage: The storage capacity of the disk of a single log node. |
LogSpec |
interface{} |
Property logSpec: The type of the log nodes. |
MultiZoneCombination |
interface{} |
Property multiZoneCombination: The combinations of zones that are available for the multi-zone instance. |
Period |
interface{} |
Property period: The subscription period of the instance. |
PeriodUnit |
interface{} |
Property periodUnit: The period based on which you are charged for the instance. |
PrimaryVSwitchId |
interface{} |
Property primaryVSwitchId: For multiple available regions, the virtual switch ID of the main available area must be under the available area corresponding to the Primaryzoneid.If you need to create a multi -available area example, this parameter must be filled. |
PrimaryZoneId |
interface{} |
Property primaryZoneId: For many available zone instances, the available area ID of the main available area.If you need to create a multi -available area example, this parameter must be filled. |
ResourceGroupId |
interface{} |
Property resourceGroupId: The ID of the resource group to which the Lindorm instance belongs. |
SecurityIpList |
interface{} |
Property securityIpList: The ip white list of instance. |
SolrNum |
interface{} |
Property solrNum: The number of LindormSearch nodes in the instance. |
SolrSpec |
interface{} |
Property solrSpec: The specification of the LindormSearch nodes in the instance. |
StandbyVSwitchId |
interface{} |
Property standbyVSwitchId: The ID of the vSwitch that is specified for the secondary zone of the instance. |
StandbyZoneId |
interface{} |
Property standbyZoneId: The ID of the secondary zone of the instance. |
StreamNum |
interface{} |
Property streamNum: The number of LindormStream nodes in the instance. |
StreamSpec |
interface{} |
Property streamSpec: The specification of LindormStream nodes in the instance. |
TsdbNum |
interface{} |
Property tsdbNum: The number of the LindormTSDB nodes in the instance. |
TsdbSpec |
interface{} |
Property tsdbSpec: The specification of the LindormTSDB nodes in the instance. |
DiskCategoryRequired
DiskCategory interface{}
- Type: interface{}
Property diskCategory: The storage type of the instance.
Valid values: cloud_efficiency: This instance uses the Standard type of storage. cloud_ssd: This instance uses the Performance type of storage. capacity_cloud_storage: This instance uses the Capacity type of storage. local_ssd_pro: This instance uses local SSDs. local_hdd_pro: This instance uses local HDDs.
InstanceNameRequired
InstanceName interface{}
- Type: interface{}
Property instanceName: The name of the instance that you want to create.
VpcIdRequired
VpcId interface{}
- Type: interface{}
Property vpcId: The ID of the VPC in which you want to create the instance.
ArbiterVSwitchIdOptional
ArbiterVSwitchId interface{}
- Type: interface{}
Property arbiterVSwitchId: The ID of the vSwitch that is specified for the zone for the coordinate node of the instance.
The vSwitch must be deployed in the zone specified by the ArbiterZoneId parameter. **This parameter is required if you want to create a multi-zone instance.
ArbiterZoneIdOptional
ArbiterZoneId interface{}
- Type: interface{}
Property arbiterZoneId: The ID of the zone for the coordinate node of the instance.
**This parameter is required if you want to create a multi-zone instance.
ColdStorageOptional
ColdStorage interface{}
- Type: interface{}
Property coldStorage: The cold storage capacity of the instance.
By default, if you leave this parameter unspecified, cold storage is not enabled for the instance. Unit: GB. Valid values: 800 to 1000000.
CoreSingleStorageOptional
CoreSingleStorage interface{}
- Type: interface{}
Property coreSingleStorage: The storage capacity of the disk of a single core node.
Valid values: 400 to 64000. Unit: GB. **This parameter is required if you want to create a multi-zone instance.
CoreSpecOptional
CoreSpec interface{}
- Type: interface{}
Property coreSpec: The specification of the nodes in the instance if you set DiskCategory to local_ssd_pro or local_hdd_pro.
When DiskCategory is set to local_ssd_pro, you can set this parameter to the following values: lindorm.i2.xlarge: Each node has 4 dedicated CPU cores and 32 GB of dedicated memory. lindorm.i2.2xlarge: Each node has 8 dedicated CPU cores and 64 GB of dedicated memory. lindorm.i2.4xlarge: Each node has 16 dedicated CPU cores and 128 GB of dedicated memory. lindorm.i2.8xlarge: Each node has 32 dedicated CPU cores and 256 GB of dedicated memory. When DiskCategory is set to local_hdd_pro, you can set this parameter to the following values: lindorm.d1.2xlarge: Each node has 8 dedicated CPU cores and 32 GB of dedicated memory. lindorm.d1.4xlarge: Each node has 16 dedicated CPU cores and 64 GB of dedicated memory. lindorm.d1.6xlarge: Each node has 24 dedicated CPU cores and 96 GB of dedicated memory.
DeletionProtectionOptional
DeletionProtection interface{}
- Type: interface{}
Property deletionProtection: Specifies whether to enable the release protection feature for the instance.
Default is false.
FilestoreNumOptional
FilestoreNum interface{}
- Type: interface{}
Property filestoreNum: The number of LindormDFS nodes in the instance.
The valid values of this parameter depend on the value of the PayType parameter. If the PayType parameter is set to PREPAY, set this parameter to an integer that ranges from 0 to 60. If the PayType parameter is set to POSTPAY, set this parameter to an integer that ranges from 0 to 8.
FilestoreSpecOptional
FilestoreSpec interface{}
- Type: interface{}
Property filestoreSpec: The specification of LindormDFS nodes in the instance.
Set the value of this parameter to lindorm.c.xlarge, which indicates that each node has 4 dedicated CPU cores and 8 GB of dedicated memory.
InstanceChargeTypeOptional
InstanceChargeType interface{}
- Type: interface{}
Property instanceChargeType: The billing method of the instance you want to create.
Valid values: PREPAY: subscription. POSTPAY: pay-as-you-go. Default value: POSTPAY
LindormNumOptional
LindormNum interface{}
- Type: interface{}
Property lindormNum: The number of LindormTable nodes in the instance.
The valid values of this parameter depend on the value of the PayType parameter. If the PayType parameter is set to PREPAY, set this parameter to an integer that ranges from 0 to 90. If the PayType parameter is set to POSTPAY, set this parameter to an integer that ranges from 0 to 400. ** This parameter is required if you want to create a multi-zone instance. ** The valid values of this parameter range from 4 to 400 if you want to create a multi-zone instance.
LindormSpecOptional
LindormSpec interface{}
- Type: interface{}
Property lindormSpec: The specification of LindormTable nodes in the instance.
Valid values: lindorm.g.xlarge: Each node has 4 dedicated CPU cores and 16 GB of dedicated memory. lindorm.g.2xlarge: Each node has 8 dedicated CPU cores and 32 GB of dedicated memory. lindorm.g.4xlarge: Each node has 16 dedicated CPU cores and 64 GB of dedicated memory. lindorm.g.8xlarge: Each node has 32 dedicated CPU cores and 128 GB of dedicated memory. lindorm.c.xlarge: Each node has 4 dedicated CPU cores and 8 GB of dedicated memory. lindorm.c.2xlarge: Each node has 8 dedicated CPU cores and 16 GB of dedicated memory. lindorm.c.4xlarge: Each node has 16 dedicated CPU cores and 32 GB of dedicated memory. lindorm.c.8xlarge: Each node has 32 dedicated CPU cores and 64 GB of dedicated memory.
LogDiskCategoryOptional
LogDiskCategory interface{}
- Type: interface{}
Property logDiskCategory: The disk type of the log nodes.
Valid values: cloud_efficiencyćcloud_essd. This parameter is required if you want to create a multi-zone instance.
LogNumOptional
LogNum interface{}
- Type: interface{}
Property logNum: The number of the log nodes.
Valid values: 4 to 400. **This parameter is required if you want to create a multi-zone instance.
LogSingleStorageOptional
LogSingleStorage interface{}
- Type: interface{}
Property logSingleStorage: The storage capacity of the disk of a single log node.
Valid values: 400 to 64000. Unit: GB. **This parameter is required if you want to create a multi-zone instance.
LogSpecOptional
LogSpec interface{}
- Type: interface{}
Property logSpec: The type of the log nodes.
Valid values: lindorm.sn1.large: Each node has 4 dedicated CPU cores and 8 GB of dedicated memory. lindorm.sn1.2xlarge: Each node has 8 dedicated CPU cores and 16 GB of dedicated memory. **This parameter is required if you want to create a multi-zone instance.
MultiZoneCombinationOptional
MultiZoneCombination interface{}
- Type: interface{}
Property multiZoneCombination: The combinations of zones that are available for the multi-zone instance.
You can go to the purchase page of Lindorm to view the supported zone combinations. ap-southeast-5abc-aliyun: Zone A+B+C in the Indonesia (Jakarta) region. cn-hangzhou-ehi-aliyun: Zone E+H+I in the China (Hangzhou) region. cn-beijing-acd-aliyun: Zone A+C+D in the China (Beijing) region. ap-southeast-1-abc-aliyun: Zone A+B+C in the Singapore region. cn-zhangjiakou-abc-aliyun: Zone A+B+C in the China (Zhangjiakou) region. cn-shanghai-efg-aliyun: Zone E+F+G in the China (Shanghai) region. cn-shanghai-abd-aliyun: Zone A+B+D in the China (Shanghai) region. cn-hangzhou-bef-aliyun: Zone B+E+F in the China (Hangzhou) region. cn-hangzhou-bce-aliyun: Zone B+C+E in the China (Hangzhou) region. cn-beijing-fgh-aliyun: Zone F+G+H in the China (Beijing) region. cn-shenzhen-abc-aliyun: Zone A+B+C in the China (Shenzhen) region. **This parameter is required if you want to create a multi-zone instance.
PeriodOptional
Period interface{}
- Type: interface{}
Property period: The subscription period of the instance.
The valid values of this parameter depend on the value of the PeriodUnit parameter. If PeriodUnit is set to Month, Valid values are 1,2,3,4,5,6,7,8,9,12,24,36. If PeriodUnit is set to Year, set this parameter to an integer that ranges from 1 to 3. NoteThis parameter is available and required when the PayType parameter is set to PREPAY.
PeriodUnitOptional
PeriodUnit interface{}
- Type: interface{}
Property periodUnit: The period based on which you are charged for the instance.
Valid values: Month: You are charged for the instance on a monthly basis. Year: You are charged for the instance on a yearly basis. NoteThis parameter is available and required when the PayType parameter is set to PREPAY.
PrimaryVSwitchIdOptional
PrimaryVSwitchId interface{}
- Type: interface{}
Property primaryVSwitchId: For multiple available regions, the virtual switch ID of the main available area must be under the available area corresponding to the Primaryzoneid.If you need to create a multi -available area example, this parameter must be filled.
PrimaryZoneIdOptional
PrimaryZoneId interface{}
- Type: interface{}
Property primaryZoneId: For many available zone instances, the available area ID of the main available area.If you need to create a multi -available area example, this parameter must be filled.
ResourceGroupIdOptional
ResourceGroupId interface{}
- Type: interface{}
Property resourceGroupId: The ID of the resource group to which the Lindorm instance belongs.
SecurityIpListOptional
SecurityIpList interface{}
- Type: interface{}
Property securityIpList: The ip white list of instance.
SolrNumOptional
SolrNum interface{}
- Type: interface{}
Property solrNum: The number of LindormSearch nodes in the instance.
Valid values: integers from 0 to 60.
SolrSpecOptional
SolrSpec interface{}
- Type: interface{}
Property solrSpec: The specification of the LindormSearch nodes in the instance.
Valid values: lindorm.g.xlarge: Each node has 4 dedicated CPU cores and 16 GB of dedicated memory. lindorm.g.2xlarge: Each node has 8 dedicated CPU cores and 32 GB of dedicated memory. lindorm.g.4xlarge: Each node has 16 dedicated CPU cores and 64 GB of dedicated memory. lindorm.g.8xlarge: Each node has 32 dedicated CPU cores and 128 GB of dedicated memory.
StandbyVSwitchIdOptional
StandbyVSwitchId interface{}
- Type: interface{}
Property standbyVSwitchId: The ID of the vSwitch that is specified for the secondary zone of the instance.
The vSwitch must be deployed in the zone specified by the StandbyZoneId parameter. **This parameter is required if you want to create a multi-zone instance.
StandbyZoneIdOptional
StandbyZoneId interface{}
- Type: interface{}
Property standbyZoneId: The ID of the secondary zone of the instance.
**This parameter is required if you want to create a multi-zone instance.
StreamNumOptional
StreamNum interface{}
- Type: interface{}
Property streamNum: The number of LindormStream nodes in the instance.
Valid values: integers from 0 to 90.
StreamSpecOptional
StreamSpec interface{}
- Type: interface{}
Property streamSpec: The specification of LindormStream nodes in the instance.
Valid values: lindorm.g.xlarge: Each node has 4 dedicated CPU cores and 16 GB of dedicated memory. lindorm.g.2xlarge: Each node has 8 dedicated CPU cores and 32 GB of dedicated memory. lindorm.g.4xlarge: Each node has 16 dedicated CPU cores and 64 GB of dedicated memory. lindorm.g.8xlarge: Each node has 32 dedicated CPU cores and 128 GB of dedicated memory. lindorm.c.xlarge: Each node has 4 dedicated CPU cores and 8 GB of dedicated memory. lindorm.c.2xlarge: Each node has 8 dedicated CPU cores and 16 GB of dedicated memory. lindorm.c.4xlarge: Each node has 16 dedicated CPU cores and 32 GB of dedicated memory. lindorm.c.8xlarge: Each node has 32 dedicated CPU cores and 64 GB of dedicated memory.
TsdbNumOptional
TsdbNum interface{}
- Type: interface{}
Property tsdbNum: The number of the LindormTSDB nodes in the instance.
The valid values of this parameter depend on the value of the PayType parameter. If the PayType parameter is set to PREPAY, set this parameter to an integer that ranges from 0 to 24. If the PayType parameter is set to POSTPAY, set this parameter to an integer that ranges from 0 to 32.
TsdbSpecOptional
TsdbSpec interface{}
- Type: interface{}
Property tsdbSpec: The specification of the LindormTSDB nodes in the instance.
Valid values: lindorm.g.xlarge: Each node has 4 dedicated CPU cores and 16 GB of dedicated memory. lindorm.g.2xlarge: Each node has 8 dedicated CPU cores and 32 GB of dedicated memory. lindorm.g.4xlarge: Each node has 16 dedicated CPU cores and 64 GB of dedicated memory. lindorm.g.8xlarge: Each node has 32 dedicated CPU cores and 128 GB of dedicated memory.