Skip to content

Commit 14b72eb

Browse files
author
Autogenerator Pipeline
committed
Autogenerate schemas
1 parent 69ff92b commit 14b72eb

File tree

2 files changed

+362
-0
lines changed

2 files changed

+362
-0
lines changed
Lines changed: 356 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,356 @@
1+
{
2+
"id": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.StoragePool.json#",
3+
"$schema": "http://json-schema.org/draft-04/schema#",
4+
"title": "Microsoft.StoragePool",
5+
"description": "Microsoft StoragePool Resource Types",
6+
"resourceDefinitions": {
7+
"diskPools": {
8+
"type": "object",
9+
"properties": {
10+
"apiVersion": {
11+
"type": "string",
12+
"enum": [
13+
"2021-04-01-preview"
14+
]
15+
},
16+
"location": {
17+
"type": "string",
18+
"description": "The geo-location where the resource lives."
19+
},
20+
"name": {
21+
"type": "string",
22+
"description": "The name of the Disk Pool."
23+
},
24+
"properties": {
25+
"oneOf": [
26+
{
27+
"$ref": "#/definitions/DiskPoolCreateProperties"
28+
},
29+
{
30+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
31+
}
32+
],
33+
"description": "Properties for Disk Pool create or update request."
34+
},
35+
"resources": {
36+
"type": "array",
37+
"items": {
38+
"oneOf": [
39+
{
40+
"$ref": "#/definitions/diskPools_iscsiTargets_childResource"
41+
}
42+
]
43+
}
44+
},
45+
"sku": {
46+
"oneOf": [
47+
{
48+
"$ref": "#/definitions/Sku"
49+
},
50+
{
51+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
52+
}
53+
],
54+
"description": "Sku for ARM resource"
55+
},
56+
"tags": {
57+
"oneOf": [
58+
{
59+
"type": "object",
60+
"additionalProperties": {
61+
"type": "string"
62+
},
63+
"properties": {}
64+
},
65+
{
66+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
67+
}
68+
],
69+
"description": "Resource tags."
70+
},
71+
"type": {
72+
"type": "string",
73+
"enum": [
74+
"Microsoft.StoragePool/diskPools"
75+
]
76+
}
77+
},
78+
"required": [
79+
"apiVersion",
80+
"location",
81+
"name",
82+
"properties",
83+
"sku",
84+
"type"
85+
],
86+
"description": "Microsoft.StoragePool/diskPools"
87+
},
88+
"diskPools_iscsiTargets": {
89+
"type": "object",
90+
"properties": {
91+
"apiVersion": {
92+
"type": "string",
93+
"enum": [
94+
"2021-04-01-preview"
95+
]
96+
},
97+
"name": {
98+
"type": "string",
99+
"description": "The name of the iSCSI Target."
100+
},
101+
"properties": {
102+
"oneOf": [
103+
{
104+
"$ref": "#/definitions/IscsiTargetCreateProperties"
105+
},
106+
{
107+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
108+
}
109+
],
110+
"description": "Properties for iSCSI Target create or update request."
111+
},
112+
"type": {
113+
"type": "string",
114+
"enum": [
115+
"Microsoft.StoragePool/diskPools/iscsiTargets"
116+
]
117+
}
118+
},
119+
"required": [
120+
"apiVersion",
121+
"name",
122+
"properties",
123+
"type"
124+
],
125+
"description": "Microsoft.StoragePool/diskPools/iscsiTargets"
126+
}
127+
},
128+
"definitions": {
129+
"Acl": {
130+
"type": "object",
131+
"properties": {
132+
"initiatorIqn": {
133+
"type": "string",
134+
"description": "iSCSI initiator IQN (iSCSI Qualified Name); example: \"iqn.2005-03.org.iscsi:client\"."
135+
},
136+
"mappedLuns": {
137+
"oneOf": [
138+
{
139+
"type": "array",
140+
"items": {
141+
"type": "string"
142+
}
143+
},
144+
{
145+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
146+
}
147+
],
148+
"description": "List of LUN names mapped to the ACL."
149+
}
150+
},
151+
"required": [
152+
"initiatorIqn",
153+
"mappedLuns"
154+
],
155+
"description": "Access Control List (ACL) for an iSCSI Target; defines LUN masking policy"
156+
},
157+
"Disk": {
158+
"type": "object",
159+
"properties": {
160+
"id": {
161+
"type": "string",
162+
"description": "Unique Azure Resource ID of the Managed Disk."
163+
}
164+
},
165+
"required": [
166+
"id"
167+
],
168+
"description": "Azure Managed Disk to attach to the Disk Pool."
169+
},
170+
"DiskPoolCreateProperties": {
171+
"type": "object",
172+
"properties": {
173+
"additionalCapabilities": {
174+
"oneOf": [
175+
{
176+
"type": "array",
177+
"items": {
178+
"type": "string"
179+
}
180+
},
181+
{
182+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
183+
}
184+
],
185+
"description": "List of additional capabilities for a Disk Pool."
186+
},
187+
"availabilityZones": {
188+
"oneOf": [
189+
{
190+
"type": "array",
191+
"items": {
192+
"type": "string"
193+
}
194+
},
195+
{
196+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
197+
}
198+
],
199+
"description": "Logical zone for Disk Pool resource; example: [\"1\"]."
200+
},
201+
"disks": {
202+
"oneOf": [
203+
{
204+
"type": "array",
205+
"items": {
206+
"$ref": "#/definitions/Disk"
207+
}
208+
},
209+
{
210+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
211+
}
212+
],
213+
"description": "List of Azure Managed Disks to attach to a Disk Pool."
214+
},
215+
"subnetId": {
216+
"type": "string",
217+
"description": "Azure Resource ID of a Subnet for the Disk Pool."
218+
}
219+
},
220+
"required": [
221+
"subnetId"
222+
],
223+
"description": "Properties for Disk Pool create or update request."
224+
},
225+
"diskPools_iscsiTargets_childResource": {
226+
"type": "object",
227+
"properties": {
228+
"apiVersion": {
229+
"type": "string",
230+
"enum": [
231+
"2021-04-01-preview"
232+
]
233+
},
234+
"name": {
235+
"type": "string",
236+
"description": "The name of the iSCSI Target."
237+
},
238+
"properties": {
239+
"oneOf": [
240+
{
241+
"$ref": "#/definitions/IscsiTargetCreateProperties"
242+
},
243+
{
244+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
245+
}
246+
],
247+
"description": "Properties for iSCSI Target create or update request."
248+
},
249+
"type": {
250+
"type": "string",
251+
"enum": [
252+
"iscsiTargets"
253+
]
254+
}
255+
},
256+
"required": [
257+
"apiVersion",
258+
"name",
259+
"properties",
260+
"type"
261+
],
262+
"description": "Microsoft.StoragePool/diskPools/iscsiTargets"
263+
},
264+
"IscsiLun": {
265+
"type": "object",
266+
"properties": {
267+
"managedDiskAzureResourceId": {
268+
"type": "string",
269+
"description": "Azure Resource ID of the Managed Disk."
270+
},
271+
"name": {
272+
"type": "string",
273+
"description": "User defined name for iSCSI LUN; example: \"lun0\""
274+
}
275+
},
276+
"required": [
277+
"managedDiskAzureResourceId",
278+
"name"
279+
],
280+
"description": "LUN to expose the Azure Managed Disk."
281+
},
282+
"IscsiTargetCreateProperties": {
283+
"type": "object",
284+
"properties": {
285+
"aclMode": {
286+
"oneOf": [
287+
{
288+
"type": "string",
289+
"enum": [
290+
"Dynamic",
291+
"Static"
292+
]
293+
},
294+
{
295+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
296+
}
297+
],
298+
"description": "Mode for Target connectivity."
299+
},
300+
"luns": {
301+
"oneOf": [
302+
{
303+
"type": "array",
304+
"items": {
305+
"$ref": "#/definitions/IscsiLun"
306+
}
307+
},
308+
{
309+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
310+
}
311+
],
312+
"description": "List of LUNs to be exposed through iSCSI Target."
313+
},
314+
"staticAcls": {
315+
"oneOf": [
316+
{
317+
"type": "array",
318+
"items": {
319+
"$ref": "#/definitions/Acl"
320+
}
321+
},
322+
{
323+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
324+
}
325+
],
326+
"description": "Access Control List (ACL) for an iSCSI Target; defines LUN masking policy"
327+
},
328+
"targetIqn": {
329+
"type": "string",
330+
"description": "iSCSI Target IQN (iSCSI Qualified Name); example: \"iqn.2005-03.org.iscsi:server\"."
331+
}
332+
},
333+
"required": [
334+
"aclMode"
335+
],
336+
"description": "Properties for iSCSI Target create or update request."
337+
},
338+
"Sku": {
339+
"type": "object",
340+
"properties": {
341+
"name": {
342+
"type": "string",
343+
"description": "Sku name"
344+
},
345+
"tier": {
346+
"type": "string",
347+
"description": "Sku tier"
348+
}
349+
},
350+
"required": [
351+
"name"
352+
],
353+
"description": "Sku for ARM resource"
354+
}
355+
}
356+
}

schemas/common/autogeneratedResources.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8647,6 +8647,12 @@
86478647
{
86488648
"$ref": "https://schema.management.azure.com/schemas/2020-03-15-preview/Microsoft.StoragePool.json#/resourceDefinitions/diskPools_iscsiTargets"
86498649
},
8650+
{
8651+
"$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.StoragePool.json#/resourceDefinitions/diskPools"
8652+
},
8653+
{
8654+
"$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.StoragePool.json#/resourceDefinitions/diskPools_iscsiTargets"
8655+
},
86508656
{
86518657
"$ref": "https://schema.management.azure.com/schemas/2017-06-05-preview/Microsoft.StorageSync.json#/resourceDefinitions/storageSyncServices"
86528658
},

0 commit comments

Comments
 (0)