ClusterProps
Properties for defining a Cluster.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-edas-cluster
Initializer
using AlibabaCloud.SDK.ROS.CDK.Edas;
new ClusterProps {
object ClusterName,
object ClusterType,
object NetworkMode,
object LogicalRegionId = null,
object OversoldFactor = null,
object ResourceGroupId = null,
object VpcId = null
};
Properties
| Name | Type | Description |
|---|---|---|
ClusterName |
object |
Property clusterName: Cluster name. |
ClusterType |
object |
Property clusterType: Cluster type. |
NetworkMode |
object |
Property networkMode: Network Type. |
LogicalRegionId |
object |
Property logicalRegionId: Custom namespace RegionId (format: Physical Region: custom namespace identifier). |
OversoldFactor |
object |
Property oversoldFactor: Docker CPU cluster oversold. |
ResourceGroupId |
object |
Property resourceGroupId: Resource group id. |
VpcId |
object |
Property vpcId: VPC network ID. |
ClusterNameRequired
public object ClusterName { get; set; }
- Type: object
Property clusterName: Cluster name.
ClusterTypeRequired
public object ClusterType { get; set; }
- Type: object
Property clusterType: Cluster type.
1-Swarm cluster, 2-ECS cluster, 3-Kubernetes Cluster
NetworkModeRequired
public object NetworkMode { get; set; }
- Type: object
Property networkMode: Network Type.
1- classic network, 2-VPC
LogicalRegionIdOptional
public object LogicalRegionId { get; set; }
- Type: object
Property logicalRegionId: Custom namespace RegionId (format: Physical Region: custom namespace identifier).
OversoldFactorOptional
public object OversoldFactor { get; set; }
- Type: object
Property oversoldFactor: Docker CPU cluster oversold.
Support 2 (1: 2 ratio) / 4 (1: 4) / 8 (1: 8 ratio)
ResourceGroupIdOptional
public object ResourceGroupId { get; set; }
- Type: object
Property resourceGroupId: Resource group id.
VpcIdOptional
public object VpcId { get; set; }
- Type: object
Property vpcId: VPC network ID.
If network selection VPC, this parameter Required