Skip to content

Commit 0ec50d3

Browse files
authored
Merge pull request #2946 from Azure/autogenerate-batch
Update Generated Schemas
2 parents 84ec922 + 5bcf011 commit 0ec50d3

File tree

19 files changed

+15946
-21
lines changed

19 files changed

+15946
-21
lines changed

schemas/2017-04-01/Microsoft.EventHub.json

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,17 @@
1818
"description": "Resource location."
1919
},
2020
"name": {
21-
"type": "string",
22-
"minLength": 6,
23-
"maxLength": 50,
21+
"oneOf": [
22+
{
23+
"type": "string",
24+
"pattern": "^[a-zA-Z][a-zA-Z0-9-]{6,50}[a-zA-Z0-9]$",
25+
"minLength": 6,
26+
"maxLength": 50
27+
},
28+
{
29+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
30+
}
31+
],
2432
"description": "The Namespace name"
2533
},
2634
"properties": {

schemas/2018-01-01-preview/Microsoft.EventHub.json

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,17 @@
100100
"description": "Resource location."
101101
},
102102
"name": {
103-
"type": "string",
104-
"minLength": 6,
105-
"maxLength": 50,
103+
"oneOf": [
104+
{
105+
"type": "string",
106+
"pattern": "^[a-zA-Z][a-zA-Z0-9-]{6,50}[a-zA-Z0-9]$",
107+
"minLength": 6,
108+
"maxLength": 50
109+
},
110+
{
111+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
112+
}
113+
],
106114
"description": "The Namespace name"
107115
},
108116
"properties": {

schemas/2018-05-01/subscriptionDeploymentTemplate.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -878,6 +878,9 @@
878878
{
879879
"$ref": "https://schema.management.azure.com/schemas/2023-05-01/Microsoft.Consumption.json#/unknown_resourceDefinitions/budgets"
880880
},
881+
{
882+
"$ref": "https://schema.management.azure.com/schemas/2023-11-01/Microsoft.Consumption.json#/unknown_resourceDefinitions/budgets"
883+
},
881884
{
882885
"$ref": "https://schema.management.azure.com/schemas/2018-05-31/Microsoft.CostManagement.json#/subscription_resourceDefinitions/reportconfigs"
883886
},
@@ -974,6 +977,18 @@
974977
{
975978
"$ref": "https://schema.management.azure.com/schemas/2023-04-01-preview/Microsoft.CostManagement.json#/unknown_resourceDefinitions/views"
976979
},
980+
{
981+
"$ref": "https://schema.management.azure.com/schemas/2023-08-01/Microsoft.CostManagement.json#/unknown_resourceDefinitions/budgets"
982+
},
983+
{
984+
"$ref": "https://schema.management.azure.com/schemas/2023-08-01/Microsoft.CostManagement.json#/unknown_resourceDefinitions/exports"
985+
},
986+
{
987+
"$ref": "https://schema.management.azure.com/schemas/2023-08-01/Microsoft.CostManagement.json#/unknown_resourceDefinitions/scheduledActions"
988+
},
989+
{
990+
"$ref": "https://schema.management.azure.com/schemas/2023-08-01/Microsoft.CostManagement.json#/unknown_resourceDefinitions/views"
991+
},
977992
{
978993
"$ref": "https://schema.management.azure.com/schemas/2020-02-01-preview/Microsoft.Datadog.json#/subscription_resourceDefinitions/agreements"
979994
},

schemas/2019-08-01/managementGroupDeploymentTemplate.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -806,6 +806,15 @@
806806
{
807807
"$ref": "https://schema.management.azure.com/schemas/2023-04-01-preview/Microsoft.CostManagement.json#/unknown_resourceDefinitions/views"
808808
},
809+
{
810+
"$ref": "https://schema.management.azure.com/schemas/2023-08-01/Microsoft.CostManagement.json#/unknown_resourceDefinitions/budgets"
811+
},
812+
{
813+
"$ref": "https://schema.management.azure.com/schemas/2023-08-01/Microsoft.CostManagement.json#/unknown_resourceDefinitions/exports"
814+
},
815+
{
816+
"$ref": "https://schema.management.azure.com/schemas/2023-08-01/Microsoft.CostManagement.json#/unknown_resourceDefinitions/views"
817+
},
809818
{
810819
"$ref": "https://schema.management.azure.com/schemas/2020-01-01-preview/Microsoft.Insights.json#/managementGroup_resourceDefinitions/diagnosticSettings"
811820
},

schemas/2019-08-01/tenantDeploymentTemplate.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -745,6 +745,12 @@
745745
{
746746
"$ref": "https://schema.management.azure.com/schemas/2023-04-01-preview/Microsoft.CostManagement.json#/tenant_resourceDefinitions/views"
747747
},
748+
{
749+
"$ref": "https://schema.management.azure.com/schemas/2023-08-01/Microsoft.CostManagement.json#/tenant_resourceDefinitions/scheduledActions"
750+
},
751+
{
752+
"$ref": "https://schema.management.azure.com/schemas/2023-08-01/Microsoft.CostManagement.json#/tenant_resourceDefinitions/views"
753+
},
748754
{
749755
"$ref": "https://schema.management.azure.com/schemas/2015-01-14-preview/Microsoft.Intune.json#/tenant_resourceDefinitions/locations_androidPolicies"
750756
},

schemas/2021-01-01-preview/Microsoft.EventHub.json

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,17 @@
2929
"description": "Resource location."
3030
},
3131
"name": {
32-
"type": "string",
33-
"minLength": 6,
34-
"maxLength": 50,
32+
"oneOf": [
33+
{
34+
"type": "string",
35+
"pattern": "^[a-zA-Z][a-zA-Z0-9-]{6,50}[a-zA-Z0-9]$",
36+
"minLength": 6,
37+
"maxLength": 50
38+
},
39+
{
40+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
41+
}
42+
],
3543
"description": "The Namespace name"
3644
},
3745
"properties": {

schemas/2021-06-01-preview/Microsoft.EventHub.json

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,17 @@
100100
"description": "Resource location."
101101
},
102102
"name": {
103-
"type": "string",
104-
"minLength": 6,
105-
"maxLength": 50,
103+
"oneOf": [
104+
{
105+
"type": "string",
106+
"pattern": "^[a-zA-Z][a-zA-Z0-9-]{6,50}[a-zA-Z0-9]$",
107+
"minLength": 6,
108+
"maxLength": 50
109+
},
110+
{
111+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
112+
}
113+
],
106114
"description": "The Namespace name"
107115
},
108116
"properties": {

schemas/2021-11-01/Microsoft.EventHub.json

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,17 @@
100100
"description": "Resource location."
101101
},
102102
"name": {
103-
"type": "string",
104-
"minLength": 6,
105-
"maxLength": 50,
103+
"oneOf": [
104+
{
105+
"type": "string",
106+
"pattern": "^[a-zA-Z][a-zA-Z0-9-]{6,50}[a-zA-Z0-9]$",
107+
"minLength": 6,
108+
"maxLength": 50
109+
},
110+
{
111+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
112+
}
113+
],
106114
"description": "The Namespace name"
107115
},
108116
"properties": {

schemas/2022-01-01-preview/Microsoft.EventHub.json

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,17 @@
100100
"description": "Resource location."
101101
},
102102
"name": {
103-
"type": "string",
104-
"minLength": 6,
105-
"maxLength": 50,
103+
"oneOf": [
104+
{
105+
"type": "string",
106+
"pattern": "^[a-zA-Z][a-zA-Z0-9-]{6,50}[a-zA-Z0-9]$",
107+
"minLength": 6,
108+
"maxLength": 50
109+
},
110+
{
111+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
112+
}
113+
],
106114
"description": "The Namespace name"
107115
},
108116
"properties": {

schemas/2022-10-01-preview/Microsoft.EventHub.json

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,17 @@
100100
"description": "Resource location."
101101
},
102102
"name": {
103-
"type": "string",
104-
"minLength": 6,
105-
"maxLength": 50,
103+
"oneOf": [
104+
{
105+
"type": "string",
106+
"pattern": "^[a-zA-Z][a-zA-Z0-9-]{6,50}[a-zA-Z0-9]$",
107+
"minLength": 6,
108+
"maxLength": 50
109+
},
110+
{
111+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
112+
}
113+
],
106114
"description": "The Namespace name"
107115
},
108116
"properties": {

0 commit comments

Comments
 (0)