Skip to content

Commit 4c3c413

Browse files
authored
Merge pull request #2346 from Azure/autogenerate_tmp
Weekly Schemas merge
2 parents 5cea0f0 + 9cb1da0 commit 4c3c413

31 files changed

+11123
-86
lines changed
Lines changed: 136 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,136 @@
1+
{
2+
"id": "https://schema.management.azure.com/schemas/2015-11-01/Microsoft.Resources.json#",
3+
"$schema": "http://json-schema.org/draft-04/schema#",
4+
"title": "Microsoft.Resources",
5+
"description": "Microsoft Resources Resource Types",
6+
"resourceDefinitions": {
7+
"deployments": {
8+
"type": "object",
9+
"properties": {
10+
"apiVersion": {
11+
"type": "string",
12+
"enum": [
13+
"2015-11-01"
14+
]
15+
},
16+
"name": {
17+
"type": "string",
18+
"description": "The name of the deployment."
19+
},
20+
"properties": {
21+
"oneOf": [
22+
{
23+
"$ref": "#/definitions/DeploymentProperties"
24+
},
25+
{
26+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
27+
}
28+
],
29+
"description": "Deployment properties."
30+
},
31+
"type": {
32+
"type": "string",
33+
"enum": [
34+
"Microsoft.Resources/deployments"
35+
]
36+
}
37+
},
38+
"required": [
39+
"apiVersion",
40+
"name",
41+
"properties",
42+
"type"
43+
],
44+
"description": "Microsoft.Resources/deployments"
45+
}
46+
},
47+
"definitions": {
48+
"DeploymentProperties": {
49+
"type": "object",
50+
"properties": {
51+
"mode": {
52+
"oneOf": [
53+
{
54+
"type": "string",
55+
"enum": [
56+
"Incremental",
57+
"Complete"
58+
]
59+
},
60+
{
61+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
62+
}
63+
],
64+
"description": "Gets or sets the deployment mode."
65+
},
66+
"parameters": {
67+
"type": "object",
68+
"properties": {},
69+
"description": "Deployment parameters. Use only one of Parameters or ParametersLink."
70+
},
71+
"parametersLink": {
72+
"oneOf": [
73+
{
74+
"$ref": "#/definitions/ParametersLink"
75+
},
76+
{
77+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
78+
}
79+
],
80+
"description": "Entity representing the reference to the deployment parameters."
81+
},
82+
"template": {
83+
"type": "object",
84+
"properties": {},
85+
"description": "Gets or sets the template content. Use only one of Template or TemplateLink."
86+
},
87+
"templateLink": {
88+
"oneOf": [
89+
{
90+
"$ref": "#/definitions/TemplateLink"
91+
},
92+
{
93+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
94+
}
95+
],
96+
"description": "Entity representing the reference to the template."
97+
}
98+
},
99+
"description": "Deployment properties."
100+
},
101+
"ParametersLink": {
102+
"type": "object",
103+
"properties": {
104+
"contentVersion": {
105+
"type": "string",
106+
"description": "If included it must match the ContentVersion in the template."
107+
},
108+
"uri": {
109+
"type": "string",
110+
"description": "URI referencing the template."
111+
}
112+
},
113+
"required": [
114+
"uri"
115+
],
116+
"description": "Entity representing the reference to the deployment parameters."
117+
},
118+
"TemplateLink": {
119+
"type": "object",
120+
"properties": {
121+
"contentVersion": {
122+
"type": "string",
123+
"description": "If included it must match the ContentVersion in the template."
124+
},
125+
"uri": {
126+
"type": "string",
127+
"description": "URI referencing the template."
128+
}
129+
},
130+
"required": [
131+
"uri"
132+
],
133+
"description": "Entity representing the reference to the template."
134+
}
135+
}
136+
}
Lines changed: 158 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,158 @@
1+
{
2+
"id": "https://schema.management.azure.com/schemas/2016-02-01/Microsoft.Resources.json#",
3+
"$schema": "http://json-schema.org/draft-04/schema#",
4+
"title": "Microsoft.Resources",
5+
"description": "Microsoft Resources Resource Types",
6+
"resourceDefinitions": {
7+
"deployments": {
8+
"type": "object",
9+
"properties": {
10+
"apiVersion": {
11+
"type": "string",
12+
"enum": [
13+
"2016-02-01"
14+
]
15+
},
16+
"name": {
17+
"type": "string",
18+
"description": "The name of the deployment."
19+
},
20+
"properties": {
21+
"oneOf": [
22+
{
23+
"$ref": "#/definitions/DeploymentProperties"
24+
},
25+
{
26+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
27+
}
28+
],
29+
"description": "Deployment properties."
30+
},
31+
"type": {
32+
"type": "string",
33+
"enum": [
34+
"Microsoft.Resources/deployments"
35+
]
36+
}
37+
},
38+
"required": [
39+
"apiVersion",
40+
"name",
41+
"properties",
42+
"type"
43+
],
44+
"description": "Microsoft.Resources/deployments"
45+
}
46+
},
47+
"definitions": {
48+
"DebugSetting": {
49+
"type": "object",
50+
"properties": {
51+
"detailLevel": {
52+
"type": "string",
53+
"description": "The debug detail level."
54+
}
55+
}
56+
},
57+
"DeploymentProperties": {
58+
"type": "object",
59+
"properties": {
60+
"debugSetting": {
61+
"oneOf": [
62+
{
63+
"$ref": "#/definitions/DebugSetting"
64+
},
65+
{
66+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
67+
}
68+
]
69+
},
70+
"mode": {
71+
"oneOf": [
72+
{
73+
"type": "string",
74+
"enum": [
75+
"Incremental",
76+
"Complete"
77+
]
78+
},
79+
{
80+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
81+
}
82+
],
83+
"description": "The deployment mode."
84+
},
85+
"parameters": {
86+
"type": "object",
87+
"properties": {},
88+
"description": "Deployment parameters. It can be a JObject or a well formed JSON string. Use only one of Parameters or ParametersLink."
89+
},
90+
"parametersLink": {
91+
"oneOf": [
92+
{
93+
"$ref": "#/definitions/ParametersLink"
94+
},
95+
{
96+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
97+
}
98+
],
99+
"description": "Entity representing the reference to the deployment parameters."
100+
},
101+
"template": {
102+
"type": "object",
103+
"properties": {},
104+
"description": "The template content. It can be a JObject or a well formed JSON string. Use only one of Template or TemplateLink."
105+
},
106+
"templateLink": {
107+
"oneOf": [
108+
{
109+
"$ref": "#/definitions/TemplateLink"
110+
},
111+
{
112+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
113+
}
114+
],
115+
"description": "Entity representing the reference to the template."
116+
}
117+
},
118+
"required": [
119+
"mode"
120+
],
121+
"description": "Deployment properties."
122+
},
123+
"ParametersLink": {
124+
"type": "object",
125+
"properties": {
126+
"contentVersion": {
127+
"type": "string",
128+
"description": "If included it must match the ContentVersion in the template."
129+
},
130+
"uri": {
131+
"type": "string",
132+
"description": "URI referencing the template."
133+
}
134+
},
135+
"required": [
136+
"uri"
137+
],
138+
"description": "Entity representing the reference to the deployment parameters."
139+
},
140+
"TemplateLink": {
141+
"type": "object",
142+
"properties": {
143+
"contentVersion": {
144+
"type": "string",
145+
"description": "If included it must match the ContentVersion in the template."
146+
},
147+
"uri": {
148+
"type": "string",
149+
"description": "URI referencing the template."
150+
}
151+
},
152+
"required": [
153+
"uri"
154+
],
155+
"description": "Entity representing the reference to the template."
156+
}
157+
}
158+
}

0 commit comments

Comments
 (0)