Skip to content

ClusterProps

Properties for defining a Cluster.

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

Initializer

import ros_cdk_dashvector
ros_cdk_dashvector.ClusterProps(
  cluster_name: typing.Union[str, IResolvable],
  cluster_type: typing.Union[str, IResolvable],
  replica_count: typing.Union[typing.Union[int, float], IResolvable],
  ignore_existing: typing.Union[bool, IResolvable] = None
)

Properties

Name Type Description
cluster_name typing.Union[str, ros_cdk_core.IResolvable] Property clusterName: The name of cluster.
cluster_type typing.Union[str, ros_cdk_core.IResolvable] Property clusterType: The type of cluster.
replica_count typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property replicaCount: The number of replicas.
ignore_existing typing.Union[bool, ros_cdk_core.IResolvable] Property ignoreExisting: Whether to ignore existing dash vector cluster False: ROS will perform a uniqueness check.If the dash vector cluster exists, an error will be reported when creating it. True: ROS will not check the uniqueness.If the dash vector cluster exists, the creation process will be ignored. If the dash vector cluster is not created by ROS, it will be ignored during update and delete stage.

cluster_nameRequired

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

Property clusterName: The name of cluster.


cluster_typeRequired

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

Property clusterType: The type of cluster.


replica_countRequired

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

Property replicaCount: The number of replicas.


ignore_existingOptional

ignore_existing: typing.Union[bool, IResolvable]
  • Type: typing.Union[bool, ros_cdk_core.IResolvable]

Property ignoreExisting: Whether to ignore existing dash vector cluster False: ROS will perform a uniqueness check.If the dash vector cluster exists, an error will be reported when creating it. True: ROS will not check the uniqueness.If the dash vector cluster exists, the creation process will be ignored. If the dash vector cluster is not created by ROS, it will be ignored during update and delete stage.