1+ {
2+ "id" : " https://schema.management.azure.com/schemas/2019-09-01/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+ "queryPacks" : {
8+ "type" : " object" ,
9+ "properties" : {
10+ "apiVersion" : {
11+ "type" : " string" ,
12+ "enum" : [
13+ " 2019-09-01"
14+ ]
15+ },
16+ "location" : {
17+ "type" : " string" ,
18+ "description" : " Resource location"
19+ },
20+ "name" : {
21+ "type" : " string" ,
22+ "description" : " The name of the Log Analytics QueryPack resource."
23+ },
24+ "properties" : {
25+ "oneOf" : [
26+ {
27+ "$ref" : " #/definitions/LogAnalyticsQueryPackProperties"
28+ },
29+ {
30+ "$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
31+ }
32+ ],
33+ "description" : " Properties that define a Log Analytics QueryPack resource."
34+ },
35+ "resources" : {
36+ "type" : " array" ,
37+ "items" : {
38+ "oneOf" : [
39+ {
40+ "$ref" : " #/definitions/queryPacks_queries_childResource"
41+ }
42+ ]
43+ }
44+ },
45+ "tags" : {
46+ "oneOf" : [
47+ {
48+ "type" : " object" ,
49+ "additionalProperties" : {
50+ "type" : " string"
51+ },
52+ "properties" : {}
53+ },
54+ {
55+ "$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
56+ }
57+ ],
58+ "description" : " Resource tags"
59+ },
60+ "type" : {
61+ "type" : " string" ,
62+ "enum" : [
63+ " Microsoft.OperationalInsights/queryPacks"
64+ ]
65+ }
66+ },
67+ "required" : [
68+ " apiVersion" ,
69+ " location" ,
70+ " name" ,
71+ " properties" ,
72+ " type"
73+ ],
74+ "description" : " Microsoft.OperationalInsights/queryPacks"
75+ },
76+ "queryPacks_queries" : {
77+ "type" : " object" ,
78+ "properties" : {
79+ "apiVersion" : {
80+ "type" : " string" ,
81+ "enum" : [
82+ " 2019-09-01"
83+ ]
84+ },
85+ "name" : {
86+ "type" : " string" ,
87+ "description" : " The id of a specific query defined in the Log Analytics QueryPack"
88+ },
89+ "properties" : {
90+ "oneOf" : [
91+ {
92+ "$ref" : " #/definitions/LogAnalyticsQueryPackQueryProperties"
93+ },
94+ {
95+ "$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
96+ }
97+ ],
98+ "description" : " Properties that define an Log Analytics QueryPack-Query resource."
99+ },
100+ "type" : {
101+ "type" : " string" ,
102+ "enum" : [
103+ " Microsoft.OperationalInsights/queryPacks/queries"
104+ ]
105+ }
106+ },
107+ "required" : [
108+ " apiVersion" ,
109+ " name" ,
110+ " properties" ,
111+ " type"
112+ ],
113+ "description" : " Microsoft.OperationalInsights/queryPacks/queries"
114+ }
115+ },
116+ "definitions" : {
117+ "LogAnalyticsQueryPackProperties" : {
118+ "type" : " object" ,
119+ "properties" : {},
120+ "description" : " Properties that define a Log Analytics QueryPack resource."
121+ },
122+ "LogAnalyticsQueryPackQueryProperties" : {
123+ "type" : " object" ,
124+ "properties" : {
125+ "body" : {
126+ "type" : " string" ,
127+ "description" : " Body of the query."
128+ },
129+ "description" : {
130+ "type" : " string" ,
131+ "description" : " Description of the query."
132+ },
133+ "displayName" : {
134+ "type" : " string" ,
135+ "description" : " Unique display name for your query within the Query Pack."
136+ },
137+ "properties" : {
138+ "type" : " object" ,
139+ "properties" : {},
140+ "description" : " Additional properties that can be set for the query."
141+ },
142+ "related" : {
143+ "oneOf" : [
144+ {
145+ "$ref" : " #/definitions/LogAnalyticsQueryPackQueryPropertiesRelated"
146+ },
147+ {
148+ "$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
149+ }
150+ ],
151+ "description" : " The related metadata items for the function."
152+ },
153+ "tags" : {
154+ "oneOf" : [
155+ {
156+ "type" : " object" ,
157+ "additionalProperties" : {
158+ "type" : " array" ,
159+ "items" : {
160+ "type" : " string"
161+ }
162+ },
163+ "properties" : {}
164+ },
165+ {
166+ "$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
167+ }
168+ ],
169+ "description" : " Tags associated with the query."
170+ }
171+ },
172+ "required" : [
173+ " body" ,
174+ " displayName"
175+ ],
176+ "description" : " Properties that define an Log Analytics QueryPack-Query resource."
177+ },
178+ "LogAnalyticsQueryPackQueryPropertiesRelated" : {
179+ "type" : " object" ,
180+ "properties" : {
181+ "categories" : {
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 related categories for the function."
194+ },
195+ "resourceTypes" : {
196+ "oneOf" : [
197+ {
198+ "type" : " array" ,
199+ "items" : {
200+ "type" : " string"
201+ }
202+ },
203+ {
204+ "$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
205+ }
206+ ],
207+ "description" : " The related resource types for the function."
208+ },
209+ "solutions" : {
210+ "oneOf" : [
211+ {
212+ "type" : " array" ,
213+ "items" : {
214+ "type" : " string"
215+ }
216+ },
217+ {
218+ "$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
219+ }
220+ ],
221+ "description" : " The related Log Analytics solutions for the function."
222+ }
223+ },
224+ "description" : " The related metadata items for the function."
225+ },
226+ "queryPacks_queries_childResource" : {
227+ "type" : " object" ,
228+ "properties" : {
229+ "apiVersion" : {
230+ "type" : " string" ,
231+ "enum" : [
232+ " 2019-09-01"
233+ ]
234+ },
235+ "name" : {
236+ "type" : " string" ,
237+ "description" : " The id of a specific query defined in the Log Analytics QueryPack"
238+ },
239+ "properties" : {
240+ "oneOf" : [
241+ {
242+ "$ref" : " #/definitions/LogAnalyticsQueryPackQueryProperties"
243+ },
244+ {
245+ "$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
246+ }
247+ ],
248+ "description" : " Properties that define an Log Analytics QueryPack-Query resource."
249+ },
250+ "type" : {
251+ "type" : " string" ,
252+ "enum" : [
253+ " queries"
254+ ]
255+ }
256+ },
257+ "required" : [
258+ " apiVersion" ,
259+ " name" ,
260+ " properties" ,
261+ " type"
262+ ],
263+ "description" : " Microsoft.OperationalInsights/queryPacks/queries"
264+ }
265+ }
266+ }
0 commit comments