1+ {
2+ "id" : " https://schema.management.azure.com/schemas/2020-03-01-preview/Microsoft.DeviceUpdate.json#" ,
3+ "$schema" : " http://json-schema.org/draft-04/schema#" ,
4+ "title" : " Microsoft.DeviceUpdate" ,
5+ "description" : " Microsoft DeviceUpdate Resource Types" ,
6+ "resourceDefinitions" : {
7+ "accounts" : {
8+ "type" : " object" ,
9+ "properties" : {
10+ "apiVersion" : {
11+ "type" : " string" ,
12+ "enum" : [
13+ " 2020-03-01-preview"
14+ ]
15+ },
16+ "identity" : {
17+ "oneOf" : [
18+ {
19+ "$ref" : " #/definitions/Identity"
20+ },
21+ {
22+ "$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
23+ }
24+ ],
25+ "description" : " Identity for the resource."
26+ },
27+ "location" : {
28+ "type" : " string" ,
29+ "description" : " The geo-location where the resource lives"
30+ },
31+ "name" : {
32+ "oneOf" : [
33+ {
34+ "type" : " string" ,
35+ "pattern" : " ^[A-Za-z0-9]+(-[A-Za-z0-9]+)*$" ,
36+ "minLength" : 3 ,
37+ "maxLength" : 24
38+ },
39+ {
40+ "$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
41+ }
42+ ],
43+ "description" : " Account name."
44+ },
45+ "properties" : {
46+ "oneOf" : [
47+ {
48+ "$ref" : " #/definitions/AccountProperties"
49+ },
50+ {
51+ "$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
52+ }
53+ ],
54+ "description" : " Device Update account properties."
55+ },
56+ "resources" : {
57+ "type" : " array" ,
58+ "items" : {
59+ "oneOf" : [
60+ {
61+ "$ref" : " #/definitions/accounts_instances_childResource"
62+ }
63+ ]
64+ }
65+ },
66+ "tags" : {
67+ "oneOf" : [
68+ {
69+ "type" : " object" ,
70+ "additionalProperties" : {
71+ "type" : " string"
72+ },
73+ "properties" : {}
74+ },
75+ {
76+ "$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
77+ }
78+ ],
79+ "description" : " Resource tags."
80+ },
81+ "type" : {
82+ "type" : " string" ,
83+ "enum" : [
84+ " Microsoft.DeviceUpdate/accounts"
85+ ]
86+ }
87+ },
88+ "required" : [
89+ " apiVersion" ,
90+ " location" ,
91+ " name" ,
92+ " properties" ,
93+ " type"
94+ ],
95+ "description" : " Microsoft.DeviceUpdate/accounts"
96+ },
97+ "accounts_instances" : {
98+ "type" : " object" ,
99+ "properties" : {
100+ "apiVersion" : {
101+ "type" : " string" ,
102+ "enum" : [
103+ " 2020-03-01-preview"
104+ ]
105+ },
106+ "location" : {
107+ "type" : " string" ,
108+ "description" : " The geo-location where the resource lives"
109+ },
110+ "name" : {
111+ "oneOf" : [
112+ {
113+ "type" : " string" ,
114+ "pattern" : " ^[A-Za-z0-9]+(-[A-Za-z0-9]+)*$" ,
115+ "minLength" : 3 ,
116+ "maxLength" : 36
117+ },
118+ {
119+ "$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
120+ }
121+ ],
122+ "description" : " Instance name."
123+ },
124+ "properties" : {
125+ "oneOf" : [
126+ {
127+ "$ref" : " #/definitions/InstanceProperties"
128+ },
129+ {
130+ "$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
131+ }
132+ ],
133+ "description" : " Device Update instance properties."
134+ },
135+ "tags" : {
136+ "oneOf" : [
137+ {
138+ "type" : " object" ,
139+ "additionalProperties" : {
140+ "type" : " string"
141+ },
142+ "properties" : {}
143+ },
144+ {
145+ "$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
146+ }
147+ ],
148+ "description" : " Resource tags."
149+ },
150+ "type" : {
151+ "type" : " string" ,
152+ "enum" : [
153+ " Microsoft.DeviceUpdate/accounts/instances"
154+ ]
155+ }
156+ },
157+ "required" : [
158+ " apiVersion" ,
159+ " location" ,
160+ " name" ,
161+ " properties" ,
162+ " type"
163+ ],
164+ "description" : " Microsoft.DeviceUpdate/accounts/instances"
165+ }
166+ },
167+ "definitions" : {
168+ "AccountProperties" : {
169+ "type" : " object" ,
170+ "properties" : {},
171+ "description" : " Device Update account properties."
172+ },
173+ "accounts_instances_childResource" : {
174+ "type" : " object" ,
175+ "properties" : {
176+ "apiVersion" : {
177+ "type" : " string" ,
178+ "enum" : [
179+ " 2020-03-01-preview"
180+ ]
181+ },
182+ "location" : {
183+ "type" : " string" ,
184+ "description" : " The geo-location where the resource lives"
185+ },
186+ "name" : {
187+ "oneOf" : [
188+ {
189+ "type" : " string" ,
190+ "pattern" : " ^[A-Za-z0-9]+(-[A-Za-z0-9]+)*$" ,
191+ "minLength" : 3 ,
192+ "maxLength" : 36
193+ },
194+ {
195+ "$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
196+ }
197+ ],
198+ "description" : " Instance name."
199+ },
200+ "properties" : {
201+ "oneOf" : [
202+ {
203+ "$ref" : " #/definitions/InstanceProperties"
204+ },
205+ {
206+ "$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
207+ }
208+ ],
209+ "description" : " Device Update instance properties."
210+ },
211+ "tags" : {
212+ "oneOf" : [
213+ {
214+ "type" : " object" ,
215+ "additionalProperties" : {
216+ "type" : " string"
217+ },
218+ "properties" : {}
219+ },
220+ {
221+ "$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
222+ }
223+ ],
224+ "description" : " Resource tags."
225+ },
226+ "type" : {
227+ "type" : " string" ,
228+ "enum" : [
229+ " instances"
230+ ]
231+ }
232+ },
233+ "required" : [
234+ " apiVersion" ,
235+ " location" ,
236+ " name" ,
237+ " properties" ,
238+ " type"
239+ ],
240+ "description" : " Microsoft.DeviceUpdate/accounts/instances"
241+ },
242+ "Identity" : {
243+ "type" : " object" ,
244+ "properties" : {
245+ "type" : {
246+ "oneOf" : [
247+ {
248+ "type" : " string" ,
249+ "enum" : [
250+ " SystemAssigned" ,
251+ " None"
252+ ]
253+ },
254+ {
255+ "$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
256+ }
257+ ],
258+ "description" : " The identity type."
259+ }
260+ },
261+ "description" : " Identity for the resource."
262+ },
263+ "InstanceProperties" : {
264+ "type" : " object" ,
265+ "properties" : {
266+ "enableDiagnostics" : {
267+ "oneOf" : [
268+ {
269+ "type" : " boolean"
270+ },
271+ {
272+ "$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
273+ }
274+ ],
275+ "description" : " Enables or Disables the diagnostic logs collection"
276+ },
277+ "iotHubs" : {
278+ "oneOf" : [
279+ {
280+ "type" : " array" ,
281+ "items" : {
282+ "$ref" : " #/definitions/IotHubSettings"
283+ }
284+ },
285+ {
286+ "$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
287+ }
288+ ],
289+ "description" : " List of IoT Hubs associated with the account."
290+ }
291+ },
292+ "description" : " Device Update instance properties."
293+ },
294+ "IotHubSettings" : {
295+ "type" : " object" ,
296+ "properties" : {
297+ "eventHubConnectionString" : {
298+ "type" : " string" ,
299+ "description" : " EventHub connection string."
300+ },
301+ "ioTHubConnectionString" : {
302+ "type" : " string" ,
303+ "description" : " IoTHub connection string."
304+ },
305+ "resourceId" : {
306+ "type" : " string" ,
307+ "minLength" : 108 ,
308+ "maxLength" : 244 ,
309+ "description" : " IoTHub resource ID"
310+ }
311+ },
312+ "required" : [
313+ " resourceId"
314+ ],
315+ "description" : " Device Update account integration with IoT Hub settings."
316+ }
317+ }
318+ }
0 commit comments