ClusterProps
Properties for defining a Cluster.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-mse-cluster
Initializer
import { ClusterProps } from '@alicloud/ros-cdk-mse'
const clusterProps: ClusterProps = { ... }
Properties
| Name | Type | Description |
|---|---|---|
clusterSpecification | string | @alicloud/ros-cdk-core.IResolvable | Property clusterSpecification: Engine specification. |
clusterType | string | @alicloud/ros-cdk-core.IResolvable | Property clusterType: Cluster type, including ZooKeeper, Nacos-Ans. |
clusterVersion | string | @alicloud/ros-cdk-core.IResolvable | Property clusterVersion: Cluster version. |
instanceCount | number | @alicloud/ros-cdk-core.IResolvable | Property instanceCount: Number of instance nodes, with a range limit of 1 to 9. |
netType | string | @alicloud/ros-cdk-core.IResolvable | Property netType: Network type. |
aclEntryList | @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[] | Property aclEntryList: List of ACL entries. |
chargeType | string | @alicloud/ros-cdk-core.IResolvable | Property chargeType: Billing mode, including PREPAY (annual\/monthly) and POSTPAY (pay-as-you-go). |
clusterAliasName | string | @alicloud/ros-cdk-core.IResolvable | Property clusterAliasName: cluster alias name. |
connectionType | string | @alicloud/ros-cdk-core.IResolvable | Property connectionType: Network access type, slb or single_eni; |
eipEnabled | boolean | @alicloud/ros-cdk-core.IResolvable | Property eipEnabled: Valid when ConnectionType is single_eni, indicating whether to enable public network access (Elastic IP). |
mseVersion | string | @alicloud/ros-cdk-core.IResolvable | Property mseVersion: Must be filled unless special circumstances. |
pubNetworkFlow | number | @alicloud/ros-cdk-core.IResolvable | Property pubNetworkFlow: Public network flow. |
requestPars | string | @alicloud/ros-cdk-core.IResolvable | Property requestPars: Extended request parameters in JSON format. |
resourceGroupId | string | @alicloud/ros-cdk-core.IResolvable | Property resourceGroupId: Resource group id. |
securityGroupType | string | @alicloud/ros-cdk-core.IResolvable | Property securityGroupType: Valid when ConnectionType is single_eni, indicating the security group type of the instance. |
tags | TagsProperty[] | Property tags: Tags to attach to cluster. |
vpcId | string | @alicloud/ros-cdk-core.IResolvable | Property vpcId: VPC ID. |
vSwitchId | string | @alicloud/ros-cdk-core.IResolvable | Property vSwitchId: Switch ID. |
clusterSpecificationRequired
public readonly clusterSpecification: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property clusterSpecification: Engine specification.
[Professional Edition] - MSE_SC_2_4_60_c: 2 cores 4GB - MSE_SC_1_2_60_c: 1 core 2GB - MSE_SC_4_8_60_c: 4 cores 8GB - MSE_SC_8_16_60_c: 8 cores 16GB - MSE_SC_16_32_60_c: 16 cores 32GB
[Development Edition] - MSE_SC_1_2_60_c: 1 core 2GB - MSE_SC_2_4_60_c: 2 cores 4GB
[Serverless Edition] - Ignore this parameter or fill with MSE_SC_SERVERLESS.
clusterTypeRequired
public readonly clusterType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property clusterType: Cluster type, including ZooKeeper, Nacos-Ans.
clusterVersionRequired
public readonly clusterVersion: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property clusterVersion: Cluster version.
[Professional Edition] - NACOS_2_0_0: Nacos 2.x.x version. - ZooKeeper_3_8_0: ZooKeeper 3.8.x version.
[Development Edition] - NACOS_2_0_0: Nacos 2.x version. - ZooKeeper_3_8_0: ZooKeeper 3.8.x version.
[Serverless Edition] - NACOS_2_0_0: Nacos 2.x version. - ZooKeeper_3_8_0: ZooKeeper 3.8.x version.
instanceCountRequired
public readonly instanceCount: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
Property instanceCount: Number of instance nodes, with a range limit of 1 to 9.
[Professional Edition] - The number of instances must be 3 or more and must be an odd number. [Developer Edition] - The number of instances can only be 1. [Serverless Edition] Ignore this parameter.
netTypeRequired
public readonly netType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property netType: Network type.
Valid values: - privatenet: Private network. - pubnet: Public network.
aclEntryListOptional
public readonly aclEntryList: IResolvable | string | IResolvable[];
- Type: @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[]
Property aclEntryList: List of ACL entries.
chargeTypeOptional
public readonly chargeType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property chargeType: Billing mode, including PREPAY (annual\/monthly) and POSTPAY (pay-as-you-go).
Ignored for Serverless Edition.
clusterAliasNameOptional
public readonly clusterAliasName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property clusterAliasName: cluster alias name.
connectionTypeOptional
public readonly connectionType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property connectionType: Network access type, slb or single_eni;
some regions only support single_eni for Development Edition.
eipEnabledOptional
public readonly eipEnabled: boolean | IResolvable;
- Type: boolean | @alicloud/ros-cdk-core.IResolvable
Property eipEnabled: Valid when ConnectionType is single_eni, indicating whether to enable public network access (Elastic IP).
mseVersionOptional
public readonly mseVersion: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property mseVersion: Must be filled unless special circumstances.
Valid values: - mse_pro: Professional Edition. - mse_dev: Development Edition. - mse_serverless: Serverless Edition.
pubNetworkFlowOptional
public readonly pubNetworkFlow: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
Property pubNetworkFlow: Public network flow.
Valid when ConnectionType is slb. 0 means do not create public SLB; 1 or above indicates fixed bandwidth value in Mbps. Range: 0~5000.
requestParsOptional
public readonly requestPars: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property requestPars: Extended request parameters in JSON format.
resourceGroupIdOptional
public readonly resourceGroupId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property resourceGroupId: Resource group id.
securityGroupTypeOptional
public readonly securityGroupType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property securityGroupType: Valid when ConnectionType is single_eni, indicating the security group type of the instance.
tagsOptional
public readonly tags: TagsProperty[];
- Type: TagsProperty[]
Property tags: Tags to attach to cluster.
Max support 20 tags to add during create cluster. Each tag with two properties Key and Value, and Key is required.
vpcIdOptional
public readonly vpcId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property vpcId: VPC ID.
vSwitchIdOptional
public readonly vSwitchId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property vSwitchId: Switch ID.