@@ -76,14 +76,15 @@ The method includes a functionality to get the alert rule specified by the uid
7676# ### add\_alert\_rule
7777
7878```python
79- def add_alert_rule (alert_rule : AlertRule)
79+ def add_alert_rule (alert_rule : AlertRule, disable_provenance : bool = False )
8080```
8181
8282The method includes a functionality to create a new alert rule
8383
8484** Arguments** :
8585
8686- ` alert_rule ` _ AlertRule_ - Specify the alert rule
87+ - ` disable_provenance ` _ bool_ - Specify if the provenance header should be set or not (default False)
8788
8889
8990** Raises** :
@@ -101,7 +102,9 @@ The method includes a functionality to create a new alert rule
101102#### update\_ alert\_ rule
102103
103104``` 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 )
105108```
106109
107110The 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
110113
111114- ` uid ` _ str_ - Specify the alert rule uid
112115- ` alert_rule ` _ AlertRule_ - Specify the alert rule
116+ - ` disable_provenance ` _ bool_ - Specify if the provenance header should be set or not (default False)
113117
114118
115119** Raises** :
@@ -127,8 +131,11 @@ The method includes a functionality to update an existing alert rule
127131#### update\_ the\_ interval\_ of\_ a\_ alert\_ rule\_ group
128132
129133``` 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 )
132139```
133140
134141The 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
138145- ` folder_uid ` _ str_ - Specify the folder uid
139146- ` group ` _ str_ - Specify the group
140147- ` 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)
141149
142150
143151** Raises** :
@@ -155,14 +163,15 @@ The method includes a functionality to update the interval of a alert rule group
155163#### delete\_ alert\_ rule
156164
157165``` python
158- def delete_alert_rule (uid : str )
166+ def delete_alert_rule (uid : str , disable_provenance : bool = False )
159167```
160168
161169The method includes a functionality to delete an alert rule
162170
163171** Arguments** :
164172
165173- ` uid ` _ str_ - Specify the alert rule uid
174+ - ` disable_provenance ` _ bool_ - Specify if the provenance header should be set or not (default False)
166175
167176
168177** Raises** :
@@ -198,14 +207,16 @@ The method includes a functionality to get all contact points
198207# ### add\_contact\_point
199208
200209```python
201- def add_contact_point (embedded_contact_point : EmbeddedContactPoint)
210+ def add_contact_point (embedded_contact_point : EmbeddedContactPoint,
211+ disable_provenance : bool = False )
202212```
203213
204214The method includes a functionality to create a contact point
205215
206216** Arguments** :
207217
208218- ` 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)
209220
210221
211222** Raises** :
@@ -224,7 +235,8 @@ The method includes a functionality to create a contact point
224235
225236``` python
226237def update_contact_point (uid : str ,
227- embedded_contact_point : EmbeddedContactPoint)
238+ embedded_contact_point : EmbeddedContactPoint,
239+ disable_provenance : bool = False )
228240```
229241
230242The method includes a functionality to update a contact point
@@ -233,6 +245,7 @@ The method includes a functionality to update a contact point
233245
234246- ` uid ` _ str_ - Specify the uid of the contact point
235247- ` 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)
236249
237250
238251** Raises** :
@@ -294,14 +307,15 @@ The method includes a functionality to get the notification policy tree
294307# ### add\_notification\_policies
295308
296309```python
297- def add_notification_policies (route : Route)
310+ def add_notification_policies (route : Route, disable_provenance : bool = False )
298311```
299312
300313The method includes a functionality to set the notification policy tree
301314
302315** Arguments** :
303316
304317- ` route ` _ Route_ - Specify the alert rule routes
318+ - ` disable_provenance ` _ bool_ - Specify if the provenance header should be set or not (default False)
305319
306320
307321** Raises** :
@@ -363,14 +377,16 @@ The method includes a functionality to get a mute timings specified by the name
363377# ### add\_mute\_timing
364378
365379```python
366- def add_mute_timing (mute_time_interval : MuteTimeInterval)
380+ def add_mute_timing (mute_time_interval : MuteTimeInterval,
381+ disable_provenance : bool = False )
367382```
368383
369384The method includes a functionality to create a mute timing
370385
371386** Arguments** :
372387
373388- ` 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)
374390
375391
376392** Raises** :
@@ -388,7 +404,9 @@ The method includes a functionality to create a mute timing
388404#### update\_ mute\_ timing
389405
390406``` 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 )
392410```
393411
394412The 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
397415
398416- ` name ` _ str_ - Specify the mute timing name
399417- ` 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)
400419
401420
402421** Raises** :
@@ -483,7 +502,9 @@ The method includes a functionality to get a message template specified by the n
483502# ### create\_or\_update\_message\_template
484503
485504```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 )
487508```
488509
489510The 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
492513
493514- ` name ` _ str_ - Specify the message template name
494515- ` message_template ` _ str_ - Specify the message template
516+ - ` disable_provenance ` _ bool_ - Specify if the provenance header should be set or not (default False)
495517
496518
497519** Raises** :
0 commit comments