-
Notifications
You must be signed in to change notification settings - Fork 35
/
drds-instance.yml
63 lines (63 loc) · 1.43 KB
/
drds-instance.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
ROSTemplateFormatVersion: '2015-09-01'
Description:
zh-cn: 创建DRDS实例,支持VPC配置,自定义类型、系列、数量与规格,输出实例ID与订单号。
en: Create a DRDS instance with support for VPC configuration, custom instance type,
series, quantity, and specifications, outputting the instance ID and order number.
Parameters:
Type:
Type: String
Default: '0'
Description:
Type: String
Default: mytest
VpcId:
Type: String
ZoneId:
Type: String
InstanceSeries:
Type: String
Default: drds.sn1.4c8g
Quantity:
Type: Number
Default: 1
Specification:
Type: String
Default: drds.sn1.4c8g.8C16G
VSwitchId:
Type: String
Description: Virtual switch ID, must be specified when creating a DRDS for VPC
network type
Resources:
DrdsInstance:
Type: ALIYUN::DRDS::DrdsInstance
Properties:
ZoneId:
Ref: ZoneId
VpcId:
Ref: VpcId
VswitchId:
Ref: VSwitchId
Type:
Ref: Type
Description:
Ref: Description
InstanceSeries:
Ref: InstanceSeries
Quantity:
Ref: Quantity
Specification:
Ref: Specification
PayType: drdsPost
Outputs:
DrdsInstanceId:
Description: instance id
Value:
Fn::GetAtt:
- DrdsInstance
- DrdsInstanceId
OrderId:
Description: order number
Value:
Fn::GetAtt:
- DrdsInstance
- OrderId