generated from oracle-devrel/repo-template
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathschema.yaml
287 lines (252 loc) · 6.04 KB
/
schema.yaml
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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
# Copyright (c) 2020 Oracle and/or its affiliates.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
title: "Kickstart Application Deployments with the Oracle Resource Manager "
description: "The ocloud framwork creates a foundation for application deployments in Oracle Cloud Infrastructure"
informationalText: "This resource manager stack helps operators to set up a hosting environment for enterprise applications in Oracle Cloud Infrastructure (OCI). A base set of resources is provisioned and configured."
schemaVersion: 1.1.0
version: "20210611"
locale: "en"
variableGroups:
- title: "Tenancy"
visible: true
variables:
- tenancy_ocid
- class
- budget
- title: "Lifecycle"
visible: true
variables:
- stage
- title: "Settings"
visible: true
variables:
- compartment_ocid
- current_user_ocid
- name
- location
- region
- organization
- owner
- parent
- repository
- title: "Database"
visible: true
variables:
- create_adb
- adb_type
- adb_size
- title: "Application Type"
visible: true
variables:
- host
- nodes
- container
- title: "Advanced Settings"
visible: true
variables:
- vaultsettings
- create_wallet
- wallet
- netsettings
- internet
- osn
- management
- nat
- ipv6
variables:
adb_type:
title: "Database Type"
visible: create_adb
required: false
type: enum
enum:
- TRANSACTION_PROCESSING
- APEX
- DATA_WAREHOUSE
- JSON
adb_size:
title: "Database Size"
visible: create_adb
required: false
type: enum
enum:
- SMALL
- MEDIUM
- LARGE
budget:
title: "Sets a monthly budget for the service"
default: 0
required: false
visible:
or:
- eq:
- class
- "PAYG"
- eq:
- class
- "UCC"
class:
title: "Limits"
description: "Selecting a contract type restricts the resource portfolio to the corresponding service limits and avoids deployment errors."
type: enum
default: "FREE_TIER"
required: true
enum:
- FREE_TIER
- TRIAL
- PAYG
- UCC
compartment_ocid:
title: "Compartment ID"
description: "A unique identifier that creates a bspoke administrator domains for your service."
visible: false
type: string
required: true
container:
type: boolean
title: "Cloud Native Service"
required: false
create_adb:
type: boolean
title: "Autonomous Database"
required: false
create_wallet:
type: boolean
title: "Wallet"
visible: vaultsettings
required: false
current_user_ocid:
title: "User ID"
description: "Retrieved OCID for the current user"
visible: false
type: string
required: true
host:
type: boolean
title: "Enterprise Application"
required: false
internet:
type: enum
title: "Network Access:"
required: true
visible: netsettings
enum:
- PUBLIC
- PRIVATE
ipv6:
type: boolean
title: "IPv6"
required: true
visible: netsettings
default: false
location:
title: "Region"
description: "Define the target region for the service deployment, the target region needs to be activated for a tenancy."
visible: true
type: oci:identity:region:name
default: region
required: true
management:
type: boolean
title: "Management Network"
visible: false
default : true
required: true
name:
title: "Service"
description: "Provide an identifier for the service, the name should be unique within the tenancy"
type: string
default: "Name"
minLength: 1
maxLength: 25
pattern: "^[a-zA-Z]+$"
required: true
nat:
type: boolean
title: "NAT for Private Subnets"
required: true
visible: netsettings
default: true
netsettings:
type: boolean
title: "Network"
description: "Advanced parameter for the network topology."
required: true
default: false
nodes:
type: boolean
title: "Web Application"
required: false
organization:
title: "Consumer"
description: "Identifier for the organization that will use the service."
type: string
default: "Organization"
minLength: 1
maxLength: 25
pattern: "^[a-zA-Z]+$"
required: true
osn:
type: enum
title: "Oracle Cloud Services:"
required: true
visible: netsettings
enum:
- ALL_SERVICES
- OBJECT_STORAGE
- DISABLE
owner:
title: "Administrator"
description: "The service administrator will receive notifications when the service topology changes"
type: string
required: true
parent:
title: "Parent Compartment"
description: "The OCID for the root compartment, the default selection should only be changed by an experienced user"
type: oci:identity:compartment:id
visible: false
dependsOn:
compartmentId: tenancy_ocid
accessLevel: ANY
lifecycleState: ACTIVE
required: true
region:
title: "Default region for the user"
visible: false
type: string
required: true
repository:
title: "Repository"
description: "Source code repository for the provisioning scripts (only used for information pusposes)"
type: string
required: false
stage:
title: "Stage"
description: "Providing the lifecycle stage preselects an appropriate collection of operational controls"
type: enum
default: "DEVELOPMENT"
required: true
enum:
- DEVELOPMENT
- TEST
- PRODUCTION
tenancy_ocid:
title: "Tenancy ID"
description: "A unique identifier for your cloud tenancy"
visible: false
type: string
required: true
vaultsettings:
type: boolean
title: "Encryption"
description: "Enforce the creation of a secret store. Storing secrets is strongly recommended for production, but not for the development phase."
required: true
default: false
wallet:
title: "Type"
visible: vaultsettings
required: false
type: enum
enum:
- SOFTWARE
- HARDWARE