forked from aliyun/ros-templates
-
Notifications
You must be signed in to change notification settings - Fork 1
/
instance.yml
115 lines (115 loc) · 2.85 KB
/
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
ROSTemplateFormatVersion: '2015-09-01'
Description: ApiGateway Instance resource example
Parameters:
InstanceName:
Type: String
Description: Instance name
InstanceSpec:
Type: String
Description: 'Instance specification. For example: api.s1.small'
HttpsPolicy:
Type: String
Description: 'HTTPS security policy. Valid values: HTTPS2_TLS1_0, HTTPS2_TLS1_2,
HTTPS1_1_TLS1_0'
AllowedValues:
- HTTPS2_TLS1_0
- HTTPS2_TLS1_2
- HTTPS1_1_TLS1_0
ZoneId:
Type: String
Description: 'Zone to which the instance belongs. For example: cn-beijing-MAZ2(f,g).Pleas
call DescribeZones to get supported zone list.'
PricingCycle:
Type: String
Description: Unit of the payment cycle. It could be Month (default) or Year.
Default: null
AllowedValues:
- null
- Month
- Year
ChargeType:
Type: String
Description: 'The billing method of the router interface. Valid values: PrePaid
(Subscription), PostPaid (default, Pay-As-You-Go). Default value: PostPaid.'
Default: null
AllowedValues:
- null
- PrePaid
- PostPaid
AutoPay:
Type: Boolean
Description: 'Indicates whether automatic payment is enabled. Valid values:false:
Automatic payment is disabled. You need to go to Orders to make the payment
once an order is generated. true: Automatic payment is enabled. The payment
is automatically made.'
Default: false
AllowedValues:
- true
- false
Resources:
Instance:
Type: ALIYUN::ApiGateway::Instance
Properties:
ZoneId:
Ref: ZoneId
InstanceName:
Ref: InstanceName
InstanceSpec:
Ref: InstanceSpec
HttpsPolicy:
Ref: HttpsPolicy
PricingCycle:
Ref: PricingCycle
ChargeType:
Ref: ChargeType
AutoPay:
Ref: AutoPay
Outputs:
EgressIpv6Enable:
Description: Whether enable egress IPV6.
Value:
Fn::GetAtt:
- Instance
- EgressIpv6Enable
VpcEgressAddress:
Description: VPC network egress address.
Value:
Fn::GetAtt:
- Instance
- VpcEgressAddress
InternetEgressAddress:
Description: Internet egress dddress.
Value:
Fn::GetAtt:
- Instance
- InternetEgressAddress
InstanceId:
Description: Instance ID.
Value:
Fn::GetAtt:
- Instance
- InstanceId
VpcIntranetEnable:
Description: Whether enable VPC intranet.
Value:
Fn::GetAtt:
- Instance
- VpcIntranetEnable
SupportIpv6:
Description: Whether support IPV6.
Value:
Fn::GetAtt:
- Instance
- SupportIpv6
InstanceType:
Description: Instance type.
Value:
Fn::GetAtt:
- Instance
- InstanceType
VpcSlbIntranetEnable:
Description: Whether enable VPC SLB intranet.
Value:
Fn::GetAtt:
- Instance
- VpcSlbIntranetEnable