ALIYUN::CDDC::MyBase is used to create hosts in a dedicated cluster.
Syntax
{
"Type": "ALIYUN::CDDC::MyBase",
"Properties": {
"EcsInstanceName": String,
"PeriodType": String,
"ResourceGroupId": String,
"UserData": String,
"DedicatedHostGroupDescription": String,
"DedicatedHostGroupId": String,
"AutoRenew": Boolean,
"EcsUniqueSuffix": Boolean,
"ImageId": String,
"UserDataInBase64": Boolean,
"EcsHostName": String,
"Engine": String,
"PasswordInherit": Boolean,
"KeyPairName": String,
"ZoneId": String,
"VSwitchId": String,
"SecurityGroupId": String,
"ECSClassList": List,
"Period": Integer,
"PayType": String,
"InternetChargeType": String,
"EcsDeploymentSetId": String,
"InternetMaxBandwidthOut": Integer,
"VpcId": String,
"OsPassword": String
}
}
Properties
Property | Type | Required | Editable | Description | Constraint |
EcsInstanceName | String | No | No | The name of the Elastic Compute Service (ECS) instance. | The name must be 2 to 128 characters in length. It must start with a letter and cannot start with The default value of this property is the value of the InstanceId property. |
PeriodType | String | No | No | The unit of the subscription duration. | Set the value to Monthly. |
ResourceGroupId | String | No | No | The ID of the resource group. | None. |
UserData | String | No | No | The user data. | The raw data can be up to 16 KB in size. |
DedicatedHostGroupDescription | String | No | No | The name of the dedicated cluster. | None. |
DedicatedHostGroupId | String | No | No | The ID of the Proprietary MyBase dedicated cluster. | None. |
AutoRenew | Boolean | No | No | Specifies whether to enable auto-renewal. | Valid values:
|
EcsUniqueSuffix | Boolean | No | No | Specifies whether to automatically add sequential suffixes to the hostnames and instance names when you create multiple instances. | The sequential suffixes range from 001 to 999. Valid values:
EcsUniqueSuffix does not take effect when hostnames or instance names are set to be sorted in a specified sequence but do not have |
ImageId | String | No | No | The ID of the custom image. | If you want to use the default image, you can leave this property empty. |
UserDataInBase64 | Boolean | No | No | Specifies whether to encode the user data in Base64. | Valid values:
|
EcsHostName | String | No | No | The hostname. |
|
Engine | String | Yes | No | The database engine of the host. | Valid values:
|
PasswordInherit | Boolean | No | No | Specifies whether to use the default password of the image. | Valid values:
Note When you set this property to true, you can leave OSPassword empty. |
KeyPairName | String | No | No | The name of the key pair. | None. |
ZoneId | String | Yes | No | The zone ID. | None. |
VSwitchId | String | Yes | No | The vSwitch ID. | None. |
SecurityGroupId | String | Yes | No | The ID of the security group. | None. |
ECSClassList | List | Yes | No | The specifications of the ECS instance. | Example:
|
Period | Integer | Yes | No | The subscription duration. | None. |
PayType | String | Yes | No | The billing method. | Set the value to PrePaid. |
InternetChargeType | String | No | No | The metering method for network usage. | Valid values:
|
EcsDeploymentSetId | String | No | No | The ID of the ECS deployment set. | None. |
InternetMaxBandwidthOut | Integer | No | No | The maximum outbound public bandwidth. | Unit: Mbit/s. Valid values: 0 to 100. Default value: 0. If you set this property to a value greater than 0, a public IP address is created. |
VpcId | String | Yes | No | The ID of the virtual private cloud (VPC). | None. |
OsPassword | String | No | No | The logon password of the host. | The password must meet the following requirements:
Note If you want to specify the logon password later, you can leave this property empty.
|
Return values
Fn::GetAtt
OrderIds: the order IDs.
InstanceIds: the IDs of the created ECS instances.