@@ -76,14 +76,15 @@ The method includes a functionality to get the alert rule specified by the uid
76
76
# ### add\_alert\_rule
77
77
78
78
```python
79
- def add_alert_rule (alert_rule : AlertRule)
79
+ def add_alert_rule (alert_rule : AlertRule, disable_provenance : bool = False )
80
80
```
81
81
82
82
The method includes a functionality to create a new alert rule
83
83
84
84
** Arguments** :
85
85
86
86
- ` alert_rule ` _ AlertRule_ - Specify the alert rule
87
+ - ` disable_provenance ` _ bool_ - Specify if the provenance header should be set or not (default False)
87
88
88
89
89
90
** Raises** :
@@ -101,7 +102,9 @@ The method includes a functionality to create a new alert rule
101
102
#### update\_ alert\_ rule
102
103
103
104
``` python
104
- def update_alert_rule (uid : str , alert_rule : AlertRule)
105
+ def update_alert_rule (uid : str ,
106
+ alert_rule : AlertRule,
107
+ disable_provenance : bool = False )
105
108
```
106
109
107
110
The method includes a functionality to update an existing alert rule
@@ -110,6 +113,7 @@ The method includes a functionality to update an existing alert rule
110
113
111
114
- ` uid ` _ str_ - Specify the alert rule uid
112
115
- ` alert_rule ` _ AlertRule_ - Specify the alert rule
116
+ - ` disable_provenance ` _ bool_ - Specify if the provenance header should be set or not (default False)
113
117
114
118
115
119
** Raises** :
@@ -127,8 +131,11 @@ The method includes a functionality to update an existing alert rule
127
131
#### update\_ the\_ interval\_ of\_ a\_ alert\_ rule\_ group
128
132
129
133
``` python
130
- def update_the_interval_of_a_alert_rule_group (folder_uid : str , group : str ,
131
- alert_rule_group_interval : int )
134
+ def update_the_interval_of_a_alert_rule_group (
135
+ folder_uid : str ,
136
+ group : str ,
137
+ alert_rule_group_interval : int ,
138
+ disable_provenance : bool = False )
132
139
```
133
140
134
141
The method includes a functionality to update the interval of a alert rule group
@@ -138,6 +145,7 @@ The method includes a functionality to update the interval of a alert rule group
138
145
- ` folder_uid ` _ str_ - Specify the folder uid
139
146
- ` group ` _ str_ - Specify the group
140
147
- ` alert_rule_group_interval ` _ int_ - Specify the alert rule group interval
148
+ - ` disable_provenance ` _ bool_ - Specify if the provenance header should be set or not (default False)
141
149
142
150
143
151
** Raises** :
@@ -155,14 +163,15 @@ The method includes a functionality to update the interval of a alert rule group
155
163
#### delete\_ alert\_ rule
156
164
157
165
``` python
158
- def delete_alert_rule (uid : str )
166
+ def delete_alert_rule (uid : str , disable_provenance : bool = False )
159
167
```
160
168
161
169
The method includes a functionality to delete an alert rule
162
170
163
171
** Arguments** :
164
172
165
173
- ` uid ` _ str_ - Specify the alert rule uid
174
+ - ` disable_provenance ` _ bool_ - Specify if the provenance header should be set or not (default False)
166
175
167
176
168
177
** Raises** :
@@ -198,14 +207,16 @@ The method includes a functionality to get all contact points
198
207
# ### add\_contact\_point
199
208
200
209
```python
201
- def add_contact_point (embedded_contact_point : EmbeddedContactPoint)
210
+ def add_contact_point (embedded_contact_point : EmbeddedContactPoint,
211
+ disable_provenance : bool = False )
202
212
```
203
213
204
214
The method includes a functionality to create a contact point
205
215
206
216
** Arguments** :
207
217
208
218
- ` embedded_contact_point ` _ EmbeddedContactPoint_ - Specify the embedded contact point
219
+ - ` disable_provenance ` _ bool_ - Specify if the provenance header should be set or not (default False)
209
220
210
221
211
222
** Raises** :
@@ -224,7 +235,8 @@ The method includes a functionality to create a contact point
224
235
225
236
``` python
226
237
def update_contact_point (uid : str ,
227
- embedded_contact_point : EmbeddedContactPoint)
238
+ embedded_contact_point : EmbeddedContactPoint,
239
+ disable_provenance : bool = False )
228
240
```
229
241
230
242
The method includes a functionality to update a contact point
@@ -233,6 +245,7 @@ The method includes a functionality to update a contact point
233
245
234
246
- ` uid ` _ str_ - Specify the uid of the contact point
235
247
- ` embedded_contact_point ` _ EmbeddedContactPoint_ - Specify the embedded contact point
248
+ - ` disable_provenance ` _ bool_ - Specify if the provenance header should be set or not (default False)
236
249
237
250
238
251
** Raises** :
@@ -294,14 +307,15 @@ The method includes a functionality to get the notification policy tree
294
307
# ### add\_notification\_policies
295
308
296
309
```python
297
- def add_notification_policies (route : Route)
310
+ def add_notification_policies (route : Route, disable_provenance : bool = False )
298
311
```
299
312
300
313
The method includes a functionality to set the notification policy tree
301
314
302
315
** Arguments** :
303
316
304
317
- ` route ` _ Route_ - Specify the alert rule routes
318
+ - ` disable_provenance ` _ bool_ - Specify if the provenance header should be set or not (default False)
305
319
306
320
307
321
** Raises** :
@@ -363,14 +377,16 @@ The method includes a functionality to get a mute timings specified by the name
363
377
# ### add\_mute\_timing
364
378
365
379
```python
366
- def add_mute_timing (mute_time_interval : MuteTimeInterval)
380
+ def add_mute_timing (mute_time_interval : MuteTimeInterval,
381
+ disable_provenance : bool = False )
367
382
```
368
383
369
384
The method includes a functionality to create a mute timing
370
385
371
386
** Arguments** :
372
387
373
388
- ` mute_time_interval ` _ MuteTimeInterval_ - Specify the mute time interval
389
+ - ` disable_provenance ` _ bool_ - Specify if the provenance header should be set or not (default False)
374
390
375
391
376
392
** Raises** :
@@ -388,7 +404,9 @@ The method includes a functionality to create a mute timing
388
404
#### update\_ mute\_ timing
389
405
390
406
``` python
391
- def update_mute_timing (name : str , mute_time_interval : MuteTimeInterval)
407
+ def update_mute_timing (name : str ,
408
+ mute_time_interval : MuteTimeInterval,
409
+ disable_provenance : bool = False )
392
410
```
393
411
394
412
The method includes a functionality to update an existing mute timing
@@ -397,6 +415,7 @@ The method includes a functionality to update an existing mute timing
397
415
398
416
- ` name ` _ str_ - Specify the mute timing name
399
417
- ` mute_time_interval ` _ MuteTimeInterval_ - Specify the mute time interval
418
+ - ` disable_provenance ` _ bool_ - Specify if the provenance header should be set or not (default False)
400
419
401
420
402
421
** Raises** :
@@ -483,7 +502,9 @@ The method includes a functionality to get a message template specified by the n
483
502
# ### create\_or\_update\_message\_template
484
503
485
504
```python
486
- def create_or_update_message_template (name : str , message_template : str )
505
+ def create_or_update_message_template (name : str ,
506
+ message_template : str ,
507
+ disable_provenance : bool = False )
487
508
```
488
509
489
510
The method includes a functionality to create or update a message template
@@ -492,6 +513,7 @@ The method includes a functionality to create or update a message template
492
513
493
514
- ` name ` _ str_ - Specify the message template name
494
515
- ` message_template ` _ str_ - Specify the message template
516
+ - ` disable_provenance ` _ bool_ - Specify if the provenance header should be set or not (default False)
495
517
496
518
497
519
** Raises** :
0 commit comments