ClusterProps
Properties for defining a Cluster
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-edas-cluster
Initializer
import ros_cdk_edas
ros_cdk_edas.ClusterProps(
cluster_name: typing.Union[str, IResolvable],
cluster_type: typing.Union[typing.Union[int, float], IResolvable],
network_mode: typing.Union[typing.Union[int, float], IResolvable],
logical_region_id: typing.Union[str, IResolvable] = None,
oversold_factor: typing.Union[typing.Union[int, float], IResolvable] = None,
resource_group_id: typing.Union[str, IResolvable] = None,
vpc_id: typing.Union[str, IResolvable] = None
)
Properties
Name | Type | Description |
---|---|---|
cluster_name |
typing.Union[str, ros_cdk_core.IResolvable] |
Property clusterName: Cluster name. |
cluster_type |
typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] |
Property clusterType: Cluster type. |
network_mode |
typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] |
Property networkMode: Network Type. |
logical_region_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property logicalRegionId: Custom namespace RegionId (format: Physical Region: custom namespace identifier). |
oversold_factor |
typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] |
Property oversoldFactor: Docker CPU cluster oversold. |
resource_group_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property resourceGroupId: Resource group id. |
vpc_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property vpcId: VPC network ID. |
cluster_name
Required
cluster_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property clusterName: Cluster name.
cluster_type
Required
cluster_type: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property clusterType: Cluster type.
1-Swarm cluster, 2-ECS cluster, 3-Kubernetes Cluster
network_mode
Required
network_mode: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property networkMode: Network Type.
1- classic network, 2-VPC
logical_region_id
Optional
logical_region_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property logicalRegionId: Custom namespace RegionId (format: Physical Region: custom namespace identifier).
oversold_factor
Optional
oversold_factor: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property oversoldFactor: Docker CPU cluster oversold.
Support 2 (1: 2 ratio) / 4 (1: 4) / 8 (1: 8 ratio)
resource_group_id
Optional
resource_group_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property resourceGroupId: Resource group id.
vpc_id
Optional
vpc_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property vpcId: VPC network ID.
If network selection VPC, this parameter Required