Skip to content

Commit d9dbb22

Browse files
author
SDKAuto
committed
CodeGen from PR 13936 in Azure/azure-rest-api-specs
Merge 8b81f1ed16a74760f330a9719ce489ecc0c84ed6 into 954a3285e388dea940dc9628cf7dd0434e92e138
1 parent 4cff05b commit d9dbb22

File tree

8 files changed

+758
-165
lines changed

8 files changed

+758
-165
lines changed

schemas/2018-05-01/subscriptionDeploymentTemplate.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,15 @@
375375
{
376376
"$ref": "https://schema.management.azure.com/schemas/2020-10-01/Microsoft.Resources.json#/unknown_resourceDefinitions/tags"
377377
},
378+
{
379+
"$ref": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Resources.json#/subscription_resourceDefinitions/deployments"
380+
},
381+
{
382+
"$ref": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Resources.json#/subscription_resourceDefinitions/resourceGroups"
383+
},
384+
{
385+
"$ref": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Resources.json#/unknown_resourceDefinitions/tags"
386+
},
378387
{
379388
"$ref": "https://schema.management.azure.com/schemas/2015-06-01-preview/Microsoft.Security.json#/subscription_resourceDefinitions/locations_applicationWhitelistings"
380389
},

schemas/2019-08-01/managementGroupDeploymentTemplate.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,12 @@
174174
{
175175
"$ref": "https://schema.management.azure.com/schemas/2020-10-01/Microsoft.Resources.json#/unknown_resourceDefinitions/tags"
176176
},
177+
{
178+
"$ref": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Resources.json#/managementGroup_resourceDefinitions/deployments"
179+
},
180+
{
181+
"$ref": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Resources.json#/unknown_resourceDefinitions/tags"
182+
},
177183
{
178184
"$ref": "https://schema.management.azure.com/schemas/2017-08-01-preview/Microsoft.Security.json#/unknown_resourceDefinitions/informationProtectionPolicies"
179185
}

schemas/2019-08-01/tenantDeploymentTemplate.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,9 @@
266266
{
267267
"$ref": "https://schema.management.azure.com/schemas/2020-10-01/Microsoft.Resources.json#/tenant_resourceDefinitions/deployments"
268268
},
269+
{
270+
"$ref": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Resources.json#/tenant_resourceDefinitions/deployments"
271+
},
269272
{
270273
"$ref": "https://schema.management.azure.com/schemas/2017-11-01-preview/Microsoft.Subscription.json#/tenant_resourceDefinitions/subscriptionDefinitions"
271274
},

schemas/2020-06-01/Microsoft.Resources.json

Lines changed: 15 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,9 @@
1818
"description": "The location to store the deployment data."
1919
},
2020
"name": {
21-
"oneOf": [
22-
{
23-
"type": "string",
24-
"pattern": "^[-\\w\\._\\(\\)]+$",
25-
"minLength": 1,
26-
"maxLength": 64
27-
},
28-
{
29-
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
30-
}
31-
],
21+
"type": "string",
22+
"minLength": 1,
23+
"maxLength": 64,
3224
"description": "The name of the deployment."
3325
},
3426
"properties": {
@@ -98,17 +90,9 @@
9890
"description": "The location to store the deployment data."
9991
},
10092
"name": {
101-
"oneOf": [
102-
{
103-
"type": "string",
104-
"pattern": "^[-\\w\\._\\(\\)]+$",
105-
"minLength": 1,
106-
"maxLength": 64
107-
},
108-
{
109-
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
110-
}
111-
],
93+
"type": "string",
94+
"minLength": 1,
95+
"maxLength": 64,
11296
"description": "The name of the deployment."
11397
},
11498
"properties": {
@@ -229,17 +213,9 @@
229213
"description": "The location to store the deployment data."
230214
},
231215
"name": {
232-
"oneOf": [
233-
{
234-
"type": "string",
235-
"pattern": "^[-\\w\\._\\(\\)]+$",
236-
"minLength": 1,
237-
"maxLength": 64
238-
},
239-
{
240-
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
241-
}
242-
],
216+
"type": "string",
217+
"minLength": 1,
218+
"maxLength": 64,
243219
"description": "The name of the deployment."
244220
},
245221
"properties": {
@@ -304,17 +280,9 @@
304280
"description": "The location to store the deployment data."
305281
},
306282
"name": {
307-
"oneOf": [
308-
{
309-
"type": "string",
310-
"pattern": "^[-\\w\\._\\(\\)]+$",
311-
"minLength": 1,
312-
"maxLength": 64
313-
},
314-
{
315-
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
316-
}
317-
],
283+
"type": "string",
284+
"minLength": 1,
285+
"maxLength": 64,
318286
"description": "The name of the deployment."
319287
},
320288
"properties": {
@@ -379,17 +347,9 @@
379347
"description": "The location to store the deployment data."
380348
},
381349
"name": {
382-
"oneOf": [
383-
{
384-
"type": "string",
385-
"pattern": "^[-\\w\\._\\(\\)]+$",
386-
"minLength": 1,
387-
"maxLength": 64
388-
},
389-
{
390-
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
391-
}
392-
],
350+
"type": "string",
351+
"minLength": 1,
352+
"maxLength": 64,
393353
"description": "The name of the deployment."
394354
},
395355
"properties": {

schemas/2020-08-01/Microsoft.Resources.json

Lines changed: 15 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,9 @@
1818
"description": "The location to store the deployment data."
1919
},
2020
"name": {
21-
"oneOf": [
22-
{
23-
"type": "string",
24-
"pattern": "^[-\\w\\._\\(\\)]+$",
25-
"minLength": 1,
26-
"maxLength": 64
27-
},
28-
{
29-
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
30-
}
31-
],
21+
"type": "string",
22+
"minLength": 1,
23+
"maxLength": 64,
3224
"description": "The name of the deployment."
3325
},
3426
"properties": {
@@ -98,17 +90,9 @@
9890
"description": "The location to store the deployment data."
9991
},
10092
"name": {
101-
"oneOf": [
102-
{
103-
"type": "string",
104-
"pattern": "^[-\\w\\._\\(\\)]+$",
105-
"minLength": 1,
106-
"maxLength": 64
107-
},
108-
{
109-
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
110-
}
111-
],
93+
"type": "string",
94+
"minLength": 1,
95+
"maxLength": 64,
11296
"description": "The name of the deployment."
11397
},
11498
"properties": {
@@ -229,17 +213,9 @@
229213
"description": "The location to store the deployment data."
230214
},
231215
"name": {
232-
"oneOf": [
233-
{
234-
"type": "string",
235-
"pattern": "^[-\\w\\._\\(\\)]+$",
236-
"minLength": 1,
237-
"maxLength": 64
238-
},
239-
{
240-
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
241-
}
242-
],
216+
"type": "string",
217+
"minLength": 1,
218+
"maxLength": 64,
243219
"description": "The name of the deployment."
244220
},
245221
"properties": {
@@ -304,17 +280,9 @@
304280
"description": "The location to store the deployment data."
305281
},
306282
"name": {
307-
"oneOf": [
308-
{
309-
"type": "string",
310-
"pattern": "^[-\\w\\._\\(\\)]+$",
311-
"minLength": 1,
312-
"maxLength": 64
313-
},
314-
{
315-
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
316-
}
317-
],
283+
"type": "string",
284+
"minLength": 1,
285+
"maxLength": 64,
318286
"description": "The name of the deployment."
319287
},
320288
"properties": {
@@ -379,17 +347,9 @@
379347
"description": "The location to store the deployment data."
380348
},
381349
"name": {
382-
"oneOf": [
383-
{
384-
"type": "string",
385-
"pattern": "^[-\\w\\._\\(\\)]+$",
386-
"minLength": 1,
387-
"maxLength": 64
388-
},
389-
{
390-
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
391-
}
392-
],
350+
"type": "string",
351+
"minLength": 1,
352+
"maxLength": 64,
393353
"description": "The name of the deployment."
394354
},
395355
"properties": {

schemas/2020-10-01/Microsoft.Resources.json

Lines changed: 15 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,9 @@
1818
"description": "The location to store the deployment data."
1919
},
2020
"name": {
21-
"oneOf": [
22-
{
23-
"type": "string",
24-
"pattern": "^[-\\w\\._\\(\\)]+$",
25-
"minLength": 1,
26-
"maxLength": 64
27-
},
28-
{
29-
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
30-
}
31-
],
21+
"type": "string",
22+
"minLength": 1,
23+
"maxLength": 64,
3224
"description": "The name of the deployment."
3325
},
3426
"properties": {
@@ -166,17 +158,9 @@
166158
"description": "The location to store the deployment data."
167159
},
168160
"name": {
169-
"oneOf": [
170-
{
171-
"type": "string",
172-
"pattern": "^[-\\w\\._\\(\\)]+$",
173-
"minLength": 1,
174-
"maxLength": 64
175-
},
176-
{
177-
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
178-
}
179-
],
161+
"type": "string",
162+
"minLength": 1,
163+
"maxLength": 64,
180164
"description": "The name of the deployment."
181165
},
182166
"properties": {
@@ -297,17 +281,9 @@
297281
"description": "The location to store the deployment data."
298282
},
299283
"name": {
300-
"oneOf": [
301-
{
302-
"type": "string",
303-
"pattern": "^[-\\w\\._\\(\\)]+$",
304-
"minLength": 1,
305-
"maxLength": 64
306-
},
307-
{
308-
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
309-
}
310-
],
284+
"type": "string",
285+
"minLength": 1,
286+
"maxLength": 64,
311287
"description": "The name of the deployment."
312288
},
313289
"properties": {
@@ -372,17 +348,9 @@
372348
"description": "The location to store the deployment data."
373349
},
374350
"name": {
375-
"oneOf": [
376-
{
377-
"type": "string",
378-
"pattern": "^[-\\w\\._\\(\\)]+$",
379-
"minLength": 1,
380-
"maxLength": 64
381-
},
382-
{
383-
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
384-
}
385-
],
351+
"type": "string",
352+
"minLength": 1,
353+
"maxLength": 64,
386354
"description": "The name of the deployment."
387355
},
388356
"properties": {
@@ -447,17 +415,9 @@
447415
"description": "The location to store the deployment data."
448416
},
449417
"name": {
450-
"oneOf": [
451-
{
452-
"type": "string",
453-
"pattern": "^[-\\w\\._\\(\\)]+$",
454-
"minLength": 1,
455-
"maxLength": 64
456-
},
457-
{
458-
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
459-
}
460-
],
418+
"type": "string",
419+
"minLength": 1,
420+
"maxLength": 64,
461421
"description": "The name of the deployment."
462422
},
463423
"properties": {

0 commit comments

Comments
 (0)