Skip to content

Commit 737e8da

Browse files
committed
Revert "Autogenerate schemas"
This reverts commit db8f953.
1 parent 3d4e22f commit 737e8da

File tree

11 files changed

+6490
-0
lines changed

11 files changed

+6490
-0
lines changed
Lines changed: 245 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,245 @@
1+
{
2+
"id": "https://schema.management.azure.com/schemas/2015-03-20/Microsoft.OperationalInsights.json#",
3+
"$schema": "http://json-schema.org/draft-04/schema#",
4+
"title": "Microsoft.OperationalInsights",
5+
"description": "Microsoft OperationalInsights Resource Types",
6+
"resourceDefinitions": {
7+
"workspaces_savedSearches": {
8+
"type": "object",
9+
"properties": {
10+
"apiVersion": {
11+
"type": "string",
12+
"enum": [
13+
"2015-03-20"
14+
]
15+
},
16+
"eTag": {
17+
"type": "string",
18+
"description": "The ETag of the saved search."
19+
},
20+
"name": {
21+
"type": "string",
22+
"description": "The id of the saved search."
23+
},
24+
"properties": {
25+
"oneOf": [
26+
{
27+
"$ref": "#/definitions/SavedSearchProperties"
28+
},
29+
{
30+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
31+
}
32+
],
33+
"description": "Value object for saved search results."
34+
},
35+
"type": {
36+
"type": "string",
37+
"enum": [
38+
"Microsoft.OperationalInsights/workspaces/savedSearches"
39+
]
40+
}
41+
},
42+
"required": [
43+
"apiVersion",
44+
"name",
45+
"properties",
46+
"type"
47+
],
48+
"description": "Microsoft.OperationalInsights/workspaces/savedSearches"
49+
},
50+
"workspaces_storageInsightConfigs": {
51+
"type": "object",
52+
"properties": {
53+
"apiVersion": {
54+
"type": "string",
55+
"enum": [
56+
"2015-03-20"
57+
]
58+
},
59+
"eTag": {
60+
"type": "string",
61+
"description": "The ETag of the storage insight."
62+
},
63+
"name": {
64+
"type": "string",
65+
"description": "Name of the storageInsightsConfigs resource"
66+
},
67+
"properties": {
68+
"oneOf": [
69+
{
70+
"$ref": "#/definitions/StorageInsightProperties"
71+
},
72+
{
73+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
74+
}
75+
],
76+
"description": "Storage insight properties."
77+
},
78+
"tags": {
79+
"oneOf": [
80+
{
81+
"type": "object",
82+
"additionalProperties": {
83+
"type": "string"
84+
},
85+
"properties": {}
86+
},
87+
{
88+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
89+
}
90+
],
91+
"description": "Resource tags"
92+
},
93+
"type": {
94+
"type": "string",
95+
"enum": [
96+
"Microsoft.OperationalInsights/workspaces/storageInsightConfigs"
97+
]
98+
}
99+
},
100+
"required": [
101+
"apiVersion",
102+
"name",
103+
"properties",
104+
"type"
105+
],
106+
"description": "Microsoft.OperationalInsights/workspaces/storageInsightConfigs"
107+
}
108+
},
109+
"definitions": {
110+
"SavedSearchProperties": {
111+
"type": "object",
112+
"properties": {
113+
"category": {
114+
"type": "string",
115+
"description": "The category of the saved search. This helps the user to find a saved search faster. "
116+
},
117+
"displayName": {
118+
"type": "string",
119+
"description": "Saved search display name."
120+
},
121+
"query": {
122+
"type": "string",
123+
"description": "The query expression for the saved search. Please see https://docs.microsoft.com/en-us/azure/log-analytics/log-analytics-search-reference for reference."
124+
},
125+
"tags": {
126+
"oneOf": [
127+
{
128+
"type": "array",
129+
"items": {
130+
"$ref": "#/definitions/Tag"
131+
}
132+
},
133+
{
134+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
135+
}
136+
],
137+
"description": "The tags attached to the saved search."
138+
},
139+
"version": {
140+
"oneOf": [
141+
{
142+
"type": "integer",
143+
"minimum": 1,
144+
"maximum": 2
145+
},
146+
{
147+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
148+
}
149+
],
150+
"description": "The version number of the query language. The current version is 2 and is the default."
151+
}
152+
},
153+
"required": [
154+
"category",
155+
"displayName",
156+
"query"
157+
],
158+
"description": "Value object for saved search results."
159+
},
160+
"StorageAccount": {
161+
"type": "object",
162+
"properties": {
163+
"id": {
164+
"type": "string",
165+
"description": "The Azure Resource Manager ID of the storage account resource."
166+
},
167+
"key": {
168+
"type": "string",
169+
"description": "The storage account key."
170+
}
171+
},
172+
"required": [
173+
"id",
174+
"key"
175+
],
176+
"description": "Describes a storage account connection."
177+
},
178+
"StorageInsightProperties": {
179+
"type": "object",
180+
"properties": {
181+
"containers": {
182+
"oneOf": [
183+
{
184+
"type": "array",
185+
"items": {
186+
"type": "string"
187+
}
188+
},
189+
{
190+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
191+
}
192+
],
193+
"description": "The names of the blob containers that the workspace should read"
194+
},
195+
"storageAccount": {
196+
"oneOf": [
197+
{
198+
"$ref": "#/definitions/StorageAccount"
199+
},
200+
{
201+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
202+
}
203+
],
204+
"description": "Describes a storage account connection."
205+
},
206+
"tables": {
207+
"oneOf": [
208+
{
209+
"type": "array",
210+
"items": {
211+
"type": "string"
212+
}
213+
},
214+
{
215+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
216+
}
217+
],
218+
"description": "The names of the Azure tables that the workspace should read"
219+
}
220+
},
221+
"required": [
222+
"storageAccount"
223+
],
224+
"description": "Storage insight properties."
225+
},
226+
"Tag": {
227+
"type": "object",
228+
"properties": {
229+
"name": {
230+
"type": "string",
231+
"description": "The tag name."
232+
},
233+
"value": {
234+
"type": "string",
235+
"description": "The tag value."
236+
}
237+
},
238+
"required": [
239+
"name",
240+
"value"
241+
],
242+
"description": "A tag of a saved search."
243+
}
244+
}
245+
}

0 commit comments

Comments
 (0)