ALIYUN::EDAS::Cluster is used to create a cluster.
Syntax
{
"Type": "ALIYUN::EDAS::Cluster",
"Properties": {
"VpcId": String,
"NetworkMode": Integer,
"LogicalRegionId": String,
"ClusterName": String,
"ClusterType": Integer,
"OversoldFactor": Integer,
"ResourceGroupId": String
}
}
Properties
Property | Type | Required | Editable | Description | Constraint |
---|
Property | Type | Required | Editable | Description | Constraint |
---|---|---|---|---|---|
VpcId | String | No | No | The ID of the virtual private cloud (VPC). | This property is required if the NetworkMode property is set to 2. |
NetworkMode | Integer | Yes | No | The network type of the cluster. | Valid values:
|
LogicalRegionId | String | No | No | The region ID of the custom namespace. | The region ID is in the format of Physical region ID:Custom namespace identifier . Example: |
ResourceGroupId | String | No | Yes | The ID of the resource group. | None |
ClusterName | String | Yes | No | The name of the cluster. | The name must be 1 to 64 characters in length, and can contain letters, digits, underscores (_), and periods (.). |
ClusterType | Integer | Yes | No | The type of the cluster. | Valid values:
|
OversoldFactor | Integer | No | No | The CPU oversold ratio supported by a Docker cluster. | Valid values:
|
Response parameters
Fn::GetAtt
- ClusterName: the name of the cluster.
- IaasProvider: the service provider.
- ClusterId: the ID of the cluster.
- ClusterType: the type of the cluster.