forked from aliyun/ros-templates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
drds-instance.yml
60 lines (60 loc) · 1.17 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
ROSTemplateFormatVersion: '2015-09-01'
Description: DrdsInstance resource example
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