MultiZoneInstanceProps
Properties for defining a MultiZoneInstance
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-lindorm-multizoneinstance
Initializer
import com.aliyun.ros.cdk.lindorm.MultiZoneInstanceProps;
MultiZoneInstanceProps.builder()
.diskCategory(java.lang.String)
.diskCategory(IResolvable)
.instanceName(java.lang.String)
.instanceName(IResolvable)
.vpcId(java.lang.String)
.vpcId(IResolvable)
// .arbiterVSwitchId(java.lang.String)
// .arbiterVSwitchId(IResolvable)
// .arbiterZoneId(java.lang.String)
// .arbiterZoneId(IResolvable)
// .coldStorage(java.lang.Number)
// .coldStorage(IResolvable)
// .coreSingleStorage(java.lang.Number)
// .coreSingleStorage(IResolvable)
// .coreSpec(java.lang.String)
// .coreSpec(IResolvable)
// .filestoreNum(java.lang.Number)
// .filestoreNum(IResolvable)
// .filestoreSpec(java.lang.String)
// .filestoreSpec(IResolvable)
// .instanceChargeType(java.lang.String)
// .instanceChargeType(IResolvable)
// .lindormNum(java.lang.Number)
// .lindormNum(IResolvable)
// .lindormSpec(java.lang.String)
// .lindormSpec(IResolvable)
// .logDiskCategory(java.lang.String)
// .logDiskCategory(IResolvable)
// .logNum(java.lang.Number)
// .logNum(IResolvable)
// .logSingleStorage(java.lang.Number)
// .logSingleStorage(IResolvable)
// .logSpec(java.lang.String)
// .logSpec(IResolvable)
// .multiZoneCombination(java.lang.String)
// .multiZoneCombination(IResolvable)
// .period(java.lang.Number)
// .period(IResolvable)
// .periodUnit(java.lang.String)
// .periodUnit(IResolvable)
// .primaryVSwitchId(java.lang.String)
// .primaryVSwitchId(IResolvable)
// .primaryZoneId(java.lang.String)
// .primaryZoneId(IResolvable)
// .resourceGroupId(java.lang.String)
// .resourceGroupId(IResolvable)
// .securityIpList(IResolvable)
// .securityIpList(java.util.List<java.lang.String)
// .securityIpList(IResolvable>)
// .solrNum(java.lang.Number)
// .solrNum(IResolvable)
// .solrSpec(java.lang.String)
// .solrSpec(IResolvable)
// .standbyVSwitchId(java.lang.String)
// .standbyVSwitchId(IResolvable)
// .standbyZoneId(java.lang.String)
// .standbyZoneId(IResolvable)
// .streamNum(java.lang.Number)
// .streamNum(IResolvable)
// .streamSpec(java.lang.String)
// .streamSpec(IResolvable)
// .tsdbNum(java.lang.Number)
// .tsdbNum(IResolvable)
// .tsdbSpec(java.lang.String)
// .tsdbSpec(IResolvable)
.build();
Properties
Name | Type | Description |
---|---|---|
diskCategory |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property diskCategory: The storage type of the instance. |
instanceName |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property instanceName: The name of the instance that you want to create. |
vpcId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property vpcId: The ID of the VPC in which you want to create the instance. |
arbiterVSwitchId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property arbiterVSwitchId: The ID of the vSwitch that is specified for the zone for the coordinate node of the instance. |
arbiterZoneId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property arbiterZoneId: The ID of the zone for the coordinate node of the instance. |
coldStorage |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property coldStorage: The cold storage capacity of the instance. |
coreSingleStorage |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property coreSingleStorage: The storage capacity of the disk of a single core node. |
coreSpec |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property coreSpec: The specification of the nodes in the instance if you set DiskCategory to local_ssd_pro or local_hdd_pro. |
filestoreNum |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property filestoreNum: The number of LindormDFS nodes in the instance. |
filestoreSpec |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property filestoreSpec: The specification of LindormDFS nodes in the instance. |
instanceChargeType |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property instanceChargeType: The billing method of the instance you want to create. |
lindormNum |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property lindormNum: The number of LindormTable nodes in the instance. |
lindormSpec |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property lindormSpec: The specification of LindormTable nodes in the instance. |
logDiskCategory |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property logDiskCategory: The disk type of the log nodes. |
logNum |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property logNum: The number of the log nodes. |
logSingleStorage |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property logSingleStorage: The storage capacity of the disk of a single log node. |
logSpec |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property logSpec: The type of the log nodes. |
multiZoneCombination |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property multiZoneCombination: The combinations of zones that are available for the multi-zone instance. |
period |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property period: The subscription period of the instance. |
periodUnit |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property periodUnit: The period based on which you are charged for the instance. |
primaryVSwitchId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
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 |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
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 |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property resourceGroupId: The ID of the resource group to which the Lindorm instance belongs. |
securityIpList |
com.aliyun.ros.cdk.core.IResolvable OR java.util.List |
Property securityIpList: The ip white list of instance. |
solrNum |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property solrNum: The number of LindormSearch nodes in the instance. |
solrSpec |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property solrSpec: The specification of the LindormSearch nodes in the instance. |
standbyVSwitchId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property standbyVSwitchId: The ID of the vSwitch that is specified for the secondary zone of the instance. |
standbyZoneId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property standbyZoneId: The ID of the secondary zone of the instance. |
streamNum |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property streamNum: The number of LindormStream nodes in the instance. |
streamSpec |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property streamSpec: The specification of LindormStream nodes in the instance. |
tsdbNum |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property tsdbNum: The number of the LindormTSDB nodes in the instance. |
tsdbSpec |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property tsdbSpec: The specification of the LindormTSDB nodes in the instance. |
diskCategory
Required
public java.lang.Object getDiskCategory();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
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.
instanceName
Required
public java.lang.Object getInstanceName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property instanceName: The name of the instance that you want to create.
vpcId
Required
public java.lang.Object getVpcId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property vpcId: The ID of the VPC in which you want to create the instance.
arbiterVSwitchId
Optional
public java.lang.Object getArbiterVSwitchId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
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.
arbiterZoneId
Optional
public java.lang.Object getArbiterZoneId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
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.
coldStorage
Optional
public java.lang.Object getColdStorage();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
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.
coreSingleStorage
Optional
public java.lang.Object getCoreSingleStorage();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
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.
coreSpec
Optional
public java.lang.Object getCoreSpec();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
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.
filestoreNum
Optional
public java.lang.Object getFilestoreNum();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
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.
filestoreSpec
Optional
public java.lang.Object getFilestoreSpec();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
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.
instanceChargeType
Optional
public java.lang.Object getInstanceChargeType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property instanceChargeType: The billing method of the instance you want to create.
Valid values: PREPAY: subscription. POSTPAY: pay-as-you-go. Default value: POSTPAY
lindormNum
Optional
public java.lang.Object getLindormNum();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
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.
lindormSpec
Optional
public java.lang.Object getLindormSpec();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
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.
logDiskCategory
Optional
public java.lang.Object getLogDiskCategory();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
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.
logNum
Optional
public java.lang.Object getLogNum();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
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.
logSingleStorage
Optional
public java.lang.Object getLogSingleStorage();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
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.
logSpec
Optional
public java.lang.Object getLogSpec();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
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.
multiZoneCombination
Optional
public java.lang.Object getMultiZoneCombination();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
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.
period
Optional
public java.lang.Object getPeriod();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
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.
periodUnit
Optional
public java.lang.Object getPeriodUnit();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
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.
primaryVSwitchId
Optional
public java.lang.Object getPrimaryVSwitchId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
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
Optional
public java.lang.Object getPrimaryZoneId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
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
Optional
public java.lang.Object getResourceGroupId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property resourceGroupId: The ID of the resource group to which the Lindorm instance belongs.
securityIpList
Optional
public java.lang.Object getSecurityIpList();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
Property securityIpList: The ip white list of instance.
solrNum
Optional
public java.lang.Object getSolrNum();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property solrNum: The number of LindormSearch nodes in the instance.
Valid values: integers from 0 to 60.
solrSpec
Optional
public java.lang.Object getSolrSpec();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
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.
standbyVSwitchId
Optional
public java.lang.Object getStandbyVSwitchId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
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.
standbyZoneId
Optional
public java.lang.Object getStandbyZoneId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property standbyZoneId: The ID of the secondary zone of the instance.
**This parameter is required if you want to create a multi-zone instance.
streamNum
Optional
public java.lang.Object getStreamNum();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property streamNum: The number of LindormStream nodes in the instance.
Valid values: integers from 0 to 90.
streamSpec
Optional
public java.lang.Object getStreamSpec();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
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.
tsdbNum
Optional
public java.lang.Object getTsdbNum();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
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.
tsdbSpec
Optional
public java.lang.Object getTsdbSpec();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
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.