InstanceProps
Properties for defining a Instance
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-lindorm-instance
Initializer
using AlibabaCloud.SDK.ROS.CDK.Lindorm;
new InstanceProps {
object DiskCategory,
object InstanceName,
object VpcId,
object ColdStorage = null,
object CoreSpec = null,
object DeletionProtection = null,
object FilestoreNum = null,
object FilestoreSpec = null,
object InstanceChargeType = null,
object InstanceStorage = null,
object LindormNum = null,
object LindormSpec = null,
object Period = null,
object PeriodUnit = null,
object ResourceGroupId = null,
object SecurityIpList = null,
object SolrNum = null,
object SolrSpec = null,
object StreamNum = null,
object StreamSpec = null,
object TsdbNum = null,
object TsdbSpec = null,
object VSwitchId = null,
object ZoneId = null
};
Properties
Name | Type | Description |
---|---|---|
DiskCategory |
object |
Property diskCategory: The storage type of the instance. |
InstanceName |
object |
Property instanceName: The name of the instance that you want to create. |
VpcId |
object |
Property vpcId: The ID of the VPC in which you want to create the instance. |
ColdStorage |
object |
Property coldStorage: The cold storage capacity of the instance. |
CoreSpec |
object |
Property coreSpec: The specification of the nodes in the instance if you set DiskCategory to local_ssd_pro or local_hdd_pro. |
DeletionProtection |
object |
Property deletionProtection: Specifies whether to enable the release protection feature for the instance. |
FilestoreNum |
object |
Property filestoreNum: The number of LindormDFS nodes in the instance. |
FilestoreSpec |
object |
Property filestoreSpec: The specification of LindormDFS nodes in the instance. |
InstanceChargeType |
object |
Property instanceChargeType: The billing method of the instance you want to create. |
InstanceStorage |
object |
Property instanceStorage: The storage capacity of the instance you want to create. |
LindormNum |
object |
Property lindormNum: The number of LindormTable nodes in the instance. |
LindormSpec |
object |
Property lindormSpec: The specification of LindormTable nodes in the instance. |
Period |
object |
Property period: The subscription period of the instance. |
PeriodUnit |
object |
Property periodUnit: The period based on which you are charged for the instance. |
ResourceGroupId |
object |
Property resourceGroupId: The ID of the resource group to which the Lindorm instance belongs. |
SecurityIpList |
object |
Property securityIpList: The ip white list of instance. |
SolrNum |
object |
Property solrNum: The number of LindormSearch nodes in the instance. |
SolrSpec |
object |
Property solrSpec: The specification of the LindormSearch nodes in the instance. |
StreamNum |
object |
Property streamNum: The number of LindormStream nodes in the instance. |
StreamSpec |
object |
Property streamSpec: The specification of LindormStream nodes in the instance. |
TsdbNum |
object |
Property tsdbNum: The number of the LindormTSDB nodes in the instance. |
TsdbSpec |
object |
Property tsdbSpec: The specification of the LindormTSDB nodes in the instance. |
VSwitchId |
object |
Property vSwitchId: The ID of the vSwitch to which you want the instance to connect. |
ZoneId |
object |
Property zoneId: The ID of the zone in which you want to create the instance. |
DiskCategory
Required
public object DiskCategory { get; set; }
- Type: object
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 object InstanceName { get; set; }
- Type: object
Property instanceName: The name of the instance that you want to create.
VpcId
Required
public object VpcId { get; set; }
- Type: object
Property vpcId: The ID of the VPC in which you want to create the instance.
ColdStorage
Optional
public object ColdStorage { get; set; }
- Type: object
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 object CoreSpec { get; set; }
- Type: object
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 object DeletionProtection { get; set; }
- Type: object
Property deletionProtection: Specifies whether to enable the release protection feature for the instance.
Default is false.
FilestoreNum
Optional
public object FilestoreNum { get; set; }
- Type: object
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 object FilestoreSpec { get; set; }
- Type: object
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 object InstanceChargeType { get; set; }
- Type: object
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 object InstanceStorage { get; set; }
- Type: object
Property instanceStorage: The storage capacity of the instance you want to create.
Unit: GB.
LindormNum
Optional
public object LindormNum { get; set; }
- Type: object
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 object LindormSpec { get; set; }
- Type: object
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 object Period { get; set; }
- Type: object
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 object PeriodUnit { get; set; }
- Type: object
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 object ResourceGroupId { get; set; }
- Type: object
Property resourceGroupId: The ID of the resource group to which the Lindorm instance belongs.
SecurityIpList
Optional
public object SecurityIpList { get; set; }
- Type: object
Property securityIpList: The ip white list of instance.
SolrNum
Optional
public object SolrNum { get; set; }
- Type: object
Property solrNum: The number of LindormSearch nodes in the instance.
Valid values: integers from 0 to 60.
SolrSpec
Optional
public object SolrSpec { get; set; }
- Type: object
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 object StreamNum { get; set; }
- Type: object
Property streamNum: The number of LindormStream nodes in the instance.
Valid values: integers from 0 to 90.
StreamSpec
Optional
public object StreamSpec { get; set; }
- Type: object
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 object TsdbNum { get; set; }
- Type: object
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 object TsdbSpec { get; set; }
- Type: object
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 object VSwitchId { get; set; }
- Type: object
Property vSwitchId: The ID of the vSwitch to which you want the instance to connect.
ZoneId
Optional
public object ZoneId { get; set; }
- Type: object
Property zoneId: The ID of the zone in which you want to create the instance.