Skip to content

Commit 6f822f9

Browse files
author
Autogenerator Pipeline
committed
Autogenerate schemas
1 parent 9b24de0 commit 6f822f9

File tree

7 files changed

+2194
-0
lines changed

7 files changed

+2194
-0
lines changed

schemas/2018-05-01/subscriptionDeploymentTemplate.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,9 @@
295295
{
296296
"$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Resources.json#/unknown_resourceDefinitions/tags"
297297
},
298+
{
299+
"$ref": "https://schema.management.azure.com/schemas/2020-10-01/Microsoft.Resources.json#/subscription_resourceDefinitions/resourceGroups"
300+
},
298301
{
299302
"$ref": "https://schema.management.azure.com/schemas/2019-05-01-preview/Microsoft.Support.json#/subscription_resourceDefinitions/supportTickets"
300303
},

schemas/2019-01-01-preview/Microsoft.Portal.json

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,68 @@
6666
"description": "Microsoft.Portal/dashboards"
6767
}
6868
},
69+
"tenant_resourceDefinitions": {
70+
"tenantConfigurations": {
71+
"type": "object",
72+
"properties": {
73+
"apiVersion": {
74+
"type": "string",
75+
"enum": [
76+
"2019-01-01-preview"
77+
]
78+
},
79+
"name": {
80+
"type": "string",
81+
"enum": [
82+
"default"
83+
],
84+
"description": "The configuration name. Value must be 'default'"
85+
},
86+
"properties": {
87+
"oneOf": [
88+
{
89+
"$ref": "#/definitions/ConfigurationProperties"
90+
},
91+
{
92+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
93+
}
94+
],
95+
"description": "Tenant configuration properties."
96+
},
97+
"type": {
98+
"type": "string",
99+
"enum": [
100+
"Microsoft.Portal/tenantConfigurations"
101+
]
102+
}
103+
},
104+
"required": [
105+
"apiVersion",
106+
"name",
107+
"properties",
108+
"type"
109+
],
110+
"description": "Microsoft.Portal/tenantConfigurations"
111+
}
112+
},
69113
"definitions": {
114+
"ConfigurationProperties": {
115+
"type": "object",
116+
"properties": {
117+
"enforcePrivateMarkdownStorage": {
118+
"oneOf": [
119+
{
120+
"type": "boolean"
121+
},
122+
{
123+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
124+
}
125+
],
126+
"description": "When flag is set to true Markdown tile will require external storage configuration (URI). The inline content configuration will be prohibited."
127+
}
128+
},
129+
"description": "Tenant configuration properties."
130+
},
70131
"DashboardLens": {
71132
"type": "object",
72133
"properties": {

schemas/2019-08-01/tenantDeploymentTemplate.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,12 @@
228228
{
229229
"$ref": "https://schema.management.azure.com/schemas/2020-01-01/Microsoft.Marketplace.json#/tenant_resourceDefinitions/privateStores_offers"
230230
},
231+
{
232+
"$ref": "https://schema.management.azure.com/schemas/2019-01-01-preview/Microsoft.Portal.json#/tenant_resourceDefinitions/tenantConfigurations"
233+
},
234+
{
235+
"$ref": "https://schema.management.azure.com/schemas/2020-09-01-preview/Microsoft.Portal.json#/tenant_resourceDefinitions/tenantConfigurations"
236+
},
231237
{
232238
"$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Resources.json#/tenant_resourceDefinitions/deployments"
233239
},

0 commit comments

Comments
 (0)