Skip to content

Commit 8e0aa38

Browse files
author
msftbot[bot]
authored
[ReleasePR alertsmanagement] [Hub Generated] Review request for Microsoft.AlertsManagement to add version preview/2021-08-08-preview (#2046)
Create to sync Azure/azure-rest-api-specs#16564 [ReCreate this PR](https://github.com/azure-resource-manager-schemas/compare/main...AzureSDKAutomation:sdkAuto/alertsmanagement?expand=1)
2 parents 0b5af07 + ffdfb1f commit 8e0aa38

File tree

1 file changed

+55
-55
lines changed

1 file changed

+55
-55
lines changed

schemas/2021-08-08-preview/Microsoft.AlertsManagement.json

Lines changed: 55 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,18 @@
1919
},
2020
"name": {
2121
"type": "string",
22-
"description": "The name of the action rule that needs to be created/updated"
22+
"description": "The name of the alert processing rule that needs to be created/updated."
2323
},
2424
"properties": {
2525
"oneOf": [
2626
{
27-
"$ref": "#/definitions/ActionRuleProperties"
27+
"$ref": "#/definitions/AlertProcessingRuleProperties"
2828
},
2929
{
3030
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
3131
}
3232
],
33-
"description": "Action rule properties defining scopes, conditions and scheduling logic for action rule"
33+
"description": "Alert processing rule properties defining scopes, conditions and scheduling logic for alert processing rule."
3434
},
3535
"systemData": {
3636
"oneOf": [
@@ -87,9 +87,39 @@
8787
}
8888
],
8989
"properties": {},
90-
"description": "Action to be applied"
90+
"description": "Action to be applied."
9191
},
92-
"ActionRuleProperties": {
92+
"AddActionGroups": {
93+
"type": "object",
94+
"properties": {
95+
"actionGroupIds": {
96+
"oneOf": [
97+
{
98+
"type": "array",
99+
"items": {
100+
"type": "string"
101+
}
102+
},
103+
{
104+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
105+
}
106+
],
107+
"description": "List of action group Ids to add to alert processing rule."
108+
},
109+
"actionType": {
110+
"type": "string",
111+
"enum": [
112+
"AddActionGroups"
113+
]
114+
}
115+
},
116+
"required": [
117+
"actionGroupIds",
118+
"actionType"
119+
],
120+
"description": "Add action groups to alert processing rule."
121+
},
122+
"AlertProcessingRuleProperties": {
93123
"type": "object",
94124
"properties": {
95125
"actions": {
@@ -104,7 +134,7 @@
104134
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
105135
}
106136
],
107-
"description": "Actions to be applied"
137+
"description": "Actions to be applied."
108138
},
109139
"conditions": {
110140
"oneOf": [
@@ -118,11 +148,11 @@
118148
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
119149
}
120150
],
121-
"description": "Conditions in alert instance to be matched for a given action rule. Default value is all. Multiple values could be provided with comma separation."
151+
"description": "Conditions in alert instance to be matched for a given alert processing rule. Default value is all. Multiple values could be provided with comma separation."
122152
},
123153
"description": {
124154
"type": "string",
125-
"description": "Description of action rule"
155+
"description": "Description of alert processing rule."
126156
},
127157
"enabled": {
128158
"oneOf": [
@@ -134,7 +164,7 @@
134164
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
135165
}
136166
],
137-
"description": "Indicates if the given action rule is enabled or disabled"
167+
"description": "Indicates if the given alert processing rule is enabled or disabled."
138168
},
139169
"schedule": {
140170
"oneOf": [
@@ -145,7 +175,7 @@
145175
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
146176
}
147177
],
148-
"description": "Scheduling configuration for a given action rule"
178+
"description": "Scheduling configuration for a given alert processing rule."
149179
},
150180
"scopes": {
151181
"oneOf": [
@@ -159,44 +189,14 @@
159189
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
160190
}
161191
],
162-
"description": "List of ARM IDs which will be the target of the given action rule."
192+
"description": "List of ARM IDs which will be the target of the given alert processing rule."
163193
}
164194
},
165195
"required": [
166196
"actions",
167197
"scopes"
168198
],
169-
"description": "Action rule properties defining scopes, conditions and scheduling logic for action rule"
170-
},
171-
"AddActionGroups": {
172-
"type": "object",
173-
"properties": {
174-
"actionGroupIds": {
175-
"oneOf": [
176-
{
177-
"type": "array",
178-
"items": {
179-
"type": "string"
180-
}
181-
},
182-
{
183-
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
184-
}
185-
],
186-
"description": "List of action group Ids to add to action rule"
187-
},
188-
"actionType": {
189-
"type": "string",
190-
"enum": [
191-
"AddActionGroups"
192-
]
193-
}
194-
},
195-
"required": [
196-
"actionGroupIds",
197-
"actionType"
198-
],
199-
"description": "Add action groups to action rule"
199+
"description": "Alert processing rule properties defining scopes, conditions and scheduling logic for alert processing rule."
200200
},
201201
"Condition": {
202202
"type": "object",
@@ -257,7 +257,7 @@
257257
"description": "List of values to match for a given condition."
258258
}
259259
},
260-
"description": "Condition to trigger an action rule"
260+
"description": "Condition to trigger an alert processing rule."
261261
},
262262
"DailyRecurrence": {
263263
"type": "object",
@@ -272,7 +272,7 @@
272272
"required": [
273273
"recurrenceType"
274274
],
275-
"description": "Daily recurrence object"
275+
"description": "Daily recurrence object."
276276
},
277277
"MonthlyRecurrence": {
278278
"type": "object",
@@ -289,7 +289,7 @@
289289
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
290290
}
291291
],
292-
"description": "Specifies the values for monthly recurrence pattern"
292+
"description": "Specifies the values for monthly recurrence pattern."
293293
},
294294
"recurrenceType": {
295295
"type": "string",
@@ -302,7 +302,7 @@
302302
"daysOfMonth",
303303
"recurrenceType"
304304
],
305-
"description": "Monthly recurrence object"
305+
"description": "Monthly recurrence object."
306306
},
307307
"Recurrence": {
308308
"type": "object",
@@ -320,14 +320,14 @@
320320
"properties": {
321321
"endTime": {
322322
"type": "string",
323-
"description": "End time for recurrence"
323+
"description": "End time for recurrence."
324324
},
325325
"startTime": {
326326
"type": "string",
327-
"description": "Start time for recurrence"
327+
"description": "Start time for recurrence."
328328
}
329329
},
330-
"description": "Recurrence object"
330+
"description": "Recurrence object."
331331
},
332332
"RemoveAllActionGroups": {
333333
"type": "object",
@@ -342,7 +342,7 @@
342342
"required": [
343343
"actionType"
344344
],
345-
"description": "Indicates if all action groups should be removed"
345+
"description": "Indicates if all action groups should be removed."
346346
},
347347
"Schedule": {
348348
"type": "object",
@@ -383,14 +383,14 @@
383383
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
384384
}
385385
],
386-
"description": "List of recurrences"
386+
"description": "List of recurrences."
387387
},
388388
"timeZone": {
389389
"type": "string",
390-
"description": "Scheduling time zone"
390+
"description": "Scheduling time zone."
391391
}
392392
},
393-
"description": "Scheduling configuration for a given action rule"
393+
"description": "Scheduling configuration for a given alert processing rule."
394394
},
395395
"SystemData": {
396396
"type": "object",
@@ -474,7 +474,7 @@
474474
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
475475
}
476476
],
477-
"description": "Specifies the values for weekly recurrence pattern"
477+
"description": "Specifies the values for weekly recurrence pattern."
478478
},
479479
"recurrenceType": {
480480
"type": "string",
@@ -487,7 +487,7 @@
487487
"daysOfWeek",
488488
"recurrenceType"
489489
],
490-
"description": "Weekly recurrence object"
490+
"description": "Weekly recurrence object."
491491
}
492492
}
493493
}

0 commit comments

Comments
 (0)