pulumi-checkly 2.4.0a1757083696__py3-none-any.whl → 2.5.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. pulumi_checkly/__init__.py +2 -1
  2. pulumi_checkly/_inputs.py +2103 -1179
  3. pulumi_checkly/_utilities.py +9 -5
  4. pulumi_checkly/alert_channel.py +109 -108
  5. pulumi_checkly/check.py +517 -469
  6. pulumi_checkly/check_group.py +300 -299
  7. pulumi_checkly/client_certificate.py +88 -87
  8. pulumi_checkly/config/__init__.py +2 -1
  9. pulumi_checkly/config/__init__.pyi +2 -2
  10. pulumi_checkly/config/vars.py +5 -5
  11. pulumi_checkly/dashboard.py +403 -402
  12. pulumi_checkly/environment_variable.py +55 -54
  13. pulumi_checkly/get_static_ips.py +18 -18
  14. pulumi_checkly/heartbeat_check.py +144 -96
  15. pulumi_checkly/heartbeat_monitor.py +144 -96
  16. pulumi_checkly/maintenance_window.py +122 -121
  17. pulumi_checkly/outputs.py +1518 -771
  18. pulumi_checkly/private_location.py +63 -62
  19. pulumi_checkly/provider.py +56 -36
  20. pulumi_checkly/pulumi-plugin.json +1 -1
  21. pulumi_checkly/snippet.py +37 -36
  22. pulumi_checkly/status_page.py +125 -124
  23. pulumi_checkly/status_page_service.py +20 -19
  24. pulumi_checkly/tcp_check.py +341 -293
  25. pulumi_checkly/tcp_monitor.py +341 -293
  26. pulumi_checkly/trigger_check.py +54 -53
  27. pulumi_checkly/trigger_check_group.py +54 -53
  28. pulumi_checkly/url_monitor.py +324 -276
  29. {pulumi_checkly-2.4.0a1757083696.dist-info → pulumi_checkly-2.5.0.dist-info}/METADATA +2 -2
  30. pulumi_checkly-2.5.0.dist-info/RECORD +33 -0
  31. pulumi_checkly-2.4.0a1757083696.dist-info/RECORD +0 -33
  32. {pulumi_checkly-2.4.0a1757083696.dist-info → pulumi_checkly-2.5.0.dist-info}/WHEEL +0 -0
  33. {pulumi_checkly-2.4.0a1757083696.dist-info → pulumi_checkly-2.5.0.dist-info}/top_level.txt +0 -0
pulumi_checkly/outputs.py CHANGED
@@ -1,8 +1,8 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
- import copy
5
+ import builtins as _builtins
6
6
  import warnings
7
7
  import sys
8
8
  import pulumi
@@ -43,10 +43,13 @@ __all__ = [
43
43
  'CheckGroupApiCheckDefaultsBasicAuth',
44
44
  'CheckGroupEnvironmentVariable',
45
45
  'CheckGroupRetryStrategy',
46
+ 'CheckGroupRetryStrategyOnlyOn',
46
47
  'CheckRequest',
47
48
  'CheckRequestAssertion',
48
49
  'CheckRequestBasicAuth',
49
50
  'CheckRetryStrategy',
51
+ 'CheckRetryStrategyOnlyOn',
52
+ 'CheckTriggerIncident',
50
53
  'HeartbeatCheckAlertChannelSubscription',
51
54
  'HeartbeatCheckAlertSettings',
52
55
  'HeartbeatCheckAlertSettingsParallelRunFailureThreshold',
@@ -55,6 +58,7 @@ __all__ = [
55
58
  'HeartbeatCheckAlertSettingsSslCertificate',
56
59
  'HeartbeatCheckAlertSettingsTimeBasedEscalation',
57
60
  'HeartbeatCheckHeartbeat',
61
+ 'HeartbeatCheckTriggerIncident',
58
62
  'HeartbeatMonitorAlertChannelSubscription',
59
63
  'HeartbeatMonitorAlertSettings',
60
64
  'HeartbeatMonitorAlertSettingsParallelRunFailureThreshold',
@@ -63,6 +67,7 @@ __all__ = [
63
67
  'HeartbeatMonitorAlertSettingsSslCertificate',
64
68
  'HeartbeatMonitorAlertSettingsTimeBasedEscalation',
65
69
  'HeartbeatMonitorHeartbeat',
70
+ 'HeartbeatMonitorTriggerIncident',
66
71
  'StatusPageCard',
67
72
  'StatusPageCardServiceAttachment',
68
73
  'TcpCheckAlertChannelSubscription',
@@ -74,6 +79,8 @@ __all__ = [
74
79
  'TcpCheckRequest',
75
80
  'TcpCheckRequestAssertion',
76
81
  'TcpCheckRetryStrategy',
82
+ 'TcpCheckRetryStrategyOnlyOn',
83
+ 'TcpCheckTriggerIncident',
77
84
  'TcpMonitorAlertChannelSubscription',
78
85
  'TcpMonitorAlertSettings',
79
86
  'TcpMonitorAlertSettingsParallelRunFailureThreshold',
@@ -83,6 +90,8 @@ __all__ = [
83
90
  'TcpMonitorRequest',
84
91
  'TcpMonitorRequestAssertion',
85
92
  'TcpMonitorRetryStrategy',
93
+ 'TcpMonitorRetryStrategyOnlyOn',
94
+ 'TcpMonitorTriggerIncident',
86
95
  'UrlMonitorAlertChannelSubscription',
87
96
  'UrlMonitorAlertSettings',
88
97
  'UrlMonitorAlertSettingsParallelRunFailureThreshold',
@@ -92,31 +101,33 @@ __all__ = [
92
101
  'UrlMonitorRequest',
93
102
  'UrlMonitorRequestAssertion',
94
103
  'UrlMonitorRetryStrategy',
104
+ 'UrlMonitorRetryStrategyOnlyOn',
105
+ 'UrlMonitorTriggerIncident',
95
106
  ]
96
107
 
97
108
  @pulumi.output_type
98
109
  class AlertChannelCall(dict):
99
110
  def __init__(__self__, *,
100
- name: str,
101
- number: str):
111
+ name: _builtins.str,
112
+ number: _builtins.str):
102
113
  """
103
- :param str name: The name of this alert channel
104
- :param str number: The mobile number to receive the alerts
114
+ :param _builtins.str name: The name of this alert channel
115
+ :param _builtins.str number: The mobile number to receive the alerts
105
116
  """
106
117
  pulumi.set(__self__, "name", name)
107
118
  pulumi.set(__self__, "number", number)
108
119
 
109
- @property
120
+ @_builtins.property
110
121
  @pulumi.getter
111
- def name(self) -> str:
122
+ def name(self) -> _builtins.str:
112
123
  """
113
124
  The name of this alert channel
114
125
  """
115
126
  return pulumi.get(self, "name")
116
127
 
117
- @property
128
+ @_builtins.property
118
129
  @pulumi.getter
119
- def number(self) -> str:
130
+ def number(self) -> _builtins.str:
120
131
  """
121
132
  The mobile number to receive the alerts
122
133
  """
@@ -126,15 +137,15 @@ class AlertChannelCall(dict):
126
137
  @pulumi.output_type
127
138
  class AlertChannelEmail(dict):
128
139
  def __init__(__self__, *,
129
- address: str):
140
+ address: _builtins.str):
130
141
  """
131
- :param str address: The email address of this email alert channel.
142
+ :param _builtins.str address: The email address of this email alert channel.
132
143
  """
133
144
  pulumi.set(__self__, "address", address)
134
145
 
135
- @property
146
+ @_builtins.property
136
147
  @pulumi.getter
137
- def address(self) -> str:
148
+ def address(self) -> _builtins.str:
138
149
  """
139
150
  The email address of this email alert channel.
140
151
  """
@@ -161,33 +172,33 @@ class AlertChannelOpsgenie(dict):
161
172
  return super().get(key, default)
162
173
 
163
174
  def __init__(__self__, *,
164
- api_key: str,
165
- name: str,
166
- priority: str,
167
- region: str):
175
+ api_key: _builtins.str,
176
+ name: _builtins.str,
177
+ priority: _builtins.str,
178
+ region: _builtins.str):
168
179
  pulumi.set(__self__, "api_key", api_key)
169
180
  pulumi.set(__self__, "name", name)
170
181
  pulumi.set(__self__, "priority", priority)
171
182
  pulumi.set(__self__, "region", region)
172
183
 
173
- @property
184
+ @_builtins.property
174
185
  @pulumi.getter(name="apiKey")
175
- def api_key(self) -> str:
186
+ def api_key(self) -> _builtins.str:
176
187
  return pulumi.get(self, "api_key")
177
188
 
178
- @property
189
+ @_builtins.property
179
190
  @pulumi.getter
180
- def name(self) -> str:
191
+ def name(self) -> _builtins.str:
181
192
  return pulumi.get(self, "name")
182
193
 
183
- @property
194
+ @_builtins.property
184
195
  @pulumi.getter
185
- def priority(self) -> str:
196
+ def priority(self) -> _builtins.str:
186
197
  return pulumi.get(self, "priority")
187
198
 
188
- @property
199
+ @_builtins.property
189
200
  @pulumi.getter
190
- def region(self) -> str:
201
+ def region(self) -> _builtins.str:
191
202
  return pulumi.get(self, "region")
192
203
 
193
204
 
@@ -213,54 +224,54 @@ class AlertChannelPagerduty(dict):
213
224
  return super().get(key, default)
214
225
 
215
226
  def __init__(__self__, *,
216
- service_key: str,
217
- account: Optional[str] = None,
218
- service_name: Optional[str] = None):
227
+ service_key: _builtins.str,
228
+ account: Optional[_builtins.str] = None,
229
+ service_name: Optional[_builtins.str] = None):
219
230
  pulumi.set(__self__, "service_key", service_key)
220
231
  if account is not None:
221
232
  pulumi.set(__self__, "account", account)
222
233
  if service_name is not None:
223
234
  pulumi.set(__self__, "service_name", service_name)
224
235
 
225
- @property
236
+ @_builtins.property
226
237
  @pulumi.getter(name="serviceKey")
227
- def service_key(self) -> str:
238
+ def service_key(self) -> _builtins.str:
228
239
  return pulumi.get(self, "service_key")
229
240
 
230
- @property
241
+ @_builtins.property
231
242
  @pulumi.getter
232
- def account(self) -> Optional[str]:
243
+ def account(self) -> Optional[_builtins.str]:
233
244
  return pulumi.get(self, "account")
234
245
 
235
- @property
246
+ @_builtins.property
236
247
  @pulumi.getter(name="serviceName")
237
- def service_name(self) -> Optional[str]:
248
+ def service_name(self) -> Optional[_builtins.str]:
238
249
  return pulumi.get(self, "service_name")
239
250
 
240
251
 
241
252
  @pulumi.output_type
242
253
  class AlertChannelSlack(dict):
243
254
  def __init__(__self__, *,
244
- channel: str,
245
- url: str):
255
+ channel: _builtins.str,
256
+ url: _builtins.str):
246
257
  """
247
- :param str channel: The name of the alert's Slack channel
248
- :param str url: The Slack webhook URL
258
+ :param _builtins.str channel: The name of the alert's Slack channel
259
+ :param _builtins.str url: The Slack webhook URL
249
260
  """
250
261
  pulumi.set(__self__, "channel", channel)
251
262
  pulumi.set(__self__, "url", url)
252
263
 
253
- @property
264
+ @_builtins.property
254
265
  @pulumi.getter
255
- def channel(self) -> str:
266
+ def channel(self) -> _builtins.str:
256
267
  """
257
268
  The name of the alert's Slack channel
258
269
  """
259
270
  return pulumi.get(self, "channel")
260
271
 
261
- @property
272
+ @_builtins.property
262
273
  @pulumi.getter
263
- def url(self) -> str:
274
+ def url(self) -> _builtins.str:
264
275
  """
265
276
  The Slack webhook URL
266
277
  """
@@ -270,26 +281,26 @@ class AlertChannelSlack(dict):
270
281
  @pulumi.output_type
271
282
  class AlertChannelSms(dict):
272
283
  def __init__(__self__, *,
273
- name: str,
274
- number: str):
284
+ name: _builtins.str,
285
+ number: _builtins.str):
275
286
  """
276
- :param str name: The name of this alert channel
277
- :param str number: The mobile number to receive the alerts
287
+ :param _builtins.str name: The name of this alert channel
288
+ :param _builtins.str number: The mobile number to receive the alerts
278
289
  """
279
290
  pulumi.set(__self__, "name", name)
280
291
  pulumi.set(__self__, "number", number)
281
292
 
282
- @property
293
+ @_builtins.property
283
294
  @pulumi.getter
284
- def name(self) -> str:
295
+ def name(self) -> _builtins.str:
285
296
  """
286
297
  The name of this alert channel
287
298
  """
288
299
  return pulumi.get(self, "name")
289
300
 
290
- @property
301
+ @_builtins.property
291
302
  @pulumi.getter
292
- def number(self) -> str:
303
+ def number(self) -> _builtins.str:
293
304
  """
294
305
  The mobile number to receive the alerts
295
306
  """
@@ -320,17 +331,17 @@ class AlertChannelWebhook(dict):
320
331
  return super().get(key, default)
321
332
 
322
333
  def __init__(__self__, *,
323
- name: str,
324
- url: str,
325
- headers: Optional[Mapping[str, str]] = None,
326
- method: Optional[str] = None,
327
- query_parameters: Optional[Mapping[str, str]] = None,
328
- template: Optional[str] = None,
329
- webhook_secret: Optional[str] = None,
330
- webhook_type: Optional[str] = None):
331
- """
332
- :param str method: (Default `POST`)
333
- :param str webhook_type: Type of the webhook. Possible values are 'WEBHOOK*DISCORD', 'WEBHOOK*FIREHYDRANT', 'WEBHOOK*GITLAB*ALERT', 'WEBHOOK*SPIKESH', 'WEBHOOK*SPLUNK', 'WEBHOOK*MSTEAMS' and 'WEBHOOK*TELEGRAM'.
334
+ name: _builtins.str,
335
+ url: _builtins.str,
336
+ headers: Optional[Mapping[str, _builtins.str]] = None,
337
+ method: Optional[_builtins.str] = None,
338
+ query_parameters: Optional[Mapping[str, _builtins.str]] = None,
339
+ template: Optional[_builtins.str] = None,
340
+ webhook_secret: Optional[_builtins.str] = None,
341
+ webhook_type: Optional[_builtins.str] = None):
342
+ """
343
+ :param _builtins.str method: (Default `POST`)
344
+ :param _builtins.str webhook_type: Type of the webhook. Possible values are 'WEBHOOK*DISCORD', 'WEBHOOK*FIREHYDRANT', 'WEBHOOK*GITLAB*ALERT', 'WEBHOOK*SPIKESH', 'WEBHOOK*SPLUNK', 'WEBHOOK*MSTEAMS' and 'WEBHOOK*TELEGRAM'.
334
345
  """
335
346
  pulumi.set(__self__, "name", name)
336
347
  pulumi.set(__self__, "url", url)
@@ -347,47 +358,47 @@ class AlertChannelWebhook(dict):
347
358
  if webhook_type is not None:
348
359
  pulumi.set(__self__, "webhook_type", webhook_type)
349
360
 
350
- @property
361
+ @_builtins.property
351
362
  @pulumi.getter
352
- def name(self) -> str:
363
+ def name(self) -> _builtins.str:
353
364
  return pulumi.get(self, "name")
354
365
 
355
- @property
366
+ @_builtins.property
356
367
  @pulumi.getter
357
- def url(self) -> str:
368
+ def url(self) -> _builtins.str:
358
369
  return pulumi.get(self, "url")
359
370
 
360
- @property
371
+ @_builtins.property
361
372
  @pulumi.getter
362
- def headers(self) -> Optional[Mapping[str, str]]:
373
+ def headers(self) -> Optional[Mapping[str, _builtins.str]]:
363
374
  return pulumi.get(self, "headers")
364
375
 
365
- @property
376
+ @_builtins.property
366
377
  @pulumi.getter
367
- def method(self) -> Optional[str]:
378
+ def method(self) -> Optional[_builtins.str]:
368
379
  """
369
380
  (Default `POST`)
370
381
  """
371
382
  return pulumi.get(self, "method")
372
383
 
373
- @property
384
+ @_builtins.property
374
385
  @pulumi.getter(name="queryParameters")
375
- def query_parameters(self) -> Optional[Mapping[str, str]]:
386
+ def query_parameters(self) -> Optional[Mapping[str, _builtins.str]]:
376
387
  return pulumi.get(self, "query_parameters")
377
388
 
378
- @property
389
+ @_builtins.property
379
390
  @pulumi.getter
380
- def template(self) -> Optional[str]:
391
+ def template(self) -> Optional[_builtins.str]:
381
392
  return pulumi.get(self, "template")
382
393
 
383
- @property
394
+ @_builtins.property
384
395
  @pulumi.getter(name="webhookSecret")
385
- def webhook_secret(self) -> Optional[str]:
396
+ def webhook_secret(self) -> Optional[_builtins.str]:
386
397
  return pulumi.get(self, "webhook_secret")
387
398
 
388
- @property
399
+ @_builtins.property
389
400
  @pulumi.getter(name="webhookType")
390
- def webhook_type(self) -> Optional[str]:
401
+ def webhook_type(self) -> Optional[_builtins.str]:
391
402
  """
392
403
  Type of the webhook. Possible values are 'WEBHOOK*DISCORD', 'WEBHOOK*FIREHYDRANT', 'WEBHOOK*GITLAB*ALERT', 'WEBHOOK*SPIKESH', 'WEBHOOK*SPLUNK', 'WEBHOOK*MSTEAMS' and 'WEBHOOK*TELEGRAM'.
393
404
  """
@@ -414,19 +425,19 @@ class CheckAlertChannelSubscription(dict):
414
425
  return super().get(key, default)
415
426
 
416
427
  def __init__(__self__, *,
417
- activated: bool,
418
- channel_id: int):
428
+ activated: _builtins.bool,
429
+ channel_id: _builtins.int):
419
430
  pulumi.set(__self__, "activated", activated)
420
431
  pulumi.set(__self__, "channel_id", channel_id)
421
432
 
422
- @property
433
+ @_builtins.property
423
434
  @pulumi.getter
424
- def activated(self) -> bool:
435
+ def activated(self) -> _builtins.bool:
425
436
  return pulumi.get(self, "activated")
426
437
 
427
- @property
438
+ @_builtins.property
428
439
  @pulumi.getter(name="channelId")
429
- def channel_id(self) -> int:
440
+ def channel_id(self) -> _builtins.int:
430
441
  return pulumi.get(self, "channel_id")
431
442
 
432
443
 
@@ -458,14 +469,14 @@ class CheckAlertSettings(dict):
458
469
  return super().get(key, default)
459
470
 
460
471
  def __init__(__self__, *,
461
- escalation_type: Optional[str] = None,
472
+ escalation_type: Optional[_builtins.str] = None,
462
473
  parallel_run_failure_thresholds: Optional[Sequence['outputs.CheckAlertSettingsParallelRunFailureThreshold']] = None,
463
474
  reminders: Optional[Sequence['outputs.CheckAlertSettingsReminder']] = None,
464
475
  run_based_escalations: Optional[Sequence['outputs.CheckAlertSettingsRunBasedEscalation']] = None,
465
476
  ssl_certificates: Optional[Sequence['outputs.CheckAlertSettingsSslCertificate']] = None,
466
477
  time_based_escalations: Optional[Sequence['outputs.CheckAlertSettingsTimeBasedEscalation']] = None):
467
478
  """
468
- :param str escalation_type: Determines what type of escalation to use. Possible values are `RUN_BASED` or `TIME_BASED`.
479
+ :param _builtins.str escalation_type: Determines what type of escalation to use. Possible values are `RUN_BASED` or `TIME_BASED`.
469
480
  """
470
481
  if escalation_type is not None:
471
482
  pulumi.set(__self__, "escalation_type", escalation_type)
@@ -480,36 +491,36 @@ class CheckAlertSettings(dict):
480
491
  if time_based_escalations is not None:
481
492
  pulumi.set(__self__, "time_based_escalations", time_based_escalations)
482
493
 
483
- @property
494
+ @_builtins.property
484
495
  @pulumi.getter(name="escalationType")
485
- def escalation_type(self) -> Optional[str]:
496
+ def escalation_type(self) -> Optional[_builtins.str]:
486
497
  """
487
498
  Determines what type of escalation to use. Possible values are `RUN_BASED` or `TIME_BASED`.
488
499
  """
489
500
  return pulumi.get(self, "escalation_type")
490
501
 
491
- @property
502
+ @_builtins.property
492
503
  @pulumi.getter(name="parallelRunFailureThresholds")
493
504
  def parallel_run_failure_thresholds(self) -> Optional[Sequence['outputs.CheckAlertSettingsParallelRunFailureThreshold']]:
494
505
  return pulumi.get(self, "parallel_run_failure_thresholds")
495
506
 
496
- @property
507
+ @_builtins.property
497
508
  @pulumi.getter
498
509
  def reminders(self) -> Optional[Sequence['outputs.CheckAlertSettingsReminder']]:
499
510
  return pulumi.get(self, "reminders")
500
511
 
501
- @property
512
+ @_builtins.property
502
513
  @pulumi.getter(name="runBasedEscalations")
503
514
  def run_based_escalations(self) -> Optional[Sequence['outputs.CheckAlertSettingsRunBasedEscalation']]:
504
515
  return pulumi.get(self, "run_based_escalations")
505
516
 
506
- @property
517
+ @_builtins.property
507
518
  @pulumi.getter(name="sslCertificates")
508
519
  @_utilities.deprecated("""This property is deprecated and it's ignored by the Checkly Public API. It will be removed in a future version.""")
509
520
  def ssl_certificates(self) -> Optional[Sequence['outputs.CheckAlertSettingsSslCertificate']]:
510
521
  return pulumi.get(self, "ssl_certificates")
511
522
 
512
- @property
523
+ @_builtins.property
513
524
  @pulumi.getter(name="timeBasedEscalations")
514
525
  def time_based_escalations(self) -> Optional[Sequence['outputs.CheckAlertSettingsTimeBasedEscalation']]:
515
526
  return pulumi.get(self, "time_based_escalations")
@@ -518,28 +529,28 @@ class CheckAlertSettings(dict):
518
529
  @pulumi.output_type
519
530
  class CheckAlertSettingsParallelRunFailureThreshold(dict):
520
531
  def __init__(__self__, *,
521
- enabled: Optional[bool] = None,
522
- percentage: Optional[int] = None):
532
+ enabled: Optional[_builtins.bool] = None,
533
+ percentage: Optional[_builtins.int] = None):
523
534
  """
524
- :param bool enabled: Applicable only for checks scheduled in parallel in multiple locations.
525
- :param int percentage: Possible values are `10`, `20`, `30`, `40`, `50`, `60`, `70`, `80`, `100`, and `100`. (Default `10`).
535
+ :param _builtins.bool enabled: Applicable only for checks scheduled in parallel in multiple locations.
536
+ :param _builtins.int percentage: Possible values are `10`, `20`, `30`, `40`, `50`, `60`, `70`, `80`, `100`, and `100`. (Default `10`).
526
537
  """
527
538
  if enabled is not None:
528
539
  pulumi.set(__self__, "enabled", enabled)
529
540
  if percentage is not None:
530
541
  pulumi.set(__self__, "percentage", percentage)
531
542
 
532
- @property
543
+ @_builtins.property
533
544
  @pulumi.getter
534
- def enabled(self) -> Optional[bool]:
545
+ def enabled(self) -> Optional[_builtins.bool]:
535
546
  """
536
547
  Applicable only for checks scheduled in parallel in multiple locations.
537
548
  """
538
549
  return pulumi.get(self, "enabled")
539
550
 
540
- @property
551
+ @_builtins.property
541
552
  @pulumi.getter
542
- def percentage(self) -> Optional[int]:
553
+ def percentage(self) -> Optional[_builtins.int]:
543
554
  """
544
555
  Possible values are `10`, `20`, `30`, `40`, `50`, `60`, `70`, `80`, `100`, and `100`. (Default `10`).
545
556
  """
@@ -549,28 +560,28 @@ class CheckAlertSettingsParallelRunFailureThreshold(dict):
549
560
  @pulumi.output_type
550
561
  class CheckAlertSettingsReminder(dict):
551
562
  def __init__(__self__, *,
552
- amount: Optional[int] = None,
553
- interval: Optional[int] = None):
563
+ amount: Optional[_builtins.int] = None,
564
+ interval: Optional[_builtins.int] = None):
554
565
  """
555
- :param int amount: How many reminders to send out after the initial alert notification. Possible values are `0`, `1`, `2`, `3`, `4`, `5`, and `100000`
556
- :param int interval: Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
566
+ :param _builtins.int amount: How many reminders to send out after the initial alert notification. Possible values are `0`, `1`, `2`, `3`, `4`, `5`, and `100000`
567
+ :param _builtins.int interval: Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
557
568
  """
558
569
  if amount is not None:
559
570
  pulumi.set(__self__, "amount", amount)
560
571
  if interval is not None:
561
572
  pulumi.set(__self__, "interval", interval)
562
573
 
563
- @property
574
+ @_builtins.property
564
575
  @pulumi.getter
565
- def amount(self) -> Optional[int]:
576
+ def amount(self) -> Optional[_builtins.int]:
566
577
  """
567
578
  How many reminders to send out after the initial alert notification. Possible values are `0`, `1`, `2`, `3`, `4`, `5`, and `100000`
568
579
  """
569
580
  return pulumi.get(self, "amount")
570
581
 
571
- @property
582
+ @_builtins.property
572
583
  @pulumi.getter
573
- def interval(self) -> Optional[int]:
584
+ def interval(self) -> Optional[_builtins.int]:
574
585
  """
575
586
  Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
576
587
  """
@@ -597,16 +608,16 @@ class CheckAlertSettingsRunBasedEscalation(dict):
597
608
  return super().get(key, default)
598
609
 
599
610
  def __init__(__self__, *,
600
- failed_run_threshold: Optional[int] = None):
611
+ failed_run_threshold: Optional[_builtins.int] = None):
601
612
  """
602
- :param int failed_run_threshold: After how many failed consecutive check runs an alert notification should be sent. Possible values are between 1 and 5. (Default `1`).
613
+ :param _builtins.int failed_run_threshold: After how many failed consecutive check runs an alert notification should be sent. Possible values are between 1 and 5. (Default `1`).
603
614
  """
604
615
  if failed_run_threshold is not None:
605
616
  pulumi.set(__self__, "failed_run_threshold", failed_run_threshold)
606
617
 
607
- @property
618
+ @_builtins.property
608
619
  @pulumi.getter(name="failedRunThreshold")
609
- def failed_run_threshold(self) -> Optional[int]:
620
+ def failed_run_threshold(self) -> Optional[_builtins.int]:
610
621
  """
611
622
  After how many failed consecutive check runs an alert notification should be sent. Possible values are between 1 and 5. (Default `1`).
612
623
  """
@@ -633,28 +644,28 @@ class CheckAlertSettingsSslCertificate(dict):
633
644
  return super().get(key, default)
634
645
 
635
646
  def __init__(__self__, *,
636
- alert_threshold: Optional[int] = None,
637
- enabled: Optional[bool] = None):
647
+ alert_threshold: Optional[_builtins.int] = None,
648
+ enabled: Optional[_builtins.bool] = None):
638
649
  """
639
- :param int alert_threshold: How long before SSL certificate expiry to send alerts. Possible values `3`, `7`, `14`, `30`. (Default `3`).
640
- :param bool enabled: Determines if alert notifications should be sent for expiring SSL certificates. Possible values `true`, and `false`. (Default `false`).
650
+ :param _builtins.int alert_threshold: How long before SSL certificate expiry to send alerts. Possible values `3`, `7`, `14`, `30`. (Default `3`).
651
+ :param _builtins.bool enabled: Determines if alert notifications should be sent for expiring SSL certificates. Possible values `true`, and `false`. (Default `false`).
641
652
  """
642
653
  if alert_threshold is not None:
643
654
  pulumi.set(__self__, "alert_threshold", alert_threshold)
644
655
  if enabled is not None:
645
656
  pulumi.set(__self__, "enabled", enabled)
646
657
 
647
- @property
658
+ @_builtins.property
648
659
  @pulumi.getter(name="alertThreshold")
649
- def alert_threshold(self) -> Optional[int]:
660
+ def alert_threshold(self) -> Optional[_builtins.int]:
650
661
  """
651
662
  How long before SSL certificate expiry to send alerts. Possible values `3`, `7`, `14`, `30`. (Default `3`).
652
663
  """
653
664
  return pulumi.get(self, "alert_threshold")
654
665
 
655
- @property
666
+ @_builtins.property
656
667
  @pulumi.getter
657
- def enabled(self) -> Optional[bool]:
668
+ def enabled(self) -> Optional[_builtins.bool]:
658
669
  """
659
670
  Determines if alert notifications should be sent for expiring SSL certificates. Possible values `true`, and `false`. (Default `false`).
660
671
  """
@@ -681,16 +692,16 @@ class CheckAlertSettingsTimeBasedEscalation(dict):
681
692
  return super().get(key, default)
682
693
 
683
694
  def __init__(__self__, *,
684
- minutes_failing_threshold: Optional[int] = None):
695
+ minutes_failing_threshold: Optional[_builtins.int] = None):
685
696
  """
686
- :param int minutes_failing_threshold: After how many minutes after a check starts failing an alert should be sent. Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
697
+ :param _builtins.int minutes_failing_threshold: After how many minutes after a check starts failing an alert should be sent. Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
687
698
  """
688
699
  if minutes_failing_threshold is not None:
689
700
  pulumi.set(__self__, "minutes_failing_threshold", minutes_failing_threshold)
690
701
 
691
- @property
702
+ @_builtins.property
692
703
  @pulumi.getter(name="minutesFailingThreshold")
693
- def minutes_failing_threshold(self) -> Optional[int]:
704
+ def minutes_failing_threshold(self) -> Optional[_builtins.int]:
694
705
  """
695
706
  After how many minutes after a check starts failing an alert should be sent. Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
696
707
  """
@@ -700,10 +711,10 @@ class CheckAlertSettingsTimeBasedEscalation(dict):
700
711
  @pulumi.output_type
701
712
  class CheckEnvironmentVariable(dict):
702
713
  def __init__(__self__, *,
703
- key: str,
704
- value: str,
705
- locked: Optional[bool] = None,
706
- secret: Optional[bool] = None):
714
+ key: _builtins.str,
715
+ value: _builtins.str,
716
+ locked: Optional[_builtins.bool] = None,
717
+ secret: Optional[_builtins.bool] = None):
707
718
  pulumi.set(__self__, "key", key)
708
719
  pulumi.set(__self__, "value", value)
709
720
  if locked is not None:
@@ -711,24 +722,24 @@ class CheckEnvironmentVariable(dict):
711
722
  if secret is not None:
712
723
  pulumi.set(__self__, "secret", secret)
713
724
 
714
- @property
725
+ @_builtins.property
715
726
  @pulumi.getter
716
- def key(self) -> str:
727
+ def key(self) -> _builtins.str:
717
728
  return pulumi.get(self, "key")
718
729
 
719
- @property
730
+ @_builtins.property
720
731
  @pulumi.getter
721
- def value(self) -> str:
732
+ def value(self) -> _builtins.str:
722
733
  return pulumi.get(self, "value")
723
734
 
724
- @property
735
+ @_builtins.property
725
736
  @pulumi.getter
726
- def locked(self) -> Optional[bool]:
737
+ def locked(self) -> Optional[_builtins.bool]:
727
738
  return pulumi.get(self, "locked")
728
739
 
729
- @property
740
+ @_builtins.property
730
741
  @pulumi.getter
731
- def secret(self) -> Optional[bool]:
742
+ def secret(self) -> Optional[_builtins.bool]:
732
743
  return pulumi.get(self, "secret")
733
744
 
734
745
 
@@ -752,19 +763,19 @@ class CheckGroupAlertChannelSubscription(dict):
752
763
  return super().get(key, default)
753
764
 
754
765
  def __init__(__self__, *,
755
- activated: bool,
756
- channel_id: int):
766
+ activated: _builtins.bool,
767
+ channel_id: _builtins.int):
757
768
  pulumi.set(__self__, "activated", activated)
758
769
  pulumi.set(__self__, "channel_id", channel_id)
759
770
 
760
- @property
771
+ @_builtins.property
761
772
  @pulumi.getter
762
- def activated(self) -> bool:
773
+ def activated(self) -> _builtins.bool:
763
774
  return pulumi.get(self, "activated")
764
775
 
765
- @property
776
+ @_builtins.property
766
777
  @pulumi.getter(name="channelId")
767
- def channel_id(self) -> int:
778
+ def channel_id(self) -> _builtins.int:
768
779
  return pulumi.get(self, "channel_id")
769
780
 
770
781
 
@@ -796,14 +807,14 @@ class CheckGroupAlertSettings(dict):
796
807
  return super().get(key, default)
797
808
 
798
809
  def __init__(__self__, *,
799
- escalation_type: Optional[str] = None,
810
+ escalation_type: Optional[_builtins.str] = None,
800
811
  parallel_run_failure_thresholds: Optional[Sequence['outputs.CheckGroupAlertSettingsParallelRunFailureThreshold']] = None,
801
812
  reminders: Optional[Sequence['outputs.CheckGroupAlertSettingsReminder']] = None,
802
813
  run_based_escalations: Optional[Sequence['outputs.CheckGroupAlertSettingsRunBasedEscalation']] = None,
803
814
  ssl_certificates: Optional[Sequence['outputs.CheckGroupAlertSettingsSslCertificate']] = None,
804
815
  time_based_escalations: Optional[Sequence['outputs.CheckGroupAlertSettingsTimeBasedEscalation']] = None):
805
816
  """
806
- :param str escalation_type: Determines what type of escalation to use. Possible values are `RUN_BASED` or `TIME_BASED`.
817
+ :param _builtins.str escalation_type: Determines what type of escalation to use. Possible values are `RUN_BASED` or `TIME_BASED`.
807
818
  """
808
819
  if escalation_type is not None:
809
820
  pulumi.set(__self__, "escalation_type", escalation_type)
@@ -818,36 +829,36 @@ class CheckGroupAlertSettings(dict):
818
829
  if time_based_escalations is not None:
819
830
  pulumi.set(__self__, "time_based_escalations", time_based_escalations)
820
831
 
821
- @property
832
+ @_builtins.property
822
833
  @pulumi.getter(name="escalationType")
823
- def escalation_type(self) -> Optional[str]:
834
+ def escalation_type(self) -> Optional[_builtins.str]:
824
835
  """
825
836
  Determines what type of escalation to use. Possible values are `RUN_BASED` or `TIME_BASED`.
826
837
  """
827
838
  return pulumi.get(self, "escalation_type")
828
839
 
829
- @property
840
+ @_builtins.property
830
841
  @pulumi.getter(name="parallelRunFailureThresholds")
831
842
  def parallel_run_failure_thresholds(self) -> Optional[Sequence['outputs.CheckGroupAlertSettingsParallelRunFailureThreshold']]:
832
843
  return pulumi.get(self, "parallel_run_failure_thresholds")
833
844
 
834
- @property
845
+ @_builtins.property
835
846
  @pulumi.getter
836
847
  def reminders(self) -> Optional[Sequence['outputs.CheckGroupAlertSettingsReminder']]:
837
848
  return pulumi.get(self, "reminders")
838
849
 
839
- @property
850
+ @_builtins.property
840
851
  @pulumi.getter(name="runBasedEscalations")
841
852
  def run_based_escalations(self) -> Optional[Sequence['outputs.CheckGroupAlertSettingsRunBasedEscalation']]:
842
853
  return pulumi.get(self, "run_based_escalations")
843
854
 
844
- @property
855
+ @_builtins.property
845
856
  @pulumi.getter(name="sslCertificates")
846
857
  @_utilities.deprecated("""This property is deprecated and it's ignored by the Checkly Public API. It will be removed in a future version.""")
847
858
  def ssl_certificates(self) -> Optional[Sequence['outputs.CheckGroupAlertSettingsSslCertificate']]:
848
859
  return pulumi.get(self, "ssl_certificates")
849
860
 
850
- @property
861
+ @_builtins.property
851
862
  @pulumi.getter(name="timeBasedEscalations")
852
863
  def time_based_escalations(self) -> Optional[Sequence['outputs.CheckGroupAlertSettingsTimeBasedEscalation']]:
853
864
  return pulumi.get(self, "time_based_escalations")
@@ -856,28 +867,28 @@ class CheckGroupAlertSettings(dict):
856
867
  @pulumi.output_type
857
868
  class CheckGroupAlertSettingsParallelRunFailureThreshold(dict):
858
869
  def __init__(__self__, *,
859
- enabled: Optional[bool] = None,
860
- percentage: Optional[int] = None):
870
+ enabled: Optional[_builtins.bool] = None,
871
+ percentage: Optional[_builtins.int] = None):
861
872
  """
862
- :param bool enabled: Applicable only for checks scheduled in parallel in multiple locations.
863
- :param int percentage: Possible values are `10`, `20`, `30`, `40`, `50`, `60`, `70`, `80`, `100`, and `100`. (Default `10`).
873
+ :param _builtins.bool enabled: Applicable only for checks scheduled in parallel in multiple locations.
874
+ :param _builtins.int percentage: Possible values are `10`, `20`, `30`, `40`, `50`, `60`, `70`, `80`, `100`, and `100`. (Default `10`).
864
875
  """
865
876
  if enabled is not None:
866
877
  pulumi.set(__self__, "enabled", enabled)
867
878
  if percentage is not None:
868
879
  pulumi.set(__self__, "percentage", percentage)
869
880
 
870
- @property
881
+ @_builtins.property
871
882
  @pulumi.getter
872
- def enabled(self) -> Optional[bool]:
883
+ def enabled(self) -> Optional[_builtins.bool]:
873
884
  """
874
885
  Applicable only for checks scheduled in parallel in multiple locations.
875
886
  """
876
887
  return pulumi.get(self, "enabled")
877
888
 
878
- @property
889
+ @_builtins.property
879
890
  @pulumi.getter
880
- def percentage(self) -> Optional[int]:
891
+ def percentage(self) -> Optional[_builtins.int]:
881
892
  """
882
893
  Possible values are `10`, `20`, `30`, `40`, `50`, `60`, `70`, `80`, `100`, and `100`. (Default `10`).
883
894
  """
@@ -887,28 +898,28 @@ class CheckGroupAlertSettingsParallelRunFailureThreshold(dict):
887
898
  @pulumi.output_type
888
899
  class CheckGroupAlertSettingsReminder(dict):
889
900
  def __init__(__self__, *,
890
- amount: Optional[int] = None,
891
- interval: Optional[int] = None):
901
+ amount: Optional[_builtins.int] = None,
902
+ interval: Optional[_builtins.int] = None):
892
903
  """
893
- :param int amount: How many reminders to send out after the initial alert notification. Possible values are `0`, `1`, `2`, `3`, `4`, `5`, and `100000`
894
- :param int interval: Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
904
+ :param _builtins.int amount: How many reminders to send out after the initial alert notification. Possible values are `0`, `1`, `2`, `3`, `4`, `5`, and `100000`
905
+ :param _builtins.int interval: Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
895
906
  """
896
907
  if amount is not None:
897
908
  pulumi.set(__self__, "amount", amount)
898
909
  if interval is not None:
899
910
  pulumi.set(__self__, "interval", interval)
900
911
 
901
- @property
912
+ @_builtins.property
902
913
  @pulumi.getter
903
- def amount(self) -> Optional[int]:
914
+ def amount(self) -> Optional[_builtins.int]:
904
915
  """
905
916
  How many reminders to send out after the initial alert notification. Possible values are `0`, `1`, `2`, `3`, `4`, `5`, and `100000`
906
917
  """
907
918
  return pulumi.get(self, "amount")
908
919
 
909
- @property
920
+ @_builtins.property
910
921
  @pulumi.getter
911
- def interval(self) -> Optional[int]:
922
+ def interval(self) -> Optional[_builtins.int]:
912
923
  """
913
924
  Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
914
925
  """
@@ -935,16 +946,16 @@ class CheckGroupAlertSettingsRunBasedEscalation(dict):
935
946
  return super().get(key, default)
936
947
 
937
948
  def __init__(__self__, *,
938
- failed_run_threshold: Optional[int] = None):
949
+ failed_run_threshold: Optional[_builtins.int] = None):
939
950
  """
940
- :param int failed_run_threshold: After how many failed consecutive check runs an alert notification should be sent. Possible values are between 1 and 5. (Default `1`).
951
+ :param _builtins.int failed_run_threshold: After how many failed consecutive check runs an alert notification should be sent. Possible values are between 1 and 5. (Default `1`).
941
952
  """
942
953
  if failed_run_threshold is not None:
943
954
  pulumi.set(__self__, "failed_run_threshold", failed_run_threshold)
944
955
 
945
- @property
956
+ @_builtins.property
946
957
  @pulumi.getter(name="failedRunThreshold")
947
- def failed_run_threshold(self) -> Optional[int]:
958
+ def failed_run_threshold(self) -> Optional[_builtins.int]:
948
959
  """
949
960
  After how many failed consecutive check runs an alert notification should be sent. Possible values are between 1 and 5. (Default `1`).
950
961
  """
@@ -971,28 +982,28 @@ class CheckGroupAlertSettingsSslCertificate(dict):
971
982
  return super().get(key, default)
972
983
 
973
984
  def __init__(__self__, *,
974
- alert_threshold: Optional[int] = None,
975
- enabled: Optional[bool] = None):
985
+ alert_threshold: Optional[_builtins.int] = None,
986
+ enabled: Optional[_builtins.bool] = None):
976
987
  """
977
- :param int alert_threshold: At what moment in time to start alerting on SSL certificates. Possible values `3`, `7`, `14`, `30`. (Default `3`).
978
- :param bool enabled: Determines if alert notifications should be sent for expiring SSL certificates.
988
+ :param _builtins.int alert_threshold: At what moment in time to start alerting on SSL certificates. Possible values `3`, `7`, `14`, `30`. (Default `3`).
989
+ :param _builtins.bool enabled: Determines if alert notifications should be sent for expiring SSL certificates.
979
990
  """
980
991
  if alert_threshold is not None:
981
992
  pulumi.set(__self__, "alert_threshold", alert_threshold)
982
993
  if enabled is not None:
983
994
  pulumi.set(__self__, "enabled", enabled)
984
995
 
985
- @property
996
+ @_builtins.property
986
997
  @pulumi.getter(name="alertThreshold")
987
- def alert_threshold(self) -> Optional[int]:
998
+ def alert_threshold(self) -> Optional[_builtins.int]:
988
999
  """
989
1000
  At what moment in time to start alerting on SSL certificates. Possible values `3`, `7`, `14`, `30`. (Default `3`).
990
1001
  """
991
1002
  return pulumi.get(self, "alert_threshold")
992
1003
 
993
- @property
1004
+ @_builtins.property
994
1005
  @pulumi.getter
995
- def enabled(self) -> Optional[bool]:
1006
+ def enabled(self) -> Optional[_builtins.bool]:
996
1007
  """
997
1008
  Determines if alert notifications should be sent for expiring SSL certificates.
998
1009
  """
@@ -1019,16 +1030,16 @@ class CheckGroupAlertSettingsTimeBasedEscalation(dict):
1019
1030
  return super().get(key, default)
1020
1031
 
1021
1032
  def __init__(__self__, *,
1022
- minutes_failing_threshold: Optional[int] = None):
1033
+ minutes_failing_threshold: Optional[_builtins.int] = None):
1023
1034
  """
1024
- :param int minutes_failing_threshold: After how many minutes after a check starts failing an alert should be sent. Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
1035
+ :param _builtins.int minutes_failing_threshold: After how many minutes after a check starts failing an alert should be sent. Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
1025
1036
  """
1026
1037
  if minutes_failing_threshold is not None:
1027
1038
  pulumi.set(__self__, "minutes_failing_threshold", minutes_failing_threshold)
1028
1039
 
1029
- @property
1040
+ @_builtins.property
1030
1041
  @pulumi.getter(name="minutesFailingThreshold")
1031
- def minutes_failing_threshold(self) -> Optional[int]:
1042
+ def minutes_failing_threshold(self) -> Optional[_builtins.int]:
1032
1043
  """
1033
1044
  After how many minutes after a check starts failing an alert should be sent. Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
1034
1045
  """
@@ -1059,11 +1070,11 @@ class CheckGroupApiCheckDefaults(dict):
1059
1070
  def __init__(__self__, *,
1060
1071
  assertions: Optional[Sequence['outputs.CheckGroupApiCheckDefaultsAssertion']] = None,
1061
1072
  basic_auth: Optional['outputs.CheckGroupApiCheckDefaultsBasicAuth'] = None,
1062
- headers: Optional[Mapping[str, str]] = None,
1063
- query_parameters: Optional[Mapping[str, str]] = None,
1064
- url: Optional[str] = None):
1073
+ headers: Optional[Mapping[str, _builtins.str]] = None,
1074
+ query_parameters: Optional[Mapping[str, _builtins.str]] = None,
1075
+ url: Optional[_builtins.str] = None):
1065
1076
  """
1066
- :param str url: The base url for this group which you can reference with the `GROUP_BASE_URL` variable in all group checks.
1077
+ :param _builtins.str url: The base url for this group which you can reference with the `GROUP_BASE_URL` variable in all group checks.
1067
1078
  """
1068
1079
  if assertions is not None:
1069
1080
  pulumi.set(__self__, "assertions", assertions)
@@ -1078,29 +1089,29 @@ class CheckGroupApiCheckDefaults(dict):
1078
1089
  if url is not None:
1079
1090
  pulumi.set(__self__, "url", url)
1080
1091
 
1081
- @property
1092
+ @_builtins.property
1082
1093
  @pulumi.getter
1083
1094
  def assertions(self) -> Optional[Sequence['outputs.CheckGroupApiCheckDefaultsAssertion']]:
1084
1095
  return pulumi.get(self, "assertions")
1085
1096
 
1086
- @property
1097
+ @_builtins.property
1087
1098
  @pulumi.getter(name="basicAuth")
1088
1099
  def basic_auth(self) -> Optional['outputs.CheckGroupApiCheckDefaultsBasicAuth']:
1089
1100
  return pulumi.get(self, "basic_auth")
1090
1101
 
1091
- @property
1102
+ @_builtins.property
1092
1103
  @pulumi.getter
1093
- def headers(self) -> Optional[Mapping[str, str]]:
1104
+ def headers(self) -> Optional[Mapping[str, _builtins.str]]:
1094
1105
  return pulumi.get(self, "headers")
1095
1106
 
1096
- @property
1107
+ @_builtins.property
1097
1108
  @pulumi.getter(name="queryParameters")
1098
- def query_parameters(self) -> Optional[Mapping[str, str]]:
1109
+ def query_parameters(self) -> Optional[Mapping[str, _builtins.str]]:
1099
1110
  return pulumi.get(self, "query_parameters")
1100
1111
 
1101
- @property
1112
+ @_builtins.property
1102
1113
  @pulumi.getter
1103
- def url(self) -> Optional[str]:
1114
+ def url(self) -> Optional[_builtins.str]:
1104
1115
  """
1105
1116
  The base url for this group which you can reference with the `GROUP_BASE_URL` variable in all group checks.
1106
1117
  """
@@ -1110,13 +1121,13 @@ class CheckGroupApiCheckDefaults(dict):
1110
1121
  @pulumi.output_type
1111
1122
  class CheckGroupApiCheckDefaultsAssertion(dict):
1112
1123
  def __init__(__self__, *,
1113
- comparison: str,
1114
- source: str,
1115
- target: str,
1116
- property: Optional[str] = None):
1124
+ comparison: _builtins.str,
1125
+ source: _builtins.str,
1126
+ target: _builtins.str,
1127
+ property: Optional[_builtins.str] = None):
1117
1128
  """
1118
- :param str comparison: The type of comparison to be executed between expected and actual value of the assertion. Possible values `EQUALS`, `NOT_EQUALS`, `HAS_KEY`, `NOT_HAS_KEY`, `HAS_VALUE`, `NOT_HAS_VALUE`, `IS_EMPTY`, `NOT_EMPTY`, `GREATER_THAN`, `LESS_THAN`, `CONTAINS`, `NOT_CONTAINS`, `IS_NULL`, and `NOT_NULL`.
1119
- :param str source: The source of the asserted value. Possible values `STATUS_CODE`, `JSON_BODY`, `HEADERS`, `TEXT_BODY`, and `RESPONSE_TIME`.
1129
+ :param _builtins.str comparison: The type of comparison to be executed between expected and actual value of the assertion. Possible values `EQUALS`, `NOT_EQUALS`, `HAS_KEY`, `NOT_HAS_KEY`, `HAS_VALUE`, `NOT_HAS_VALUE`, `IS_EMPTY`, `NOT_EMPTY`, `GREATER_THAN`, `LESS_THAN`, `CONTAINS`, `NOT_CONTAINS`, `IS_NULL`, and `NOT_NULL`.
1130
+ :param _builtins.str source: The source of the asserted value. Possible values `STATUS_CODE`, `JSON_BODY`, `HEADERS`, `TEXT_BODY`, and `RESPONSE_TIME`.
1120
1131
  """
1121
1132
  pulumi.set(__self__, "comparison", comparison)
1122
1133
  pulumi.set(__self__, "source", source)
@@ -1124,59 +1135,59 @@ class CheckGroupApiCheckDefaultsAssertion(dict):
1124
1135
  if property is not None:
1125
1136
  pulumi.set(__self__, "property", property)
1126
1137
 
1127
- @property
1138
+ @_builtins.property
1128
1139
  @pulumi.getter
1129
- def comparison(self) -> str:
1140
+ def comparison(self) -> _builtins.str:
1130
1141
  """
1131
1142
  The type of comparison to be executed between expected and actual value of the assertion. Possible values `EQUALS`, `NOT_EQUALS`, `HAS_KEY`, `NOT_HAS_KEY`, `HAS_VALUE`, `NOT_HAS_VALUE`, `IS_EMPTY`, `NOT_EMPTY`, `GREATER_THAN`, `LESS_THAN`, `CONTAINS`, `NOT_CONTAINS`, `IS_NULL`, and `NOT_NULL`.
1132
1143
  """
1133
1144
  return pulumi.get(self, "comparison")
1134
1145
 
1135
- @property
1146
+ @_builtins.property
1136
1147
  @pulumi.getter
1137
- def source(self) -> str:
1148
+ def source(self) -> _builtins.str:
1138
1149
  """
1139
1150
  The source of the asserted value. Possible values `STATUS_CODE`, `JSON_BODY`, `HEADERS`, `TEXT_BODY`, and `RESPONSE_TIME`.
1140
1151
  """
1141
1152
  return pulumi.get(self, "source")
1142
1153
 
1143
- @property
1154
+ @_builtins.property
1144
1155
  @pulumi.getter
1145
- def target(self) -> str:
1156
+ def target(self) -> _builtins.str:
1146
1157
  return pulumi.get(self, "target")
1147
1158
 
1148
- @property
1159
+ @_builtins.property
1149
1160
  @pulumi.getter
1150
- def property(self) -> Optional[str]:
1161
+ def property(self) -> Optional[_builtins.str]:
1151
1162
  return pulumi.get(self, "property")
1152
1163
 
1153
1164
 
1154
1165
  @pulumi.output_type
1155
1166
  class CheckGroupApiCheckDefaultsBasicAuth(dict):
1156
1167
  def __init__(__self__, *,
1157
- password: str,
1158
- username: str):
1168
+ password: _builtins.str,
1169
+ username: _builtins.str):
1159
1170
  pulumi.set(__self__, "password", password)
1160
1171
  pulumi.set(__self__, "username", username)
1161
1172
 
1162
- @property
1173
+ @_builtins.property
1163
1174
  @pulumi.getter
1164
- def password(self) -> str:
1175
+ def password(self) -> _builtins.str:
1165
1176
  return pulumi.get(self, "password")
1166
1177
 
1167
- @property
1178
+ @_builtins.property
1168
1179
  @pulumi.getter
1169
- def username(self) -> str:
1180
+ def username(self) -> _builtins.str:
1170
1181
  return pulumi.get(self, "username")
1171
1182
 
1172
1183
 
1173
1184
  @pulumi.output_type
1174
1185
  class CheckGroupEnvironmentVariable(dict):
1175
1186
  def __init__(__self__, *,
1176
- key: str,
1177
- value: str,
1178
- locked: Optional[bool] = None,
1179
- secret: Optional[bool] = None):
1187
+ key: _builtins.str,
1188
+ value: _builtins.str,
1189
+ locked: Optional[_builtins.bool] = None,
1190
+ secret: Optional[_builtins.bool] = None):
1180
1191
  pulumi.set(__self__, "key", key)
1181
1192
  pulumi.set(__self__, "value", value)
1182
1193
  if locked is not None:
@@ -1184,24 +1195,24 @@ class CheckGroupEnvironmentVariable(dict):
1184
1195
  if secret is not None:
1185
1196
  pulumi.set(__self__, "secret", secret)
1186
1197
 
1187
- @property
1198
+ @_builtins.property
1188
1199
  @pulumi.getter
1189
- def key(self) -> str:
1200
+ def key(self) -> _builtins.str:
1190
1201
  return pulumi.get(self, "key")
1191
1202
 
1192
- @property
1203
+ @_builtins.property
1193
1204
  @pulumi.getter
1194
- def value(self) -> str:
1205
+ def value(self) -> _builtins.str:
1195
1206
  return pulumi.get(self, "value")
1196
1207
 
1197
- @property
1208
+ @_builtins.property
1198
1209
  @pulumi.getter
1199
- def locked(self) -> Optional[bool]:
1210
+ def locked(self) -> Optional[_builtins.bool]:
1200
1211
  return pulumi.get(self, "locked")
1201
1212
 
1202
- @property
1213
+ @_builtins.property
1203
1214
  @pulumi.getter
1204
- def secret(self) -> Optional[bool]:
1215
+ def secret(self) -> Optional[_builtins.bool]:
1205
1216
  return pulumi.get(self, "secret")
1206
1217
 
1207
1218
 
@@ -1216,6 +1227,8 @@ class CheckGroupRetryStrategy(dict):
1216
1227
  suggest = "max_duration_seconds"
1217
1228
  elif key == "maxRetries":
1218
1229
  suggest = "max_retries"
1230
+ elif key == "onlyOn":
1231
+ suggest = "only_on"
1219
1232
  elif key == "sameRegion":
1220
1233
  suggest = "same_region"
1221
1234
 
@@ -1231,17 +1244,19 @@ class CheckGroupRetryStrategy(dict):
1231
1244
  return super().get(key, default)
1232
1245
 
1233
1246
  def __init__(__self__, *,
1234
- type: str,
1235
- base_backoff_seconds: Optional[int] = None,
1236
- max_duration_seconds: Optional[int] = None,
1237
- max_retries: Optional[int] = None,
1238
- same_region: Optional[bool] = None):
1239
- """
1240
- :param str type: Determines which type of retry strategy to use. Possible values are `FIXED`, `LINEAR`, or `EXPONENTIAL`.
1241
- :param int base_backoff_seconds: The number of seconds to wait before the first retry attempt.
1242
- :param int max_duration_seconds: The total amount of time to continue retrying the check (maximum 600 seconds).
1243
- :param int max_retries: The maximum number of times to retry the check. Value must be between 1 and 10.
1244
- :param bool same_region: Whether retries should be run in the same region as the initial check run.
1247
+ type: _builtins.str,
1248
+ base_backoff_seconds: Optional[_builtins.int] = None,
1249
+ max_duration_seconds: Optional[_builtins.int] = None,
1250
+ max_retries: Optional[_builtins.int] = None,
1251
+ only_on: Optional['outputs.CheckGroupRetryStrategyOnlyOn'] = None,
1252
+ same_region: Optional[_builtins.bool] = None):
1253
+ """
1254
+ :param _builtins.str type: Determines which type of retry strategy to use. Possible values are `FIXED`, `LINEAR`, `EXPONENTIAL`, `SINGLE_RETRY`, and `NO_RETRIES`.
1255
+ :param _builtins.int base_backoff_seconds: The number of seconds to wait before the first retry attempt. (Default `60`).
1256
+ :param _builtins.int max_duration_seconds: The total amount of time to continue retrying the check/monitor (maximum 600 seconds). Available when `type` is `FIXED`, `LINEAR`, or `EXPONENTIAL`. (Default `600`).
1257
+ :param _builtins.int max_retries: The maximum number of times to retry the check/monitor. Value must be between `1` and `10`. Available when `type` is `FIXED`, `LINEAR`, or `EXPONENTIAL`. (Default `2`).
1258
+ :param 'CheckGroupRetryStrategyOnlyOnArgs' only_on: Apply the retry strategy only if the defined conditions match.
1259
+ :param _builtins.bool same_region: Whether retries should be run in the same region as the initial check/monitor run. (Default `true`).
1245
1260
  """
1246
1261
  pulumi.set(__self__, "type", type)
1247
1262
  if base_backoff_seconds is not None:
@@ -1250,50 +1265,96 @@ class CheckGroupRetryStrategy(dict):
1250
1265
  pulumi.set(__self__, "max_duration_seconds", max_duration_seconds)
1251
1266
  if max_retries is not None:
1252
1267
  pulumi.set(__self__, "max_retries", max_retries)
1268
+ if only_on is not None:
1269
+ pulumi.set(__self__, "only_on", only_on)
1253
1270
  if same_region is not None:
1254
1271
  pulumi.set(__self__, "same_region", same_region)
1255
1272
 
1256
- @property
1273
+ @_builtins.property
1257
1274
  @pulumi.getter
1258
- def type(self) -> str:
1275
+ def type(self) -> _builtins.str:
1259
1276
  """
1260
- Determines which type of retry strategy to use. Possible values are `FIXED`, `LINEAR`, or `EXPONENTIAL`.
1277
+ Determines which type of retry strategy to use. Possible values are `FIXED`, `LINEAR`, `EXPONENTIAL`, `SINGLE_RETRY`, and `NO_RETRIES`.
1261
1278
  """
1262
1279
  return pulumi.get(self, "type")
1263
1280
 
1264
- @property
1281
+ @_builtins.property
1265
1282
  @pulumi.getter(name="baseBackoffSeconds")
1266
- def base_backoff_seconds(self) -> Optional[int]:
1283
+ def base_backoff_seconds(self) -> Optional[_builtins.int]:
1267
1284
  """
1268
- The number of seconds to wait before the first retry attempt.
1285
+ The number of seconds to wait before the first retry attempt. (Default `60`).
1269
1286
  """
1270
1287
  return pulumi.get(self, "base_backoff_seconds")
1271
1288
 
1272
- @property
1289
+ @_builtins.property
1273
1290
  @pulumi.getter(name="maxDurationSeconds")
1274
- def max_duration_seconds(self) -> Optional[int]:
1291
+ def max_duration_seconds(self) -> Optional[_builtins.int]:
1275
1292
  """
1276
- The total amount of time to continue retrying the check (maximum 600 seconds).
1293
+ The total amount of time to continue retrying the check/monitor (maximum 600 seconds). Available when `type` is `FIXED`, `LINEAR`, or `EXPONENTIAL`. (Default `600`).
1277
1294
  """
1278
1295
  return pulumi.get(self, "max_duration_seconds")
1279
1296
 
1280
- @property
1297
+ @_builtins.property
1281
1298
  @pulumi.getter(name="maxRetries")
1282
- def max_retries(self) -> Optional[int]:
1299
+ def max_retries(self) -> Optional[_builtins.int]:
1283
1300
  """
1284
- The maximum number of times to retry the check. Value must be between 1 and 10.
1301
+ The maximum number of times to retry the check/monitor. Value must be between `1` and `10`. Available when `type` is `FIXED`, `LINEAR`, or `EXPONENTIAL`. (Default `2`).
1285
1302
  """
1286
1303
  return pulumi.get(self, "max_retries")
1287
1304
 
1288
- @property
1305
+ @_builtins.property
1306
+ @pulumi.getter(name="onlyOn")
1307
+ def only_on(self) -> Optional['outputs.CheckGroupRetryStrategyOnlyOn']:
1308
+ """
1309
+ Apply the retry strategy only if the defined conditions match.
1310
+ """
1311
+ return pulumi.get(self, "only_on")
1312
+
1313
+ @_builtins.property
1289
1314
  @pulumi.getter(name="sameRegion")
1290
- def same_region(self) -> Optional[bool]:
1315
+ def same_region(self) -> Optional[_builtins.bool]:
1291
1316
  """
1292
- Whether retries should be run in the same region as the initial check run.
1317
+ Whether retries should be run in the same region as the initial check/monitor run. (Default `true`).
1293
1318
  """
1294
1319
  return pulumi.get(self, "same_region")
1295
1320
 
1296
1321
 
1322
+ @pulumi.output_type
1323
+ class CheckGroupRetryStrategyOnlyOn(dict):
1324
+ @staticmethod
1325
+ def __key_warning(key: str):
1326
+ suggest = None
1327
+ if key == "networkError":
1328
+ suggest = "network_error"
1329
+
1330
+ if suggest:
1331
+ pulumi.log.warn(f"Key '{key}' not found in CheckGroupRetryStrategyOnlyOn. Access the value via the '{suggest}' property getter instead.")
1332
+
1333
+ def __getitem__(self, key: str) -> Any:
1334
+ CheckGroupRetryStrategyOnlyOn.__key_warning(key)
1335
+ return super().__getitem__(key)
1336
+
1337
+ def get(self, key: str, default = None) -> Any:
1338
+ CheckGroupRetryStrategyOnlyOn.__key_warning(key)
1339
+ return super().get(key, default)
1340
+
1341
+ def __init__(__self__, *,
1342
+ network_error: Optional[_builtins.bool] = None):
1343
+ """
1344
+ :param _builtins.bool network_error: When `true`, retry only if the cause of the failure is a network error. (Default `false`).
1345
+ """
1346
+ if network_error is not None:
1347
+ pulumi.set(__self__, "network_error", network_error)
1348
+
1349
+ @_builtins.property
1350
+ @pulumi.getter(name="networkError")
1351
+ def network_error(self) -> Optional[_builtins.bool]:
1352
+ """
1353
+ When `true`, retry only if the cause of the failure is a network error. (Default `false`).
1354
+ """
1355
+ return pulumi.get(self, "network_error")
1356
+
1357
+
1297
1358
  @pulumi.output_type
1298
1359
  class CheckRequest(dict):
1299
1360
  @staticmethod
@@ -1324,24 +1385,24 @@ class CheckRequest(dict):
1324
1385
  return super().get(key, default)
1325
1386
 
1326
1387
  def __init__(__self__, *,
1327
- url: str,
1388
+ url: _builtins.str,
1328
1389
  assertions: Optional[Sequence['outputs.CheckRequestAssertion']] = None,
1329
1390
  basic_auth: Optional['outputs.CheckRequestBasicAuth'] = None,
1330
- body: Optional[str] = None,
1331
- body_type: Optional[str] = None,
1332
- follow_redirects: Optional[bool] = None,
1333
- headers: Optional[Mapping[str, str]] = None,
1334
- ip_family: Optional[str] = None,
1335
- method: Optional[str] = None,
1336
- query_parameters: Optional[Mapping[str, str]] = None,
1337
- skip_ssl: Optional[bool] = None):
1391
+ body: Optional[_builtins.str] = None,
1392
+ body_type: Optional[_builtins.str] = None,
1393
+ follow_redirects: Optional[_builtins.bool] = None,
1394
+ headers: Optional[Mapping[str, _builtins.str]] = None,
1395
+ ip_family: Optional[_builtins.str] = None,
1396
+ method: Optional[_builtins.str] = None,
1397
+ query_parameters: Optional[Mapping[str, _builtins.str]] = None,
1398
+ skip_ssl: Optional[_builtins.bool] = None):
1338
1399
  """
1339
1400
  :param Sequence['CheckRequestAssertionArgs'] assertions: A request can have multiple assertions.
1340
1401
  :param 'CheckRequestBasicAuthArgs' basic_auth: Set up HTTP basic authentication (username & password).
1341
- :param str body: The body of the request.
1342
- :param str body_type: The `Content-Type` header of the request. Possible values `NONE`, `JSON`, `FORM`, `RAW`, and `GRAPHQL`.
1343
- :param str ip_family: IP Family to be used when executing the api check. The value can be either IPv4 or IPv6.
1344
- :param str method: The HTTP method to use for this API check. Possible values are `GET`, `POST`, `PUT`, `HEAD`, `DELETE`, `PATCH`. (Default `GET`).
1402
+ :param _builtins.str body: The body of the request.
1403
+ :param _builtins.str body_type: The `Content-Type` header of the request. Possible values `NONE`, `JSON`, `FORM`, `RAW`, and `GRAPHQL`.
1404
+ :param _builtins.str ip_family: IP Family to be used when executing the api check. The value can be either IPv4 or IPv6.
1405
+ :param _builtins.str method: The HTTP method to use for this API check. Possible values are `GET`, `POST`, `PUT`, `HEAD`, `DELETE`, `PATCH`. (Default `GET`).
1345
1406
  """
1346
1407
  pulumi.set(__self__, "url", url)
1347
1408
  if assertions is not None:
@@ -1365,12 +1426,12 @@ class CheckRequest(dict):
1365
1426
  if skip_ssl is not None:
1366
1427
  pulumi.set(__self__, "skip_ssl", skip_ssl)
1367
1428
 
1368
- @property
1429
+ @_builtins.property
1369
1430
  @pulumi.getter
1370
- def url(self) -> str:
1431
+ def url(self) -> _builtins.str:
1371
1432
  return pulumi.get(self, "url")
1372
1433
 
1373
- @property
1434
+ @_builtins.property
1374
1435
  @pulumi.getter
1375
1436
  def assertions(self) -> Optional[Sequence['outputs.CheckRequestAssertion']]:
1376
1437
  """
@@ -1378,7 +1439,7 @@ class CheckRequest(dict):
1378
1439
  """
1379
1440
  return pulumi.get(self, "assertions")
1380
1441
 
1381
- @property
1442
+ @_builtins.property
1382
1443
  @pulumi.getter(name="basicAuth")
1383
1444
  def basic_auth(self) -> Optional['outputs.CheckRequestBasicAuth']:
1384
1445
  """
@@ -1386,69 +1447,69 @@ class CheckRequest(dict):
1386
1447
  """
1387
1448
  return pulumi.get(self, "basic_auth")
1388
1449
 
1389
- @property
1450
+ @_builtins.property
1390
1451
  @pulumi.getter
1391
- def body(self) -> Optional[str]:
1452
+ def body(self) -> Optional[_builtins.str]:
1392
1453
  """
1393
1454
  The body of the request.
1394
1455
  """
1395
1456
  return pulumi.get(self, "body")
1396
1457
 
1397
- @property
1458
+ @_builtins.property
1398
1459
  @pulumi.getter(name="bodyType")
1399
- def body_type(self) -> Optional[str]:
1460
+ def body_type(self) -> Optional[_builtins.str]:
1400
1461
  """
1401
1462
  The `Content-Type` header of the request. Possible values `NONE`, `JSON`, `FORM`, `RAW`, and `GRAPHQL`.
1402
1463
  """
1403
1464
  return pulumi.get(self, "body_type")
1404
1465
 
1405
- @property
1466
+ @_builtins.property
1406
1467
  @pulumi.getter(name="followRedirects")
1407
- def follow_redirects(self) -> Optional[bool]:
1468
+ def follow_redirects(self) -> Optional[_builtins.bool]:
1408
1469
  return pulumi.get(self, "follow_redirects")
1409
1470
 
1410
- @property
1471
+ @_builtins.property
1411
1472
  @pulumi.getter
1412
- def headers(self) -> Optional[Mapping[str, str]]:
1473
+ def headers(self) -> Optional[Mapping[str, _builtins.str]]:
1413
1474
  return pulumi.get(self, "headers")
1414
1475
 
1415
- @property
1476
+ @_builtins.property
1416
1477
  @pulumi.getter(name="ipFamily")
1417
- def ip_family(self) -> Optional[str]:
1478
+ def ip_family(self) -> Optional[_builtins.str]:
1418
1479
  """
1419
1480
  IP Family to be used when executing the api check. The value can be either IPv4 or IPv6.
1420
1481
  """
1421
1482
  return pulumi.get(self, "ip_family")
1422
1483
 
1423
- @property
1484
+ @_builtins.property
1424
1485
  @pulumi.getter
1425
- def method(self) -> Optional[str]:
1486
+ def method(self) -> Optional[_builtins.str]:
1426
1487
  """
1427
1488
  The HTTP method to use for this API check. Possible values are `GET`, `POST`, `PUT`, `HEAD`, `DELETE`, `PATCH`. (Default `GET`).
1428
1489
  """
1429
1490
  return pulumi.get(self, "method")
1430
1491
 
1431
- @property
1492
+ @_builtins.property
1432
1493
  @pulumi.getter(name="queryParameters")
1433
- def query_parameters(self) -> Optional[Mapping[str, str]]:
1494
+ def query_parameters(self) -> Optional[Mapping[str, _builtins.str]]:
1434
1495
  return pulumi.get(self, "query_parameters")
1435
1496
 
1436
- @property
1497
+ @_builtins.property
1437
1498
  @pulumi.getter(name="skipSsl")
1438
- def skip_ssl(self) -> Optional[bool]:
1499
+ def skip_ssl(self) -> Optional[_builtins.bool]:
1439
1500
  return pulumi.get(self, "skip_ssl")
1440
1501
 
1441
1502
 
1442
1503
  @pulumi.output_type
1443
1504
  class CheckRequestAssertion(dict):
1444
1505
  def __init__(__self__, *,
1445
- comparison: str,
1446
- source: str,
1447
- property: Optional[str] = None,
1448
- target: Optional[str] = None):
1506
+ comparison: _builtins.str,
1507
+ source: _builtins.str,
1508
+ property: Optional[_builtins.str] = None,
1509
+ target: Optional[_builtins.str] = None):
1449
1510
  """
1450
- :param str comparison: The type of comparison to be executed between expected and actual value of the assertion. Possible values `EQUALS`, `NOT_EQUALS`, `HAS_KEY`, `NOT_HAS_KEY`, `HAS_VALUE`, `NOT_HAS_VALUE`, `IS_EMPTY`, `NOT_EMPTY`, `GREATER_THAN`, `LESS_THAN`, `CONTAINS`, `NOT_CONTAINS`, `IS_NULL`, and `NOT_NULL`.
1451
- :param str source: The source of the asserted value. Possible values `STATUS_CODE`, `JSON_BODY`, `HEADERS`, `TEXT_BODY`, and `RESPONSE_TIME`.
1511
+ :param _builtins.str comparison: The type of comparison to be executed between expected and actual value of the assertion. Possible values `EQUALS`, `NOT_EQUALS`, `HAS_KEY`, `NOT_HAS_KEY`, `HAS_VALUE`, `NOT_HAS_VALUE`, `IS_EMPTY`, `NOT_EMPTY`, `GREATER_THAN`, `LESS_THAN`, `CONTAINS`, `NOT_CONTAINS`, `IS_NULL`, and `NOT_NULL`.
1512
+ :param _builtins.str source: The source of the asserted value. Possible values `STATUS_CODE`, `JSON_BODY`, `HEADERS`, `TEXT_BODY`, and `RESPONSE_TIME`.
1452
1513
  """
1453
1514
  pulumi.set(__self__, "comparison", comparison)
1454
1515
  pulumi.set(__self__, "source", source)
@@ -1457,49 +1518,49 @@ class CheckRequestAssertion(dict):
1457
1518
  if target is not None:
1458
1519
  pulumi.set(__self__, "target", target)
1459
1520
 
1460
- @property
1521
+ @_builtins.property
1461
1522
  @pulumi.getter
1462
- def comparison(self) -> str:
1523
+ def comparison(self) -> _builtins.str:
1463
1524
  """
1464
1525
  The type of comparison to be executed between expected and actual value of the assertion. Possible values `EQUALS`, `NOT_EQUALS`, `HAS_KEY`, `NOT_HAS_KEY`, `HAS_VALUE`, `NOT_HAS_VALUE`, `IS_EMPTY`, `NOT_EMPTY`, `GREATER_THAN`, `LESS_THAN`, `CONTAINS`, `NOT_CONTAINS`, `IS_NULL`, and `NOT_NULL`.
1465
1526
  """
1466
1527
  return pulumi.get(self, "comparison")
1467
1528
 
1468
- @property
1529
+ @_builtins.property
1469
1530
  @pulumi.getter
1470
- def source(self) -> str:
1531
+ def source(self) -> _builtins.str:
1471
1532
  """
1472
1533
  The source of the asserted value. Possible values `STATUS_CODE`, `JSON_BODY`, `HEADERS`, `TEXT_BODY`, and `RESPONSE_TIME`.
1473
1534
  """
1474
1535
  return pulumi.get(self, "source")
1475
1536
 
1476
- @property
1537
+ @_builtins.property
1477
1538
  @pulumi.getter
1478
- def target(self) -> Optional[str]:
1479
- return pulumi.get(self, "target")
1539
+ def property(self) -> Optional[_builtins.str]:
1540
+ return pulumi.get(self, "property")
1480
1541
 
1481
- @property
1542
+ @_builtins.property
1482
1543
  @pulumi.getter
1483
- def property(self) -> Optional[str]:
1484
- return pulumi.get(self, "property")
1544
+ def target(self) -> Optional[_builtins.str]:
1545
+ return pulumi.get(self, "target")
1485
1546
 
1486
1547
 
1487
1548
  @pulumi.output_type
1488
1549
  class CheckRequestBasicAuth(dict):
1489
1550
  def __init__(__self__, *,
1490
- password: str,
1491
- username: str):
1551
+ password: _builtins.str,
1552
+ username: _builtins.str):
1492
1553
  pulumi.set(__self__, "password", password)
1493
1554
  pulumi.set(__self__, "username", username)
1494
1555
 
1495
- @property
1556
+ @_builtins.property
1496
1557
  @pulumi.getter
1497
- def password(self) -> str:
1558
+ def password(self) -> _builtins.str:
1498
1559
  return pulumi.get(self, "password")
1499
1560
 
1500
- @property
1561
+ @_builtins.property
1501
1562
  @pulumi.getter
1502
- def username(self) -> str:
1563
+ def username(self) -> _builtins.str:
1503
1564
  return pulumi.get(self, "username")
1504
1565
 
1505
1566
 
@@ -1514,6 +1575,8 @@ class CheckRetryStrategy(dict):
1514
1575
  suggest = "max_duration_seconds"
1515
1576
  elif key == "maxRetries":
1516
1577
  suggest = "max_retries"
1578
+ elif key == "onlyOn":
1579
+ suggest = "only_on"
1517
1580
  elif key == "sameRegion":
1518
1581
  suggest = "same_region"
1519
1582
 
@@ -1529,17 +1592,19 @@ class CheckRetryStrategy(dict):
1529
1592
  return super().get(key, default)
1530
1593
 
1531
1594
  def __init__(__self__, *,
1532
- type: str,
1533
- base_backoff_seconds: Optional[int] = None,
1534
- max_duration_seconds: Optional[int] = None,
1535
- max_retries: Optional[int] = None,
1536
- same_region: Optional[bool] = None):
1537
- """
1538
- :param str type: Determines which type of retry strategy to use. Possible values are `FIXED`, `LINEAR`, or `EXPONENTIAL`.
1539
- :param int base_backoff_seconds: The number of seconds to wait before the first retry attempt.
1540
- :param int max_duration_seconds: The total amount of time to continue retrying the check (maximum 600 seconds).
1541
- :param int max_retries: The maximum number of times to retry the check. Value must be between 1 and 10.
1542
- :param bool same_region: Whether retries should be run in the same region as the initial check run.
1595
+ type: _builtins.str,
1596
+ base_backoff_seconds: Optional[_builtins.int] = None,
1597
+ max_duration_seconds: Optional[_builtins.int] = None,
1598
+ max_retries: Optional[_builtins.int] = None,
1599
+ only_on: Optional['outputs.CheckRetryStrategyOnlyOn'] = None,
1600
+ same_region: Optional[_builtins.bool] = None):
1601
+ """
1602
+ :param _builtins.str type: Determines which type of retry strategy to use. Possible values are `FIXED`, `LINEAR`, `EXPONENTIAL`, `SINGLE_RETRY`, and `NO_RETRIES`.
1603
+ :param _builtins.int base_backoff_seconds: The number of seconds to wait before the first retry attempt. (Default `60`).
1604
+ :param _builtins.int max_duration_seconds: The total amount of time to continue retrying the check/monitor (maximum 600 seconds). Available when `type` is `FIXED`, `LINEAR`, or `EXPONENTIAL`. (Default `600`).
1605
+ :param _builtins.int max_retries: The maximum number of times to retry the check/monitor. Value must be between `1` and `10`. Available when `type` is `FIXED`, `LINEAR`, or `EXPONENTIAL`. (Default `2`).
1606
+ :param 'CheckRetryStrategyOnlyOnArgs' only_on: Apply the retry strategy only if the defined conditions match.
1607
+ :param _builtins.bool same_region: Whether retries should be run in the same region as the initial check/monitor run. (Default `true`).
1543
1608
  """
1544
1609
  pulumi.set(__self__, "type", type)
1545
1610
  if base_backoff_seconds is not None:
@@ -1548,50 +1613,177 @@ class CheckRetryStrategy(dict):
1548
1613
  pulumi.set(__self__, "max_duration_seconds", max_duration_seconds)
1549
1614
  if max_retries is not None:
1550
1615
  pulumi.set(__self__, "max_retries", max_retries)
1616
+ if only_on is not None:
1617
+ pulumi.set(__self__, "only_on", only_on)
1551
1618
  if same_region is not None:
1552
1619
  pulumi.set(__self__, "same_region", same_region)
1553
1620
 
1554
- @property
1621
+ @_builtins.property
1555
1622
  @pulumi.getter
1556
- def type(self) -> str:
1623
+ def type(self) -> _builtins.str:
1557
1624
  """
1558
- Determines which type of retry strategy to use. Possible values are `FIXED`, `LINEAR`, or `EXPONENTIAL`.
1625
+ Determines which type of retry strategy to use. Possible values are `FIXED`, `LINEAR`, `EXPONENTIAL`, `SINGLE_RETRY`, and `NO_RETRIES`.
1559
1626
  """
1560
1627
  return pulumi.get(self, "type")
1561
1628
 
1562
- @property
1629
+ @_builtins.property
1563
1630
  @pulumi.getter(name="baseBackoffSeconds")
1564
- def base_backoff_seconds(self) -> Optional[int]:
1631
+ def base_backoff_seconds(self) -> Optional[_builtins.int]:
1565
1632
  """
1566
- The number of seconds to wait before the first retry attempt.
1633
+ The number of seconds to wait before the first retry attempt. (Default `60`).
1567
1634
  """
1568
1635
  return pulumi.get(self, "base_backoff_seconds")
1569
1636
 
1570
- @property
1637
+ @_builtins.property
1571
1638
  @pulumi.getter(name="maxDurationSeconds")
1572
- def max_duration_seconds(self) -> Optional[int]:
1639
+ def max_duration_seconds(self) -> Optional[_builtins.int]:
1573
1640
  """
1574
- The total amount of time to continue retrying the check (maximum 600 seconds).
1641
+ The total amount of time to continue retrying the check/monitor (maximum 600 seconds). Available when `type` is `FIXED`, `LINEAR`, or `EXPONENTIAL`. (Default `600`).
1575
1642
  """
1576
1643
  return pulumi.get(self, "max_duration_seconds")
1577
1644
 
1578
- @property
1645
+ @_builtins.property
1579
1646
  @pulumi.getter(name="maxRetries")
1580
- def max_retries(self) -> Optional[int]:
1647
+ def max_retries(self) -> Optional[_builtins.int]:
1581
1648
  """
1582
- The maximum number of times to retry the check. Value must be between 1 and 10.
1649
+ The maximum number of times to retry the check/monitor. Value must be between `1` and `10`. Available when `type` is `FIXED`, `LINEAR`, or `EXPONENTIAL`. (Default `2`).
1583
1650
  """
1584
1651
  return pulumi.get(self, "max_retries")
1585
1652
 
1586
- @property
1653
+ @_builtins.property
1654
+ @pulumi.getter(name="onlyOn")
1655
+ def only_on(self) -> Optional['outputs.CheckRetryStrategyOnlyOn']:
1656
+ """
1657
+ Apply the retry strategy only if the defined conditions match.
1658
+ """
1659
+ return pulumi.get(self, "only_on")
1660
+
1661
+ @_builtins.property
1587
1662
  @pulumi.getter(name="sameRegion")
1588
- def same_region(self) -> Optional[bool]:
1663
+ def same_region(self) -> Optional[_builtins.bool]:
1589
1664
  """
1590
- Whether retries should be run in the same region as the initial check run.
1665
+ Whether retries should be run in the same region as the initial check/monitor run. (Default `true`).
1591
1666
  """
1592
1667
  return pulumi.get(self, "same_region")
1593
1668
 
1594
1669
 
1670
+ @pulumi.output_type
1671
+ class CheckRetryStrategyOnlyOn(dict):
1672
+ @staticmethod
1673
+ def __key_warning(key: str):
1674
+ suggest = None
1675
+ if key == "networkError":
1676
+ suggest = "network_error"
1677
+
1678
+ if suggest:
1679
+ pulumi.log.warn(f"Key '{key}' not found in CheckRetryStrategyOnlyOn. Access the value via the '{suggest}' property getter instead.")
1680
+
1681
+ def __getitem__(self, key: str) -> Any:
1682
+ CheckRetryStrategyOnlyOn.__key_warning(key)
1683
+ return super().__getitem__(key)
1684
+
1685
+ def get(self, key: str, default = None) -> Any:
1686
+ CheckRetryStrategyOnlyOn.__key_warning(key)
1687
+ return super().get(key, default)
1688
+
1689
+ def __init__(__self__, *,
1690
+ network_error: Optional[_builtins.bool] = None):
1691
+ """
1692
+ :param _builtins.bool network_error: When `true`, retry only if the cause of the failure is a network error. (Default `false`).
1693
+ """
1694
+ if network_error is not None:
1695
+ pulumi.set(__self__, "network_error", network_error)
1696
+
1697
+ @_builtins.property
1698
+ @pulumi.getter(name="networkError")
1699
+ def network_error(self) -> Optional[_builtins.bool]:
1700
+ """
1701
+ When `true`, retry only if the cause of the failure is a network error. (Default `false`).
1702
+ """
1703
+ return pulumi.get(self, "network_error")
1704
+
1705
+
1706
+ @pulumi.output_type
1707
+ class CheckTriggerIncident(dict):
1708
+ @staticmethod
1709
+ def __key_warning(key: str):
1710
+ suggest = None
1711
+ if key == "notifySubscribers":
1712
+ suggest = "notify_subscribers"
1713
+ elif key == "serviceId":
1714
+ suggest = "service_id"
1715
+
1716
+ if suggest:
1717
+ pulumi.log.warn(f"Key '{key}' not found in CheckTriggerIncident. Access the value via the '{suggest}' property getter instead.")
1718
+
1719
+ def __getitem__(self, key: str) -> Any:
1720
+ CheckTriggerIncident.__key_warning(key)
1721
+ return super().__getitem__(key)
1722
+
1723
+ def get(self, key: str, default = None) -> Any:
1724
+ CheckTriggerIncident.__key_warning(key)
1725
+ return super().get(key, default)
1726
+
1727
+ def __init__(__self__, *,
1728
+ description: _builtins.str,
1729
+ name: _builtins.str,
1730
+ notify_subscribers: _builtins.bool,
1731
+ service_id: _builtins.str,
1732
+ severity: _builtins.str):
1733
+ """
1734
+ :param _builtins.str description: A detailed description of the incident.
1735
+ :param _builtins.str name: The name of the incident.
1736
+ :param _builtins.bool notify_subscribers: Whether to notify subscribers when the incident is triggered.
1737
+ :param _builtins.str service_id: The status page service that this incident will be associated with.
1738
+ :param _builtins.str severity: The severity level of the incident. Possible values are `MINOR`, `MEDIUM`, `MAJOR`, and `CRITICAL`.
1739
+ """
1740
+ pulumi.set(__self__, "description", description)
1741
+ pulumi.set(__self__, "name", name)
1742
+ pulumi.set(__self__, "notify_subscribers", notify_subscribers)
1743
+ pulumi.set(__self__, "service_id", service_id)
1744
+ pulumi.set(__self__, "severity", severity)
1745
+
1746
+ @_builtins.property
1747
+ @pulumi.getter
1748
+ def description(self) -> _builtins.str:
1749
+ """
1750
+ A detailed description of the incident.
1751
+ """
1752
+ return pulumi.get(self, "description")
1753
+
1754
+ @_builtins.property
1755
+ @pulumi.getter
1756
+ def name(self) -> _builtins.str:
1757
+ """
1758
+ The name of the incident.
1759
+ """
1760
+ return pulumi.get(self, "name")
1761
+
1762
+ @_builtins.property
1763
+ @pulumi.getter(name="notifySubscribers")
1764
+ def notify_subscribers(self) -> _builtins.bool:
1765
+ """
1766
+ Whether to notify subscribers when the incident is triggered.
1767
+ """
1768
+ return pulumi.get(self, "notify_subscribers")
1769
+
1770
+ @_builtins.property
1771
+ @pulumi.getter(name="serviceId")
1772
+ def service_id(self) -> _builtins.str:
1773
+ """
1774
+ The status page service that this incident will be associated with.
1775
+ """
1776
+ return pulumi.get(self, "service_id")
1777
+
1778
+ @_builtins.property
1779
+ @pulumi.getter
1780
+ def severity(self) -> _builtins.str:
1781
+ """
1782
+ The severity level of the incident. Possible values are `MINOR`, `MEDIUM`, `MAJOR`, and `CRITICAL`.
1783
+ """
1784
+ return pulumi.get(self, "severity")
1785
+
1786
+
1595
1787
  @pulumi.output_type
1596
1788
  class HeartbeatCheckAlertChannelSubscription(dict):
1597
1789
  @staticmethod
@@ -1612,19 +1804,19 @@ class HeartbeatCheckAlertChannelSubscription(dict):
1612
1804
  return super().get(key, default)
1613
1805
 
1614
1806
  def __init__(__self__, *,
1615
- activated: bool,
1616
- channel_id: int):
1807
+ activated: _builtins.bool,
1808
+ channel_id: _builtins.int):
1617
1809
  pulumi.set(__self__, "activated", activated)
1618
1810
  pulumi.set(__self__, "channel_id", channel_id)
1619
1811
 
1620
- @property
1812
+ @_builtins.property
1621
1813
  @pulumi.getter
1622
- def activated(self) -> bool:
1814
+ def activated(self) -> _builtins.bool:
1623
1815
  return pulumi.get(self, "activated")
1624
1816
 
1625
- @property
1817
+ @_builtins.property
1626
1818
  @pulumi.getter(name="channelId")
1627
- def channel_id(self) -> int:
1819
+ def channel_id(self) -> _builtins.int:
1628
1820
  return pulumi.get(self, "channel_id")
1629
1821
 
1630
1822
 
@@ -1656,14 +1848,14 @@ class HeartbeatCheckAlertSettings(dict):
1656
1848
  return super().get(key, default)
1657
1849
 
1658
1850
  def __init__(__self__, *,
1659
- escalation_type: Optional[str] = None,
1851
+ escalation_type: Optional[_builtins.str] = None,
1660
1852
  parallel_run_failure_thresholds: Optional[Sequence['outputs.HeartbeatCheckAlertSettingsParallelRunFailureThreshold']] = None,
1661
1853
  reminders: Optional[Sequence['outputs.HeartbeatCheckAlertSettingsReminder']] = None,
1662
1854
  run_based_escalations: Optional[Sequence['outputs.HeartbeatCheckAlertSettingsRunBasedEscalation']] = None,
1663
1855
  ssl_certificates: Optional[Sequence['outputs.HeartbeatCheckAlertSettingsSslCertificate']] = None,
1664
1856
  time_based_escalations: Optional[Sequence['outputs.HeartbeatCheckAlertSettingsTimeBasedEscalation']] = None):
1665
1857
  """
1666
- :param str escalation_type: Determines what type of escalation to use. Possible values are `RUN_BASED` or `TIME_BASED`.
1858
+ :param _builtins.str escalation_type: Determines what type of escalation to use. Possible values are `RUN_BASED` or `TIME_BASED`.
1667
1859
  """
1668
1860
  if escalation_type is not None:
1669
1861
  pulumi.set(__self__, "escalation_type", escalation_type)
@@ -1678,36 +1870,36 @@ class HeartbeatCheckAlertSettings(dict):
1678
1870
  if time_based_escalations is not None:
1679
1871
  pulumi.set(__self__, "time_based_escalations", time_based_escalations)
1680
1872
 
1681
- @property
1873
+ @_builtins.property
1682
1874
  @pulumi.getter(name="escalationType")
1683
- def escalation_type(self) -> Optional[str]:
1875
+ def escalation_type(self) -> Optional[_builtins.str]:
1684
1876
  """
1685
1877
  Determines what type of escalation to use. Possible values are `RUN_BASED` or `TIME_BASED`.
1686
1878
  """
1687
1879
  return pulumi.get(self, "escalation_type")
1688
1880
 
1689
- @property
1881
+ @_builtins.property
1690
1882
  @pulumi.getter(name="parallelRunFailureThresholds")
1691
1883
  def parallel_run_failure_thresholds(self) -> Optional[Sequence['outputs.HeartbeatCheckAlertSettingsParallelRunFailureThreshold']]:
1692
1884
  return pulumi.get(self, "parallel_run_failure_thresholds")
1693
1885
 
1694
- @property
1886
+ @_builtins.property
1695
1887
  @pulumi.getter
1696
1888
  def reminders(self) -> Optional[Sequence['outputs.HeartbeatCheckAlertSettingsReminder']]:
1697
1889
  return pulumi.get(self, "reminders")
1698
1890
 
1699
- @property
1891
+ @_builtins.property
1700
1892
  @pulumi.getter(name="runBasedEscalations")
1701
1893
  def run_based_escalations(self) -> Optional[Sequence['outputs.HeartbeatCheckAlertSettingsRunBasedEscalation']]:
1702
1894
  return pulumi.get(self, "run_based_escalations")
1703
1895
 
1704
- @property
1896
+ @_builtins.property
1705
1897
  @pulumi.getter(name="sslCertificates")
1706
1898
  @_utilities.deprecated("""This property is deprecated and it's ignored by the Checkly Public API. It will be removed in a future version.""")
1707
1899
  def ssl_certificates(self) -> Optional[Sequence['outputs.HeartbeatCheckAlertSettingsSslCertificate']]:
1708
1900
  return pulumi.get(self, "ssl_certificates")
1709
1901
 
1710
- @property
1902
+ @_builtins.property
1711
1903
  @pulumi.getter(name="timeBasedEscalations")
1712
1904
  def time_based_escalations(self) -> Optional[Sequence['outputs.HeartbeatCheckAlertSettingsTimeBasedEscalation']]:
1713
1905
  return pulumi.get(self, "time_based_escalations")
@@ -1716,28 +1908,28 @@ class HeartbeatCheckAlertSettings(dict):
1716
1908
  @pulumi.output_type
1717
1909
  class HeartbeatCheckAlertSettingsParallelRunFailureThreshold(dict):
1718
1910
  def __init__(__self__, *,
1719
- enabled: Optional[bool] = None,
1720
- percentage: Optional[int] = None):
1911
+ enabled: Optional[_builtins.bool] = None,
1912
+ percentage: Optional[_builtins.int] = None):
1721
1913
  """
1722
- :param bool enabled: Applicable only for checks scheduled in parallel in multiple locations.
1723
- :param int percentage: Possible values are `10`, `20`, `30`, `40`, `50`, `60`, `70`, `80`, `100`, and `100`. (Default `10`).
1914
+ :param _builtins.bool enabled: Applicable only for checks scheduled in parallel in multiple locations.
1915
+ :param _builtins.int percentage: Possible values are `10`, `20`, `30`, `40`, `50`, `60`, `70`, `80`, `100`, and `100`. (Default `10`).
1724
1916
  """
1725
1917
  if enabled is not None:
1726
1918
  pulumi.set(__self__, "enabled", enabled)
1727
1919
  if percentage is not None:
1728
1920
  pulumi.set(__self__, "percentage", percentage)
1729
1921
 
1730
- @property
1922
+ @_builtins.property
1731
1923
  @pulumi.getter
1732
- def enabled(self) -> Optional[bool]:
1924
+ def enabled(self) -> Optional[_builtins.bool]:
1733
1925
  """
1734
1926
  Applicable only for checks scheduled in parallel in multiple locations.
1735
1927
  """
1736
1928
  return pulumi.get(self, "enabled")
1737
1929
 
1738
- @property
1930
+ @_builtins.property
1739
1931
  @pulumi.getter
1740
- def percentage(self) -> Optional[int]:
1932
+ def percentage(self) -> Optional[_builtins.int]:
1741
1933
  """
1742
1934
  Possible values are `10`, `20`, `30`, `40`, `50`, `60`, `70`, `80`, `100`, and `100`. (Default `10`).
1743
1935
  """
@@ -1747,28 +1939,28 @@ class HeartbeatCheckAlertSettingsParallelRunFailureThreshold(dict):
1747
1939
  @pulumi.output_type
1748
1940
  class HeartbeatCheckAlertSettingsReminder(dict):
1749
1941
  def __init__(__self__, *,
1750
- amount: Optional[int] = None,
1751
- interval: Optional[int] = None):
1942
+ amount: Optional[_builtins.int] = None,
1943
+ interval: Optional[_builtins.int] = None):
1752
1944
  """
1753
- :param int amount: How many reminders to send out after the initial alert notification. Possible values are `0`, `1`, `2`, `3`, `4`, `5`, and `100000`
1754
- :param int interval: Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
1945
+ :param _builtins.int amount: How many reminders to send out after the initial alert notification. Possible values are `0`, `1`, `2`, `3`, `4`, `5`, and `100000`
1946
+ :param _builtins.int interval: Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
1755
1947
  """
1756
1948
  if amount is not None:
1757
1949
  pulumi.set(__self__, "amount", amount)
1758
1950
  if interval is not None:
1759
1951
  pulumi.set(__self__, "interval", interval)
1760
1952
 
1761
- @property
1953
+ @_builtins.property
1762
1954
  @pulumi.getter
1763
- def amount(self) -> Optional[int]:
1955
+ def amount(self) -> Optional[_builtins.int]:
1764
1956
  """
1765
1957
  How many reminders to send out after the initial alert notification. Possible values are `0`, `1`, `2`, `3`, `4`, `5`, and `100000`
1766
1958
  """
1767
1959
  return pulumi.get(self, "amount")
1768
1960
 
1769
- @property
1961
+ @_builtins.property
1770
1962
  @pulumi.getter
1771
- def interval(self) -> Optional[int]:
1963
+ def interval(self) -> Optional[_builtins.int]:
1772
1964
  """
1773
1965
  Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
1774
1966
  """
@@ -1795,16 +1987,16 @@ class HeartbeatCheckAlertSettingsRunBasedEscalation(dict):
1795
1987
  return super().get(key, default)
1796
1988
 
1797
1989
  def __init__(__self__, *,
1798
- failed_run_threshold: Optional[int] = None):
1990
+ failed_run_threshold: Optional[_builtins.int] = None):
1799
1991
  """
1800
- :param int failed_run_threshold: After how many failed consecutive check runs an alert notification should be sent. Possible values are between 1 and 5. (Default `1`).
1992
+ :param _builtins.int failed_run_threshold: After how many failed consecutive check runs an alert notification should be sent. Possible values are between 1 and 5. (Default `1`).
1801
1993
  """
1802
1994
  if failed_run_threshold is not None:
1803
1995
  pulumi.set(__self__, "failed_run_threshold", failed_run_threshold)
1804
1996
 
1805
- @property
1997
+ @_builtins.property
1806
1998
  @pulumi.getter(name="failedRunThreshold")
1807
- def failed_run_threshold(self) -> Optional[int]:
1999
+ def failed_run_threshold(self) -> Optional[_builtins.int]:
1808
2000
  """
1809
2001
  After how many failed consecutive check runs an alert notification should be sent. Possible values are between 1 and 5. (Default `1`).
1810
2002
  """
@@ -1831,28 +2023,28 @@ class HeartbeatCheckAlertSettingsSslCertificate(dict):
1831
2023
  return super().get(key, default)
1832
2024
 
1833
2025
  def __init__(__self__, *,
1834
- alert_threshold: Optional[int] = None,
1835
- enabled: Optional[bool] = None):
2026
+ alert_threshold: Optional[_builtins.int] = None,
2027
+ enabled: Optional[_builtins.bool] = None):
1836
2028
  """
1837
- :param int alert_threshold: How long before SSL certificate expiry to send alerts. Possible values `3`, `7`, `14`, `30`. (Default `3`).
1838
- :param bool enabled: Determines if alert notifications should be sent for expiring SSL certificates. Possible values `true`, and `false`. (Default `false`).
2029
+ :param _builtins.int alert_threshold: How long before SSL certificate expiry to send alerts. Possible values `3`, `7`, `14`, `30`. (Default `3`).
2030
+ :param _builtins.bool enabled: Determines if alert notifications should be sent for expiring SSL certificates. Possible values `true`, and `false`. (Default `false`).
1839
2031
  """
1840
2032
  if alert_threshold is not None:
1841
2033
  pulumi.set(__self__, "alert_threshold", alert_threshold)
1842
2034
  if enabled is not None:
1843
2035
  pulumi.set(__self__, "enabled", enabled)
1844
2036
 
1845
- @property
2037
+ @_builtins.property
1846
2038
  @pulumi.getter(name="alertThreshold")
1847
- def alert_threshold(self) -> Optional[int]:
2039
+ def alert_threshold(self) -> Optional[_builtins.int]:
1848
2040
  """
1849
2041
  How long before SSL certificate expiry to send alerts. Possible values `3`, `7`, `14`, `30`. (Default `3`).
1850
2042
  """
1851
2043
  return pulumi.get(self, "alert_threshold")
1852
2044
 
1853
- @property
2045
+ @_builtins.property
1854
2046
  @pulumi.getter
1855
- def enabled(self) -> Optional[bool]:
2047
+ def enabled(self) -> Optional[_builtins.bool]:
1856
2048
  """
1857
2049
  Determines if alert notifications should be sent for expiring SSL certificates. Possible values `true`, and `false`. (Default `false`).
1858
2050
  """
@@ -1879,16 +2071,16 @@ class HeartbeatCheckAlertSettingsTimeBasedEscalation(dict):
1879
2071
  return super().get(key, default)
1880
2072
 
1881
2073
  def __init__(__self__, *,
1882
- minutes_failing_threshold: Optional[int] = None):
2074
+ minutes_failing_threshold: Optional[_builtins.int] = None):
1883
2075
  """
1884
- :param int minutes_failing_threshold: After how many minutes after a check starts failing an alert should be sent. Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
2076
+ :param _builtins.int minutes_failing_threshold: After how many minutes after a check starts failing an alert should be sent. Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
1885
2077
  """
1886
2078
  if minutes_failing_threshold is not None:
1887
2079
  pulumi.set(__self__, "minutes_failing_threshold", minutes_failing_threshold)
1888
2080
 
1889
- @property
2081
+ @_builtins.property
1890
2082
  @pulumi.getter(name="minutesFailingThreshold")
1891
- def minutes_failing_threshold(self) -> Optional[int]:
2083
+ def minutes_failing_threshold(self) -> Optional[_builtins.int]:
1892
2084
  """
1893
2085
  After how many minutes after a check starts failing an alert should be sent. Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
1894
2086
  """
@@ -1919,17 +2111,17 @@ class HeartbeatCheckHeartbeat(dict):
1919
2111
  return super().get(key, default)
1920
2112
 
1921
2113
  def __init__(__self__, *,
1922
- grace: int,
1923
- grace_unit: str,
1924
- period: int,
1925
- period_unit: str,
1926
- ping_token: Optional[str] = None):
1927
- """
1928
- :param int grace: How long Checkly should wait before triggering any alerts when a ping does not arrive within the set period.
1929
- :param str grace_unit: Possible values `seconds`, `minutes`, `hours` and `days`.
1930
- :param int period: How often you expect a ping to the ping URL.
1931
- :param str period_unit: Possible values `seconds`, `minutes`, `hours` and `days`.
1932
- :param str ping_token: Custom token to generate your ping URL. Checkly will expect a ping to `https://ping.checklyhq.com/[PING_TOKEN]`.
2114
+ grace: _builtins.int,
2115
+ grace_unit: _builtins.str,
2116
+ period: _builtins.int,
2117
+ period_unit: _builtins.str,
2118
+ ping_token: Optional[_builtins.str] = None):
2119
+ """
2120
+ :param _builtins.int grace: How long Checkly should wait before triggering any alerts when a ping does not arrive within the set period.
2121
+ :param _builtins.str grace_unit: Possible values `seconds`, `minutes`, `hours` and `days`.
2122
+ :param _builtins.int period: How often you expect a ping to the ping URL.
2123
+ :param _builtins.str period_unit: Possible values `seconds`, `minutes`, `hours` and `days`.
2124
+ :param _builtins.str ping_token: Custom token to generate your ping URL. Checkly will expect a ping to `https://ping.checklyhq.com/[PING_TOKEN]`.
1933
2125
  """
1934
2126
  pulumi.set(__self__, "grace", grace)
1935
2127
  pulumi.set(__self__, "grace_unit", grace_unit)
@@ -1938,47 +2130,128 @@ class HeartbeatCheckHeartbeat(dict):
1938
2130
  if ping_token is not None:
1939
2131
  pulumi.set(__self__, "ping_token", ping_token)
1940
2132
 
1941
- @property
2133
+ @_builtins.property
1942
2134
  @pulumi.getter
1943
- def grace(self) -> int:
2135
+ def grace(self) -> _builtins.int:
1944
2136
  """
1945
2137
  How long Checkly should wait before triggering any alerts when a ping does not arrive within the set period.
1946
2138
  """
1947
2139
  return pulumi.get(self, "grace")
1948
2140
 
1949
- @property
2141
+ @_builtins.property
1950
2142
  @pulumi.getter(name="graceUnit")
1951
- def grace_unit(self) -> str:
2143
+ def grace_unit(self) -> _builtins.str:
1952
2144
  """
1953
2145
  Possible values `seconds`, `minutes`, `hours` and `days`.
1954
2146
  """
1955
2147
  return pulumi.get(self, "grace_unit")
1956
2148
 
1957
- @property
2149
+ @_builtins.property
1958
2150
  @pulumi.getter
1959
- def period(self) -> int:
2151
+ def period(self) -> _builtins.int:
1960
2152
  """
1961
2153
  How often you expect a ping to the ping URL.
1962
2154
  """
1963
2155
  return pulumi.get(self, "period")
1964
2156
 
1965
- @property
2157
+ @_builtins.property
1966
2158
  @pulumi.getter(name="periodUnit")
1967
- def period_unit(self) -> str:
2159
+ def period_unit(self) -> _builtins.str:
1968
2160
  """
1969
2161
  Possible values `seconds`, `minutes`, `hours` and `days`.
1970
2162
  """
1971
2163
  return pulumi.get(self, "period_unit")
1972
2164
 
1973
- @property
2165
+ @_builtins.property
1974
2166
  @pulumi.getter(name="pingToken")
1975
- def ping_token(self) -> Optional[str]:
2167
+ def ping_token(self) -> Optional[_builtins.str]:
1976
2168
  """
1977
2169
  Custom token to generate your ping URL. Checkly will expect a ping to `https://ping.checklyhq.com/[PING_TOKEN]`.
1978
2170
  """
1979
2171
  return pulumi.get(self, "ping_token")
1980
2172
 
1981
2173
 
2174
+ @pulumi.output_type
2175
+ class HeartbeatCheckTriggerIncident(dict):
2176
+ @staticmethod
2177
+ def __key_warning(key: str):
2178
+ suggest = None
2179
+ if key == "notifySubscribers":
2180
+ suggest = "notify_subscribers"
2181
+ elif key == "serviceId":
2182
+ suggest = "service_id"
2183
+
2184
+ if suggest:
2185
+ pulumi.log.warn(f"Key '{key}' not found in HeartbeatCheckTriggerIncident. Access the value via the '{suggest}' property getter instead.")
2186
+
2187
+ def __getitem__(self, key: str) -> Any:
2188
+ HeartbeatCheckTriggerIncident.__key_warning(key)
2189
+ return super().__getitem__(key)
2190
+
2191
+ def get(self, key: str, default = None) -> Any:
2192
+ HeartbeatCheckTriggerIncident.__key_warning(key)
2193
+ return super().get(key, default)
2194
+
2195
+ def __init__(__self__, *,
2196
+ description: _builtins.str,
2197
+ name: _builtins.str,
2198
+ notify_subscribers: _builtins.bool,
2199
+ service_id: _builtins.str,
2200
+ severity: _builtins.str):
2201
+ """
2202
+ :param _builtins.str description: A detailed description of the incident.
2203
+ :param _builtins.str name: The name of the incident.
2204
+ :param _builtins.bool notify_subscribers: Whether to notify subscribers when the incident is triggered.
2205
+ :param _builtins.str service_id: The status page service that this incident will be associated with.
2206
+ :param _builtins.str severity: The severity level of the incident. Possible values are `MINOR`, `MEDIUM`, `MAJOR`, and `CRITICAL`.
2207
+ """
2208
+ pulumi.set(__self__, "description", description)
2209
+ pulumi.set(__self__, "name", name)
2210
+ pulumi.set(__self__, "notify_subscribers", notify_subscribers)
2211
+ pulumi.set(__self__, "service_id", service_id)
2212
+ pulumi.set(__self__, "severity", severity)
2213
+
2214
+ @_builtins.property
2215
+ @pulumi.getter
2216
+ def description(self) -> _builtins.str:
2217
+ """
2218
+ A detailed description of the incident.
2219
+ """
2220
+ return pulumi.get(self, "description")
2221
+
2222
+ @_builtins.property
2223
+ @pulumi.getter
2224
+ def name(self) -> _builtins.str:
2225
+ """
2226
+ The name of the incident.
2227
+ """
2228
+ return pulumi.get(self, "name")
2229
+
2230
+ @_builtins.property
2231
+ @pulumi.getter(name="notifySubscribers")
2232
+ def notify_subscribers(self) -> _builtins.bool:
2233
+ """
2234
+ Whether to notify subscribers when the incident is triggered.
2235
+ """
2236
+ return pulumi.get(self, "notify_subscribers")
2237
+
2238
+ @_builtins.property
2239
+ @pulumi.getter(name="serviceId")
2240
+ def service_id(self) -> _builtins.str:
2241
+ """
2242
+ The status page service that this incident will be associated with.
2243
+ """
2244
+ return pulumi.get(self, "service_id")
2245
+
2246
+ @_builtins.property
2247
+ @pulumi.getter
2248
+ def severity(self) -> _builtins.str:
2249
+ """
2250
+ The severity level of the incident. Possible values are `MINOR`, `MEDIUM`, `MAJOR`, and `CRITICAL`.
2251
+ """
2252
+ return pulumi.get(self, "severity")
2253
+
2254
+
1982
2255
  @pulumi.output_type
1983
2256
  class HeartbeatMonitorAlertChannelSubscription(dict):
1984
2257
  @staticmethod
@@ -1999,19 +2272,19 @@ class HeartbeatMonitorAlertChannelSubscription(dict):
1999
2272
  return super().get(key, default)
2000
2273
 
2001
2274
  def __init__(__self__, *,
2002
- activated: bool,
2003
- channel_id: int):
2275
+ activated: _builtins.bool,
2276
+ channel_id: _builtins.int):
2004
2277
  pulumi.set(__self__, "activated", activated)
2005
2278
  pulumi.set(__self__, "channel_id", channel_id)
2006
2279
 
2007
- @property
2280
+ @_builtins.property
2008
2281
  @pulumi.getter
2009
- def activated(self) -> bool:
2282
+ def activated(self) -> _builtins.bool:
2010
2283
  return pulumi.get(self, "activated")
2011
2284
 
2012
- @property
2285
+ @_builtins.property
2013
2286
  @pulumi.getter(name="channelId")
2014
- def channel_id(self) -> int:
2287
+ def channel_id(self) -> _builtins.int:
2015
2288
  return pulumi.get(self, "channel_id")
2016
2289
 
2017
2290
 
@@ -2043,14 +2316,14 @@ class HeartbeatMonitorAlertSettings(dict):
2043
2316
  return super().get(key, default)
2044
2317
 
2045
2318
  def __init__(__self__, *,
2046
- escalation_type: Optional[str] = None,
2319
+ escalation_type: Optional[_builtins.str] = None,
2047
2320
  parallel_run_failure_thresholds: Optional[Sequence['outputs.HeartbeatMonitorAlertSettingsParallelRunFailureThreshold']] = None,
2048
2321
  reminders: Optional[Sequence['outputs.HeartbeatMonitorAlertSettingsReminder']] = None,
2049
2322
  run_based_escalations: Optional[Sequence['outputs.HeartbeatMonitorAlertSettingsRunBasedEscalation']] = None,
2050
2323
  ssl_certificates: Optional[Sequence['outputs.HeartbeatMonitorAlertSettingsSslCertificate']] = None,
2051
2324
  time_based_escalations: Optional[Sequence['outputs.HeartbeatMonitorAlertSettingsTimeBasedEscalation']] = None):
2052
2325
  """
2053
- :param str escalation_type: Determines what type of escalation to use. Possible values are `RUN_BASED` or `TIME_BASED`.
2326
+ :param _builtins.str escalation_type: Determines what type of escalation to use. Possible values are `RUN_BASED` or `TIME_BASED`.
2054
2327
  """
2055
2328
  if escalation_type is not None:
2056
2329
  pulumi.set(__self__, "escalation_type", escalation_type)
@@ -2065,36 +2338,36 @@ class HeartbeatMonitorAlertSettings(dict):
2065
2338
  if time_based_escalations is not None:
2066
2339
  pulumi.set(__self__, "time_based_escalations", time_based_escalations)
2067
2340
 
2068
- @property
2341
+ @_builtins.property
2069
2342
  @pulumi.getter(name="escalationType")
2070
- def escalation_type(self) -> Optional[str]:
2343
+ def escalation_type(self) -> Optional[_builtins.str]:
2071
2344
  """
2072
2345
  Determines what type of escalation to use. Possible values are `RUN_BASED` or `TIME_BASED`.
2073
2346
  """
2074
2347
  return pulumi.get(self, "escalation_type")
2075
2348
 
2076
- @property
2349
+ @_builtins.property
2077
2350
  @pulumi.getter(name="parallelRunFailureThresholds")
2078
2351
  def parallel_run_failure_thresholds(self) -> Optional[Sequence['outputs.HeartbeatMonitorAlertSettingsParallelRunFailureThreshold']]:
2079
2352
  return pulumi.get(self, "parallel_run_failure_thresholds")
2080
2353
 
2081
- @property
2354
+ @_builtins.property
2082
2355
  @pulumi.getter
2083
2356
  def reminders(self) -> Optional[Sequence['outputs.HeartbeatMonitorAlertSettingsReminder']]:
2084
2357
  return pulumi.get(self, "reminders")
2085
2358
 
2086
- @property
2359
+ @_builtins.property
2087
2360
  @pulumi.getter(name="runBasedEscalations")
2088
2361
  def run_based_escalations(self) -> Optional[Sequence['outputs.HeartbeatMonitorAlertSettingsRunBasedEscalation']]:
2089
2362
  return pulumi.get(self, "run_based_escalations")
2090
2363
 
2091
- @property
2364
+ @_builtins.property
2092
2365
  @pulumi.getter(name="sslCertificates")
2093
2366
  @_utilities.deprecated("""This property is deprecated and it's ignored by the Checkly Public API. It will be removed in a future version.""")
2094
2367
  def ssl_certificates(self) -> Optional[Sequence['outputs.HeartbeatMonitorAlertSettingsSslCertificate']]:
2095
2368
  return pulumi.get(self, "ssl_certificates")
2096
2369
 
2097
- @property
2370
+ @_builtins.property
2098
2371
  @pulumi.getter(name="timeBasedEscalations")
2099
2372
  def time_based_escalations(self) -> Optional[Sequence['outputs.HeartbeatMonitorAlertSettingsTimeBasedEscalation']]:
2100
2373
  return pulumi.get(self, "time_based_escalations")
@@ -2103,28 +2376,28 @@ class HeartbeatMonitorAlertSettings(dict):
2103
2376
  @pulumi.output_type
2104
2377
  class HeartbeatMonitorAlertSettingsParallelRunFailureThreshold(dict):
2105
2378
  def __init__(__self__, *,
2106
- enabled: Optional[bool] = None,
2107
- percentage: Optional[int] = None):
2379
+ enabled: Optional[_builtins.bool] = None,
2380
+ percentage: Optional[_builtins.int] = None):
2108
2381
  """
2109
- :param bool enabled: Applicable only for checks scheduled in parallel in multiple locations.
2110
- :param int percentage: Possible values are `10`, `20`, `30`, `40`, `50`, `60`, `70`, `80`, `100`, and `100`. (Default `10`).
2382
+ :param _builtins.bool enabled: Applicable only for checks scheduled in parallel in multiple locations.
2383
+ :param _builtins.int percentage: Possible values are `10`, `20`, `30`, `40`, `50`, `60`, `70`, `80`, `100`, and `100`. (Default `10`).
2111
2384
  """
2112
2385
  if enabled is not None:
2113
2386
  pulumi.set(__self__, "enabled", enabled)
2114
2387
  if percentage is not None:
2115
2388
  pulumi.set(__self__, "percentage", percentage)
2116
2389
 
2117
- @property
2390
+ @_builtins.property
2118
2391
  @pulumi.getter
2119
- def enabled(self) -> Optional[bool]:
2392
+ def enabled(self) -> Optional[_builtins.bool]:
2120
2393
  """
2121
2394
  Applicable only for checks scheduled in parallel in multiple locations.
2122
2395
  """
2123
2396
  return pulumi.get(self, "enabled")
2124
2397
 
2125
- @property
2398
+ @_builtins.property
2126
2399
  @pulumi.getter
2127
- def percentage(self) -> Optional[int]:
2400
+ def percentage(self) -> Optional[_builtins.int]:
2128
2401
  """
2129
2402
  Possible values are `10`, `20`, `30`, `40`, `50`, `60`, `70`, `80`, `100`, and `100`. (Default `10`).
2130
2403
  """
@@ -2134,28 +2407,28 @@ class HeartbeatMonitorAlertSettingsParallelRunFailureThreshold(dict):
2134
2407
  @pulumi.output_type
2135
2408
  class HeartbeatMonitorAlertSettingsReminder(dict):
2136
2409
  def __init__(__self__, *,
2137
- amount: Optional[int] = None,
2138
- interval: Optional[int] = None):
2410
+ amount: Optional[_builtins.int] = None,
2411
+ interval: Optional[_builtins.int] = None):
2139
2412
  """
2140
- :param int amount: How many reminders to send out after the initial alert notification. Possible values are `0`, `1`, `2`, `3`, `4`, `5`, and `100000`
2141
- :param int interval: Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
2413
+ :param _builtins.int amount: How many reminders to send out after the initial alert notification. Possible values are `0`, `1`, `2`, `3`, `4`, `5`, and `100000`
2414
+ :param _builtins.int interval: Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
2142
2415
  """
2143
2416
  if amount is not None:
2144
2417
  pulumi.set(__self__, "amount", amount)
2145
2418
  if interval is not None:
2146
2419
  pulumi.set(__self__, "interval", interval)
2147
2420
 
2148
- @property
2421
+ @_builtins.property
2149
2422
  @pulumi.getter
2150
- def amount(self) -> Optional[int]:
2423
+ def amount(self) -> Optional[_builtins.int]:
2151
2424
  """
2152
2425
  How many reminders to send out after the initial alert notification. Possible values are `0`, `1`, `2`, `3`, `4`, `5`, and `100000`
2153
2426
  """
2154
2427
  return pulumi.get(self, "amount")
2155
2428
 
2156
- @property
2429
+ @_builtins.property
2157
2430
  @pulumi.getter
2158
- def interval(self) -> Optional[int]:
2431
+ def interval(self) -> Optional[_builtins.int]:
2159
2432
  """
2160
2433
  Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
2161
2434
  """
@@ -2182,16 +2455,16 @@ class HeartbeatMonitorAlertSettingsRunBasedEscalation(dict):
2182
2455
  return super().get(key, default)
2183
2456
 
2184
2457
  def __init__(__self__, *,
2185
- failed_run_threshold: Optional[int] = None):
2458
+ failed_run_threshold: Optional[_builtins.int] = None):
2186
2459
  """
2187
- :param int failed_run_threshold: After how many failed consecutive check runs an alert notification should be sent. Possible values are between 1 and 5. (Default `1`).
2460
+ :param _builtins.int failed_run_threshold: After how many failed consecutive check runs an alert notification should be sent. Possible values are between 1 and 5. (Default `1`).
2188
2461
  """
2189
2462
  if failed_run_threshold is not None:
2190
2463
  pulumi.set(__self__, "failed_run_threshold", failed_run_threshold)
2191
2464
 
2192
- @property
2465
+ @_builtins.property
2193
2466
  @pulumi.getter(name="failedRunThreshold")
2194
- def failed_run_threshold(self) -> Optional[int]:
2467
+ def failed_run_threshold(self) -> Optional[_builtins.int]:
2195
2468
  """
2196
2469
  After how many failed consecutive check runs an alert notification should be sent. Possible values are between 1 and 5. (Default `1`).
2197
2470
  """
@@ -2218,28 +2491,28 @@ class HeartbeatMonitorAlertSettingsSslCertificate(dict):
2218
2491
  return super().get(key, default)
2219
2492
 
2220
2493
  def __init__(__self__, *,
2221
- alert_threshold: Optional[int] = None,
2222
- enabled: Optional[bool] = None):
2494
+ alert_threshold: Optional[_builtins.int] = None,
2495
+ enabled: Optional[_builtins.bool] = None):
2223
2496
  """
2224
- :param int alert_threshold: How long before SSL certificate expiry to send alerts. Possible values `3`, `7`, `14`, `30`. (Default `3`).
2225
- :param bool enabled: Determines if alert notifications should be sent for expiring SSL certificates. Possible values `true`, and `false`. (Default `false`).
2497
+ :param _builtins.int alert_threshold: How long before SSL certificate expiry to send alerts. Possible values `3`, `7`, `14`, `30`. (Default `3`).
2498
+ :param _builtins.bool enabled: Determines if alert notifications should be sent for expiring SSL certificates. Possible values `true`, and `false`. (Default `false`).
2226
2499
  """
2227
2500
  if alert_threshold is not None:
2228
2501
  pulumi.set(__self__, "alert_threshold", alert_threshold)
2229
2502
  if enabled is not None:
2230
2503
  pulumi.set(__self__, "enabled", enabled)
2231
2504
 
2232
- @property
2505
+ @_builtins.property
2233
2506
  @pulumi.getter(name="alertThreshold")
2234
- def alert_threshold(self) -> Optional[int]:
2507
+ def alert_threshold(self) -> Optional[_builtins.int]:
2235
2508
  """
2236
2509
  How long before SSL certificate expiry to send alerts. Possible values `3`, `7`, `14`, `30`. (Default `3`).
2237
2510
  """
2238
2511
  return pulumi.get(self, "alert_threshold")
2239
2512
 
2240
- @property
2513
+ @_builtins.property
2241
2514
  @pulumi.getter
2242
- def enabled(self) -> Optional[bool]:
2515
+ def enabled(self) -> Optional[_builtins.bool]:
2243
2516
  """
2244
2517
  Determines if alert notifications should be sent for expiring SSL certificates. Possible values `true`, and `false`. (Default `false`).
2245
2518
  """
@@ -2266,16 +2539,16 @@ class HeartbeatMonitorAlertSettingsTimeBasedEscalation(dict):
2266
2539
  return super().get(key, default)
2267
2540
 
2268
2541
  def __init__(__self__, *,
2269
- minutes_failing_threshold: Optional[int] = None):
2542
+ minutes_failing_threshold: Optional[_builtins.int] = None):
2270
2543
  """
2271
- :param int minutes_failing_threshold: After how many minutes after a check starts failing an alert should be sent. Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
2544
+ :param _builtins.int minutes_failing_threshold: After how many minutes after a check starts failing an alert should be sent. Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
2272
2545
  """
2273
2546
  if minutes_failing_threshold is not None:
2274
2547
  pulumi.set(__self__, "minutes_failing_threshold", minutes_failing_threshold)
2275
2548
 
2276
- @property
2549
+ @_builtins.property
2277
2550
  @pulumi.getter(name="minutesFailingThreshold")
2278
- def minutes_failing_threshold(self) -> Optional[int]:
2551
+ def minutes_failing_threshold(self) -> Optional[_builtins.int]:
2279
2552
  """
2280
2553
  After how many minutes after a check starts failing an alert should be sent. Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
2281
2554
  """
@@ -2306,17 +2579,17 @@ class HeartbeatMonitorHeartbeat(dict):
2306
2579
  return super().get(key, default)
2307
2580
 
2308
2581
  def __init__(__self__, *,
2309
- grace: int,
2310
- grace_unit: str,
2311
- period: int,
2312
- period_unit: str,
2313
- ping_token: Optional[str] = None):
2314
- """
2315
- :param int grace: How long Checkly should wait before triggering any alerts when a ping does not arrive within the set period.
2316
- :param str grace_unit: Possible values `seconds`, `minutes`, `hours` and `days`.
2317
- :param int period: How often you expect a ping to the ping URL.
2318
- :param str period_unit: Possible values `seconds`, `minutes`, `hours` and `days`.
2319
- :param str ping_token: Custom token to generate your ping URL. Checkly will expect a ping to `https://ping.checklyhq.com/[PING_TOKEN]`.
2582
+ grace: _builtins.int,
2583
+ grace_unit: _builtins.str,
2584
+ period: _builtins.int,
2585
+ period_unit: _builtins.str,
2586
+ ping_token: Optional[_builtins.str] = None):
2587
+ """
2588
+ :param _builtins.int grace: How long Checkly should wait before triggering any alerts when a ping does not arrive within the set period.
2589
+ :param _builtins.str grace_unit: Possible values `seconds`, `minutes`, `hours` and `days`.
2590
+ :param _builtins.int period: How often you expect a ping to the ping URL.
2591
+ :param _builtins.str period_unit: Possible values `seconds`, `minutes`, `hours` and `days`.
2592
+ :param _builtins.str ping_token: Custom token to generate your ping URL. Checkly will expect a ping to `https://ping.checklyhq.com/[PING_TOKEN]`.
2320
2593
  """
2321
2594
  pulumi.set(__self__, "grace", grace)
2322
2595
  pulumi.set(__self__, "grace_unit", grace_unit)
@@ -2325,47 +2598,128 @@ class HeartbeatMonitorHeartbeat(dict):
2325
2598
  if ping_token is not None:
2326
2599
  pulumi.set(__self__, "ping_token", ping_token)
2327
2600
 
2328
- @property
2601
+ @_builtins.property
2329
2602
  @pulumi.getter
2330
- def grace(self) -> int:
2603
+ def grace(self) -> _builtins.int:
2331
2604
  """
2332
2605
  How long Checkly should wait before triggering any alerts when a ping does not arrive within the set period.
2333
2606
  """
2334
2607
  return pulumi.get(self, "grace")
2335
2608
 
2336
- @property
2609
+ @_builtins.property
2337
2610
  @pulumi.getter(name="graceUnit")
2338
- def grace_unit(self) -> str:
2611
+ def grace_unit(self) -> _builtins.str:
2339
2612
  """
2340
2613
  Possible values `seconds`, `minutes`, `hours` and `days`.
2341
2614
  """
2342
2615
  return pulumi.get(self, "grace_unit")
2343
2616
 
2344
- @property
2617
+ @_builtins.property
2345
2618
  @pulumi.getter
2346
- def period(self) -> int:
2619
+ def period(self) -> _builtins.int:
2347
2620
  """
2348
2621
  How often you expect a ping to the ping URL.
2349
2622
  """
2350
2623
  return pulumi.get(self, "period")
2351
2624
 
2352
- @property
2625
+ @_builtins.property
2353
2626
  @pulumi.getter(name="periodUnit")
2354
- def period_unit(self) -> str:
2627
+ def period_unit(self) -> _builtins.str:
2355
2628
  """
2356
2629
  Possible values `seconds`, `minutes`, `hours` and `days`.
2357
2630
  """
2358
2631
  return pulumi.get(self, "period_unit")
2359
2632
 
2360
- @property
2633
+ @_builtins.property
2361
2634
  @pulumi.getter(name="pingToken")
2362
- def ping_token(self) -> Optional[str]:
2635
+ def ping_token(self) -> Optional[_builtins.str]:
2363
2636
  """
2364
2637
  Custom token to generate your ping URL. Checkly will expect a ping to `https://ping.checklyhq.com/[PING_TOKEN]`.
2365
2638
  """
2366
2639
  return pulumi.get(self, "ping_token")
2367
2640
 
2368
2641
 
2642
+ @pulumi.output_type
2643
+ class HeartbeatMonitorTriggerIncident(dict):
2644
+ @staticmethod
2645
+ def __key_warning(key: str):
2646
+ suggest = None
2647
+ if key == "notifySubscribers":
2648
+ suggest = "notify_subscribers"
2649
+ elif key == "serviceId":
2650
+ suggest = "service_id"
2651
+
2652
+ if suggest:
2653
+ pulumi.log.warn(f"Key '{key}' not found in HeartbeatMonitorTriggerIncident. Access the value via the '{suggest}' property getter instead.")
2654
+
2655
+ def __getitem__(self, key: str) -> Any:
2656
+ HeartbeatMonitorTriggerIncident.__key_warning(key)
2657
+ return super().__getitem__(key)
2658
+
2659
+ def get(self, key: str, default = None) -> Any:
2660
+ HeartbeatMonitorTriggerIncident.__key_warning(key)
2661
+ return super().get(key, default)
2662
+
2663
+ def __init__(__self__, *,
2664
+ description: _builtins.str,
2665
+ name: _builtins.str,
2666
+ notify_subscribers: _builtins.bool,
2667
+ service_id: _builtins.str,
2668
+ severity: _builtins.str):
2669
+ """
2670
+ :param _builtins.str description: A detailed description of the incident.
2671
+ :param _builtins.str name: The name of the incident.
2672
+ :param _builtins.bool notify_subscribers: Whether to notify subscribers when the incident is triggered.
2673
+ :param _builtins.str service_id: The status page service that this incident will be associated with.
2674
+ :param _builtins.str severity: The severity level of the incident. Possible values are `MINOR`, `MEDIUM`, `MAJOR`, and `CRITICAL`.
2675
+ """
2676
+ pulumi.set(__self__, "description", description)
2677
+ pulumi.set(__self__, "name", name)
2678
+ pulumi.set(__self__, "notify_subscribers", notify_subscribers)
2679
+ pulumi.set(__self__, "service_id", service_id)
2680
+ pulumi.set(__self__, "severity", severity)
2681
+
2682
+ @_builtins.property
2683
+ @pulumi.getter
2684
+ def description(self) -> _builtins.str:
2685
+ """
2686
+ A detailed description of the incident.
2687
+ """
2688
+ return pulumi.get(self, "description")
2689
+
2690
+ @_builtins.property
2691
+ @pulumi.getter
2692
+ def name(self) -> _builtins.str:
2693
+ """
2694
+ The name of the incident.
2695
+ """
2696
+ return pulumi.get(self, "name")
2697
+
2698
+ @_builtins.property
2699
+ @pulumi.getter(name="notifySubscribers")
2700
+ def notify_subscribers(self) -> _builtins.bool:
2701
+ """
2702
+ Whether to notify subscribers when the incident is triggered.
2703
+ """
2704
+ return pulumi.get(self, "notify_subscribers")
2705
+
2706
+ @_builtins.property
2707
+ @pulumi.getter(name="serviceId")
2708
+ def service_id(self) -> _builtins.str:
2709
+ """
2710
+ The status page service that this incident will be associated with.
2711
+ """
2712
+ return pulumi.get(self, "service_id")
2713
+
2714
+ @_builtins.property
2715
+ @pulumi.getter
2716
+ def severity(self) -> _builtins.str:
2717
+ """
2718
+ The severity level of the incident. Possible values are `MINOR`, `MEDIUM`, `MAJOR`, and `CRITICAL`.
2719
+ """
2720
+ return pulumi.get(self, "severity")
2721
+
2722
+
2369
2723
  @pulumi.output_type
2370
2724
  class StatusPageCard(dict):
2371
2725
  @staticmethod
@@ -2386,24 +2740,24 @@ class StatusPageCard(dict):
2386
2740
  return super().get(key, default)
2387
2741
 
2388
2742
  def __init__(__self__, *,
2389
- name: str,
2743
+ name: _builtins.str,
2390
2744
  service_attachments: Sequence['outputs.StatusPageCardServiceAttachment']):
2391
2745
  """
2392
- :param str name: The name of the card.
2746
+ :param _builtins.str name: The name of the card.
2393
2747
  :param Sequence['StatusPageCardServiceAttachmentArgs'] service_attachments: A list of services to attach to the card.
2394
2748
  """
2395
2749
  pulumi.set(__self__, "name", name)
2396
2750
  pulumi.set(__self__, "service_attachments", service_attachments)
2397
2751
 
2398
- @property
2752
+ @_builtins.property
2399
2753
  @pulumi.getter
2400
- def name(self) -> str:
2754
+ def name(self) -> _builtins.str:
2401
2755
  """
2402
2756
  The name of the card.
2403
2757
  """
2404
2758
  return pulumi.get(self, "name")
2405
2759
 
2406
- @property
2760
+ @_builtins.property
2407
2761
  @pulumi.getter(name="serviceAttachments")
2408
2762
  def service_attachments(self) -> Sequence['outputs.StatusPageCardServiceAttachment']:
2409
2763
  """
@@ -2432,15 +2786,15 @@ class StatusPageCardServiceAttachment(dict):
2432
2786
  return super().get(key, default)
2433
2787
 
2434
2788
  def __init__(__self__, *,
2435
- service_id: str):
2789
+ service_id: _builtins.str):
2436
2790
  """
2437
- :param str service_id: The ID of the service.
2791
+ :param _builtins.str service_id: The ID of the service.
2438
2792
  """
2439
2793
  pulumi.set(__self__, "service_id", service_id)
2440
2794
 
2441
- @property
2795
+ @_builtins.property
2442
2796
  @pulumi.getter(name="serviceId")
2443
- def service_id(self) -> str:
2797
+ def service_id(self) -> _builtins.str:
2444
2798
  """
2445
2799
  The ID of the service.
2446
2800
  """
@@ -2467,19 +2821,19 @@ class TcpCheckAlertChannelSubscription(dict):
2467
2821
  return super().get(key, default)
2468
2822
 
2469
2823
  def __init__(__self__, *,
2470
- activated: bool,
2471
- channel_id: int):
2824
+ activated: _builtins.bool,
2825
+ channel_id: _builtins.int):
2472
2826
  pulumi.set(__self__, "activated", activated)
2473
2827
  pulumi.set(__self__, "channel_id", channel_id)
2474
2828
 
2475
- @property
2829
+ @_builtins.property
2476
2830
  @pulumi.getter
2477
- def activated(self) -> bool:
2831
+ def activated(self) -> _builtins.bool:
2478
2832
  return pulumi.get(self, "activated")
2479
2833
 
2480
- @property
2834
+ @_builtins.property
2481
2835
  @pulumi.getter(name="channelId")
2482
- def channel_id(self) -> int:
2836
+ def channel_id(self) -> _builtins.int:
2483
2837
  return pulumi.get(self, "channel_id")
2484
2838
 
2485
2839
 
@@ -2509,13 +2863,13 @@ class TcpCheckAlertSettings(dict):
2509
2863
  return super().get(key, default)
2510
2864
 
2511
2865
  def __init__(__self__, *,
2512
- escalation_type: Optional[str] = None,
2866
+ escalation_type: Optional[_builtins.str] = None,
2513
2867
  parallel_run_failure_thresholds: Optional[Sequence['outputs.TcpCheckAlertSettingsParallelRunFailureThreshold']] = None,
2514
2868
  reminders: Optional[Sequence['outputs.TcpCheckAlertSettingsReminder']] = None,
2515
2869
  run_based_escalations: Optional[Sequence['outputs.TcpCheckAlertSettingsRunBasedEscalation']] = None,
2516
2870
  time_based_escalations: Optional[Sequence['outputs.TcpCheckAlertSettingsTimeBasedEscalation']] = None):
2517
2871
  """
2518
- :param str escalation_type: Determines what type of escalation to use. Possible values are `RUN_BASED` or `TIME_BASED`.
2872
+ :param _builtins.str escalation_type: Determines what type of escalation to use. Possible values are `RUN_BASED` or `TIME_BASED`.
2519
2873
  """
2520
2874
  if escalation_type is not None:
2521
2875
  pulumi.set(__self__, "escalation_type", escalation_type)
@@ -2528,30 +2882,30 @@ class TcpCheckAlertSettings(dict):
2528
2882
  if time_based_escalations is not None:
2529
2883
  pulumi.set(__self__, "time_based_escalations", time_based_escalations)
2530
2884
 
2531
- @property
2885
+ @_builtins.property
2532
2886
  @pulumi.getter(name="escalationType")
2533
- def escalation_type(self) -> Optional[str]:
2887
+ def escalation_type(self) -> Optional[_builtins.str]:
2534
2888
  """
2535
2889
  Determines what type of escalation to use. Possible values are `RUN_BASED` or `TIME_BASED`.
2536
2890
  """
2537
2891
  return pulumi.get(self, "escalation_type")
2538
2892
 
2539
- @property
2893
+ @_builtins.property
2540
2894
  @pulumi.getter(name="parallelRunFailureThresholds")
2541
2895
  def parallel_run_failure_thresholds(self) -> Optional[Sequence['outputs.TcpCheckAlertSettingsParallelRunFailureThreshold']]:
2542
2896
  return pulumi.get(self, "parallel_run_failure_thresholds")
2543
2897
 
2544
- @property
2898
+ @_builtins.property
2545
2899
  @pulumi.getter
2546
2900
  def reminders(self) -> Optional[Sequence['outputs.TcpCheckAlertSettingsReminder']]:
2547
2901
  return pulumi.get(self, "reminders")
2548
2902
 
2549
- @property
2903
+ @_builtins.property
2550
2904
  @pulumi.getter(name="runBasedEscalations")
2551
2905
  def run_based_escalations(self) -> Optional[Sequence['outputs.TcpCheckAlertSettingsRunBasedEscalation']]:
2552
2906
  return pulumi.get(self, "run_based_escalations")
2553
2907
 
2554
- @property
2908
+ @_builtins.property
2555
2909
  @pulumi.getter(name="timeBasedEscalations")
2556
2910
  def time_based_escalations(self) -> Optional[Sequence['outputs.TcpCheckAlertSettingsTimeBasedEscalation']]:
2557
2911
  return pulumi.get(self, "time_based_escalations")
@@ -2560,28 +2914,28 @@ class TcpCheckAlertSettings(dict):
2560
2914
  @pulumi.output_type
2561
2915
  class TcpCheckAlertSettingsParallelRunFailureThreshold(dict):
2562
2916
  def __init__(__self__, *,
2563
- enabled: Optional[bool] = None,
2564
- percentage: Optional[int] = None):
2917
+ enabled: Optional[_builtins.bool] = None,
2918
+ percentage: Optional[_builtins.int] = None):
2565
2919
  """
2566
- :param bool enabled: Applicable only for checks scheduled in parallel in multiple locations.
2567
- :param int percentage: Possible values are `10`, `20`, `30`, `40`, `50`, `60`, `70`, `80`, `100`, and `100`. (Default `10`).
2920
+ :param _builtins.bool enabled: Applicable only for checks scheduled in parallel in multiple locations.
2921
+ :param _builtins.int percentage: Possible values are `10`, `20`, `30`, `40`, `50`, `60`, `70`, `80`, `100`, and `100`. (Default `10`).
2568
2922
  """
2569
2923
  if enabled is not None:
2570
2924
  pulumi.set(__self__, "enabled", enabled)
2571
2925
  if percentage is not None:
2572
2926
  pulumi.set(__self__, "percentage", percentage)
2573
2927
 
2574
- @property
2928
+ @_builtins.property
2575
2929
  @pulumi.getter
2576
- def enabled(self) -> Optional[bool]:
2930
+ def enabled(self) -> Optional[_builtins.bool]:
2577
2931
  """
2578
2932
  Applicable only for checks scheduled in parallel in multiple locations.
2579
2933
  """
2580
2934
  return pulumi.get(self, "enabled")
2581
2935
 
2582
- @property
2936
+ @_builtins.property
2583
2937
  @pulumi.getter
2584
- def percentage(self) -> Optional[int]:
2938
+ def percentage(self) -> Optional[_builtins.int]:
2585
2939
  """
2586
2940
  Possible values are `10`, `20`, `30`, `40`, `50`, `60`, `70`, `80`, `100`, and `100`. (Default `10`).
2587
2941
  """
@@ -2591,28 +2945,28 @@ class TcpCheckAlertSettingsParallelRunFailureThreshold(dict):
2591
2945
  @pulumi.output_type
2592
2946
  class TcpCheckAlertSettingsReminder(dict):
2593
2947
  def __init__(__self__, *,
2594
- amount: Optional[int] = None,
2595
- interval: Optional[int] = None):
2948
+ amount: Optional[_builtins.int] = None,
2949
+ interval: Optional[_builtins.int] = None):
2596
2950
  """
2597
- :param int amount: How many reminders to send out after the initial alert notification. Possible values are `0`, `1`, `2`, `3`, `4`, `5`, and `100000`
2598
- :param int interval: Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
2951
+ :param _builtins.int amount: How many reminders to send out after the initial alert notification. Possible values are `0`, `1`, `2`, `3`, `4`, `5`, and `100000`
2952
+ :param _builtins.int interval: Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
2599
2953
  """
2600
2954
  if amount is not None:
2601
2955
  pulumi.set(__self__, "amount", amount)
2602
2956
  if interval is not None:
2603
2957
  pulumi.set(__self__, "interval", interval)
2604
2958
 
2605
- @property
2959
+ @_builtins.property
2606
2960
  @pulumi.getter
2607
- def amount(self) -> Optional[int]:
2961
+ def amount(self) -> Optional[_builtins.int]:
2608
2962
  """
2609
2963
  How many reminders to send out after the initial alert notification. Possible values are `0`, `1`, `2`, `3`, `4`, `5`, and `100000`
2610
2964
  """
2611
2965
  return pulumi.get(self, "amount")
2612
2966
 
2613
- @property
2967
+ @_builtins.property
2614
2968
  @pulumi.getter
2615
- def interval(self) -> Optional[int]:
2969
+ def interval(self) -> Optional[_builtins.int]:
2616
2970
  """
2617
2971
  Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
2618
2972
  """
@@ -2639,16 +2993,16 @@ class TcpCheckAlertSettingsRunBasedEscalation(dict):
2639
2993
  return super().get(key, default)
2640
2994
 
2641
2995
  def __init__(__self__, *,
2642
- failed_run_threshold: Optional[int] = None):
2996
+ failed_run_threshold: Optional[_builtins.int] = None):
2643
2997
  """
2644
- :param int failed_run_threshold: After how many failed consecutive check runs an alert notification should be sent. Possible values are between 1 and 5. (Default `1`).
2998
+ :param _builtins.int failed_run_threshold: After how many failed consecutive check runs an alert notification should be sent. Possible values are between 1 and 5. (Default `1`).
2645
2999
  """
2646
3000
  if failed_run_threshold is not None:
2647
3001
  pulumi.set(__self__, "failed_run_threshold", failed_run_threshold)
2648
3002
 
2649
- @property
3003
+ @_builtins.property
2650
3004
  @pulumi.getter(name="failedRunThreshold")
2651
- def failed_run_threshold(self) -> Optional[int]:
3005
+ def failed_run_threshold(self) -> Optional[_builtins.int]:
2652
3006
  """
2653
3007
  After how many failed consecutive check runs an alert notification should be sent. Possible values are between 1 and 5. (Default `1`).
2654
3008
  """
@@ -2675,16 +3029,16 @@ class TcpCheckAlertSettingsTimeBasedEscalation(dict):
2675
3029
  return super().get(key, default)
2676
3030
 
2677
3031
  def __init__(__self__, *,
2678
- minutes_failing_threshold: Optional[int] = None):
3032
+ minutes_failing_threshold: Optional[_builtins.int] = None):
2679
3033
  """
2680
- :param int minutes_failing_threshold: After how many minutes after a check starts failing an alert should be sent. Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
3034
+ :param _builtins.int minutes_failing_threshold: After how many minutes after a check starts failing an alert should be sent. Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
2681
3035
  """
2682
3036
  if minutes_failing_threshold is not None:
2683
3037
  pulumi.set(__self__, "minutes_failing_threshold", minutes_failing_threshold)
2684
3038
 
2685
- @property
3039
+ @_builtins.property
2686
3040
  @pulumi.getter(name="minutesFailingThreshold")
2687
- def minutes_failing_threshold(self) -> Optional[int]:
3041
+ def minutes_failing_threshold(self) -> Optional[_builtins.int]:
2688
3042
  """
2689
3043
  After how many minutes after a check starts failing an alert should be sent. Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
2690
3044
  """
@@ -2711,17 +3065,17 @@ class TcpCheckRequest(dict):
2711
3065
  return super().get(key, default)
2712
3066
 
2713
3067
  def __init__(__self__, *,
2714
- hostname: str,
2715
- port: int,
3068
+ hostname: _builtins.str,
3069
+ port: _builtins.int,
2716
3070
  assertions: Optional[Sequence['outputs.TcpCheckRequestAssertion']] = None,
2717
- data: Optional[str] = None,
2718
- ip_family: Optional[str] = None):
3071
+ data: Optional[_builtins.str] = None,
3072
+ ip_family: Optional[_builtins.str] = None):
2719
3073
  """
2720
- :param str hostname: The hostname or IP to connect to. Do not include a scheme or a port in this value.
2721
- :param int port: The port number to connect to.
3074
+ :param _builtins.str hostname: The hostname or IP to connect to. Do not include a scheme or a port in this value.
3075
+ :param _builtins.int port: The port number to connect to.
2722
3076
  :param Sequence['TcpCheckRequestAssertionArgs'] assertions: A request can have multiple assertions.
2723
- :param str data: The data to send to the target host.
2724
- :param str ip_family: The IP family to use when executing the TCP check. The value can be either `IPv4` or `IPv6`.
3077
+ :param _builtins.str data: The data to send to the target host.
3078
+ :param _builtins.str ip_family: The IP family to use when executing the TCP check. The value can be either `IPv4` or `IPv6`.
2725
3079
  """
2726
3080
  pulumi.set(__self__, "hostname", hostname)
2727
3081
  pulumi.set(__self__, "port", port)
@@ -2732,23 +3086,23 @@ class TcpCheckRequest(dict):
2732
3086
  if ip_family is not None:
2733
3087
  pulumi.set(__self__, "ip_family", ip_family)
2734
3088
 
2735
- @property
3089
+ @_builtins.property
2736
3090
  @pulumi.getter
2737
- def hostname(self) -> str:
3091
+ def hostname(self) -> _builtins.str:
2738
3092
  """
2739
3093
  The hostname or IP to connect to. Do not include a scheme or a port in this value.
2740
3094
  """
2741
3095
  return pulumi.get(self, "hostname")
2742
3096
 
2743
- @property
3097
+ @_builtins.property
2744
3098
  @pulumi.getter
2745
- def port(self) -> int:
3099
+ def port(self) -> _builtins.int:
2746
3100
  """
2747
3101
  The port number to connect to.
2748
3102
  """
2749
3103
  return pulumi.get(self, "port")
2750
3104
 
2751
- @property
3105
+ @_builtins.property
2752
3106
  @pulumi.getter
2753
3107
  def assertions(self) -> Optional[Sequence['outputs.TcpCheckRequestAssertion']]:
2754
3108
  """
@@ -2756,17 +3110,17 @@ class TcpCheckRequest(dict):
2756
3110
  """
2757
3111
  return pulumi.get(self, "assertions")
2758
3112
 
2759
- @property
3113
+ @_builtins.property
2760
3114
  @pulumi.getter
2761
- def data(self) -> Optional[str]:
3115
+ def data(self) -> Optional[_builtins.str]:
2762
3116
  """
2763
3117
  The data to send to the target host.
2764
3118
  """
2765
3119
  return pulumi.get(self, "data")
2766
3120
 
2767
- @property
3121
+ @_builtins.property
2768
3122
  @pulumi.getter(name="ipFamily")
2769
- def ip_family(self) -> Optional[str]:
3123
+ def ip_family(self) -> Optional[_builtins.str]:
2770
3124
  """
2771
3125
  The IP family to use when executing the TCP check. The value can be either `IPv4` or `IPv6`.
2772
3126
  """
@@ -2776,13 +3130,13 @@ class TcpCheckRequest(dict):
2776
3130
  @pulumi.output_type
2777
3131
  class TcpCheckRequestAssertion(dict):
2778
3132
  def __init__(__self__, *,
2779
- comparison: str,
2780
- source: str,
2781
- property: Optional[str] = None,
2782
- target: Optional[str] = None):
3133
+ comparison: _builtins.str,
3134
+ source: _builtins.str,
3135
+ property: Optional[_builtins.str] = None,
3136
+ target: Optional[_builtins.str] = None):
2783
3137
  """
2784
- :param str comparison: The type of comparison to be executed between expected and actual value of the assertion. Possible values are `EQUALS`, `NOT_EQUALS`, `HAS_KEY`, `NOT_HAS_KEY`, `HAS_VALUE`, `NOT_HAS_VALUE`, `IS_EMPTY`, `NOT_EMPTY`, `GREATER_THAN`, `LESS_THAN`, `CONTAINS`, `NOT_CONTAINS`, `IS_NULL`, and `NOT_NULL`.
2785
- :param str source: The source of the asserted value. Possible values are `RESPONSE_DATA` and `RESPONSE_TIME`.
3138
+ :param _builtins.str comparison: The type of comparison to be executed between expected and actual value of the assertion. Possible values are `EQUALS`, `NOT_EQUALS`, `HAS_KEY`, `NOT_HAS_KEY`, `HAS_VALUE`, `NOT_HAS_VALUE`, `IS_EMPTY`, `NOT_EMPTY`, `GREATER_THAN`, `LESS_THAN`, `CONTAINS`, `NOT_CONTAINS`, `IS_NULL`, and `NOT_NULL`.
3139
+ :param _builtins.str source: The source of the asserted value. Possible values are `RESPONSE_DATA` and `RESPONSE_TIME`.
2786
3140
  """
2787
3141
  pulumi.set(__self__, "comparison", comparison)
2788
3142
  pulumi.set(__self__, "source", source)
@@ -2791,31 +3145,31 @@ class TcpCheckRequestAssertion(dict):
2791
3145
  if target is not None:
2792
3146
  pulumi.set(__self__, "target", target)
2793
3147
 
2794
- @property
3148
+ @_builtins.property
2795
3149
  @pulumi.getter
2796
- def comparison(self) -> str:
3150
+ def comparison(self) -> _builtins.str:
2797
3151
  """
2798
3152
  The type of comparison to be executed between expected and actual value of the assertion. Possible values are `EQUALS`, `NOT_EQUALS`, `HAS_KEY`, `NOT_HAS_KEY`, `HAS_VALUE`, `NOT_HAS_VALUE`, `IS_EMPTY`, `NOT_EMPTY`, `GREATER_THAN`, `LESS_THAN`, `CONTAINS`, `NOT_CONTAINS`, `IS_NULL`, and `NOT_NULL`.
2799
3153
  """
2800
3154
  return pulumi.get(self, "comparison")
2801
3155
 
2802
- @property
3156
+ @_builtins.property
2803
3157
  @pulumi.getter
2804
- def source(self) -> str:
3158
+ def source(self) -> _builtins.str:
2805
3159
  """
2806
3160
  The source of the asserted value. Possible values are `RESPONSE_DATA` and `RESPONSE_TIME`.
2807
3161
  """
2808
3162
  return pulumi.get(self, "source")
2809
3163
 
2810
- @property
3164
+ @_builtins.property
2811
3165
  @pulumi.getter
2812
- def target(self) -> Optional[str]:
2813
- return pulumi.get(self, "target")
3166
+ def property(self) -> Optional[_builtins.str]:
3167
+ return pulumi.get(self, "property")
2814
3168
 
2815
- @property
3169
+ @_builtins.property
2816
3170
  @pulumi.getter
2817
- def property(self) -> Optional[str]:
2818
- return pulumi.get(self, "property")
3171
+ def target(self) -> Optional[_builtins.str]:
3172
+ return pulumi.get(self, "target")
2819
3173
 
2820
3174
 
2821
3175
  @pulumi.output_type
@@ -2829,6 +3183,8 @@ class TcpCheckRetryStrategy(dict):
2829
3183
  suggest = "max_duration_seconds"
2830
3184
  elif key == "maxRetries":
2831
3185
  suggest = "max_retries"
3186
+ elif key == "onlyOn":
3187
+ suggest = "only_on"
2832
3188
  elif key == "sameRegion":
2833
3189
  suggest = "same_region"
2834
3190
 
@@ -2844,17 +3200,19 @@ class TcpCheckRetryStrategy(dict):
2844
3200
  return super().get(key, default)
2845
3201
 
2846
3202
  def __init__(__self__, *,
2847
- type: str,
2848
- base_backoff_seconds: Optional[int] = None,
2849
- max_duration_seconds: Optional[int] = None,
2850
- max_retries: Optional[int] = None,
2851
- same_region: Optional[bool] = None):
2852
- """
2853
- :param str type: Determines which type of retry strategy to use. Possible values are `FIXED`, `LINEAR`, or `EXPONENTIAL`.
2854
- :param int base_backoff_seconds: The number of seconds to wait before the first retry attempt.
2855
- :param int max_duration_seconds: The total amount of time to continue retrying the check (maximum 600 seconds).
2856
- :param int max_retries: The maximum number of times to retry the check. Value must be between 1 and 10.
2857
- :param bool same_region: Whether retries should be run in the same region as the initial check run.
3203
+ type: _builtins.str,
3204
+ base_backoff_seconds: Optional[_builtins.int] = None,
3205
+ max_duration_seconds: Optional[_builtins.int] = None,
3206
+ max_retries: Optional[_builtins.int] = None,
3207
+ only_on: Optional['outputs.TcpCheckRetryStrategyOnlyOn'] = None,
3208
+ same_region: Optional[_builtins.bool] = None):
3209
+ """
3210
+ :param _builtins.str type: Determines which type of retry strategy to use. Possible values are `FIXED`, `LINEAR`, `EXPONENTIAL`, `SINGLE_RETRY`, and `NO_RETRIES`.
3211
+ :param _builtins.int base_backoff_seconds: The number of seconds to wait before the first retry attempt. (Default `60`).
3212
+ :param _builtins.int max_duration_seconds: The total amount of time to continue retrying the check/monitor (maximum 600 seconds). Available when `type` is `FIXED`, `LINEAR`, or `EXPONENTIAL`. (Default `600`).
3213
+ :param _builtins.int max_retries: The maximum number of times to retry the check/monitor. Value must be between `1` and `10`. Available when `type` is `FIXED`, `LINEAR`, or `EXPONENTIAL`. (Default `2`).
3214
+ :param 'TcpCheckRetryStrategyOnlyOnArgs' only_on: Apply the retry strategy only if the defined conditions match.
3215
+ :param _builtins.bool same_region: Whether retries should be run in the same region as the initial check/monitor run. (Default `true`).
2858
3216
  """
2859
3217
  pulumi.set(__self__, "type", type)
2860
3218
  if base_backoff_seconds is not None:
@@ -2863,50 +3221,177 @@ class TcpCheckRetryStrategy(dict):
2863
3221
  pulumi.set(__self__, "max_duration_seconds", max_duration_seconds)
2864
3222
  if max_retries is not None:
2865
3223
  pulumi.set(__self__, "max_retries", max_retries)
3224
+ if only_on is not None:
3225
+ pulumi.set(__self__, "only_on", only_on)
2866
3226
  if same_region is not None:
2867
3227
  pulumi.set(__self__, "same_region", same_region)
2868
3228
 
2869
- @property
3229
+ @_builtins.property
2870
3230
  @pulumi.getter
2871
- def type(self) -> str:
3231
+ def type(self) -> _builtins.str:
2872
3232
  """
2873
- Determines which type of retry strategy to use. Possible values are `FIXED`, `LINEAR`, or `EXPONENTIAL`.
3233
+ Determines which type of retry strategy to use. Possible values are `FIXED`, `LINEAR`, `EXPONENTIAL`, `SINGLE_RETRY`, and `NO_RETRIES`.
2874
3234
  """
2875
3235
  return pulumi.get(self, "type")
2876
3236
 
2877
- @property
3237
+ @_builtins.property
2878
3238
  @pulumi.getter(name="baseBackoffSeconds")
2879
- def base_backoff_seconds(self) -> Optional[int]:
3239
+ def base_backoff_seconds(self) -> Optional[_builtins.int]:
2880
3240
  """
2881
- The number of seconds to wait before the first retry attempt.
3241
+ The number of seconds to wait before the first retry attempt. (Default `60`).
2882
3242
  """
2883
3243
  return pulumi.get(self, "base_backoff_seconds")
2884
3244
 
2885
- @property
3245
+ @_builtins.property
2886
3246
  @pulumi.getter(name="maxDurationSeconds")
2887
- def max_duration_seconds(self) -> Optional[int]:
3247
+ def max_duration_seconds(self) -> Optional[_builtins.int]:
2888
3248
  """
2889
- The total amount of time to continue retrying the check (maximum 600 seconds).
3249
+ The total amount of time to continue retrying the check/monitor (maximum 600 seconds). Available when `type` is `FIXED`, `LINEAR`, or `EXPONENTIAL`. (Default `600`).
2890
3250
  """
2891
3251
  return pulumi.get(self, "max_duration_seconds")
2892
3252
 
2893
- @property
3253
+ @_builtins.property
2894
3254
  @pulumi.getter(name="maxRetries")
2895
- def max_retries(self) -> Optional[int]:
3255
+ def max_retries(self) -> Optional[_builtins.int]:
2896
3256
  """
2897
- The maximum number of times to retry the check. Value must be between 1 and 10.
3257
+ The maximum number of times to retry the check/monitor. Value must be between `1` and `10`. Available when `type` is `FIXED`, `LINEAR`, or `EXPONENTIAL`. (Default `2`).
2898
3258
  """
2899
3259
  return pulumi.get(self, "max_retries")
2900
3260
 
2901
- @property
3261
+ @_builtins.property
3262
+ @pulumi.getter(name="onlyOn")
3263
+ def only_on(self) -> Optional['outputs.TcpCheckRetryStrategyOnlyOn']:
3264
+ """
3265
+ Apply the retry strategy only if the defined conditions match.
3266
+ """
3267
+ return pulumi.get(self, "only_on")
3268
+
3269
+ @_builtins.property
2902
3270
  @pulumi.getter(name="sameRegion")
2903
- def same_region(self) -> Optional[bool]:
3271
+ def same_region(self) -> Optional[_builtins.bool]:
2904
3272
  """
2905
- Whether retries should be run in the same region as the initial check run.
3273
+ Whether retries should be run in the same region as the initial check/monitor run. (Default `true`).
2906
3274
  """
2907
3275
  return pulumi.get(self, "same_region")
2908
3276
 
2909
3277
 
3278
+ @pulumi.output_type
3279
+ class TcpCheckRetryStrategyOnlyOn(dict):
3280
+ @staticmethod
3281
+ def __key_warning(key: str):
3282
+ suggest = None
3283
+ if key == "networkError":
3284
+ suggest = "network_error"
3285
+
3286
+ if suggest:
3287
+ pulumi.log.warn(f"Key '{key}' not found in TcpCheckRetryStrategyOnlyOn. Access the value via the '{suggest}' property getter instead.")
3288
+
3289
+ def __getitem__(self, key: str) -> Any:
3290
+ TcpCheckRetryStrategyOnlyOn.__key_warning(key)
3291
+ return super().__getitem__(key)
3292
+
3293
+ def get(self, key: str, default = None) -> Any:
3294
+ TcpCheckRetryStrategyOnlyOn.__key_warning(key)
3295
+ return super().get(key, default)
3296
+
3297
+ def __init__(__self__, *,
3298
+ network_error: Optional[_builtins.bool] = None):
3299
+ """
3300
+ :param _builtins.bool network_error: When `true`, retry only if the cause of the failure is a network error. (Default `false`).
3301
+ """
3302
+ if network_error is not None:
3303
+ pulumi.set(__self__, "network_error", network_error)
3304
+
3305
+ @_builtins.property
3306
+ @pulumi.getter(name="networkError")
3307
+ def network_error(self) -> Optional[_builtins.bool]:
3308
+ """
3309
+ When `true`, retry only if the cause of the failure is a network error. (Default `false`).
3310
+ """
3311
+ return pulumi.get(self, "network_error")
3312
+
3313
+
3314
+ @pulumi.output_type
3315
+ class TcpCheckTriggerIncident(dict):
3316
+ @staticmethod
3317
+ def __key_warning(key: str):
3318
+ suggest = None
3319
+ if key == "notifySubscribers":
3320
+ suggest = "notify_subscribers"
3321
+ elif key == "serviceId":
3322
+ suggest = "service_id"
3323
+
3324
+ if suggest:
3325
+ pulumi.log.warn(f"Key '{key}' not found in TcpCheckTriggerIncident. Access the value via the '{suggest}' property getter instead.")
3326
+
3327
+ def __getitem__(self, key: str) -> Any:
3328
+ TcpCheckTriggerIncident.__key_warning(key)
3329
+ return super().__getitem__(key)
3330
+
3331
+ def get(self, key: str, default = None) -> Any:
3332
+ TcpCheckTriggerIncident.__key_warning(key)
3333
+ return super().get(key, default)
3334
+
3335
+ def __init__(__self__, *,
3336
+ description: _builtins.str,
3337
+ name: _builtins.str,
3338
+ notify_subscribers: _builtins.bool,
3339
+ service_id: _builtins.str,
3340
+ severity: _builtins.str):
3341
+ """
3342
+ :param _builtins.str description: A detailed description of the incident.
3343
+ :param _builtins.str name: The name of the incident.
3344
+ :param _builtins.bool notify_subscribers: Whether to notify subscribers when the incident is triggered.
3345
+ :param _builtins.str service_id: The status page service that this incident will be associated with.
3346
+ :param _builtins.str severity: The severity level of the incident. Possible values are `MINOR`, `MEDIUM`, `MAJOR`, and `CRITICAL`.
3347
+ """
3348
+ pulumi.set(__self__, "description", description)
3349
+ pulumi.set(__self__, "name", name)
3350
+ pulumi.set(__self__, "notify_subscribers", notify_subscribers)
3351
+ pulumi.set(__self__, "service_id", service_id)
3352
+ pulumi.set(__self__, "severity", severity)
3353
+
3354
+ @_builtins.property
3355
+ @pulumi.getter
3356
+ def description(self) -> _builtins.str:
3357
+ """
3358
+ A detailed description of the incident.
3359
+ """
3360
+ return pulumi.get(self, "description")
3361
+
3362
+ @_builtins.property
3363
+ @pulumi.getter
3364
+ def name(self) -> _builtins.str:
3365
+ """
3366
+ The name of the incident.
3367
+ """
3368
+ return pulumi.get(self, "name")
3369
+
3370
+ @_builtins.property
3371
+ @pulumi.getter(name="notifySubscribers")
3372
+ def notify_subscribers(self) -> _builtins.bool:
3373
+ """
3374
+ Whether to notify subscribers when the incident is triggered.
3375
+ """
3376
+ return pulumi.get(self, "notify_subscribers")
3377
+
3378
+ @_builtins.property
3379
+ @pulumi.getter(name="serviceId")
3380
+ def service_id(self) -> _builtins.str:
3381
+ """
3382
+ The status page service that this incident will be associated with.
3383
+ """
3384
+ return pulumi.get(self, "service_id")
3385
+
3386
+ @_builtins.property
3387
+ @pulumi.getter
3388
+ def severity(self) -> _builtins.str:
3389
+ """
3390
+ The severity level of the incident. Possible values are `MINOR`, `MEDIUM`, `MAJOR`, and `CRITICAL`.
3391
+ """
3392
+ return pulumi.get(self, "severity")
3393
+
3394
+
2910
3395
  @pulumi.output_type
2911
3396
  class TcpMonitorAlertChannelSubscription(dict):
2912
3397
  @staticmethod
@@ -2927,19 +3412,19 @@ class TcpMonitorAlertChannelSubscription(dict):
2927
3412
  return super().get(key, default)
2928
3413
 
2929
3414
  def __init__(__self__, *,
2930
- activated: bool,
2931
- channel_id: int):
3415
+ activated: _builtins.bool,
3416
+ channel_id: _builtins.int):
2932
3417
  pulumi.set(__self__, "activated", activated)
2933
3418
  pulumi.set(__self__, "channel_id", channel_id)
2934
3419
 
2935
- @property
3420
+ @_builtins.property
2936
3421
  @pulumi.getter
2937
- def activated(self) -> bool:
3422
+ def activated(self) -> _builtins.bool:
2938
3423
  return pulumi.get(self, "activated")
2939
3424
 
2940
- @property
3425
+ @_builtins.property
2941
3426
  @pulumi.getter(name="channelId")
2942
- def channel_id(self) -> int:
3427
+ def channel_id(self) -> _builtins.int:
2943
3428
  return pulumi.get(self, "channel_id")
2944
3429
 
2945
3430
 
@@ -2969,13 +3454,13 @@ class TcpMonitorAlertSettings(dict):
2969
3454
  return super().get(key, default)
2970
3455
 
2971
3456
  def __init__(__self__, *,
2972
- escalation_type: Optional[str] = None,
3457
+ escalation_type: Optional[_builtins.str] = None,
2973
3458
  parallel_run_failure_thresholds: Optional[Sequence['outputs.TcpMonitorAlertSettingsParallelRunFailureThreshold']] = None,
2974
3459
  reminders: Optional[Sequence['outputs.TcpMonitorAlertSettingsReminder']] = None,
2975
3460
  run_based_escalations: Optional[Sequence['outputs.TcpMonitorAlertSettingsRunBasedEscalation']] = None,
2976
3461
  time_based_escalations: Optional[Sequence['outputs.TcpMonitorAlertSettingsTimeBasedEscalation']] = None):
2977
3462
  """
2978
- :param str escalation_type: Determines what type of escalation to use. Possible values are `RUN_BASED` or `TIME_BASED`.
3463
+ :param _builtins.str escalation_type: Determines what type of escalation to use. Possible values are `RUN_BASED` or `TIME_BASED`.
2979
3464
  """
2980
3465
  if escalation_type is not None:
2981
3466
  pulumi.set(__self__, "escalation_type", escalation_type)
@@ -2988,30 +3473,30 @@ class TcpMonitorAlertSettings(dict):
2988
3473
  if time_based_escalations is not None:
2989
3474
  pulumi.set(__self__, "time_based_escalations", time_based_escalations)
2990
3475
 
2991
- @property
3476
+ @_builtins.property
2992
3477
  @pulumi.getter(name="escalationType")
2993
- def escalation_type(self) -> Optional[str]:
3478
+ def escalation_type(self) -> Optional[_builtins.str]:
2994
3479
  """
2995
3480
  Determines what type of escalation to use. Possible values are `RUN_BASED` or `TIME_BASED`.
2996
3481
  """
2997
3482
  return pulumi.get(self, "escalation_type")
2998
3483
 
2999
- @property
3484
+ @_builtins.property
3000
3485
  @pulumi.getter(name="parallelRunFailureThresholds")
3001
3486
  def parallel_run_failure_thresholds(self) -> Optional[Sequence['outputs.TcpMonitorAlertSettingsParallelRunFailureThreshold']]:
3002
3487
  return pulumi.get(self, "parallel_run_failure_thresholds")
3003
3488
 
3004
- @property
3489
+ @_builtins.property
3005
3490
  @pulumi.getter
3006
3491
  def reminders(self) -> Optional[Sequence['outputs.TcpMonitorAlertSettingsReminder']]:
3007
3492
  return pulumi.get(self, "reminders")
3008
3493
 
3009
- @property
3494
+ @_builtins.property
3010
3495
  @pulumi.getter(name="runBasedEscalations")
3011
3496
  def run_based_escalations(self) -> Optional[Sequence['outputs.TcpMonitorAlertSettingsRunBasedEscalation']]:
3012
3497
  return pulumi.get(self, "run_based_escalations")
3013
3498
 
3014
- @property
3499
+ @_builtins.property
3015
3500
  @pulumi.getter(name="timeBasedEscalations")
3016
3501
  def time_based_escalations(self) -> Optional[Sequence['outputs.TcpMonitorAlertSettingsTimeBasedEscalation']]:
3017
3502
  return pulumi.get(self, "time_based_escalations")
@@ -3020,28 +3505,28 @@ class TcpMonitorAlertSettings(dict):
3020
3505
  @pulumi.output_type
3021
3506
  class TcpMonitorAlertSettingsParallelRunFailureThreshold(dict):
3022
3507
  def __init__(__self__, *,
3023
- enabled: Optional[bool] = None,
3024
- percentage: Optional[int] = None):
3508
+ enabled: Optional[_builtins.bool] = None,
3509
+ percentage: Optional[_builtins.int] = None):
3025
3510
  """
3026
- :param bool enabled: Applicable only for checks scheduled in parallel in multiple locations.
3027
- :param int percentage: Possible values are `10`, `20`, `30`, `40`, `50`, `60`, `70`, `80`, `100`, and `100`. (Default `10`).
3511
+ :param _builtins.bool enabled: Applicable only for checks scheduled in parallel in multiple locations.
3512
+ :param _builtins.int percentage: Possible values are `10`, `20`, `30`, `40`, `50`, `60`, `70`, `80`, `100`, and `100`. (Default `10`).
3028
3513
  """
3029
3514
  if enabled is not None:
3030
3515
  pulumi.set(__self__, "enabled", enabled)
3031
3516
  if percentage is not None:
3032
3517
  pulumi.set(__self__, "percentage", percentage)
3033
3518
 
3034
- @property
3519
+ @_builtins.property
3035
3520
  @pulumi.getter
3036
- def enabled(self) -> Optional[bool]:
3521
+ def enabled(self) -> Optional[_builtins.bool]:
3037
3522
  """
3038
3523
  Applicable only for checks scheduled in parallel in multiple locations.
3039
3524
  """
3040
3525
  return pulumi.get(self, "enabled")
3041
3526
 
3042
- @property
3527
+ @_builtins.property
3043
3528
  @pulumi.getter
3044
- def percentage(self) -> Optional[int]:
3529
+ def percentage(self) -> Optional[_builtins.int]:
3045
3530
  """
3046
3531
  Possible values are `10`, `20`, `30`, `40`, `50`, `60`, `70`, `80`, `100`, and `100`. (Default `10`).
3047
3532
  """
@@ -3051,28 +3536,28 @@ class TcpMonitorAlertSettingsParallelRunFailureThreshold(dict):
3051
3536
  @pulumi.output_type
3052
3537
  class TcpMonitorAlertSettingsReminder(dict):
3053
3538
  def __init__(__self__, *,
3054
- amount: Optional[int] = None,
3055
- interval: Optional[int] = None):
3539
+ amount: Optional[_builtins.int] = None,
3540
+ interval: Optional[_builtins.int] = None):
3056
3541
  """
3057
- :param int amount: How many reminders to send out after the initial alert notification. Possible values are `0`, `1`, `2`, `3`, `4`, `5`, and `100000`
3058
- :param int interval: Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
3542
+ :param _builtins.int amount: How many reminders to send out after the initial alert notification. Possible values are `0`, `1`, `2`, `3`, `4`, `5`, and `100000`
3543
+ :param _builtins.int interval: Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
3059
3544
  """
3060
3545
  if amount is not None:
3061
3546
  pulumi.set(__self__, "amount", amount)
3062
3547
  if interval is not None:
3063
3548
  pulumi.set(__self__, "interval", interval)
3064
3549
 
3065
- @property
3550
+ @_builtins.property
3066
3551
  @pulumi.getter
3067
- def amount(self) -> Optional[int]:
3552
+ def amount(self) -> Optional[_builtins.int]:
3068
3553
  """
3069
3554
  How many reminders to send out after the initial alert notification. Possible values are `0`, `1`, `2`, `3`, `4`, `5`, and `100000`
3070
3555
  """
3071
3556
  return pulumi.get(self, "amount")
3072
3557
 
3073
- @property
3558
+ @_builtins.property
3074
3559
  @pulumi.getter
3075
- def interval(self) -> Optional[int]:
3560
+ def interval(self) -> Optional[_builtins.int]:
3076
3561
  """
3077
3562
  Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
3078
3563
  """
@@ -3099,16 +3584,16 @@ class TcpMonitorAlertSettingsRunBasedEscalation(dict):
3099
3584
  return super().get(key, default)
3100
3585
 
3101
3586
  def __init__(__self__, *,
3102
- failed_run_threshold: Optional[int] = None):
3587
+ failed_run_threshold: Optional[_builtins.int] = None):
3103
3588
  """
3104
- :param int failed_run_threshold: After how many failed consecutive check runs an alert notification should be sent. Possible values are between 1 and 5. (Default `1`).
3589
+ :param _builtins.int failed_run_threshold: After how many failed consecutive check runs an alert notification should be sent. Possible values are between 1 and 5. (Default `1`).
3105
3590
  """
3106
3591
  if failed_run_threshold is not None:
3107
3592
  pulumi.set(__self__, "failed_run_threshold", failed_run_threshold)
3108
3593
 
3109
- @property
3594
+ @_builtins.property
3110
3595
  @pulumi.getter(name="failedRunThreshold")
3111
- def failed_run_threshold(self) -> Optional[int]:
3596
+ def failed_run_threshold(self) -> Optional[_builtins.int]:
3112
3597
  """
3113
3598
  After how many failed consecutive check runs an alert notification should be sent. Possible values are between 1 and 5. (Default `1`).
3114
3599
  """
@@ -3135,16 +3620,16 @@ class TcpMonitorAlertSettingsTimeBasedEscalation(dict):
3135
3620
  return super().get(key, default)
3136
3621
 
3137
3622
  def __init__(__self__, *,
3138
- minutes_failing_threshold: Optional[int] = None):
3623
+ minutes_failing_threshold: Optional[_builtins.int] = None):
3139
3624
  """
3140
- :param int minutes_failing_threshold: After how many minutes after a check starts failing an alert should be sent. Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
3625
+ :param _builtins.int minutes_failing_threshold: After how many minutes after a check starts failing an alert should be sent. Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
3141
3626
  """
3142
3627
  if minutes_failing_threshold is not None:
3143
3628
  pulumi.set(__self__, "minutes_failing_threshold", minutes_failing_threshold)
3144
3629
 
3145
- @property
3630
+ @_builtins.property
3146
3631
  @pulumi.getter(name="minutesFailingThreshold")
3147
- def minutes_failing_threshold(self) -> Optional[int]:
3632
+ def minutes_failing_threshold(self) -> Optional[_builtins.int]:
3148
3633
  """
3149
3634
  After how many minutes after a check starts failing an alert should be sent. Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
3150
3635
  """
@@ -3171,17 +3656,17 @@ class TcpMonitorRequest(dict):
3171
3656
  return super().get(key, default)
3172
3657
 
3173
3658
  def __init__(__self__, *,
3174
- hostname: str,
3175
- port: int,
3659
+ hostname: _builtins.str,
3660
+ port: _builtins.int,
3176
3661
  assertions: Optional[Sequence['outputs.TcpMonitorRequestAssertion']] = None,
3177
- data: Optional[str] = None,
3178
- ip_family: Optional[str] = None):
3662
+ data: Optional[_builtins.str] = None,
3663
+ ip_family: Optional[_builtins.str] = None):
3179
3664
  """
3180
- :param str hostname: The hostname or IP to connect to. Do not include a scheme or a port in this value.
3181
- :param int port: The port number to connect to.
3665
+ :param _builtins.str hostname: The hostname or IP to connect to. Do not include a scheme or a port in this value.
3666
+ :param _builtins.int port: The port number to connect to.
3182
3667
  :param Sequence['TcpMonitorRequestAssertionArgs'] assertions: A request can have multiple assertions.
3183
- :param str data: The data to send to the target host.
3184
- :param str ip_family: The IP family to use when executing the TCP check. The value can be either `IPv4` or `IPv6`.
3668
+ :param _builtins.str data: The data to send to the target host.
3669
+ :param _builtins.str ip_family: The IP family to use when executing the TCP check. The value can be either `IPv4` or `IPv6`.
3185
3670
  """
3186
3671
  pulumi.set(__self__, "hostname", hostname)
3187
3672
  pulumi.set(__self__, "port", port)
@@ -3192,23 +3677,23 @@ class TcpMonitorRequest(dict):
3192
3677
  if ip_family is not None:
3193
3678
  pulumi.set(__self__, "ip_family", ip_family)
3194
3679
 
3195
- @property
3680
+ @_builtins.property
3196
3681
  @pulumi.getter
3197
- def hostname(self) -> str:
3682
+ def hostname(self) -> _builtins.str:
3198
3683
  """
3199
3684
  The hostname or IP to connect to. Do not include a scheme or a port in this value.
3200
3685
  """
3201
3686
  return pulumi.get(self, "hostname")
3202
3687
 
3203
- @property
3688
+ @_builtins.property
3204
3689
  @pulumi.getter
3205
- def port(self) -> int:
3690
+ def port(self) -> _builtins.int:
3206
3691
  """
3207
3692
  The port number to connect to.
3208
3693
  """
3209
3694
  return pulumi.get(self, "port")
3210
3695
 
3211
- @property
3696
+ @_builtins.property
3212
3697
  @pulumi.getter
3213
3698
  def assertions(self) -> Optional[Sequence['outputs.TcpMonitorRequestAssertion']]:
3214
3699
  """
@@ -3216,17 +3701,17 @@ class TcpMonitorRequest(dict):
3216
3701
  """
3217
3702
  return pulumi.get(self, "assertions")
3218
3703
 
3219
- @property
3704
+ @_builtins.property
3220
3705
  @pulumi.getter
3221
- def data(self) -> Optional[str]:
3706
+ def data(self) -> Optional[_builtins.str]:
3222
3707
  """
3223
3708
  The data to send to the target host.
3224
3709
  """
3225
3710
  return pulumi.get(self, "data")
3226
3711
 
3227
- @property
3712
+ @_builtins.property
3228
3713
  @pulumi.getter(name="ipFamily")
3229
- def ip_family(self) -> Optional[str]:
3714
+ def ip_family(self) -> Optional[_builtins.str]:
3230
3715
  """
3231
3716
  The IP family to use when executing the TCP check. The value can be either `IPv4` or `IPv6`.
3232
3717
  """
@@ -3236,13 +3721,13 @@ class TcpMonitorRequest(dict):
3236
3721
  @pulumi.output_type
3237
3722
  class TcpMonitorRequestAssertion(dict):
3238
3723
  def __init__(__self__, *,
3239
- comparison: str,
3240
- source: str,
3241
- property: Optional[str] = None,
3242
- target: Optional[str] = None):
3724
+ comparison: _builtins.str,
3725
+ source: _builtins.str,
3726
+ property: Optional[_builtins.str] = None,
3727
+ target: Optional[_builtins.str] = None):
3243
3728
  """
3244
- :param str comparison: The type of comparison to be executed between expected and actual value of the assertion. Possible values are `EQUALS`, `NOT_EQUALS`, `HAS_KEY`, `NOT_HAS_KEY`, `HAS_VALUE`, `NOT_HAS_VALUE`, `IS_EMPTY`, `NOT_EMPTY`, `GREATER_THAN`, `LESS_THAN`, `CONTAINS`, `NOT_CONTAINS`, `IS_NULL`, and `NOT_NULL`.
3245
- :param str source: The source of the asserted value. Possible values are `RESPONSE_DATA` and `RESPONSE_TIME`.
3729
+ :param _builtins.str comparison: The type of comparison to be executed between expected and actual value of the assertion. Possible values are `EQUALS`, `NOT_EQUALS`, `HAS_KEY`, `NOT_HAS_KEY`, `HAS_VALUE`, `NOT_HAS_VALUE`, `IS_EMPTY`, `NOT_EMPTY`, `GREATER_THAN`, `LESS_THAN`, `CONTAINS`, `NOT_CONTAINS`, `IS_NULL`, and `NOT_NULL`.
3730
+ :param _builtins.str source: The source of the asserted value. Possible values are `RESPONSE_DATA` and `RESPONSE_TIME`.
3246
3731
  """
3247
3732
  pulumi.set(__self__, "comparison", comparison)
3248
3733
  pulumi.set(__self__, "source", source)
@@ -3251,31 +3736,31 @@ class TcpMonitorRequestAssertion(dict):
3251
3736
  if target is not None:
3252
3737
  pulumi.set(__self__, "target", target)
3253
3738
 
3254
- @property
3739
+ @_builtins.property
3255
3740
  @pulumi.getter
3256
- def comparison(self) -> str:
3741
+ def comparison(self) -> _builtins.str:
3257
3742
  """
3258
3743
  The type of comparison to be executed between expected and actual value of the assertion. Possible values are `EQUALS`, `NOT_EQUALS`, `HAS_KEY`, `NOT_HAS_KEY`, `HAS_VALUE`, `NOT_HAS_VALUE`, `IS_EMPTY`, `NOT_EMPTY`, `GREATER_THAN`, `LESS_THAN`, `CONTAINS`, `NOT_CONTAINS`, `IS_NULL`, and `NOT_NULL`.
3259
3744
  """
3260
3745
  return pulumi.get(self, "comparison")
3261
3746
 
3262
- @property
3747
+ @_builtins.property
3263
3748
  @pulumi.getter
3264
- def source(self) -> str:
3749
+ def source(self) -> _builtins.str:
3265
3750
  """
3266
3751
  The source of the asserted value. Possible values are `RESPONSE_DATA` and `RESPONSE_TIME`.
3267
3752
  """
3268
3753
  return pulumi.get(self, "source")
3269
3754
 
3270
- @property
3755
+ @_builtins.property
3271
3756
  @pulumi.getter
3272
- def target(self) -> Optional[str]:
3273
- return pulumi.get(self, "target")
3757
+ def property(self) -> Optional[_builtins.str]:
3758
+ return pulumi.get(self, "property")
3274
3759
 
3275
- @property
3760
+ @_builtins.property
3276
3761
  @pulumi.getter
3277
- def property(self) -> Optional[str]:
3278
- return pulumi.get(self, "property")
3762
+ def target(self) -> Optional[_builtins.str]:
3763
+ return pulumi.get(self, "target")
3279
3764
 
3280
3765
 
3281
3766
  @pulumi.output_type
@@ -3289,6 +3774,8 @@ class TcpMonitorRetryStrategy(dict):
3289
3774
  suggest = "max_duration_seconds"
3290
3775
  elif key == "maxRetries":
3291
3776
  suggest = "max_retries"
3777
+ elif key == "onlyOn":
3778
+ suggest = "only_on"
3292
3779
  elif key == "sameRegion":
3293
3780
  suggest = "same_region"
3294
3781
 
@@ -3304,17 +3791,19 @@ class TcpMonitorRetryStrategy(dict):
3304
3791
  return super().get(key, default)
3305
3792
 
3306
3793
  def __init__(__self__, *,
3307
- type: str,
3308
- base_backoff_seconds: Optional[int] = None,
3309
- max_duration_seconds: Optional[int] = None,
3310
- max_retries: Optional[int] = None,
3311
- same_region: Optional[bool] = None):
3312
- """
3313
- :param str type: Determines which type of retry strategy to use. Possible values are `FIXED`, `LINEAR`, or `EXPONENTIAL`.
3314
- :param int base_backoff_seconds: The number of seconds to wait before the first retry attempt.
3315
- :param int max_duration_seconds: The total amount of time to continue retrying the check (maximum 600 seconds).
3316
- :param int max_retries: The maximum number of times to retry the check. Value must be between 1 and 10.
3317
- :param bool same_region: Whether retries should be run in the same region as the initial check run.
3794
+ type: _builtins.str,
3795
+ base_backoff_seconds: Optional[_builtins.int] = None,
3796
+ max_duration_seconds: Optional[_builtins.int] = None,
3797
+ max_retries: Optional[_builtins.int] = None,
3798
+ only_on: Optional['outputs.TcpMonitorRetryStrategyOnlyOn'] = None,
3799
+ same_region: Optional[_builtins.bool] = None):
3800
+ """
3801
+ :param _builtins.str type: Determines which type of retry strategy to use. Possible values are `FIXED`, `LINEAR`, `EXPONENTIAL`, `SINGLE_RETRY`, and `NO_RETRIES`.
3802
+ :param _builtins.int base_backoff_seconds: The number of seconds to wait before the first retry attempt. (Default `60`).
3803
+ :param _builtins.int max_duration_seconds: The total amount of time to continue retrying the check/monitor (maximum 600 seconds). Available when `type` is `FIXED`, `LINEAR`, or `EXPONENTIAL`. (Default `600`).
3804
+ :param _builtins.int max_retries: The maximum number of times to retry the check/monitor. Value must be between `1` and `10`. Available when `type` is `FIXED`, `LINEAR`, or `EXPONENTIAL`. (Default `2`).
3805
+ :param 'TcpMonitorRetryStrategyOnlyOnArgs' only_on: Apply the retry strategy only if the defined conditions match.
3806
+ :param _builtins.bool same_region: Whether retries should be run in the same region as the initial check/monitor run. (Default `true`).
3318
3807
  """
3319
3808
  pulumi.set(__self__, "type", type)
3320
3809
  if base_backoff_seconds is not None:
@@ -3323,50 +3812,177 @@ class TcpMonitorRetryStrategy(dict):
3323
3812
  pulumi.set(__self__, "max_duration_seconds", max_duration_seconds)
3324
3813
  if max_retries is not None:
3325
3814
  pulumi.set(__self__, "max_retries", max_retries)
3815
+ if only_on is not None:
3816
+ pulumi.set(__self__, "only_on", only_on)
3326
3817
  if same_region is not None:
3327
3818
  pulumi.set(__self__, "same_region", same_region)
3328
3819
 
3329
- @property
3820
+ @_builtins.property
3330
3821
  @pulumi.getter
3331
- def type(self) -> str:
3822
+ def type(self) -> _builtins.str:
3332
3823
  """
3333
- Determines which type of retry strategy to use. Possible values are `FIXED`, `LINEAR`, or `EXPONENTIAL`.
3824
+ Determines which type of retry strategy to use. Possible values are `FIXED`, `LINEAR`, `EXPONENTIAL`, `SINGLE_RETRY`, and `NO_RETRIES`.
3334
3825
  """
3335
3826
  return pulumi.get(self, "type")
3336
3827
 
3337
- @property
3828
+ @_builtins.property
3338
3829
  @pulumi.getter(name="baseBackoffSeconds")
3339
- def base_backoff_seconds(self) -> Optional[int]:
3830
+ def base_backoff_seconds(self) -> Optional[_builtins.int]:
3340
3831
  """
3341
- The number of seconds to wait before the first retry attempt.
3832
+ The number of seconds to wait before the first retry attempt. (Default `60`).
3342
3833
  """
3343
3834
  return pulumi.get(self, "base_backoff_seconds")
3344
3835
 
3345
- @property
3836
+ @_builtins.property
3346
3837
  @pulumi.getter(name="maxDurationSeconds")
3347
- def max_duration_seconds(self) -> Optional[int]:
3838
+ def max_duration_seconds(self) -> Optional[_builtins.int]:
3348
3839
  """
3349
- The total amount of time to continue retrying the check (maximum 600 seconds).
3840
+ The total amount of time to continue retrying the check/monitor (maximum 600 seconds). Available when `type` is `FIXED`, `LINEAR`, or `EXPONENTIAL`. (Default `600`).
3350
3841
  """
3351
3842
  return pulumi.get(self, "max_duration_seconds")
3352
3843
 
3353
- @property
3844
+ @_builtins.property
3354
3845
  @pulumi.getter(name="maxRetries")
3355
- def max_retries(self) -> Optional[int]:
3846
+ def max_retries(self) -> Optional[_builtins.int]:
3356
3847
  """
3357
- The maximum number of times to retry the check. Value must be between 1 and 10.
3848
+ The maximum number of times to retry the check/monitor. Value must be between `1` and `10`. Available when `type` is `FIXED`, `LINEAR`, or `EXPONENTIAL`. (Default `2`).
3358
3849
  """
3359
3850
  return pulumi.get(self, "max_retries")
3360
3851
 
3361
- @property
3852
+ @_builtins.property
3853
+ @pulumi.getter(name="onlyOn")
3854
+ def only_on(self) -> Optional['outputs.TcpMonitorRetryStrategyOnlyOn']:
3855
+ """
3856
+ Apply the retry strategy only if the defined conditions match.
3857
+ """
3858
+ return pulumi.get(self, "only_on")
3859
+
3860
+ @_builtins.property
3362
3861
  @pulumi.getter(name="sameRegion")
3363
- def same_region(self) -> Optional[bool]:
3862
+ def same_region(self) -> Optional[_builtins.bool]:
3364
3863
  """
3365
- Whether retries should be run in the same region as the initial check run.
3864
+ Whether retries should be run in the same region as the initial check/monitor run. (Default `true`).
3366
3865
  """
3367
3866
  return pulumi.get(self, "same_region")
3368
3867
 
3369
3868
 
3869
+ @pulumi.output_type
3870
+ class TcpMonitorRetryStrategyOnlyOn(dict):
3871
+ @staticmethod
3872
+ def __key_warning(key: str):
3873
+ suggest = None
3874
+ if key == "networkError":
3875
+ suggest = "network_error"
3876
+
3877
+ if suggest:
3878
+ pulumi.log.warn(f"Key '{key}' not found in TcpMonitorRetryStrategyOnlyOn. Access the value via the '{suggest}' property getter instead.")
3879
+
3880
+ def __getitem__(self, key: str) -> Any:
3881
+ TcpMonitorRetryStrategyOnlyOn.__key_warning(key)
3882
+ return super().__getitem__(key)
3883
+
3884
+ def get(self, key: str, default = None) -> Any:
3885
+ TcpMonitorRetryStrategyOnlyOn.__key_warning(key)
3886
+ return super().get(key, default)
3887
+
3888
+ def __init__(__self__, *,
3889
+ network_error: Optional[_builtins.bool] = None):
3890
+ """
3891
+ :param _builtins.bool network_error: When `true`, retry only if the cause of the failure is a network error. (Default `false`).
3892
+ """
3893
+ if network_error is not None:
3894
+ pulumi.set(__self__, "network_error", network_error)
3895
+
3896
+ @_builtins.property
3897
+ @pulumi.getter(name="networkError")
3898
+ def network_error(self) -> Optional[_builtins.bool]:
3899
+ """
3900
+ When `true`, retry only if the cause of the failure is a network error. (Default `false`).
3901
+ """
3902
+ return pulumi.get(self, "network_error")
3903
+
3904
+
3905
+ @pulumi.output_type
3906
+ class TcpMonitorTriggerIncident(dict):
3907
+ @staticmethod
3908
+ def __key_warning(key: str):
3909
+ suggest = None
3910
+ if key == "notifySubscribers":
3911
+ suggest = "notify_subscribers"
3912
+ elif key == "serviceId":
3913
+ suggest = "service_id"
3914
+
3915
+ if suggest:
3916
+ pulumi.log.warn(f"Key '{key}' not found in TcpMonitorTriggerIncident. Access the value via the '{suggest}' property getter instead.")
3917
+
3918
+ def __getitem__(self, key: str) -> Any:
3919
+ TcpMonitorTriggerIncident.__key_warning(key)
3920
+ return super().__getitem__(key)
3921
+
3922
+ def get(self, key: str, default = None) -> Any:
3923
+ TcpMonitorTriggerIncident.__key_warning(key)
3924
+ return super().get(key, default)
3925
+
3926
+ def __init__(__self__, *,
3927
+ description: _builtins.str,
3928
+ name: _builtins.str,
3929
+ notify_subscribers: _builtins.bool,
3930
+ service_id: _builtins.str,
3931
+ severity: _builtins.str):
3932
+ """
3933
+ :param _builtins.str description: A detailed description of the incident.
3934
+ :param _builtins.str name: The name of the incident.
3935
+ :param _builtins.bool notify_subscribers: Whether to notify subscribers when the incident is triggered.
3936
+ :param _builtins.str service_id: The status page service that this incident will be associated with.
3937
+ :param _builtins.str severity: The severity level of the incident. Possible values are `MINOR`, `MEDIUM`, `MAJOR`, and `CRITICAL`.
3938
+ """
3939
+ pulumi.set(__self__, "description", description)
3940
+ pulumi.set(__self__, "name", name)
3941
+ pulumi.set(__self__, "notify_subscribers", notify_subscribers)
3942
+ pulumi.set(__self__, "service_id", service_id)
3943
+ pulumi.set(__self__, "severity", severity)
3944
+
3945
+ @_builtins.property
3946
+ @pulumi.getter
3947
+ def description(self) -> _builtins.str:
3948
+ """
3949
+ A detailed description of the incident.
3950
+ """
3951
+ return pulumi.get(self, "description")
3952
+
3953
+ @_builtins.property
3954
+ @pulumi.getter
3955
+ def name(self) -> _builtins.str:
3956
+ """
3957
+ The name of the incident.
3958
+ """
3959
+ return pulumi.get(self, "name")
3960
+
3961
+ @_builtins.property
3962
+ @pulumi.getter(name="notifySubscribers")
3963
+ def notify_subscribers(self) -> _builtins.bool:
3964
+ """
3965
+ Whether to notify subscribers when the incident is triggered.
3966
+ """
3967
+ return pulumi.get(self, "notify_subscribers")
3968
+
3969
+ @_builtins.property
3970
+ @pulumi.getter(name="serviceId")
3971
+ def service_id(self) -> _builtins.str:
3972
+ """
3973
+ The status page service that this incident will be associated with.
3974
+ """
3975
+ return pulumi.get(self, "service_id")
3976
+
3977
+ @_builtins.property
3978
+ @pulumi.getter
3979
+ def severity(self) -> _builtins.str:
3980
+ """
3981
+ The severity level of the incident. Possible values are `MINOR`, `MEDIUM`, `MAJOR`, and `CRITICAL`.
3982
+ """
3983
+ return pulumi.get(self, "severity")
3984
+
3985
+
3370
3986
  @pulumi.output_type
3371
3987
  class UrlMonitorAlertChannelSubscription(dict):
3372
3988
  @staticmethod
@@ -3387,26 +4003,26 @@ class UrlMonitorAlertChannelSubscription(dict):
3387
4003
  return super().get(key, default)
3388
4004
 
3389
4005
  def __init__(__self__, *,
3390
- activated: bool,
3391
- channel_id: int):
4006
+ activated: _builtins.bool,
4007
+ channel_id: _builtins.int):
3392
4008
  """
3393
- :param bool activated: Whether an alert should be sent to this channel.
3394
- :param int channel_id: The ID of the alert channel.
4009
+ :param _builtins.bool activated: Whether an alert should be sent to this channel.
4010
+ :param _builtins.int channel_id: The ID of the alert channel.
3395
4011
  """
3396
4012
  pulumi.set(__self__, "activated", activated)
3397
4013
  pulumi.set(__self__, "channel_id", channel_id)
3398
4014
 
3399
- @property
4015
+ @_builtins.property
3400
4016
  @pulumi.getter
3401
- def activated(self) -> bool:
4017
+ def activated(self) -> _builtins.bool:
3402
4018
  """
3403
4019
  Whether an alert should be sent to this channel.
3404
4020
  """
3405
4021
  return pulumi.get(self, "activated")
3406
4022
 
3407
- @property
4023
+ @_builtins.property
3408
4024
  @pulumi.getter(name="channelId")
3409
- def channel_id(self) -> int:
4025
+ def channel_id(self) -> _builtins.int:
3410
4026
  """
3411
4027
  The ID of the alert channel.
3412
4028
  """
@@ -3439,13 +4055,13 @@ class UrlMonitorAlertSettings(dict):
3439
4055
  return super().get(key, default)
3440
4056
 
3441
4057
  def __init__(__self__, *,
3442
- escalation_type: str,
4058
+ escalation_type: _builtins.str,
3443
4059
  parallel_run_failure_thresholds: Optional[Sequence['outputs.UrlMonitorAlertSettingsParallelRunFailureThreshold']] = None,
3444
4060
  reminders: Optional[Sequence['outputs.UrlMonitorAlertSettingsReminder']] = None,
3445
4061
  run_based_escalations: Optional[Sequence['outputs.UrlMonitorAlertSettingsRunBasedEscalation']] = None,
3446
4062
  time_based_escalations: Optional[Sequence['outputs.UrlMonitorAlertSettingsTimeBasedEscalation']] = None):
3447
4063
  """
3448
- :param str escalation_type: Determines what type of escalation to use. Possible values are `RUN_BASED` and `TIME_BASED`.
4064
+ :param _builtins.str escalation_type: Determines what type of escalation to use. Possible values are `RUN_BASED` and `TIME_BASED`.
3449
4065
  :param Sequence['UrlMonitorAlertSettingsParallelRunFailureThresholdArgs'] parallel_run_failure_thresholds: Configuration for parallel run failure threshold.
3450
4066
  :param Sequence['UrlMonitorAlertSettingsReminderArgs'] reminders: Defines how often to send reminder notifications after initial alert.
3451
4067
  :param Sequence['UrlMonitorAlertSettingsRunBasedEscalationArgs'] run_based_escalations: Configuration for run-based escalation.
@@ -3461,15 +4077,15 @@ class UrlMonitorAlertSettings(dict):
3461
4077
  if time_based_escalations is not None:
3462
4078
  pulumi.set(__self__, "time_based_escalations", time_based_escalations)
3463
4079
 
3464
- @property
4080
+ @_builtins.property
3465
4081
  @pulumi.getter(name="escalationType")
3466
- def escalation_type(self) -> str:
4082
+ def escalation_type(self) -> _builtins.str:
3467
4083
  """
3468
4084
  Determines what type of escalation to use. Possible values are `RUN_BASED` and `TIME_BASED`.
3469
4085
  """
3470
4086
  return pulumi.get(self, "escalation_type")
3471
4087
 
3472
- @property
4088
+ @_builtins.property
3473
4089
  @pulumi.getter(name="parallelRunFailureThresholds")
3474
4090
  def parallel_run_failure_thresholds(self) -> Optional[Sequence['outputs.UrlMonitorAlertSettingsParallelRunFailureThreshold']]:
3475
4091
  """
@@ -3477,7 +4093,7 @@ class UrlMonitorAlertSettings(dict):
3477
4093
  """
3478
4094
  return pulumi.get(self, "parallel_run_failure_thresholds")
3479
4095
 
3480
- @property
4096
+ @_builtins.property
3481
4097
  @pulumi.getter
3482
4098
  def reminders(self) -> Optional[Sequence['outputs.UrlMonitorAlertSettingsReminder']]:
3483
4099
  """
@@ -3485,7 +4101,7 @@ class UrlMonitorAlertSettings(dict):
3485
4101
  """
3486
4102
  return pulumi.get(self, "reminders")
3487
4103
 
3488
- @property
4104
+ @_builtins.property
3489
4105
  @pulumi.getter(name="runBasedEscalations")
3490
4106
  def run_based_escalations(self) -> Optional[Sequence['outputs.UrlMonitorAlertSettingsRunBasedEscalation']]:
3491
4107
  """
@@ -3493,7 +4109,7 @@ class UrlMonitorAlertSettings(dict):
3493
4109
  """
3494
4110
  return pulumi.get(self, "run_based_escalations")
3495
4111
 
3496
- @property
4112
+ @_builtins.property
3497
4113
  @pulumi.getter(name="timeBasedEscalations")
3498
4114
  def time_based_escalations(self) -> Optional[Sequence['outputs.UrlMonitorAlertSettingsTimeBasedEscalation']]:
3499
4115
  """
@@ -3505,28 +4121,28 @@ class UrlMonitorAlertSettings(dict):
3505
4121
  @pulumi.output_type
3506
4122
  class UrlMonitorAlertSettingsParallelRunFailureThreshold(dict):
3507
4123
  def __init__(__self__, *,
3508
- enabled: Optional[bool] = None,
3509
- percentage: Optional[int] = None):
4124
+ enabled: Optional[_builtins.bool] = None,
4125
+ percentage: Optional[_builtins.int] = None):
3510
4126
  """
3511
- :param bool enabled: Whether parallel run failure threshold is enabled. Applicable only for monitors scheduled in parallel in multiple locations. (Default `false`).
3512
- :param int percentage: Percentage of runs that must fail to trigger alert. Possible values are `10`, `20`, `30`, `40`, `50`, `60`, `70`, `80`, `90`, and `100`. (Default `10`).
4127
+ :param _builtins.bool enabled: Whether parallel run failure threshold is enabled. Applicable only for monitors scheduled in parallel in multiple locations. (Default `false`).
4128
+ :param _builtins.int percentage: Percentage of runs that must fail to trigger alert. Possible values are `10`, `20`, `30`, `40`, `50`, `60`, `70`, `80`, `90`, and `100`. (Default `10`).
3513
4129
  """
3514
4130
  if enabled is not None:
3515
4131
  pulumi.set(__self__, "enabled", enabled)
3516
4132
  if percentage is not None:
3517
4133
  pulumi.set(__self__, "percentage", percentage)
3518
4134
 
3519
- @property
4135
+ @_builtins.property
3520
4136
  @pulumi.getter
3521
- def enabled(self) -> Optional[bool]:
4137
+ def enabled(self) -> Optional[_builtins.bool]:
3522
4138
  """
3523
4139
  Whether parallel run failure threshold is enabled. Applicable only for monitors scheduled in parallel in multiple locations. (Default `false`).
3524
4140
  """
3525
4141
  return pulumi.get(self, "enabled")
3526
4142
 
3527
- @property
4143
+ @_builtins.property
3528
4144
  @pulumi.getter
3529
- def percentage(self) -> Optional[int]:
4145
+ def percentage(self) -> Optional[_builtins.int]:
3530
4146
  """
3531
4147
  Percentage of runs that must fail to trigger alert. Possible values are `10`, `20`, `30`, `40`, `50`, `60`, `70`, `80`, `90`, and `100`. (Default `10`).
3532
4148
  """
@@ -3536,28 +4152,28 @@ class UrlMonitorAlertSettingsParallelRunFailureThreshold(dict):
3536
4152
  @pulumi.output_type
3537
4153
  class UrlMonitorAlertSettingsReminder(dict):
3538
4154
  def __init__(__self__, *,
3539
- amount: Optional[int] = None,
3540
- interval: Optional[int] = None):
4155
+ amount: Optional[_builtins.int] = None,
4156
+ interval: Optional[_builtins.int] = None):
3541
4157
  """
3542
- :param int amount: Number of reminder notifications to send. Possible values are `0`, `1`, `2`, `3`, `4`, `5`, and `100000` (`0` to disable, `100000` for unlimited). (Default `0`).
3543
- :param int interval: Interval between reminder notifications in minutes. Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
4158
+ :param _builtins.int amount: Number of reminder notifications to send. Possible values are `0`, `1`, `2`, `3`, `4`, `5`, and `100000` (`0` to disable, `100000` for unlimited). (Default `0`).
4159
+ :param _builtins.int interval: Interval between reminder notifications in minutes. Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
3544
4160
  """
3545
4161
  if amount is not None:
3546
4162
  pulumi.set(__self__, "amount", amount)
3547
4163
  if interval is not None:
3548
4164
  pulumi.set(__self__, "interval", interval)
3549
4165
 
3550
- @property
4166
+ @_builtins.property
3551
4167
  @pulumi.getter
3552
- def amount(self) -> Optional[int]:
4168
+ def amount(self) -> Optional[_builtins.int]:
3553
4169
  """
3554
4170
  Number of reminder notifications to send. Possible values are `0`, `1`, `2`, `3`, `4`, `5`, and `100000` (`0` to disable, `100000` for unlimited). (Default `0`).
3555
4171
  """
3556
4172
  return pulumi.get(self, "amount")
3557
4173
 
3558
- @property
4174
+ @_builtins.property
3559
4175
  @pulumi.getter
3560
- def interval(self) -> Optional[int]:
4176
+ def interval(self) -> Optional[_builtins.int]:
3561
4177
  """
3562
4178
  Interval between reminder notifications in minutes. Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
3563
4179
  """
@@ -3584,16 +4200,16 @@ class UrlMonitorAlertSettingsRunBasedEscalation(dict):
3584
4200
  return super().get(key, default)
3585
4201
 
3586
4202
  def __init__(__self__, *,
3587
- failed_run_threshold: Optional[int] = None):
4203
+ failed_run_threshold: Optional[_builtins.int] = None):
3588
4204
  """
3589
- :param int failed_run_threshold: After how many failed consecutive check runs an alert notification should be sent. Possible values are between `1` and `5`. (Default `1`).
4205
+ :param _builtins.int failed_run_threshold: After how many failed consecutive check runs an alert notification should be sent. Possible values are between `1` and `5`. (Default `1`).
3590
4206
  """
3591
4207
  if failed_run_threshold is not None:
3592
4208
  pulumi.set(__self__, "failed_run_threshold", failed_run_threshold)
3593
4209
 
3594
- @property
4210
+ @_builtins.property
3595
4211
  @pulumi.getter(name="failedRunThreshold")
3596
- def failed_run_threshold(self) -> Optional[int]:
4212
+ def failed_run_threshold(self) -> Optional[_builtins.int]:
3597
4213
  """
3598
4214
  After how many failed consecutive check runs an alert notification should be sent. Possible values are between `1` and `5`. (Default `1`).
3599
4215
  """
@@ -3620,16 +4236,16 @@ class UrlMonitorAlertSettingsTimeBasedEscalation(dict):
3620
4236
  return super().get(key, default)
3621
4237
 
3622
4238
  def __init__(__self__, *,
3623
- minutes_failing_threshold: Optional[int] = None):
4239
+ minutes_failing_threshold: Optional[_builtins.int] = None):
3624
4240
  """
3625
- :param int minutes_failing_threshold: After how many minutes after a monitor starts failing an alert should be sent. Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
4241
+ :param _builtins.int minutes_failing_threshold: After how many minutes after a monitor starts failing an alert should be sent. Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
3626
4242
  """
3627
4243
  if minutes_failing_threshold is not None:
3628
4244
  pulumi.set(__self__, "minutes_failing_threshold", minutes_failing_threshold)
3629
4245
 
3630
- @property
4246
+ @_builtins.property
3631
4247
  @pulumi.getter(name="minutesFailingThreshold")
3632
- def minutes_failing_threshold(self) -> Optional[int]:
4248
+ def minutes_failing_threshold(self) -> Optional[_builtins.int]:
3633
4249
  """
3634
4250
  After how many minutes after a monitor starts failing an alert should be sent. Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
3635
4251
  """
@@ -3660,17 +4276,17 @@ class UrlMonitorRequest(dict):
3660
4276
  return super().get(key, default)
3661
4277
 
3662
4278
  def __init__(__self__, *,
3663
- url: str,
4279
+ url: _builtins.str,
3664
4280
  assertions: Optional[Sequence['outputs.UrlMonitorRequestAssertion']] = None,
3665
- follow_redirects: Optional[bool] = None,
3666
- ip_family: Optional[str] = None,
3667
- skip_ssl: Optional[bool] = None):
4281
+ follow_redirects: Optional[_builtins.bool] = None,
4282
+ ip_family: Optional[_builtins.str] = None,
4283
+ skip_ssl: Optional[_builtins.bool] = None):
3668
4284
  """
3669
- :param str url: The URL to monitor. Must be a valid HTTP or HTTPS URL.
4285
+ :param _builtins.str url: The URL to monitor. Must be a valid HTTP or HTTPS URL.
3670
4286
  :param Sequence['UrlMonitorRequestAssertionArgs'] assertions: Assertions to validate the HTTP response. URL monitors only support status code assertions.
3671
- :param bool follow_redirects: Whether to follow HTTP redirects automatically. (Default `true`).
3672
- :param str ip_family: IP family version to use for the connection. The value can be either `IPv4` or `IPv6`. (Default `IPv4`).
3673
- :param bool skip_ssl: Whether to skip SSL certificate verification. (Default `false`).
4287
+ :param _builtins.bool follow_redirects: Whether to follow HTTP redirects automatically. (Default `true`).
4288
+ :param _builtins.str ip_family: IP family version to use for the connection. The value can be either `IPv4` or `IPv6`. (Default `IPv4`).
4289
+ :param _builtins.bool skip_ssl: Whether to skip SSL certificate verification. (Default `false`).
3674
4290
  """
3675
4291
  pulumi.set(__self__, "url", url)
3676
4292
  if assertions is not None:
@@ -3682,15 +4298,15 @@ class UrlMonitorRequest(dict):
3682
4298
  if skip_ssl is not None:
3683
4299
  pulumi.set(__self__, "skip_ssl", skip_ssl)
3684
4300
 
3685
- @property
4301
+ @_builtins.property
3686
4302
  @pulumi.getter
3687
- def url(self) -> str:
4303
+ def url(self) -> _builtins.str:
3688
4304
  """
3689
4305
  The URL to monitor. Must be a valid HTTP or HTTPS URL.
3690
4306
  """
3691
4307
  return pulumi.get(self, "url")
3692
4308
 
3693
- @property
4309
+ @_builtins.property
3694
4310
  @pulumi.getter
3695
4311
  def assertions(self) -> Optional[Sequence['outputs.UrlMonitorRequestAssertion']]:
3696
4312
  """
@@ -3698,25 +4314,25 @@ class UrlMonitorRequest(dict):
3698
4314
  """
3699
4315
  return pulumi.get(self, "assertions")
3700
4316
 
3701
- @property
4317
+ @_builtins.property
3702
4318
  @pulumi.getter(name="followRedirects")
3703
- def follow_redirects(self) -> Optional[bool]:
4319
+ def follow_redirects(self) -> Optional[_builtins.bool]:
3704
4320
  """
3705
4321
  Whether to follow HTTP redirects automatically. (Default `true`).
3706
4322
  """
3707
4323
  return pulumi.get(self, "follow_redirects")
3708
4324
 
3709
- @property
4325
+ @_builtins.property
3710
4326
  @pulumi.getter(name="ipFamily")
3711
- def ip_family(self) -> Optional[str]:
4327
+ def ip_family(self) -> Optional[_builtins.str]:
3712
4328
  """
3713
4329
  IP family version to use for the connection. The value can be either `IPv4` or `IPv6`. (Default `IPv4`).
3714
4330
  """
3715
4331
  return pulumi.get(self, "ip_family")
3716
4332
 
3717
- @property
4333
+ @_builtins.property
3718
4334
  @pulumi.getter(name="skipSsl")
3719
- def skip_ssl(self) -> Optional[bool]:
4335
+ def skip_ssl(self) -> Optional[_builtins.bool]:
3720
4336
  """
3721
4337
  Whether to skip SSL certificate verification. (Default `false`).
3722
4338
  """
@@ -3726,14 +4342,14 @@ class UrlMonitorRequest(dict):
3726
4342
  @pulumi.output_type
3727
4343
  class UrlMonitorRequestAssertion(dict):
3728
4344
  def __init__(__self__, *,
3729
- comparison: str,
3730
- source: str,
3731
- target: str,
3732
- property: Optional[str] = None):
4345
+ comparison: _builtins.str,
4346
+ source: _builtins.str,
4347
+ target: _builtins.str,
4348
+ property: Optional[_builtins.str] = None):
3733
4349
  """
3734
- :param str comparison: The type of comparison to be executed between expected and actual value of the assertion. Possible values are `EQUALS`, `NOT_EQUALS`, `GREATER_THAN` and `LESS_THAN`.
3735
- :param str source: The source of the asserted value. The only allowed value is `STATUS_CODE`.
3736
- :param str target: The target value. Typically `200` when the source is `STATUS_CODE`.
4350
+ :param _builtins.str comparison: The type of comparison to be executed between expected and actual value of the assertion. Possible values are `EQUALS`, `NOT_EQUALS`, `GREATER_THAN` and `LESS_THAN`.
4351
+ :param _builtins.str source: The source of the asserted value. The only allowed value is `STATUS_CODE`.
4352
+ :param _builtins.str target: The target value. Typically `200` when the source is `STATUS_CODE`.
3737
4353
  """
3738
4354
  pulumi.set(__self__, "comparison", comparison)
3739
4355
  pulumi.set(__self__, "source", source)
@@ -3741,33 +4357,33 @@ class UrlMonitorRequestAssertion(dict):
3741
4357
  if property is not None:
3742
4358
  pulumi.set(__self__, "property", property)
3743
4359
 
3744
- @property
4360
+ @_builtins.property
3745
4361
  @pulumi.getter
3746
- def comparison(self) -> str:
4362
+ def comparison(self) -> _builtins.str:
3747
4363
  """
3748
4364
  The type of comparison to be executed between expected and actual value of the assertion. Possible values are `EQUALS`, `NOT_EQUALS`, `GREATER_THAN` and `LESS_THAN`.
3749
4365
  """
3750
4366
  return pulumi.get(self, "comparison")
3751
4367
 
3752
- @property
4368
+ @_builtins.property
3753
4369
  @pulumi.getter
3754
- def source(self) -> str:
4370
+ def source(self) -> _builtins.str:
3755
4371
  """
3756
4372
  The source of the asserted value. The only allowed value is `STATUS_CODE`.
3757
4373
  """
3758
4374
  return pulumi.get(self, "source")
3759
4375
 
3760
- @property
4376
+ @_builtins.property
3761
4377
  @pulumi.getter
3762
- def target(self) -> str:
4378
+ def target(self) -> _builtins.str:
3763
4379
  """
3764
4380
  The target value. Typically `200` when the source is `STATUS_CODE`.
3765
4381
  """
3766
4382
  return pulumi.get(self, "target")
3767
4383
 
3768
- @property
4384
+ @_builtins.property
3769
4385
  @pulumi.getter
3770
- def property(self) -> Optional[str]:
4386
+ def property(self) -> Optional[_builtins.str]:
3771
4387
  return pulumi.get(self, "property")
3772
4388
 
3773
4389
 
@@ -3782,6 +4398,8 @@ class UrlMonitorRetryStrategy(dict):
3782
4398
  suggest = "max_duration_seconds"
3783
4399
  elif key == "maxRetries":
3784
4400
  suggest = "max_retries"
4401
+ elif key == "onlyOn":
4402
+ suggest = "only_on"
3785
4403
  elif key == "sameRegion":
3786
4404
  suggest = "same_region"
3787
4405
 
@@ -3797,17 +4415,19 @@ class UrlMonitorRetryStrategy(dict):
3797
4415
  return super().get(key, default)
3798
4416
 
3799
4417
  def __init__(__self__, *,
3800
- type: str,
3801
- base_backoff_seconds: Optional[int] = None,
3802
- max_duration_seconds: Optional[int] = None,
3803
- max_retries: Optional[int] = None,
3804
- same_region: Optional[bool] = None):
3805
- """
3806
- :param str type: Determines which type of retry strategy to use. Possible values are `FIXED`, `LINEAR`, and `EXPONENTIAL`.
3807
- :param int base_backoff_seconds: The number of seconds to wait before the first retry attempt. (Default `60`).
3808
- :param int max_duration_seconds: The total amount of time to continue retrying the monitor (maximum 600 seconds). (Default `600`).
3809
- :param int max_retries: The maximum number of times to retry the monitor. Value must be between `1` and `10`. (Default `2`).
3810
- :param bool same_region: Whether retries should be run in the same region as the initial monitor run. (Default `true`).
4418
+ type: _builtins.str,
4419
+ base_backoff_seconds: Optional[_builtins.int] = None,
4420
+ max_duration_seconds: Optional[_builtins.int] = None,
4421
+ max_retries: Optional[_builtins.int] = None,
4422
+ only_on: Optional['outputs.UrlMonitorRetryStrategyOnlyOn'] = None,
4423
+ same_region: Optional[_builtins.bool] = None):
4424
+ """
4425
+ :param _builtins.str type: Determines which type of retry strategy to use. Possible values are `FIXED`, `LINEAR`, `EXPONENTIAL`, `SINGLE_RETRY`, and `NO_RETRIES`.
4426
+ :param _builtins.int base_backoff_seconds: The number of seconds to wait before the first retry attempt. (Default `60`).
4427
+ :param _builtins.int max_duration_seconds: The total amount of time to continue retrying the check/monitor (maximum 600 seconds). Available when `type` is `FIXED`, `LINEAR`, or `EXPONENTIAL`. (Default `600`).
4428
+ :param _builtins.int max_retries: The maximum number of times to retry the check/monitor. Value must be between `1` and `10`. Available when `type` is `FIXED`, `LINEAR`, or `EXPONENTIAL`. (Default `2`).
4429
+ :param 'UrlMonitorRetryStrategyOnlyOnArgs' only_on: Apply the retry strategy only if the defined conditions match.
4430
+ :param _builtins.bool same_region: Whether retries should be run in the same region as the initial check/monitor run. (Default `true`).
3811
4431
  """
3812
4432
  pulumi.set(__self__, "type", type)
3813
4433
  if base_backoff_seconds is not None:
@@ -3816,47 +4436,174 @@ class UrlMonitorRetryStrategy(dict):
3816
4436
  pulumi.set(__self__, "max_duration_seconds", max_duration_seconds)
3817
4437
  if max_retries is not None:
3818
4438
  pulumi.set(__self__, "max_retries", max_retries)
4439
+ if only_on is not None:
4440
+ pulumi.set(__self__, "only_on", only_on)
3819
4441
  if same_region is not None:
3820
4442
  pulumi.set(__self__, "same_region", same_region)
3821
4443
 
3822
- @property
4444
+ @_builtins.property
3823
4445
  @pulumi.getter
3824
- def type(self) -> str:
4446
+ def type(self) -> _builtins.str:
3825
4447
  """
3826
- Determines which type of retry strategy to use. Possible values are `FIXED`, `LINEAR`, and `EXPONENTIAL`.
4448
+ Determines which type of retry strategy to use. Possible values are `FIXED`, `LINEAR`, `EXPONENTIAL`, `SINGLE_RETRY`, and `NO_RETRIES`.
3827
4449
  """
3828
4450
  return pulumi.get(self, "type")
3829
4451
 
3830
- @property
4452
+ @_builtins.property
3831
4453
  @pulumi.getter(name="baseBackoffSeconds")
3832
- def base_backoff_seconds(self) -> Optional[int]:
4454
+ def base_backoff_seconds(self) -> Optional[_builtins.int]:
3833
4455
  """
3834
4456
  The number of seconds to wait before the first retry attempt. (Default `60`).
3835
4457
  """
3836
4458
  return pulumi.get(self, "base_backoff_seconds")
3837
4459
 
3838
- @property
4460
+ @_builtins.property
3839
4461
  @pulumi.getter(name="maxDurationSeconds")
3840
- def max_duration_seconds(self) -> Optional[int]:
4462
+ def max_duration_seconds(self) -> Optional[_builtins.int]:
3841
4463
  """
3842
- The total amount of time to continue retrying the monitor (maximum 600 seconds). (Default `600`).
4464
+ The total amount of time to continue retrying the check/monitor (maximum 600 seconds). Available when `type` is `FIXED`, `LINEAR`, or `EXPONENTIAL`. (Default `600`).
3843
4465
  """
3844
4466
  return pulumi.get(self, "max_duration_seconds")
3845
4467
 
3846
- @property
4468
+ @_builtins.property
3847
4469
  @pulumi.getter(name="maxRetries")
3848
- def max_retries(self) -> Optional[int]:
4470
+ def max_retries(self) -> Optional[_builtins.int]:
3849
4471
  """
3850
- The maximum number of times to retry the monitor. Value must be between `1` and `10`. (Default `2`).
4472
+ The maximum number of times to retry the check/monitor. Value must be between `1` and `10`. Available when `type` is `FIXED`, `LINEAR`, or `EXPONENTIAL`. (Default `2`).
3851
4473
  """
3852
4474
  return pulumi.get(self, "max_retries")
3853
4475
 
3854
- @property
4476
+ @_builtins.property
4477
+ @pulumi.getter(name="onlyOn")
4478
+ def only_on(self) -> Optional['outputs.UrlMonitorRetryStrategyOnlyOn']:
4479
+ """
4480
+ Apply the retry strategy only if the defined conditions match.
4481
+ """
4482
+ return pulumi.get(self, "only_on")
4483
+
4484
+ @_builtins.property
3855
4485
  @pulumi.getter(name="sameRegion")
3856
- def same_region(self) -> Optional[bool]:
4486
+ def same_region(self) -> Optional[_builtins.bool]:
3857
4487
  """
3858
- Whether retries should be run in the same region as the initial monitor run. (Default `true`).
4488
+ Whether retries should be run in the same region as the initial check/monitor run. (Default `true`).
3859
4489
  """
3860
4490
  return pulumi.get(self, "same_region")
3861
4491
 
3862
4492
 
4493
+ @pulumi.output_type
4494
+ class UrlMonitorRetryStrategyOnlyOn(dict):
4495
+ @staticmethod
4496
+ def __key_warning(key: str):
4497
+ suggest = None
4498
+ if key == "networkError":
4499
+ suggest = "network_error"
4500
+
4501
+ if suggest:
4502
+ pulumi.log.warn(f"Key '{key}' not found in UrlMonitorRetryStrategyOnlyOn. Access the value via the '{suggest}' property getter instead.")
4503
+
4504
+ def __getitem__(self, key: str) -> Any:
4505
+ UrlMonitorRetryStrategyOnlyOn.__key_warning(key)
4506
+ return super().__getitem__(key)
4507
+
4508
+ def get(self, key: str, default = None) -> Any:
4509
+ UrlMonitorRetryStrategyOnlyOn.__key_warning(key)
4510
+ return super().get(key, default)
4511
+
4512
+ def __init__(__self__, *,
4513
+ network_error: Optional[_builtins.bool] = None):
4514
+ """
4515
+ :param _builtins.bool network_error: When `true`, retry only if the cause of the failure is a network error. (Default `false`).
4516
+ """
4517
+ if network_error is not None:
4518
+ pulumi.set(__self__, "network_error", network_error)
4519
+
4520
+ @_builtins.property
4521
+ @pulumi.getter(name="networkError")
4522
+ def network_error(self) -> Optional[_builtins.bool]:
4523
+ """
4524
+ When `true`, retry only if the cause of the failure is a network error. (Default `false`).
4525
+ """
4526
+ return pulumi.get(self, "network_error")
4527
+
4528
+
4529
+ @pulumi.output_type
4530
+ class UrlMonitorTriggerIncident(dict):
4531
+ @staticmethod
4532
+ def __key_warning(key: str):
4533
+ suggest = None
4534
+ if key == "notifySubscribers":
4535
+ suggest = "notify_subscribers"
4536
+ elif key == "serviceId":
4537
+ suggest = "service_id"
4538
+
4539
+ if suggest:
4540
+ pulumi.log.warn(f"Key '{key}' not found in UrlMonitorTriggerIncident. Access the value via the '{suggest}' property getter instead.")
4541
+
4542
+ def __getitem__(self, key: str) -> Any:
4543
+ UrlMonitorTriggerIncident.__key_warning(key)
4544
+ return super().__getitem__(key)
4545
+
4546
+ def get(self, key: str, default = None) -> Any:
4547
+ UrlMonitorTriggerIncident.__key_warning(key)
4548
+ return super().get(key, default)
4549
+
4550
+ def __init__(__self__, *,
4551
+ description: _builtins.str,
4552
+ name: _builtins.str,
4553
+ notify_subscribers: _builtins.bool,
4554
+ service_id: _builtins.str,
4555
+ severity: _builtins.str):
4556
+ """
4557
+ :param _builtins.str description: A detailed description of the incident.
4558
+ :param _builtins.str name: The name of the incident.
4559
+ :param _builtins.bool notify_subscribers: Whether to notify subscribers when the incident is triggered.
4560
+ :param _builtins.str service_id: The status page service that this incident will be associated with.
4561
+ :param _builtins.str severity: The severity level of the incident. Possible values are `MINOR`, `MEDIUM`, `MAJOR`, and `CRITICAL`.
4562
+ """
4563
+ pulumi.set(__self__, "description", description)
4564
+ pulumi.set(__self__, "name", name)
4565
+ pulumi.set(__self__, "notify_subscribers", notify_subscribers)
4566
+ pulumi.set(__self__, "service_id", service_id)
4567
+ pulumi.set(__self__, "severity", severity)
4568
+
4569
+ @_builtins.property
4570
+ @pulumi.getter
4571
+ def description(self) -> _builtins.str:
4572
+ """
4573
+ A detailed description of the incident.
4574
+ """
4575
+ return pulumi.get(self, "description")
4576
+
4577
+ @_builtins.property
4578
+ @pulumi.getter
4579
+ def name(self) -> _builtins.str:
4580
+ """
4581
+ The name of the incident.
4582
+ """
4583
+ return pulumi.get(self, "name")
4584
+
4585
+ @_builtins.property
4586
+ @pulumi.getter(name="notifySubscribers")
4587
+ def notify_subscribers(self) -> _builtins.bool:
4588
+ """
4589
+ Whether to notify subscribers when the incident is triggered.
4590
+ """
4591
+ return pulumi.get(self, "notify_subscribers")
4592
+
4593
+ @_builtins.property
4594
+ @pulumi.getter(name="serviceId")
4595
+ def service_id(self) -> _builtins.str:
4596
+ """
4597
+ The status page service that this incident will be associated with.
4598
+ """
4599
+ return pulumi.get(self, "service_id")
4600
+
4601
+ @_builtins.property
4602
+ @pulumi.getter
4603
+ def severity(self) -> _builtins.str:
4604
+ """
4605
+ The severity level of the incident. Possible values are `MINOR`, `MEDIUM`, `MAJOR`, and `CRITICAL`.
4606
+ """
4607
+ return pulumi.get(self, "severity")
4608
+
4609
+