Skip to content

Commit 480dffb

Browse files
author
msftbot[bot]
authored
[ReleasePR adp] ADP: Introduce api version 2021-11-01-preview (#2062)
Create to sync Azure/azure-rest-api-specs#16526 [ReCreate this PR](https://github.com/azure-resource-manager-schemas/compare/main...AzureSDKAutomation:sdkAuto/adp?expand=1)
2 parents 6785373 + 0838548 commit 480dffb

File tree

2 files changed

+334
-0
lines changed

2 files changed

+334
-0
lines changed
Lines changed: 328 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,328 @@
1+
{
2+
"id": "https://schema.management.azure.com/schemas/2021-11-01-preview/Microsoft.AutonomousDevelopmentPlatform.json#",
3+
"$schema": "http://json-schema.org/draft-04/schema#",
4+
"title": "Microsoft.AutonomousDevelopmentPlatform",
5+
"description": "Microsoft AutonomousDevelopmentPlatform Resource Types",
6+
"resourceDefinitions": {
7+
"accounts": {
8+
"type": "object",
9+
"properties": {
10+
"apiVersion": {
11+
"type": "string",
12+
"enum": [
13+
"2021-11-01-preview"
14+
]
15+
},
16+
"location": {
17+
"type": "string",
18+
"description": "The geo-location where the resource lives"
19+
},
20+
"name": {
21+
"oneOf": [
22+
{
23+
"type": "string",
24+
"pattern": "^[a-zA-Z0-9]+(-[a-zA-Z0-9]+)*",
25+
"maxLength": 50
26+
},
27+
{
28+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
29+
}
30+
],
31+
"description": "The name of the ADP account"
32+
},
33+
"properties": {
34+
"oneOf": [
35+
{
36+
"$ref": "#/definitions/AccountProperties"
37+
},
38+
{
39+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
40+
}
41+
],
42+
"description": "ADP account properties"
43+
},
44+
"resources": {
45+
"type": "array",
46+
"items": {
47+
"oneOf": [
48+
{
49+
"$ref": "#/definitions/accounts_dataPools_childResource"
50+
}
51+
]
52+
}
53+
},
54+
"tags": {
55+
"oneOf": [
56+
{
57+
"type": "object",
58+
"additionalProperties": {
59+
"type": "string"
60+
},
61+
"properties": {}
62+
},
63+
{
64+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
65+
}
66+
],
67+
"description": "Resource tags."
68+
},
69+
"type": {
70+
"type": "string",
71+
"enum": [
72+
"Microsoft.AutonomousDevelopmentPlatform/accounts"
73+
]
74+
}
75+
},
76+
"required": [
77+
"apiVersion",
78+
"location",
79+
"name",
80+
"properties",
81+
"type"
82+
],
83+
"description": "Microsoft.AutonomousDevelopmentPlatform/accounts"
84+
},
85+
"accounts_dataPools": {
86+
"type": "object",
87+
"properties": {
88+
"apiVersion": {
89+
"type": "string",
90+
"enum": [
91+
"2021-11-01-preview"
92+
]
93+
},
94+
"name": {
95+
"oneOf": [
96+
{
97+
"type": "string",
98+
"pattern": "^[a-zA-Z0-9]+(-[a-zA-Z0-9]+)*",
99+
"maxLength": 50
100+
},
101+
{
102+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
103+
}
104+
],
105+
"description": "The name of the Data Pool"
106+
},
107+
"properties": {
108+
"oneOf": [
109+
{
110+
"$ref": "#/definitions/DataPoolProperties"
111+
},
112+
{
113+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
114+
}
115+
],
116+
"description": "Data Pool properties"
117+
},
118+
"type": {
119+
"type": "string",
120+
"enum": [
121+
"Microsoft.AutonomousDevelopmentPlatform/accounts/dataPools"
122+
]
123+
}
124+
},
125+
"required": [
126+
"apiVersion",
127+
"name",
128+
"properties",
129+
"type"
130+
],
131+
"description": "Microsoft.AutonomousDevelopmentPlatform/accounts/dataPools"
132+
}
133+
},
134+
"definitions": {
135+
"AccountProperties": {
136+
"type": "object",
137+
"properties": {},
138+
"description": "ADP account properties"
139+
},
140+
"accounts_dataPools_childResource": {
141+
"type": "object",
142+
"properties": {
143+
"apiVersion": {
144+
"type": "string",
145+
"enum": [
146+
"2021-11-01-preview"
147+
]
148+
},
149+
"name": {
150+
"oneOf": [
151+
{
152+
"type": "string",
153+
"pattern": "^[a-zA-Z0-9]+(-[a-zA-Z0-9]+)*",
154+
"maxLength": 50
155+
},
156+
{
157+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
158+
}
159+
],
160+
"description": "The name of the Data Pool"
161+
},
162+
"properties": {
163+
"oneOf": [
164+
{
165+
"$ref": "#/definitions/DataPoolProperties"
166+
},
167+
{
168+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
169+
}
170+
],
171+
"description": "Data Pool properties"
172+
},
173+
"type": {
174+
"type": "string",
175+
"enum": [
176+
"dataPools"
177+
]
178+
}
179+
},
180+
"required": [
181+
"apiVersion",
182+
"name",
183+
"properties",
184+
"type"
185+
],
186+
"description": "Microsoft.AutonomousDevelopmentPlatform/accounts/dataPools"
187+
},
188+
"DataPoolEncryption": {
189+
"type": "object",
190+
"properties": {
191+
"keyName": {
192+
"type": "string",
193+
"description": "The name of Key Vault key"
194+
},
195+
"keyVaultUri": {
196+
"type": "string",
197+
"description": "The URI of a soft delete-enabled Key Vault that is in the same location as the Data Pool location"
198+
},
199+
"keyVersion": {
200+
"type": "string",
201+
"description": "The version of Key Vault key"
202+
},
203+
"userAssignedIdentity": {
204+
"type": "string",
205+
"description": "The resource ID of a user-assigned Managed Identity used to access the encryption key in the Key Vault. Requires access to the key operations get, wrap, unwrap, and recover"
206+
}
207+
},
208+
"required": [
209+
"keyName",
210+
"keyVaultUri",
211+
"userAssignedIdentity"
212+
],
213+
"description": "Encryption properties of a Data Pool"
214+
},
215+
"DataPoolLocation": {
216+
"type": "object",
217+
"properties": {
218+
"encryption": {
219+
"oneOf": [
220+
{
221+
"$ref": "#/definitions/DataPoolEncryption"
222+
},
223+
{
224+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
225+
}
226+
],
227+
"description": "Encryption properties of a Data Pool"
228+
},
229+
"name": {
230+
"type": "string",
231+
"description": "The location name"
232+
},
233+
"storageAccountCount": {
234+
"oneOf": [
235+
{
236+
"type": "integer",
237+
"minimum": 1
238+
},
239+
{
240+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
241+
}
242+
],
243+
"description": "The amount of storage accounts provisioned per Data Pool. Default: 5"
244+
},
245+
"storageSku": {
246+
"oneOf": [
247+
{
248+
"$ref": "#/definitions/StorageSku"
249+
},
250+
{
251+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
252+
}
253+
],
254+
"description": "The Storage SKU."
255+
}
256+
},
257+
"required": [
258+
"name"
259+
],
260+
"description": "Location of a Data Pool"
261+
},
262+
"DataPoolProperties": {
263+
"type": "object",
264+
"properties": {
265+
"locations": {
266+
"oneOf": [
267+
{
268+
"type": "array",
269+
"items": {
270+
"$ref": "#/definitions/DataPoolLocation"
271+
}
272+
},
273+
{
274+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
275+
}
276+
],
277+
"description": "Gets or sets the collection of locations where Data Pool resources should be created"
278+
},
279+
"tags": {
280+
"oneOf": [
281+
{
282+
"type": "object",
283+
"additionalProperties": {
284+
"type": "string"
285+
},
286+
"properties": {}
287+
},
288+
{
289+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
290+
}
291+
],
292+
"description": "Resource tags"
293+
}
294+
},
295+
"description": "Data Pool properties"
296+
},
297+
"StorageSku": {
298+
"type": "object",
299+
"properties": {
300+
"name": {
301+
"oneOf": [
302+
{
303+
"type": "string",
304+
"enum": [
305+
"Standard_LRS",
306+
"Standard_GRS",
307+
"Standard_Ragrs",
308+
"Standard_ZRS",
309+
"Premium_LRS",
310+
"Premium_ZRS",
311+
"Standard_Gzrs",
312+
"Standard_Ragzrs"
313+
]
314+
},
315+
{
316+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
317+
}
318+
],
319+
"description": "The SKU name."
320+
}
321+
},
322+
"required": [
323+
"name"
324+
],
325+
"description": "The Storage SKU."
326+
}
327+
}
328+
}

schemas/common/autogeneratedResources.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2158,6 +2158,12 @@
21582158
{
21592159
"$ref": "https://schema.management.azure.com/schemas/2021-02-01-preview/Microsoft.AutonomousDevelopmentPlatform.json#/resourceDefinitions/accounts_dataPools"
21602160
},
2161+
{
2162+
"$ref": "https://schema.management.azure.com/schemas/2021-11-01-preview/Microsoft.AutonomousDevelopmentPlatform.json#/resourceDefinitions/accounts"
2163+
},
2164+
{
2165+
"$ref": "https://schema.management.azure.com/schemas/2021-11-01-preview/Microsoft.AutonomousDevelopmentPlatform.json#/resourceDefinitions/accounts_dataPools"
2166+
},
21612167
{
21622168
"$ref": "https://schema.management.azure.com/schemas/2020-03-20/Microsoft.AVS.json#/resourceDefinitions/privateClouds"
21632169
},

0 commit comments

Comments
 (0)