ClusterProps
Properties for defining a Cluster.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-mse-cluster
Initializer
using AlibabaCloud.SDK.ROS.CDK.Mse;
new ClusterProps {
object ClusterSpecification,
object ClusterType,
object ClusterVersion,
object InstanceCount,
object NetType,
object AclEntryList = null,
object ChargeType = null,
object ClusterAliasName = null,
object ConnectionType = null,
object EipEnabled = null,
object MseVersion = null,
object PubNetworkFlow = null,
object RequestPars = null,
object ResourceGroupId = null,
object SecurityGroupType = null,
TagsProperty[] Tags = null,
object VpcId = null,
object VSwitchId = null
};
Properties
| Name | Type | Description |
|---|---|---|
ClusterSpecification | object | Property clusterSpecification: Engine specification. |
ClusterType | object | Property clusterType: Cluster type, including ZooKeeper, Nacos-Ans. |
ClusterVersion | object | Property clusterVersion: Cluster version. |
InstanceCount | object | Property instanceCount: Number of instance nodes, with a range limit of 1 to 9. |
NetType | object | Property netType: Network type. |
AclEntryList | object | Property aclEntryList: List of ACL entries. |
ChargeType | object | Property chargeType: Billing mode, including PREPAY (annual\/monthly) and POSTPAY (pay-as-you-go). |
ClusterAliasName | object | Property clusterAliasName: cluster alias name. |
ConnectionType | object | Property connectionType: Network access type, slb or single_eni; |
EipEnabled | object | Property eipEnabled: Valid when ConnectionType is single_eni, indicating whether to enable public network access (Elastic IP). |
MseVersion | object | Property mseVersion: Must be filled unless special circumstances. |
PubNetworkFlow | object | Property pubNetworkFlow: Public network flow. |
RequestPars | object | Property requestPars: Extended request parameters in JSON format. |
ResourceGroupId | object | Property resourceGroupId: Resource group id. |
SecurityGroupType | object | 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 | object | Property vpcId: VPC ID. |
VSwitchId | object | Property vSwitchId: Switch ID. |
ClusterSpecificationRequired
public object ClusterSpecification { get; set; }
- Type: object
Property clusterSpecification: Engine specification.
[Professional Edition]
MSE_SC_2_4_60_c: 2 cores 4GBMSE_SC_1_2_60_c: 1 core 2GBMSE_SC_4_8_60_c: 4 cores 8GBMSE_SC_8_16_60_c: 8 cores 16GBMSE_SC_16_32_60_c: 16 cores 32GB
[Development Edition]
MSE_SC_1_2_60_c: 1 core 2GBMSE_SC_2_4_60_c: 2 cores 4GB
[Serverless Edition]
- Ignore this parameter or fill with
MSE_SC_SERVERLESS.
ClusterTypeRequired
public object ClusterType { get; set; }
- Type: object
Property clusterType: Cluster type, including ZooKeeper, Nacos-Ans.
ClusterVersionRequired
public object ClusterVersion { get; set; }
- Type: object
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 object InstanceCount { get; set; }
- Type: object
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 object NetType { get; set; }
- Type: object
Property netType: Network type.
Valid values:
privatenet: Private network.pubnet: Public network.
AclEntryListOptional
public object AclEntryList { get; set; }
- Type: object
Property aclEntryList: List of ACL entries.
ChargeTypeOptional
public object ChargeType { get; set; }
- Type: object
Property chargeType: Billing mode, including PREPAY (annual\/monthly) and POSTPAY (pay-as-you-go).
Ignored for Serverless Edition.
ClusterAliasNameOptional
public object ClusterAliasName { get; set; }
- Type: object
Property clusterAliasName: cluster alias name.
ConnectionTypeOptional
public object ConnectionType { get; set; }
- Type: object
Property connectionType: Network access type, slb or single_eni;
some regions only support single_eni for Development Edition.
EipEnabledOptional
public object EipEnabled { get; set; }
- Type: object
Property eipEnabled: Valid when ConnectionType is single_eni, indicating whether to enable public network access (Elastic IP).
MseVersionOptional
public object MseVersion { get; set; }
- Type: object
Property mseVersion: Must be filled unless special circumstances.
Valid values:
mse_pro: Professional Edition.mse_dev: Development Edition.mse_serverless: Serverless Edition.
PubNetworkFlowOptional
public object PubNetworkFlow { get; set; }
- Type: object
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 object RequestPars { get; set; }
- Type: object
Property requestPars: Extended request parameters in JSON format.
ResourceGroupIdOptional
public object ResourceGroupId { get; set; }
- Type: object
Property resourceGroupId: Resource group id.
SecurityGroupTypeOptional
public object SecurityGroupType { get; set; }
- Type: object
Property securityGroupType: Valid when ConnectionType is single_eni, indicating the security group type of the instance.
TagsOptional
public TagsProperty[] Tags { get; set; }
- 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 object VpcId { get; set; }
- Type: object
Property vpcId: VPC ID.
VSwitchIdOptional
public object VSwitchId { get; set; }
- Type: object
Property vSwitchId: Switch ID.