Skip to content

ClusterProps

Properties for defining a Cluster.

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

Initializer

import ros_cdk_mse
ros_cdk_mse.ClusterProps(
  cluster_specification: typing.Union[str, IResolvable],
  cluster_type: typing.Union[str, IResolvable],
  cluster_version: typing.Union[str, IResolvable],
  instance_count: typing.Union[typing.Union[int, float], IResolvable],
  net_type: typing.Union[str, IResolvable],
  accept_language: typing.Union[str, IResolvable] = None,
  acl_entry_list: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]] = None,
  cluster_alias_name: typing.Union[str, IResolvable] = None,
  connection_type: typing.Union[str, IResolvable] = None,
  disk_type: typing.Union[str, IResolvable] = None,
  mse_version: typing.Union[str, IResolvable] = None,
  private_slb_specification: typing.Union[str, IResolvable] = None,
  pub_network_flow: typing.Union[str, IResolvable] = None,
  pub_slb_specification: typing.Union[str, IResolvable] = None,
  request_pars: typing.Union[str, IResolvable] = None,
  vpc_id: typing.Union[str, IResolvable] = None,
  v_switch_id: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
cluster_specification typing.Union[str, ros_cdk_core.IResolvable] Property clusterSpecification: Cluster specifications.
cluster_type typing.Union[str, ros_cdk_core.IResolvable] Property clusterType: cluster type.
cluster_version typing.Union[str, ros_cdk_core.IResolvable] Property clusterVersion: Cluster version, such as ZooKeeper_3_8_0,NACOS_2_0_0.
instance_count typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property instanceCount: instance count.
net_type typing.Union[str, ros_cdk_core.IResolvable] Property netType: Network type (whether private network is enabled or not).
accept_language typing.Union[str, ros_cdk_core.IResolvable] Property acceptLanguage:.
acl_entry_list typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]] Property aclEntryList: The public network whitelist list is used only when the public network is enabled.
cluster_alias_name typing.Union[str, ros_cdk_core.IResolvable] Property clusterAliasName: cluster alias name.
connection_type typing.Union[str, ros_cdk_core.IResolvable] Property connectionType: network connect type.
disk_type typing.Union[str, ros_cdk_core.IResolvable] Property diskType: disk type.
mse_version typing.Union[str, ros_cdk_core.IResolvable] Property mseVersion: Required, the value is as follows:.
private_slb_specification typing.Union[str, ros_cdk_core.IResolvable] Property privateSlbSpecification:.
pub_network_flow typing.Union[str, ros_cdk_core.IResolvable] Property pubNetworkFlow: Public network bandwidth.
pub_slb_specification typing.Union[str, ros_cdk_core.IResolvable] Property pubSlbSpecification:.
request_pars typing.Union[str, ros_cdk_core.IResolvable] Property requestPars:.
vpc_id typing.Union[str, ros_cdk_core.IResolvable] Property vpcId: vpc id.
v_switch_id typing.Union[str, ros_cdk_core.IResolvable] Property vSwitchId: switcher Id.

cluster_specificationRequired

cluster_specification: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property clusterSpecification: Cluster specifications.

Note the msversion requirements of the version parameter, Optional parameters: "MSE_ SC 1_2_60_c", "MSE SC 2_4_60_c", "MSE SC 4_8_60_c", "MSE SC 8_16_60_c", "MSE SC _16_32_60_c"


cluster_typeRequired

cluster_type: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property clusterType: cluster type.


cluster_versionRequired

cluster_version: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property clusterVersion: Cluster version, such as ZooKeeper_3_8_0,NACOS_2_0_0.


instance_countRequired

instance_count: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

Property instanceCount: instance count.


net_typeRequired

net_type: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property netType: Network type (whether private network is enabled or not).

privatenet indicates that private network is enabled.


accept_languageOptional

accept_language: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property acceptLanguage:.


acl_entry_listOptional

acl_entry_list: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]]

Property aclEntryList: The public network whitelist list is used only when the public network is enabled.


cluster_alias_nameOptional

cluster_alias_name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property clusterAliasName: cluster alias name.


connection_typeOptional

connection_type: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property connectionType: network connect type.


disk_typeOptional

disk_type: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property diskType: disk type.


mse_versionOptional

mse_version: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property mseVersion: Required, the value is as follows:.

'mse_dev': indicates the development version. -'Mse_pro': means professional version. When this version is selected, the specification is 2c4g or above, and the specification is 3 nodes or above.


private_slb_specificationOptional

private_slb_specification: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property privateSlbSpecification:.


pub_network_flowOptional

pub_network_flow: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property pubNetworkFlow: Public network bandwidth.

If the bandwidth is greater than 0, the public network is enabled.


pub_slb_specificationOptional

pub_slb_specification: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property pubSlbSpecification:.


request_parsOptional

request_pars: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property requestPars:.


vpc_idOptional

vpc_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property vpcId: vpc id.


v_switch_idOptional

v_switch_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property vSwitchId: switcher Id.