19
19
},
20
20
"name" : {
21
21
"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. "
23
23
},
24
24
"properties" : {
25
25
"oneOf" : [
26
26
{
27
- "$ref" : " #/definitions/ActionRuleProperties "
27
+ "$ref" : " #/definitions/AlertProcessingRuleProperties "
28
28
},
29
29
{
30
30
"$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
31
31
}
32
32
],
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. "
34
34
},
35
35
"systemData" : {
36
36
"oneOf" : [
87
87
}
88
88
],
89
89
"properties" : {},
90
- "description" : " Action to be applied"
90
+ "description" : " Action to be applied. "
91
91
},
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" : {
93
123
"type" : " object" ,
94
124
"properties" : {
95
125
"actions" : {
104
134
"$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
105
135
}
106
136
],
107
- "description" : " Actions to be applied"
137
+ "description" : " Actions to be applied. "
108
138
},
109
139
"conditions" : {
110
140
"oneOf" : [
118
148
"$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
119
149
}
120
150
],
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."
122
152
},
123
153
"description" : {
124
154
"type" : " string" ,
125
- "description" : " Description of action rule"
155
+ "description" : " Description of alert processing rule. "
126
156
},
127
157
"enabled" : {
128
158
"oneOf" : [
134
164
"$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
135
165
}
136
166
],
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. "
138
168
},
139
169
"schedule" : {
140
170
"oneOf" : [
145
175
"$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
146
176
}
147
177
],
148
- "description" : " Scheduling configuration for a given action rule"
178
+ "description" : " Scheduling configuration for a given alert processing rule. "
149
179
},
150
180
"scopes" : {
151
181
"oneOf" : [
159
189
"$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
160
190
}
161
191
],
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."
163
193
}
164
194
},
165
195
"required" : [
166
196
" actions" ,
167
197
" scopes"
168
198
],
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."
200
200
},
201
201
"Condition" : {
202
202
"type" : " object" ,
257
257
"description" : " List of values to match for a given condition."
258
258
}
259
259
},
260
- "description" : " Condition to trigger an action rule"
260
+ "description" : " Condition to trigger an alert processing rule. "
261
261
},
262
262
"DailyRecurrence" : {
263
263
"type" : " object" ,
272
272
"required" : [
273
273
" recurrenceType"
274
274
],
275
- "description" : " Daily recurrence object"
275
+ "description" : " Daily recurrence object. "
276
276
},
277
277
"MonthlyRecurrence" : {
278
278
"type" : " object" ,
289
289
"$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
290
290
}
291
291
],
292
- "description" : " Specifies the values for monthly recurrence pattern"
292
+ "description" : " Specifies the values for monthly recurrence pattern. "
293
293
},
294
294
"recurrenceType" : {
295
295
"type" : " string" ,
302
302
" daysOfMonth" ,
303
303
" recurrenceType"
304
304
],
305
- "description" : " Monthly recurrence object"
305
+ "description" : " Monthly recurrence object. "
306
306
},
307
307
"Recurrence" : {
308
308
"type" : " object" ,
320
320
"properties" : {
321
321
"endTime" : {
322
322
"type" : " string" ,
323
- "description" : " End time for recurrence"
323
+ "description" : " End time for recurrence. "
324
324
},
325
325
"startTime" : {
326
326
"type" : " string" ,
327
- "description" : " Start time for recurrence"
327
+ "description" : " Start time for recurrence. "
328
328
}
329
329
},
330
- "description" : " Recurrence object"
330
+ "description" : " Recurrence object. "
331
331
},
332
332
"RemoveAllActionGroups" : {
333
333
"type" : " object" ,
342
342
"required" : [
343
343
" actionType"
344
344
],
345
- "description" : " Indicates if all action groups should be removed"
345
+ "description" : " Indicates if all action groups should be removed. "
346
346
},
347
347
"Schedule" : {
348
348
"type" : " object" ,
383
383
"$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
384
384
}
385
385
],
386
- "description" : " List of recurrences"
386
+ "description" : " List of recurrences. "
387
387
},
388
388
"timeZone" : {
389
389
"type" : " string" ,
390
- "description" : " Scheduling time zone"
390
+ "description" : " Scheduling time zone. "
391
391
}
392
392
},
393
- "description" : " Scheduling configuration for a given action rule"
393
+ "description" : " Scheduling configuration for a given alert processing rule. "
394
394
},
395
395
"SystemData" : {
396
396
"type" : " object" ,
474
474
"$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
475
475
}
476
476
],
477
- "description" : " Specifies the values for weekly recurrence pattern"
477
+ "description" : " Specifies the values for weekly recurrence pattern. "
478
478
},
479
479
"recurrenceType" : {
480
480
"type" : " string" ,
487
487
" daysOfWeek" ,
488
488
" recurrenceType"
489
489
],
490
- "description" : " Weekly recurrence object"
490
+ "description" : " Weekly recurrence object. "
491
491
}
492
492
}
493
493
}
0 commit comments