Skip to content

Commit d794869

Browse files
author
Autogenerator Pipeline
committed
Autogenerate schemas
1 parent c190476 commit d794869

File tree

2 files changed

+380
-0
lines changed

2 files changed

+380
-0
lines changed
Lines changed: 374 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,374 @@
1+
{
2+
"id": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.Maps.json#",
3+
"$schema": "http://json-schema.org/draft-04/schema#",
4+
"title": "Microsoft.Maps",
5+
"description": "Microsoft Maps Resource Types",
6+
"resourceDefinitions": {
7+
"accounts": {
8+
"type": "object",
9+
"properties": {
10+
"apiVersion": {
11+
"type": "string",
12+
"enum": [
13+
"2021-07-01-preview"
14+
]
15+
},
16+
"identity": {
17+
"oneOf": [
18+
{
19+
"$ref": "#/definitions/ManagedServiceIdentity"
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+
"kind": {
28+
"oneOf": [
29+
{
30+
"type": "string",
31+
"enum": [
32+
"Gen1",
33+
"Gen2"
34+
]
35+
},
36+
{
37+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
38+
}
39+
],
40+
"description": "Get or Set Kind property."
41+
},
42+
"location": {
43+
"type": "string",
44+
"description": "The geo-location where the resource lives"
45+
},
46+
"name": {
47+
"type": "string",
48+
"description": "The name of the Maps Account."
49+
},
50+
"properties": {
51+
"oneOf": [
52+
{
53+
"$ref": "#/definitions/MapsAccountProperties"
54+
},
55+
{
56+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
57+
}
58+
],
59+
"description": "Additional Map account properties"
60+
},
61+
"resources": {
62+
"type": "array",
63+
"items": {
64+
"oneOf": [
65+
{
66+
"$ref": "#/definitions/accounts_creators_childResource"
67+
}
68+
]
69+
}
70+
},
71+
"sku": {
72+
"oneOf": [
73+
{
74+
"$ref": "#/definitions/Sku"
75+
},
76+
{
77+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
78+
}
79+
],
80+
"description": "The SKU of the Maps Account."
81+
},
82+
"tags": {
83+
"oneOf": [
84+
{
85+
"type": "object",
86+
"additionalProperties": {
87+
"type": "string"
88+
},
89+
"properties": {}
90+
},
91+
{
92+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
93+
}
94+
],
95+
"description": "Resource tags."
96+
},
97+
"type": {
98+
"type": "string",
99+
"enum": [
100+
"Microsoft.Maps/accounts"
101+
]
102+
}
103+
},
104+
"required": [
105+
"apiVersion",
106+
"location",
107+
"name",
108+
"properties",
109+
"sku",
110+
"type"
111+
],
112+
"description": "Microsoft.Maps/accounts"
113+
},
114+
"accounts_creators": {
115+
"type": "object",
116+
"properties": {
117+
"apiVersion": {
118+
"type": "string",
119+
"enum": [
120+
"2021-07-01-preview"
121+
]
122+
},
123+
"location": {
124+
"type": "string",
125+
"description": "The geo-location where the resource lives"
126+
},
127+
"name": {
128+
"type": "string",
129+
"description": "The name of the Maps Creator instance."
130+
},
131+
"properties": {
132+
"oneOf": [
133+
{
134+
"$ref": "#/definitions/CreatorProperties"
135+
},
136+
{
137+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
138+
}
139+
],
140+
"description": "Creator resource properties"
141+
},
142+
"tags": {
143+
"oneOf": [
144+
{
145+
"type": "object",
146+
"additionalProperties": {
147+
"type": "string"
148+
},
149+
"properties": {}
150+
},
151+
{
152+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
153+
}
154+
],
155+
"description": "Resource tags."
156+
},
157+
"type": {
158+
"type": "string",
159+
"enum": [
160+
"Microsoft.Maps/accounts/creators"
161+
]
162+
}
163+
},
164+
"required": [
165+
"apiVersion",
166+
"location",
167+
"name",
168+
"properties",
169+
"type"
170+
],
171+
"description": "Microsoft.Maps/accounts/creators"
172+
}
173+
},
174+
"definitions": {
175+
"accounts_creators_childResource": {
176+
"type": "object",
177+
"properties": {
178+
"apiVersion": {
179+
"type": "string",
180+
"enum": [
181+
"2021-07-01-preview"
182+
]
183+
},
184+
"location": {
185+
"type": "string",
186+
"description": "The geo-location where the resource lives"
187+
},
188+
"name": {
189+
"type": "string",
190+
"description": "The name of the Maps Creator instance."
191+
},
192+
"properties": {
193+
"oneOf": [
194+
{
195+
"$ref": "#/definitions/CreatorProperties"
196+
},
197+
{
198+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
199+
}
200+
],
201+
"description": "Creator resource properties"
202+
},
203+
"tags": {
204+
"oneOf": [
205+
{
206+
"type": "object",
207+
"additionalProperties": {
208+
"type": "string"
209+
},
210+
"properties": {}
211+
},
212+
{
213+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
214+
}
215+
],
216+
"description": "Resource tags."
217+
},
218+
"type": {
219+
"type": "string",
220+
"enum": [
221+
"creators"
222+
]
223+
}
224+
},
225+
"required": [
226+
"apiVersion",
227+
"location",
228+
"name",
229+
"properties",
230+
"type"
231+
],
232+
"description": "Microsoft.Maps/accounts/creators"
233+
},
234+
"Components1jq1t4ischemasmanagedserviceidentitypropertiesuserassignedidentitiesadditionalproperties": {
235+
"type": "object",
236+
"properties": {}
237+
},
238+
"CreatorProperties": {
239+
"type": "object",
240+
"properties": {
241+
"storageUnits": {
242+
"oneOf": [
243+
{
244+
"type": "integer",
245+
"minimum": 1,
246+
"maximum": 100
247+
},
248+
{
249+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
250+
}
251+
],
252+
"description": "The storage units to be allocated. Integer values from 1 to 100, inclusive."
253+
}
254+
},
255+
"required": [
256+
"storageUnits"
257+
],
258+
"description": "Creator resource properties"
259+
},
260+
"LinkedResource": {
261+
"type": "object",
262+
"properties": {
263+
"id": {
264+
"type": "string",
265+
"description": "ARM resource id in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/accounts/{storageName}'."
266+
},
267+
"uniqueName": {
268+
"type": "string",
269+
"description": "A provided name which uniquely identifies the linked resource."
270+
}
271+
},
272+
"required": [
273+
"id",
274+
"uniqueName"
275+
],
276+
"description": "Linked resource is reference to a resource deployed in an Azure subscription, add the linked resource `uniqueName` value as an optional parameter for operations on Azure Maps Geospatial REST APIs."
277+
},
278+
"ManagedServiceIdentity": {
279+
"type": "object",
280+
"properties": {
281+
"type": {
282+
"oneOf": [
283+
{
284+
"type": "string",
285+
"enum": [
286+
"SystemAssigned",
287+
"UserAssigned",
288+
"SystemAssigned, UserAssigned",
289+
"None"
290+
]
291+
},
292+
{
293+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
294+
}
295+
],
296+
"description": "The identity type."
297+
},
298+
"userAssignedIdentities": {
299+
"oneOf": [
300+
{
301+
"type": "object",
302+
"additionalProperties": {
303+
"$ref": "#/definitions/Components1jq1t4ischemasmanagedserviceidentitypropertiesuserassignedidentitiesadditionalproperties"
304+
},
305+
"properties": {}
306+
},
307+
{
308+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
309+
}
310+
],
311+
"description": "The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'."
312+
}
313+
},
314+
"description": "Identity for the resource."
315+
},
316+
"MapsAccountProperties": {
317+
"type": "object",
318+
"properties": {
319+
"disableLocalAuth": {
320+
"oneOf": [
321+
{
322+
"type": "boolean",
323+
"default": false
324+
},
325+
{
326+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
327+
}
328+
],
329+
"description": "Allows toggle functionality on Azure Policy to disable Azure Maps local authentication support. This will disable Shared Keys authentication from any usage."
330+
},
331+
"linkedResources": {
332+
"oneOf": [
333+
{
334+
"type": "array",
335+
"items": {
336+
"$ref": "#/definitions/LinkedResource"
337+
}
338+
},
339+
{
340+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
341+
}
342+
],
343+
"description": "The array of associated resources to the Map account. Linked resource in the array cannot individually update, you must update all linked resources in the array together. These resources may be used on operations on the Azure Maps REST API. Access is controlled by the Map Account Managed Identity(s) permissions to those resource(s)."
344+
}
345+
},
346+
"description": "Additional Map account properties"
347+
},
348+
"Sku": {
349+
"type": "object",
350+
"properties": {
351+
"name": {
352+
"oneOf": [
353+
{
354+
"type": "string",
355+
"enum": [
356+
"S0",
357+
"S1",
358+
"G2"
359+
]
360+
},
361+
{
362+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
363+
}
364+
],
365+
"description": "The name of the SKU, in standard format (such as S0)."
366+
}
367+
},
368+
"required": [
369+
"name"
370+
],
371+
"description": "The SKU of the Maps Account."
372+
}
373+
}
374+
}

schemas/common/autogeneratedResources.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6115,6 +6115,12 @@
61156115
{
61166116
"$ref": "https://schema.management.azure.com/schemas/2021-02-01/Microsoft.Maps.json#/resourceDefinitions/accounts_creators"
61176117
},
6118+
{
6119+
"$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.Maps.json#/resourceDefinitions/accounts"
6120+
},
6121+
{
6122+
"$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.Maps.json#/resourceDefinitions/accounts_creators"
6123+
},
61186124
{
61196125
"$ref": "https://schema.management.azure.com/schemas/2018-02-02/Microsoft.Migrate.json#/resourceDefinitions/projects"
61206126
},

0 commit comments

Comments
 (0)