Skip to content

Commit

Permalink
Optimize sample template parameters
Browse files Browse the repository at this point in the history
Optimize sample template parameters

Optimize sample template parameters
  • Loading branch information
fwf91 committed Apr 18, 2024
1 parent d6d3068 commit f7c2b8b
Show file tree
Hide file tree
Showing 53 changed files with 1,362 additions and 1,385 deletions.
29 changes: 18 additions & 11 deletions examples/elastic/anycasteip-attach-slb-bind-ecs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,14 @@ Parameters:
target='_blank'><font color='blue'>Find the mirror</font></a></b>
zh-cn: 镜像ID, 请使用Centos7, 详见:<b><a href='https://help.aliyun.com/document_detail/112977.html'
target='_blank'><font color='blue'>查找镜像</font></a></b>
AssociationProperty: ALIYUN::ECS::Instance::ImageId
Default: ubuntu_14
AssociationProperty: ALIYUN::ECS::Image::ImageId
AssociationPropertyMetadata:
InstanceType: ${ECSInstanceType}
SupportedImageOwnerAlias:
- system
- self
- others
Default: centos_7_04_64_20G_alibase_201701015.vhd
ECSInstanceType:
Type: String
Label:
Expand Down Expand Up @@ -156,13 +162,10 @@ Parameters:
color=''green''>高效云盘</font>]<br>[cloud_ssd: <font color=''green''>SSD云盘</font>]<br>[cloud_essd:
<font color=''green''>ESSD云盘</font>]<br>[cloud: <font color=''green''>普通云盘</font>]<br>[ephemeral_ssd:
<font color=''green''>本地SSD盘</font>]'
Default: cloud_efficiency
AllowedValues:
- cloud_efficiency
- cloud_ssd
- cloud
- cloud_essd
- ephemeral_ssd
AssociationProperty: ALIYUN::ECS::Disk::SystemDiskCategory
AssociationPropertyMetadata:
LocaleKey: DiskCategory
InstanceType: ${ECSInstanceType}
InstanceChargeType:
Type: String
Label:
Expand All @@ -174,6 +177,9 @@ Parameters:
monthly subscription.</font>]'
zh-cn: '<font color=''blue''><b>可选值:</b></font><br>[PostPaid: <font color=''green''>按量付费。</font>]<br>[PrePaid:
<font color=''green''>预付费,包年包月。</font>]'
AssociationProperty: ChargeType
AssociationPropertyMetadata:
LocaleKey: InstanceChargeType
Default: PostPaid
AllowedValues:
- PostPaid
Expand All @@ -186,7 +192,7 @@ Parameters:
Description:
en: 'System disk size, range of values: 20-500, units: GB.'
zh-cn: 系统盘大小, 取值范围:[20, 500], 单位:GB。
Default: 20
Default: 40
MinValue: 20
MaxValue: 500
Count:
Expand Down Expand Up @@ -233,6 +239,7 @@ Parameters:
Login, the key pair name does not need to be filled in</font>
zh-cn: 如果是Windows ECS实例,则忽略该参数。默认为空。<br>如果已填写<font color='green'>密钥对名称</font>,<font
color='green'>实例密码</font>的内容仍会被设置到实例中,但是Linux系统中的密码登录方式会被禁止。<br><font color='red'>请输入已有密钥对的名称。如使用实例密码登录,密钥对名称不需要填写</font>
AssociationProperty: ALIYUN::ECS::KeyPair::KeyPairName
Default: null
Resources:
AnycastEip:
Expand Down Expand Up @@ -445,8 +452,8 @@ Metadata:
en: SLB
zh-cn: 负载均衡、弹性公网
- Parameters:
- ECSImageId
- ECSInstanceType
- ECSImageId
- ECSDiskCategory
- InstanceChargeType
- ECSSysDiskSize
Expand Down
Loading

0 comments on commit f7c2b8b

Please sign in to comment.