forked from aliyun/ros-templates
-
Notifications
You must be signed in to change notification settings - Fork 1
/
pvtz.yml
54 lines (54 loc) · 945 Bytes
/
pvtz.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
ROSTemplateFormatVersion: '2015-09-01'
Description: PVTZ Zone/ZoneRecord/ZoneVpcBinder resource example
Parameters:
ZoneName:
Type: String
Status:
Type: String
Default: DISABLE
Value:
Type: String
Default: 1.1.1.1
Rr:
Type: String
Default: mytest
Resources:
Zone:
Type: ALIYUN::PVTZ::Zone
Properties:
ZoneName:
Ref: ZoneName
ZoneRecord:
Type: ALIYUN::PVTZ::ZoneRecord
Properties:
ZoneId:
Fn::GetAtt:
- Zone
- ZoneId
Status:
Ref: Status
Rr:
Ref: Rr
Value:
Ref: Value
Priority: 1
Type: A
ZoneVpcBinder:
Type: ALIYUN::PVTZ::ZoneVpcBinder
Properties:
ZoneId:
Fn::GetAtt:
- Zone
- ZoneId
Vpcs: []
Outputs:
ZoneId:
Value:
Fn::GetAtt:
- Zone
- ZoneId
RecordId:
Value:
Fn::GetAtt:
- ZoneRecord
- RecordId