InstanceProps
Properties for defining a Instance
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-lindorm-instance
Initializer
import { InstanceProps } from '@alicloud/ros-cdk-lindorm'
const instanceProps: InstanceProps = { ... }
Properties
Name | Type | Description |
---|---|---|
diskCategory |
string | @alicloud/ros-cdk-core.IResolvable |
Property diskCategory: The storage type of the instance. |
instanceName |
string | @alicloud/ros-cdk-core.IResolvable |
Property instanceName: The name of the instance that you want to create. |
vpcId |
string | @alicloud/ros-cdk-core.IResolvable |
Property vpcId: The ID of the VPC in which you want to create the instance. |
coldStorage |
number | @alicloud/ros-cdk-core.IResolvable |
Property coldStorage: The cold storage capacity of the instance. |
coreSpec |
string | @alicloud/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. |
deletionProtection |
boolean | @alicloud/ros-cdk-core.IResolvable |
Property deletionProtection: Specifies whether to enable the release protection feature for the instance. |
filestoreNum |
number | @alicloud/ros-cdk-core.IResolvable |
Property filestoreNum: The number of LindormDFS nodes in the instance. |
filestoreSpec |
string | @alicloud/ros-cdk-core.IResolvable |
Property filestoreSpec: The specification of LindormDFS nodes in the instance. |
instanceChargeType |
string | @alicloud/ros-cdk-core.IResolvable |
Property instanceChargeType: The billing method of the instance you want to create. |
instanceStorage |
number | @alicloud/ros-cdk-core.IResolvable |
Property instanceStorage: The storage capacity of the instance you want to create. |
lindormNum |
number | @alicloud/ros-cdk-core.IResolvable |
Property lindormNum: The number of LindormTable nodes in the instance. |
lindormSpec |
string | @alicloud/ros-cdk-core.IResolvable |
Property lindormSpec: The specification of LindormTable nodes in the instance. |
period |
number | @alicloud/ros-cdk-core.IResolvable |
Property period: The subscription period of the instance. |
periodUnit |
string | @alicloud/ros-cdk-core.IResolvable |
Property periodUnit: The period based on which you are charged for the instance. |
resourceGroupId |
string | @alicloud/ros-cdk-core.IResolvable |
Property resourceGroupId: The ID of the resource group to which the Lindorm instance belongs. |
securityIpList |
@alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[] |
Property securityIpList: The ip white list of instance. |
solrNum |
number | @alicloud/ros-cdk-core.IResolvable |
Property solrNum: The number of LindormSearch nodes in the instance. |
solrSpec |
string | @alicloud/ros-cdk-core.IResolvable |
Property solrSpec: The specification of the LindormSearch nodes in the instance. |
streamNum |
number | @alicloud/ros-cdk-core.IResolvable |
Property streamNum: The number of LindormStream nodes in the instance. |
streamSpec |
string | @alicloud/ros-cdk-core.IResolvable |
Property streamSpec: The specification of LindormStream nodes in the instance. |
tsdbNum |
number | @alicloud/ros-cdk-core.IResolvable |
Property tsdbNum: The number of the LindormTSDB nodes in the instance. |
tsdbSpec |
string | @alicloud/ros-cdk-core.IResolvable |
Property tsdbSpec: The specification of the LindormTSDB nodes in the instance. |
vSwitchId |
string | @alicloud/ros-cdk-core.IResolvable |
Property vSwitchId: The ID of the vSwitch to which you want the instance to connect. |
zoneId |
string | @alicloud/ros-cdk-core.IResolvable |
Property zoneId: The ID of the zone in which you want to create the instance. |
diskCategory
Required
public readonly diskCategory: string | IResolvable;
- Type: string | @alicloud/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 readonly instanceName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property instanceName: The name of the instance that you want to create.
vpcId
Required
public readonly vpcId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property vpcId: The ID of the VPC in which you want to create the instance.
coldStorage
Optional
public readonly coldStorage: number | IResolvable;
- Type: number | @alicloud/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.
coreSpec
Optional
public readonly coreSpec: string | IResolvable;
- Type: string | @alicloud/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.
deletionProtection
Optional
public readonly deletionProtection: boolean | IResolvable;
- Type: boolean | @alicloud/ros-cdk-core.IResolvable
Property deletionProtection: Specifies whether to enable the release protection feature for the instance.
Default is false.
filestoreNum
Optional
public readonly filestoreNum: number | IResolvable;
- Type: number | @alicloud/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 readonly filestoreSpec: string | IResolvable;
- Type: string | @alicloud/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 readonly instanceChargeType: string | IResolvable;
- Type: string | @alicloud/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
instanceStorage
Optional
public readonly instanceStorage: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
Property instanceStorage: The storage capacity of the instance you want to create.
Unit: GB.
lindormNum
Optional
public readonly lindormNum: number | IResolvable;
- Type: number | @alicloud/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 readonly lindormSpec: string | IResolvable;
- Type: string | @alicloud/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.
period
Optional
public readonly period: number | IResolvable;
- Type: number | @alicloud/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 readonly periodUnit: string | IResolvable;
- Type: string | @alicloud/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.
resourceGroupId
Optional
public readonly resourceGroupId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property resourceGroupId: The ID of the resource group to which the Lindorm instance belongs.
securityIpList
Optional
public readonly securityIpList: IResolvable | string | IResolvable[];
- Type: @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[]
Property securityIpList: The ip white list of instance.
solrNum
Optional
public readonly solrNum: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
Property solrNum: The number of LindormSearch nodes in the instance.
Valid values: integers from 0 to 60.
solrSpec
Optional
public readonly solrSpec: string | IResolvable;
- Type: string | @alicloud/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.
streamNum
Optional
public readonly streamNum: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
Property streamNum: The number of LindormStream nodes in the instance.
Valid values: integers from 0 to 90.
streamSpec
Optional
public readonly streamSpec: string | IResolvable;
- Type: string | @alicloud/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 readonly tsdbNum: number | IResolvable;
- Type: number | @alicloud/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 readonly tsdbSpec: string | IResolvable;
- Type: string | @alicloud/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.
vSwitchId
Optional
public readonly vSwitchId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property vSwitchId: The ID of the vSwitch to which you want the instance to connect.
zoneId
Optional
public readonly zoneId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property zoneId: The ID of the zone in which you want to create the instance.