@@ -60,7 +60,12 @@ class SyntheticsTestOptions(ModelNormal):
60
60
61
61
allowed_values = {}
62
62
63
- validations = {}
63
+ validations = {
64
+ ("monitor_priority" ,): {
65
+ "inclusive_maximum" : 5 ,
66
+ "inclusive_minimum" : 1 ,
67
+ },
68
+ }
64
69
65
70
additional_properties_type = None
66
71
@@ -85,7 +90,9 @@ def openapi_types():
85
90
"follow_redirects" : (bool ,), # noqa: E501
86
91
"min_failure_duration" : (int ,), # noqa: E501
87
92
"min_location_failed" : (int ,), # noqa: E501
93
+ "monitor_name" : (str ,), # noqa: E501
88
94
"monitor_options" : (SyntheticsTestOptionsMonitorOptions ,), # noqa: E501
95
+ "monitor_priority" : (int ,), # noqa: E501
89
96
"no_screenshot" : (bool ,), # noqa: E501
90
97
"retry" : (SyntheticsTestOptionsRetry ,), # noqa: E501
91
98
"tick_every" : (SyntheticsTickInterval ,), # noqa: E501
@@ -103,7 +110,9 @@ def discriminator():
103
110
"follow_redirects" : "follow_redirects" , # noqa: E501
104
111
"min_failure_duration" : "min_failure_duration" , # noqa: E501
105
112
"min_location_failed" : "min_location_failed" , # noqa: E501
113
+ "monitor_name" : "monitor_name" , # noqa: E501
106
114
"monitor_options" : "monitor_options" , # noqa: E501
115
+ "monitor_priority" : "monitor_priority" , # noqa: E501
107
116
"no_screenshot" : "noScreenshot" , # noqa: E501
108
117
"retry" : "retry" , # noqa: E501
109
118
"tick_every" : "tick_every" , # noqa: E501
@@ -164,7 +173,9 @@ def __init__(self, *args, **kwargs): # noqa: E501
164
173
follow_redirects (bool): For API HTTP test, whether or not the test should follow redirects.. [optional] # noqa: E501
165
174
min_failure_duration (int): Minimum amount of time in failure required to trigger an alert.. [optional] # noqa: E501
166
175
min_location_failed (int): Minimum number of locations in failure required to trigger an alert.. [optional] # noqa: E501
176
+ monitor_name (str): The monitor name is used for the alert title as well as for all monitor dashboard widgets and SLOs.. [optional] # noqa: E501
167
177
monitor_options (SyntheticsTestOptionsMonitorOptions): [optional] # noqa: E501
178
+ monitor_priority (int): Integer from 1 (high) to 5 (low) indicating alert severity.. [optional] # noqa: E501
168
179
no_screenshot (bool): Prevents saving screenshots of the steps.. [optional] # noqa: E501
169
180
retry (SyntheticsTestOptionsRetry): [optional] # noqa: E501
170
181
tick_every (SyntheticsTickInterval): [optional] # noqa: E501
0 commit comments