Skip to content

ClusterProps

Properties for defining a Cluster.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-mse-cluster

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkmse"
&alicloudroscdkmse.ClusterProps {
    ClusterSpecification: interface{},
    ClusterType: interface{},
    ClusterVersion: interface{},
    InstanceCount: interface{},
    NetType: interface{},
    AclEntryList: interface{},
    ChargeType: interface{},
    ClusterAliasName: interface{},
    ConnectionType: interface{},
    EipEnabled: interface{},
    MseVersion: interface{},
    PubNetworkFlow: interface{},
    RequestPars: interface{},
    ResourceGroupId: interface{},
    SecurityGroupType: interface{},
    Tags: *[]github.com/alibabacloud-go/ros-cdk/alicloudroscdkmse.RosCluster.TagsProperty,
    VpcId: interface{},
    VSwitchId: interface{},
}

Properties

Name Type Description
ClusterSpecification interface{} Property clusterSpecification: Engine specification.
ClusterType interface{} Property clusterType: Cluster type, including ZooKeeper, Nacos-Ans.
ClusterVersion interface{} Property clusterVersion: Cluster version.
InstanceCount interface{} Property instanceCount: Number of instance nodes, with a range limit of 1 to 9.
NetType interface{} Property netType: Network type.
AclEntryList interface{} Property aclEntryList: List of ACL entries.
ChargeType interface{} Property chargeType: Billing mode, including PREPAY (annual\/monthly) and POSTPAY (pay-as-you-go).
ClusterAliasName interface{} Property clusterAliasName: cluster alias name.
ConnectionType interface{} Property connectionType: Network access type, slb or single_eni;
EipEnabled interface{} Property eipEnabled: Valid when ConnectionType is single_eni, indicating whether to enable public network access (Elastic IP).
MseVersion interface{} Property mseVersion: Must be filled unless special circumstances.
PubNetworkFlow interface{} Property pubNetworkFlow: Public network flow.
RequestPars interface{} Property requestPars: Extended request parameters in JSON format.
ResourceGroupId interface{} Property resourceGroupId: Resource group id.
SecurityGroupType interface{} 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 interface{} Property vpcId: VPC ID.
VSwitchId interface{} Property vSwitchId: Switch ID.

ClusterSpecificationRequired

ClusterSpecification interface{}
  • Type: interface{}

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

ClusterType interface{}
  • Type: interface{}

Property clusterType: Cluster type, including ZooKeeper, Nacos-Ans.


ClusterVersionRequired

ClusterVersion interface{}
  • Type: interface{}

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

InstanceCount interface{}
  • Type: interface{}

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

NetType interface{}
  • Type: interface{}

Property netType: Network type.

Valid values:

  • privatenet: Private network.
  • pubnet: Public network.

AclEntryListOptional

AclEntryList interface{}
  • Type: interface{}

Property aclEntryList: List of ACL entries.


ChargeTypeOptional

ChargeType interface{}
  • Type: interface{}

Property chargeType: Billing mode, including PREPAY (annual\/monthly) and POSTPAY (pay-as-you-go).

Ignored for Serverless Edition.


ClusterAliasNameOptional

ClusterAliasName interface{}
  • Type: interface{}

Property clusterAliasName: cluster alias name.


ConnectionTypeOptional

ConnectionType interface{}
  • Type: interface{}

Property connectionType: Network access type, slb or single_eni;

some regions only support single_eni for Development Edition.


EipEnabledOptional

EipEnabled interface{}
  • Type: interface{}

Property eipEnabled: Valid when ConnectionType is single_eni, indicating whether to enable public network access (Elastic IP).


MseVersionOptional

MseVersion interface{}
  • Type: interface{}

Property mseVersion: Must be filled unless special circumstances.

Valid values:

  • mse_pro: Professional Edition.
  • mse_dev: Development Edition.
  • mse_serverless: Serverless Edition.

PubNetworkFlowOptional

PubNetworkFlow interface{}
  • Type: interface{}

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

RequestPars interface{}
  • Type: interface{}

Property requestPars: Extended request parameters in JSON format.


ResourceGroupIdOptional

ResourceGroupId interface{}
  • Type: interface{}

Property resourceGroupId: Resource group id.


SecurityGroupTypeOptional

SecurityGroupType interface{}
  • Type: interface{}

Property securityGroupType: Valid when ConnectionType is single_eni, indicating the security group type of the instance.


TagsOptional

Tags *[]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

VpcId interface{}
  • Type: interface{}

Property vpcId: VPC ID.


VSwitchIdOptional

VSwitchId interface{}
  • Type: interface{}

Property vSwitchId: Switch ID.