Skip to content
This repository was archived by the owner on Jan 30, 2025. It is now read-only.

Commit b8a9bc9

Browse files
authored
Version August 2022 schema changes (Azure#342)
1 parent 5851a09 commit b8a9bc9

26 files changed

+4481
-0
lines changed
Lines changed: 265 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,265 @@
1+
{
2+
"$schema": "http://json-schema.org/draft-06/schema#",
3+
"$ref": "#/definitions/GenericSubscriptionArchetypeDefinition",
4+
"definitions": {
5+
"GenericSubscriptionArchetypeDefinition": {
6+
"type": "object",
7+
"additionalProperties": false,
8+
"properties": {
9+
"$schema": {
10+
"type": "string",
11+
"format": "uri",
12+
"qt-uri-protocols": [
13+
"https"
14+
],
15+
"qt-uri-extensions": [
16+
".json"
17+
]
18+
},
19+
"contentVersion": {
20+
"type": "string"
21+
},
22+
"parameters": {
23+
"$ref": "#/definitions/Parameters"
24+
}
25+
},
26+
"required": [
27+
"$schema",
28+
"contentVersion",
29+
"parameters"
30+
],
31+
"title": "GenericSubscriptionArchetypeDefinition"
32+
},
33+
"Parameters": {
34+
"type": "object",
35+
"additionalProperties": false,
36+
"properties": {
37+
"location": {
38+
"$ref": "types/location.json#/definitions/Location"
39+
},
40+
"serviceHealthAlerts": {
41+
"$ref": "types/serviceHealthAlerts.json#/definitions/ServiceHealthAlerts"
42+
},
43+
"securityCenter": {
44+
"$ref": "types/securityCenter.json#/definitions/SecurityCenter"
45+
},
46+
"subscriptionRoleAssignments": {
47+
"$ref": "types/subscriptionRoleAssignments.json#/definitions/SubscriptionRoleAssignments"
48+
},
49+
"subscriptionBudget": {
50+
"$ref": "types/subscriptionBudget.json#/definitions/SubscriptionBudget"
51+
},
52+
"subscriptionTags": {
53+
"$ref": "types/subscriptionTags.json#/definitions/SubscriptionTags"
54+
},
55+
"resourceTags": {
56+
"$ref": "types/resourceTags.json#/definitions/ResourceTags"
57+
},
58+
"logAnalyticsWorkspaceResourceId": {
59+
"$ref": "types/logAnalyticsWorkspaceId.json#/definitions/LogAnalyticsWorkspaceId"
60+
},
61+
"resourceGroups": {
62+
"$ref": "#/definitions/ResourceGroups"
63+
},
64+
"automation": {
65+
"$ref": "types/automation.json#/definitions/Automation"
66+
},
67+
"backupRecoveryVault": {
68+
"$ref": "types/backupRecoveryVault.json#/definitions/RecoveryVault"
69+
},
70+
"hubNetwork": {
71+
"$ref": "types/hubNetwork.json#/definitions/HubNetworkWithoutPrivateDNS"
72+
},
73+
"network": {
74+
"$ref": "#/definitions/Network"
75+
}
76+
},
77+
"required": [
78+
"resourceTags",
79+
"securityCenter",
80+
"serviceHealthAlerts",
81+
"subscriptionBudget",
82+
"subscriptionRoleAssignments",
83+
"subscriptionTags",
84+
"resourceGroups",
85+
"automation",
86+
"hubNetwork",
87+
"network",
88+
"backupRecoveryVault"
89+
],
90+
"title": "Parameters"
91+
},
92+
"ResourceGroups": {
93+
"type": "object",
94+
"additionalProperties": false,
95+
"properties": {
96+
"value": {
97+
"$ref": "#/definitions/ResourceGroupsValue"
98+
}
99+
},
100+
"required": [
101+
"value"
102+
],
103+
"title": "ResourceGroups"
104+
},
105+
"ResourceGroupsValue": {
106+
"type": "object",
107+
"additionalProperties": false,
108+
"properties": {
109+
"automation": {
110+
"type": "string"
111+
},
112+
"backupRecoveryVault": {
113+
"type": "string"
114+
},
115+
"networking": {
116+
"type": "string"
117+
},
118+
"networkWatcher": {
119+
"type": "string"
120+
}
121+
},
122+
"required": [
123+
"automation",
124+
"networkWatcher",
125+
"networking",
126+
"backupRecoveryVault"
127+
],
128+
"title": "ResourceGroupsValue"
129+
},
130+
"Network": {
131+
"type": "object",
132+
"additionalProperties": false,
133+
"properties": {
134+
"value": {
135+
"$ref": "#/definitions/NetworkValue"
136+
}
137+
},
138+
"required": [
139+
"value"
140+
],
141+
"title": "Network"
142+
},
143+
"NetworkValue": {
144+
"type": "object",
145+
"additionalProperties": false,
146+
"properties": {
147+
"deployVnet": {
148+
"type": "boolean"
149+
},
150+
"peerToHubVirtualNetwork": {
151+
"type": "boolean"
152+
},
153+
"useRemoteGateway": {
154+
"type": "boolean"
155+
},
156+
"name": {
157+
"type": "string"
158+
},
159+
"dnsServers": {
160+
"type": "array",
161+
"items": {
162+
"type": "string"
163+
}
164+
},
165+
"addressPrefixes": {
166+
"type": "array",
167+
"items": {
168+
"type": "string"
169+
}
170+
},
171+
"subnets": {
172+
"$ref": "#/definitions/Subnets"
173+
}
174+
},
175+
"required": [
176+
"addressPrefixes",
177+
"deployVnet",
178+
"dnsServers",
179+
"name",
180+
"peerToHubVirtualNetwork",
181+
"subnets",
182+
"useRemoteGateway"
183+
],
184+
"title": "NetworkValue"
185+
},
186+
"Subnets": {
187+
"type": "array",
188+
"items": {
189+
"$ref": "#/definitions/Subnet"
190+
},
191+
"title": "Subnets"
192+
},
193+
"Delegations": {
194+
"type": "object",
195+
"additionalProperties": false,
196+
"properties": {
197+
"serviceName": {
198+
"type": "string"
199+
}
200+
},
201+
"required": [
202+
"serviceName"
203+
],
204+
"title": "Delegations"
205+
},
206+
"Nsg": {
207+
"type": "object",
208+
"additionalProperties": false,
209+
"properties": {
210+
"enabled": {
211+
"type": "boolean"
212+
}
213+
},
214+
"required": [
215+
"enabled"
216+
],
217+
"title": "Nsg"
218+
},
219+
"Udr": {
220+
"type": "object",
221+
"additionalProperties": false,
222+
"properties": {
223+
"enabled": {
224+
"type": "boolean"
225+
}
226+
},
227+
"required": [
228+
"enabled"
229+
],
230+
"title": "Udr"
231+
},
232+
"Subnet": {
233+
"type": "object",
234+
"additionalProperties": false,
235+
"properties": {
236+
"comments": {
237+
"type": "string"
238+
},
239+
"name": {
240+
"type": "string"
241+
},
242+
"addressPrefix": {
243+
"type": "string"
244+
},
245+
"nsg": {
246+
"$ref": "#/definitions/Nsg"
247+
},
248+
"udr": {
249+
"$ref": "#/definitions/Udr"
250+
},
251+
"delegations": {
252+
"$ref": "#/definitions/Delegations"
253+
}
254+
},
255+
"required": [
256+
"addressPrefix",
257+
"comments",
258+
"name",
259+
"nsg",
260+
"udr"
261+
],
262+
"title": "subnet"
263+
}
264+
}
265+
}

0 commit comments

Comments
 (0)