Skip to content

Commit edb3257

Browse files
author
Autogenerator Pipeline
committed
Autogenerate schemas
1 parent 8be4ddc commit edb3257

9 files changed

+9277
-216
lines changed

schemas/2019-08-01/tenantDeploymentTemplate.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -862,6 +862,21 @@
862862
{
863863
"$ref": "https://schema.management.azure.com/schemas/2022-09-01/Microsoft.Marketplace.json#/tenant_resourceDefinitions/privateStores_requestApprovals"
864864
},
865+
{
866+
"$ref": "https://schema.management.azure.com/schemas/2023-01-01/Microsoft.Marketplace.json#/tenant_resourceDefinitions/privateStores"
867+
},
868+
{
869+
"$ref": "https://schema.management.azure.com/schemas/2023-01-01/Microsoft.Marketplace.json#/tenant_resourceDefinitions/privateStores_adminRequestApprovals"
870+
},
871+
{
872+
"$ref": "https://schema.management.azure.com/schemas/2023-01-01/Microsoft.Marketplace.json#/tenant_resourceDefinitions/privateStores_collections"
873+
},
874+
{
875+
"$ref": "https://schema.management.azure.com/schemas/2023-01-01/Microsoft.Marketplace.json#/tenant_resourceDefinitions/privateStores_collections_offers"
876+
},
877+
{
878+
"$ref": "https://schema.management.azure.com/schemas/2023-01-01/Microsoft.Marketplace.json#/tenant_resourceDefinitions/privateStores_requestApprovals"
879+
},
865880
{
866881
"$ref": "https://schema.management.azure.com/schemas/2021-05-01-preview/Microsoft.Network.NRP.json#/tenant_resourceDefinitions/managementGroups_networkManagerConnections"
867882
},

schemas/2022-09-01/Microsoft.Network.NRP.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21023,6 +21023,7 @@
2102321023
"required": [
2102421024
"access",
2102521025
"direction",
21026+
"priority",
2102621027
"protocol"
2102721028
],
2102821029
"description": "Security rule resource."
@@ -21389,7 +21390,7 @@
2138921390
],
2139021391
"description": "List of address prefixes for the subnet."
2139121392
},
21392-
"applicationGatewayIpConfigurations": {
21393+
"applicationGatewayIPConfigurations": {
2139321394
"oneOf": [
2139421395
{
2139521396
"type": "array",

schemas/2022-10-01/Microsoft.MachineLearningServices.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5752,10 +5752,10 @@
57525752
"type": "object",
57535753
"oneOf": [
57545754
{
5755-
"$ref": "#/definitions/RecurrenceTrigger"
5755+
"$ref": "#/definitions/CronTrigger"
57565756
},
57575757
{
5758-
"$ref": "#/definitions/CronTrigger"
5758+
"$ref": "#/definitions/RecurrenceTrigger"
57595759
}
57605760
],
57615761
"properties": {
Lines changed: 299 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,299 @@
1+
{
2+
"id": "https://schema.management.azure.com/schemas/2023-01-01-preview/Microsoft.Insights.json#",
3+
"$schema": "http://json-schema.org/draft-04/schema#",
4+
"title": "Microsoft.Insights",
5+
"description": "Microsoft Insights Resource Types",
6+
"resourceDefinitions": {
7+
"activityLogAlerts": {
8+
"type": "object",
9+
"properties": {
10+
"apiVersion": {
11+
"type": "string",
12+
"enum": [
13+
"2023-01-01-preview"
14+
]
15+
},
16+
"location": {
17+
"type": "string",
18+
"default": "global",
19+
"description": "The location of the resource. Since Azure Activity Log Alerts is a global service, the location of the rules should always be 'global'."
20+
},
21+
"name": {
22+
"oneOf": [
23+
{
24+
"type": "string",
25+
"pattern": "^[-\\w\\._\\(\\)]+$"
26+
},
27+
{
28+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
29+
}
30+
],
31+
"description": "The name of the Activity Log Alert rule."
32+
},
33+
"properties": {
34+
"oneOf": [
35+
{
36+
"$ref": "#/definitions/AlertRuleProperties"
37+
},
38+
{
39+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
40+
}
41+
],
42+
"description": "An Azure Activity Log Alert rule."
43+
},
44+
"tags": {
45+
"oneOf": [
46+
{
47+
"type": "object",
48+
"additionalProperties": {
49+
"type": "string"
50+
},
51+
"properties": {}
52+
},
53+
{
54+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
55+
}
56+
],
57+
"description": "The tags of the resource."
58+
},
59+
"type": {
60+
"type": "string",
61+
"enum": [
62+
"Microsoft.Insights/activityLogAlerts"
63+
]
64+
}
65+
},
66+
"required": [
67+
"apiVersion",
68+
"name",
69+
"properties",
70+
"type"
71+
],
72+
"description": "Microsoft.Insights/activityLogAlerts"
73+
}
74+
},
75+
"definitions": {
76+
"ActionGroup": {
77+
"type": "object",
78+
"properties": {
79+
"actionGroupId": {
80+
"type": "string",
81+
"description": "The resource ID of the Action Group. This cannot be null or empty."
82+
},
83+
"actionProperties": {
84+
"oneOf": [
85+
{
86+
"type": "object",
87+
"additionalProperties": {
88+
"type": "string"
89+
},
90+
"properties": {}
91+
},
92+
{
93+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
94+
}
95+
],
96+
"description": "Predefined list of properties and configuration items for the action group."
97+
},
98+
"webhookProperties": {
99+
"oneOf": [
100+
{
101+
"type": "object",
102+
"additionalProperties": {
103+
"type": "string"
104+
},
105+
"properties": {}
106+
},
107+
{
108+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
109+
}
110+
],
111+
"description": "the dictionary of custom properties to include with the post operation. These data are appended to the webhook payload."
112+
}
113+
},
114+
"required": [
115+
"actionGroupId"
116+
],
117+
"description": "A pointer to an Azure Action Group."
118+
},
119+
"ActionList": {
120+
"type": "object",
121+
"properties": {
122+
"actionGroups": {
123+
"oneOf": [
124+
{
125+
"type": "array",
126+
"items": {
127+
"$ref": "#/definitions/ActionGroup"
128+
}
129+
},
130+
{
131+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
132+
}
133+
],
134+
"description": "The list of the Action Groups."
135+
}
136+
},
137+
"description": "A list of Activity Log Alert rule actions."
138+
},
139+
"AlertRuleAllOfCondition": {
140+
"type": "object",
141+
"properties": {
142+
"allOf": {
143+
"oneOf": [
144+
{
145+
"type": "array",
146+
"items": {
147+
"$ref": "#/definitions/AlertRuleAnyOfOrLeafCondition"
148+
}
149+
},
150+
{
151+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
152+
}
153+
],
154+
"description": "The list of Activity Log Alert rule conditions."
155+
}
156+
},
157+
"required": [
158+
"allOf"
159+
],
160+
"description": "An Activity Log Alert rule condition that is met when all its member conditions are met."
161+
},
162+
"AlertRuleAnyOfOrLeafCondition": {
163+
"type": "object",
164+
"properties": {
165+
"anyOf": {
166+
"oneOf": [
167+
{
168+
"type": "array",
169+
"items": {
170+
"$ref": "#/definitions/AlertRuleLeafCondition"
171+
}
172+
},
173+
{
174+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
175+
}
176+
],
177+
"description": "An Activity Log Alert rule condition that is met when at least one of its member leaf conditions are met."
178+
},
179+
"containsAny": {
180+
"oneOf": [
181+
{
182+
"type": "array",
183+
"items": {
184+
"type": "string"
185+
}
186+
},
187+
{
188+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
189+
}
190+
],
191+
"description": "The value of the event's field will be compared to the values in this array (case-insensitive) to determine if the condition is met."
192+
},
193+
"equals": {
194+
"type": "string",
195+
"description": "The value of the event's field will be compared to this value (case-insensitive) to determine if the condition is met."
196+
},
197+
"field": {
198+
"type": "string",
199+
"description": "The name of the Activity Log event's field that this condition will examine.\nThe possible values for this field are (case-insensitive): 'resourceId', 'category', 'caller', 'level', 'operationName', 'resourceGroup', 'resourceProvider', 'status', 'subStatus', 'resourceType', or anything beginning with 'properties'."
200+
}
201+
},
202+
"description": "An Activity Log Alert rule condition that is met when all its member conditions are met.\nEach condition can be of one of the following types:\n__Important__: Each type has its unique subset of properties. Properties from different types CANNOT exist in one condition.\n * __Leaf Condition -__ must contain 'field' and either 'equals' or 'containsAny'.\n _Please note, 'anyOf' should __not__ be set in a Leaf Condition._\n * __AnyOf Condition -__ must contain __only__ 'anyOf' (which is an array of Leaf Conditions).\n _Please note, 'field', 'equals' and 'containsAny' should __not__ be set in an AnyOf Condition._\n"
203+
},
204+
"AlertRuleLeafCondition": {
205+
"type": "object",
206+
"properties": {
207+
"containsAny": {
208+
"oneOf": [
209+
{
210+
"type": "array",
211+
"items": {
212+
"type": "string"
213+
}
214+
},
215+
{
216+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
217+
}
218+
],
219+
"description": "The value of the event's field will be compared to the values in this array (case-insensitive) to determine if the condition is met."
220+
},
221+
"equals": {
222+
"type": "string",
223+
"description": "The value of the event's field will be compared to this value (case-insensitive) to determine if the condition is met."
224+
},
225+
"field": {
226+
"type": "string",
227+
"description": "The name of the Activity Log event's field that this condition will examine.\nThe possible values for this field are (case-insensitive): 'resourceId', 'category', 'caller', 'level', 'operationName', 'resourceGroup', 'resourceProvider', 'status', 'subStatus', 'resourceType', or anything beginning with 'properties'."
228+
}
229+
},
230+
"description": "An Activity Log Alert rule condition that is met by comparing the field and value of an Activity Log event.\nThis condition must contain 'field' and either 'equals' or 'containsAny'."
231+
},
232+
"AlertRuleProperties": {
233+
"type": "object",
234+
"properties": {
235+
"actions": {
236+
"oneOf": [
237+
{
238+
"$ref": "#/definitions/ActionList"
239+
},
240+
{
241+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
242+
}
243+
],
244+
"description": "A list of Activity Log Alert rule actions."
245+
},
246+
"condition": {
247+
"oneOf": [
248+
{
249+
"$ref": "#/definitions/AlertRuleAllOfCondition"
250+
},
251+
{
252+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
253+
}
254+
],
255+
"description": "An Activity Log Alert rule condition that is met when all its member conditions are met."
256+
},
257+
"description": {
258+
"type": "string",
259+
"description": "A description of this Activity Log Alert rule."
260+
},
261+
"enabled": {
262+
"oneOf": [
263+
{
264+
"type": "boolean",
265+
"default": true
266+
},
267+
{
268+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
269+
}
270+
],
271+
"description": "Indicates whether this Activity Log Alert rule is enabled. If an Activity Log Alert rule is not enabled, then none of its actions will be activated."
272+
},
273+
"scopes": {
274+
"oneOf": [
275+
{
276+
"type": "array",
277+
"items": {
278+
"type": "string"
279+
}
280+
},
281+
{
282+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
283+
}
284+
],
285+
"description": "A list of resource IDs that will be used as prefixes. The alert will only apply to Activity Log events with resource IDs that fall under one of these prefixes. This list must include at least one item."
286+
},
287+
"tenantScope": {
288+
"type": "string",
289+
"description": "The tenant GUID. Must be provided for tenant-level and management group events rules."
290+
}
291+
},
292+
"required": [
293+
"actions",
294+
"condition"
295+
],
296+
"description": "An Azure Activity Log Alert rule."
297+
}
298+
}
299+
}

0 commit comments

Comments
 (0)