1919 },
2020 "name" : {
2121 "type" : " string" ,
22- "description" : " The name of the alert processing rule that needs to be created/updated. "
22+ "description" : " The name of the action rule that needs to be created/updated"
2323 },
2424 "properties" : {
2525 "oneOf" : [
2626 {
27- "$ref" : " #/definitions/AlertProcessingRuleProperties "
27+ "$ref" : " #/definitions/ActionRuleProperties "
2828 },
2929 {
3030 "$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
3131 }
3232 ],
33- "description" : " Alert processing rule properties defining scopes, conditions and scheduling logic for alert processing rule. "
33+ "description" : " Action rule properties defining scopes, conditions and scheduling logic for action rule"
3434 },
3535 "systemData" : {
3636 "oneOf" : [
8787 }
8888 ],
8989 "properties" : {},
90- "description" : " Action to be applied. "
90+ "description" : " Action to be applied"
9191 },
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" : {
92+ "ActionRuleProperties" : {
12393 "type" : " object" ,
12494 "properties" : {
12595 "actions" : {
134104 "$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
135105 }
136106 ],
137- "description" : " Actions to be applied. "
107+ "description" : " Actions to be applied"
138108 },
139109 "conditions" : {
140110 "oneOf" : [
148118 "$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
149119 }
150120 ],
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."
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."
152122 },
153123 "description" : {
154124 "type" : " string" ,
155- "description" : " Description of alert processing rule. "
125+ "description" : " Description of action rule"
156126 },
157127 "enabled" : {
158128 "oneOf" : [
164134 "$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
165135 }
166136 ],
167- "description" : " Indicates if the given alert processing rule is enabled or disabled. "
137+ "description" : " Indicates if the given action rule is enabled or disabled"
168138 },
169139 "schedule" : {
170140 "oneOf" : [
175145 "$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
176146 }
177147 ],
178- "description" : " Scheduling configuration for a given alert processing rule. "
148+ "description" : " Scheduling configuration for a given action rule"
179149 },
180150 "scopes" : {
181151 "oneOf" : [
189159 "$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
190160 }
191161 ],
192- "description" : " List of ARM IDs which will be the target of the given alert processing rule."
162+ "description" : " List of ARM IDs which will be the target of the given action rule."
193163 }
194164 },
195165 "required" : [
196166 " actions" ,
197167 " scopes"
198168 ],
199- "description" : " Alert processing rule properties defining scopes, conditions and scheduling logic for alert processing rule."
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"
200200 },
201201 "Condition" : {
202202 "type" : " object" ,
257257 "description" : " List of values to match for a given condition."
258258 }
259259 },
260- "description" : " Condition to trigger an alert processing rule. "
260+ "description" : " Condition to trigger an action rule"
261261 },
262262 "DailyRecurrence" : {
263263 "type" : " object" ,
272272 "required" : [
273273 " recurrenceType"
274274 ],
275- "description" : " Daily recurrence object. "
275+ "description" : " Daily recurrence object"
276276 },
277277 "MonthlyRecurrence" : {
278278 "type" : " object" ,
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" ,
302302 " daysOfMonth" ,
303303 " recurrenceType"
304304 ],
305- "description" : " Monthly recurrence object. "
305+ "description" : " Monthly recurrence object"
306306 },
307307 "Recurrence" : {
308308 "type" : " object" ,
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" ,
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" ,
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 alert processing rule. "
393+ "description" : " Scheduling configuration for a given action rule"
394394 },
395395 "SystemData" : {
396396 "type" : " object" ,
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" ,
487487 " daysOfWeek" ,
488488 " recurrenceType"
489489 ],
490- "description" : " Weekly recurrence object. "
490+ "description" : " Weekly recurrence object"
491491 }
492492 }
493493}
0 commit comments