pulumi-checkly 2.3.0a1754037456__py3-none-any.whl → 2.4.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.
- pulumi_checkly/_inputs.py +654 -0
- pulumi_checkly/check.py +47 -0
- pulumi_checkly/heartbeat_check.py +47 -0
- pulumi_checkly/heartbeat_monitor.py +47 -0
- pulumi_checkly/outputs.py +492 -0
- pulumi_checkly/pulumi-plugin.json +1 -1
- pulumi_checkly/tcp_check.py +47 -0
- pulumi_checkly/tcp_monitor.py +47 -0
- pulumi_checkly/url_monitor.py +47 -0
- {pulumi_checkly-2.3.0a1754037456.dist-info → pulumi_checkly-2.4.0.dist-info}/METADATA +1 -1
- {pulumi_checkly-2.3.0a1754037456.dist-info → pulumi_checkly-2.4.0.dist-info}/RECORD +13 -13
- {pulumi_checkly-2.3.0a1754037456.dist-info → pulumi_checkly-2.4.0.dist-info}/WHEEL +0 -0
- {pulumi_checkly-2.3.0a1754037456.dist-info → pulumi_checkly-2.4.0.dist-info}/top_level.txt +0 -0
pulumi_checkly/check.py
CHANGED
@@ -51,6 +51,7 @@ class CheckArgs:
|
|
51
51
|
ssl_check_domain: Optional[pulumi.Input[str]] = None,
|
52
52
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
53
53
|
teardown_snippet_id: Optional[pulumi.Input[int]] = None,
|
54
|
+
trigger_incident: Optional[pulumi.Input['CheckTriggerIncidentArgs']] = None,
|
54
55
|
use_global_alert_settings: Optional[pulumi.Input[bool]] = None):
|
55
56
|
"""
|
56
57
|
The set of arguments for constructing a Check resource.
|
@@ -83,6 +84,7 @@ class CheckArgs:
|
|
83
84
|
:param pulumi.Input[str] ssl_check_domain: A valid fully qualified domain name (FQDN) to check its SSL certificate.
|
84
85
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of tags for organizing and filtering checks.
|
85
86
|
:param pulumi.Input[int] teardown_snippet_id: An ID reference to a snippet to use in the teardown phase of an API check.
|
87
|
+
:param pulumi.Input['CheckTriggerIncidentArgs'] trigger_incident: Create and resolve an incident based on the alert configuration. Useful for status page automation.
|
86
88
|
:param pulumi.Input[bool] use_global_alert_settings: When true, the account level alert settings will be used, not the alert setting defined on this check.
|
87
89
|
"""
|
88
90
|
pulumi.set(__self__, "activated", activated)
|
@@ -151,6 +153,8 @@ class CheckArgs:
|
|
151
153
|
pulumi.set(__self__, "tags", tags)
|
152
154
|
if teardown_snippet_id is not None:
|
153
155
|
pulumi.set(__self__, "teardown_snippet_id", teardown_snippet_id)
|
156
|
+
if trigger_incident is not None:
|
157
|
+
pulumi.set(__self__, "trigger_incident", trigger_incident)
|
154
158
|
if use_global_alert_settings is not None:
|
155
159
|
pulumi.set(__self__, "use_global_alert_settings", use_global_alert_settings)
|
156
160
|
|
@@ -514,6 +518,18 @@ class CheckArgs:
|
|
514
518
|
def teardown_snippet_id(self, value: Optional[pulumi.Input[int]]):
|
515
519
|
pulumi.set(self, "teardown_snippet_id", value)
|
516
520
|
|
521
|
+
@property
|
522
|
+
@pulumi.getter(name="triggerIncident")
|
523
|
+
def trigger_incident(self) -> Optional[pulumi.Input['CheckTriggerIncidentArgs']]:
|
524
|
+
"""
|
525
|
+
Create and resolve an incident based on the alert configuration. Useful for status page automation.
|
526
|
+
"""
|
527
|
+
return pulumi.get(self, "trigger_incident")
|
528
|
+
|
529
|
+
@trigger_incident.setter
|
530
|
+
def trigger_incident(self, value: Optional[pulumi.Input['CheckTriggerIncidentArgs']]):
|
531
|
+
pulumi.set(self, "trigger_incident", value)
|
532
|
+
|
517
533
|
@property
|
518
534
|
@pulumi.getter(name="useGlobalAlertSettings")
|
519
535
|
def use_global_alert_settings(self) -> Optional[pulumi.Input[bool]]:
|
@@ -559,6 +575,7 @@ class _CheckState:
|
|
559
575
|
ssl_check_domain: Optional[pulumi.Input[str]] = None,
|
560
576
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
561
577
|
teardown_snippet_id: Optional[pulumi.Input[int]] = None,
|
578
|
+
trigger_incident: Optional[pulumi.Input['CheckTriggerIncidentArgs']] = None,
|
562
579
|
type: Optional[pulumi.Input[str]] = None,
|
563
580
|
use_global_alert_settings: Optional[pulumi.Input[bool]] = None):
|
564
581
|
"""
|
@@ -591,6 +608,7 @@ class _CheckState:
|
|
591
608
|
:param pulumi.Input[str] ssl_check_domain: A valid fully qualified domain name (FQDN) to check its SSL certificate.
|
592
609
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of tags for organizing and filtering checks.
|
593
610
|
:param pulumi.Input[int] teardown_snippet_id: An ID reference to a snippet to use in the teardown phase of an API check.
|
611
|
+
:param pulumi.Input['CheckTriggerIncidentArgs'] trigger_incident: Create and resolve an incident based on the alert configuration. Useful for status page automation.
|
594
612
|
:param pulumi.Input[str] type: The type of the check. Possible values are `API`, `BROWSER`, and `MULTI_STEP`.
|
595
613
|
:param pulumi.Input[bool] use_global_alert_settings: When true, the account level alert settings will be used, not the alert setting defined on this check.
|
596
614
|
"""
|
@@ -661,6 +679,8 @@ class _CheckState:
|
|
661
679
|
pulumi.set(__self__, "tags", tags)
|
662
680
|
if teardown_snippet_id is not None:
|
663
681
|
pulumi.set(__self__, "teardown_snippet_id", teardown_snippet_id)
|
682
|
+
if trigger_incident is not None:
|
683
|
+
pulumi.set(__self__, "trigger_incident", trigger_incident)
|
664
684
|
if type is not None:
|
665
685
|
pulumi.set(__self__, "type", type)
|
666
686
|
if use_global_alert_settings is not None:
|
@@ -1014,6 +1034,18 @@ class _CheckState:
|
|
1014
1034
|
def teardown_snippet_id(self, value: Optional[pulumi.Input[int]]):
|
1015
1035
|
pulumi.set(self, "teardown_snippet_id", value)
|
1016
1036
|
|
1037
|
+
@property
|
1038
|
+
@pulumi.getter(name="triggerIncident")
|
1039
|
+
def trigger_incident(self) -> Optional[pulumi.Input['CheckTriggerIncidentArgs']]:
|
1040
|
+
"""
|
1041
|
+
Create and resolve an incident based on the alert configuration. Useful for status page automation.
|
1042
|
+
"""
|
1043
|
+
return pulumi.get(self, "trigger_incident")
|
1044
|
+
|
1045
|
+
@trigger_incident.setter
|
1046
|
+
def trigger_incident(self, value: Optional[pulumi.Input['CheckTriggerIncidentArgs']]):
|
1047
|
+
pulumi.set(self, "trigger_incident", value)
|
1048
|
+
|
1017
1049
|
@property
|
1018
1050
|
@pulumi.getter
|
1019
1051
|
def type(self) -> Optional[pulumi.Input[str]]:
|
@@ -1073,6 +1105,7 @@ class Check(pulumi.CustomResource):
|
|
1073
1105
|
ssl_check_domain: Optional[pulumi.Input[str]] = None,
|
1074
1106
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
1075
1107
|
teardown_snippet_id: Optional[pulumi.Input[int]] = None,
|
1108
|
+
trigger_incident: Optional[pulumi.Input[Union['CheckTriggerIncidentArgs', 'CheckTriggerIncidentArgsDict']]] = None,
|
1076
1109
|
type: Optional[pulumi.Input[str]] = None,
|
1077
1110
|
use_global_alert_settings: Optional[pulumi.Input[bool]] = None,
|
1078
1111
|
__props__=None):
|
@@ -1109,6 +1142,7 @@ class Check(pulumi.CustomResource):
|
|
1109
1142
|
:param pulumi.Input[str] ssl_check_domain: A valid fully qualified domain name (FQDN) to check its SSL certificate.
|
1110
1143
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of tags for organizing and filtering checks.
|
1111
1144
|
:param pulumi.Input[int] teardown_snippet_id: An ID reference to a snippet to use in the teardown phase of an API check.
|
1145
|
+
:param pulumi.Input[Union['CheckTriggerIncidentArgs', 'CheckTriggerIncidentArgsDict']] trigger_incident: Create and resolve an incident based on the alert configuration. Useful for status page automation.
|
1112
1146
|
:param pulumi.Input[str] type: The type of the check. Possible values are `API`, `BROWSER`, and `MULTI_STEP`.
|
1113
1147
|
:param pulumi.Input[bool] use_global_alert_settings: When true, the account level alert settings will be used, not the alert setting defined on this check.
|
1114
1148
|
"""
|
@@ -1165,6 +1199,7 @@ class Check(pulumi.CustomResource):
|
|
1165
1199
|
ssl_check_domain: Optional[pulumi.Input[str]] = None,
|
1166
1200
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
1167
1201
|
teardown_snippet_id: Optional[pulumi.Input[int]] = None,
|
1202
|
+
trigger_incident: Optional[pulumi.Input[Union['CheckTriggerIncidentArgs', 'CheckTriggerIncidentArgsDict']]] = None,
|
1168
1203
|
type: Optional[pulumi.Input[str]] = None,
|
1169
1204
|
use_global_alert_settings: Optional[pulumi.Input[bool]] = None,
|
1170
1205
|
__props__=None):
|
@@ -1209,6 +1244,7 @@ class Check(pulumi.CustomResource):
|
|
1209
1244
|
__props__.__dict__["ssl_check_domain"] = ssl_check_domain
|
1210
1245
|
__props__.__dict__["tags"] = tags
|
1211
1246
|
__props__.__dict__["teardown_snippet_id"] = teardown_snippet_id
|
1247
|
+
__props__.__dict__["trigger_incident"] = trigger_incident
|
1212
1248
|
if type is None and not opts.urn:
|
1213
1249
|
raise TypeError("Missing required property 'type'")
|
1214
1250
|
__props__.__dict__["type"] = type
|
@@ -1252,6 +1288,7 @@ class Check(pulumi.CustomResource):
|
|
1252
1288
|
ssl_check_domain: Optional[pulumi.Input[str]] = None,
|
1253
1289
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
1254
1290
|
teardown_snippet_id: Optional[pulumi.Input[int]] = None,
|
1291
|
+
trigger_incident: Optional[pulumi.Input[Union['CheckTriggerIncidentArgs', 'CheckTriggerIncidentArgsDict']]] = None,
|
1255
1292
|
type: Optional[pulumi.Input[str]] = None,
|
1256
1293
|
use_global_alert_settings: Optional[pulumi.Input[bool]] = None) -> 'Check':
|
1257
1294
|
"""
|
@@ -1289,6 +1326,7 @@ class Check(pulumi.CustomResource):
|
|
1289
1326
|
:param pulumi.Input[str] ssl_check_domain: A valid fully qualified domain name (FQDN) to check its SSL certificate.
|
1290
1327
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of tags for organizing and filtering checks.
|
1291
1328
|
:param pulumi.Input[int] teardown_snippet_id: An ID reference to a snippet to use in the teardown phase of an API check.
|
1329
|
+
:param pulumi.Input[Union['CheckTriggerIncidentArgs', 'CheckTriggerIncidentArgsDict']] trigger_incident: Create and resolve an incident based on the alert configuration. Useful for status page automation.
|
1292
1330
|
:param pulumi.Input[str] type: The type of the check. Possible values are `API`, `BROWSER`, and `MULTI_STEP`.
|
1293
1331
|
:param pulumi.Input[bool] use_global_alert_settings: When true, the account level alert settings will be used, not the alert setting defined on this check.
|
1294
1332
|
"""
|
@@ -1325,6 +1363,7 @@ class Check(pulumi.CustomResource):
|
|
1325
1363
|
__props__.__dict__["ssl_check_domain"] = ssl_check_domain
|
1326
1364
|
__props__.__dict__["tags"] = tags
|
1327
1365
|
__props__.__dict__["teardown_snippet_id"] = teardown_snippet_id
|
1366
|
+
__props__.__dict__["trigger_incident"] = trigger_incident
|
1328
1367
|
__props__.__dict__["type"] = type
|
1329
1368
|
__props__.__dict__["use_global_alert_settings"] = use_global_alert_settings
|
1330
1369
|
return Check(resource_name, opts=opts, __props__=__props__)
|
@@ -1561,6 +1600,14 @@ class Check(pulumi.CustomResource):
|
|
1561
1600
|
"""
|
1562
1601
|
return pulumi.get(self, "teardown_snippet_id")
|
1563
1602
|
|
1603
|
+
@property
|
1604
|
+
@pulumi.getter(name="triggerIncident")
|
1605
|
+
def trigger_incident(self) -> pulumi.Output[Optional['outputs.CheckTriggerIncident']]:
|
1606
|
+
"""
|
1607
|
+
Create and resolve an incident based on the alert configuration. Useful for status page automation.
|
1608
|
+
"""
|
1609
|
+
return pulumi.get(self, "trigger_incident")
|
1610
|
+
|
1564
1611
|
@property
|
1565
1612
|
@pulumi.getter
|
1566
1613
|
def type(self) -> pulumi.Output[str]:
|
@@ -28,6 +28,7 @@ class HeartbeatCheckArgs:
|
|
28
28
|
muted: Optional[pulumi.Input[bool]] = None,
|
29
29
|
name: Optional[pulumi.Input[str]] = None,
|
30
30
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
31
|
+
trigger_incident: Optional[pulumi.Input['HeartbeatCheckTriggerIncidentArgs']] = None,
|
31
32
|
use_global_alert_settings: Optional[pulumi.Input[bool]] = None):
|
32
33
|
"""
|
33
34
|
The set of arguments for constructing a HeartbeatCheck resource.
|
@@ -35,6 +36,7 @@ class HeartbeatCheckArgs:
|
|
35
36
|
:param pulumi.Input[bool] muted: Determines if any notifications will be sent out when a check fails/degrades/recovers.
|
36
37
|
:param pulumi.Input[str] name: The name of the check.
|
37
38
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of tags for organizing and filtering checks.
|
39
|
+
:param pulumi.Input['HeartbeatCheckTriggerIncidentArgs'] trigger_incident: Create and resolve an incident based on the alert configuration. Useful for status page automation.
|
38
40
|
:param pulumi.Input[bool] use_global_alert_settings: When true, the account level alert settings will be used, not the alert setting defined on this check.
|
39
41
|
"""
|
40
42
|
pulumi.set(__self__, "activated", activated)
|
@@ -49,6 +51,8 @@ class HeartbeatCheckArgs:
|
|
49
51
|
pulumi.set(__self__, "name", name)
|
50
52
|
if tags is not None:
|
51
53
|
pulumi.set(__self__, "tags", tags)
|
54
|
+
if trigger_incident is not None:
|
55
|
+
pulumi.set(__self__, "trigger_incident", trigger_incident)
|
52
56
|
if use_global_alert_settings is not None:
|
53
57
|
pulumi.set(__self__, "use_global_alert_settings", use_global_alert_settings)
|
54
58
|
|
@@ -127,6 +131,18 @@ class HeartbeatCheckArgs:
|
|
127
131
|
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
128
132
|
pulumi.set(self, "tags", value)
|
129
133
|
|
134
|
+
@property
|
135
|
+
@pulumi.getter(name="triggerIncident")
|
136
|
+
def trigger_incident(self) -> Optional[pulumi.Input['HeartbeatCheckTriggerIncidentArgs']]:
|
137
|
+
"""
|
138
|
+
Create and resolve an incident based on the alert configuration. Useful for status page automation.
|
139
|
+
"""
|
140
|
+
return pulumi.get(self, "trigger_incident")
|
141
|
+
|
142
|
+
@trigger_incident.setter
|
143
|
+
def trigger_incident(self, value: Optional[pulumi.Input['HeartbeatCheckTriggerIncidentArgs']]):
|
144
|
+
pulumi.set(self, "trigger_incident", value)
|
145
|
+
|
130
146
|
@property
|
131
147
|
@pulumi.getter(name="useGlobalAlertSettings")
|
132
148
|
def use_global_alert_settings(self) -> Optional[pulumi.Input[bool]]:
|
@@ -150,6 +166,7 @@ class _HeartbeatCheckState:
|
|
150
166
|
muted: Optional[pulumi.Input[bool]] = None,
|
151
167
|
name: Optional[pulumi.Input[str]] = None,
|
152
168
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
169
|
+
trigger_incident: Optional[pulumi.Input['HeartbeatCheckTriggerIncidentArgs']] = None,
|
153
170
|
use_global_alert_settings: Optional[pulumi.Input[bool]] = None):
|
154
171
|
"""
|
155
172
|
Input properties used for looking up and filtering HeartbeatCheck resources.
|
@@ -157,6 +174,7 @@ class _HeartbeatCheckState:
|
|
157
174
|
:param pulumi.Input[bool] muted: Determines if any notifications will be sent out when a check fails/degrades/recovers.
|
158
175
|
:param pulumi.Input[str] name: The name of the check.
|
159
176
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of tags for organizing and filtering checks.
|
177
|
+
:param pulumi.Input['HeartbeatCheckTriggerIncidentArgs'] trigger_incident: Create and resolve an incident based on the alert configuration. Useful for status page automation.
|
160
178
|
:param pulumi.Input[bool] use_global_alert_settings: When true, the account level alert settings will be used, not the alert setting defined on this check.
|
161
179
|
"""
|
162
180
|
if activated is not None:
|
@@ -173,6 +191,8 @@ class _HeartbeatCheckState:
|
|
173
191
|
pulumi.set(__self__, "name", name)
|
174
192
|
if tags is not None:
|
175
193
|
pulumi.set(__self__, "tags", tags)
|
194
|
+
if trigger_incident is not None:
|
195
|
+
pulumi.set(__self__, "trigger_incident", trigger_incident)
|
176
196
|
if use_global_alert_settings is not None:
|
177
197
|
pulumi.set(__self__, "use_global_alert_settings", use_global_alert_settings)
|
178
198
|
|
@@ -251,6 +271,18 @@ class _HeartbeatCheckState:
|
|
251
271
|
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
252
272
|
pulumi.set(self, "tags", value)
|
253
273
|
|
274
|
+
@property
|
275
|
+
@pulumi.getter(name="triggerIncident")
|
276
|
+
def trigger_incident(self) -> Optional[pulumi.Input['HeartbeatCheckTriggerIncidentArgs']]:
|
277
|
+
"""
|
278
|
+
Create and resolve an incident based on the alert configuration. Useful for status page automation.
|
279
|
+
"""
|
280
|
+
return pulumi.get(self, "trigger_incident")
|
281
|
+
|
282
|
+
@trigger_incident.setter
|
283
|
+
def trigger_incident(self, value: Optional[pulumi.Input['HeartbeatCheckTriggerIncidentArgs']]):
|
284
|
+
pulumi.set(self, "trigger_incident", value)
|
285
|
+
|
254
286
|
@property
|
255
287
|
@pulumi.getter(name="useGlobalAlertSettings")
|
256
288
|
def use_global_alert_settings(self) -> Optional[pulumi.Input[bool]]:
|
@@ -276,6 +308,7 @@ class HeartbeatCheck(pulumi.CustomResource):
|
|
276
308
|
muted: Optional[pulumi.Input[bool]] = None,
|
277
309
|
name: Optional[pulumi.Input[str]] = None,
|
278
310
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
311
|
+
trigger_incident: Optional[pulumi.Input[Union['HeartbeatCheckTriggerIncidentArgs', 'HeartbeatCheckTriggerIncidentArgsDict']]] = None,
|
279
312
|
use_global_alert_settings: Optional[pulumi.Input[bool]] = None,
|
280
313
|
__props__=None):
|
281
314
|
"""
|
@@ -303,6 +336,7 @@ class HeartbeatCheck(pulumi.CustomResource):
|
|
303
336
|
:param pulumi.Input[bool] muted: Determines if any notifications will be sent out when a check fails/degrades/recovers.
|
304
337
|
:param pulumi.Input[str] name: The name of the check.
|
305
338
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of tags for organizing and filtering checks.
|
339
|
+
:param pulumi.Input[Union['HeartbeatCheckTriggerIncidentArgs', 'HeartbeatCheckTriggerIncidentArgsDict']] trigger_incident: Create and resolve an incident based on the alert configuration. Useful for status page automation.
|
306
340
|
:param pulumi.Input[bool] use_global_alert_settings: When true, the account level alert settings will be used, not the alert setting defined on this check.
|
307
341
|
"""
|
308
342
|
...
|
@@ -352,6 +386,7 @@ class HeartbeatCheck(pulumi.CustomResource):
|
|
352
386
|
muted: Optional[pulumi.Input[bool]] = None,
|
353
387
|
name: Optional[pulumi.Input[str]] = None,
|
354
388
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
389
|
+
trigger_incident: Optional[pulumi.Input[Union['HeartbeatCheckTriggerIncidentArgs', 'HeartbeatCheckTriggerIncidentArgsDict']]] = None,
|
355
390
|
use_global_alert_settings: Optional[pulumi.Input[bool]] = None,
|
356
391
|
__props__=None):
|
357
392
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
@@ -373,6 +408,7 @@ class HeartbeatCheck(pulumi.CustomResource):
|
|
373
408
|
__props__.__dict__["muted"] = muted
|
374
409
|
__props__.__dict__["name"] = name
|
375
410
|
__props__.__dict__["tags"] = tags
|
411
|
+
__props__.__dict__["trigger_incident"] = trigger_incident
|
376
412
|
__props__.__dict__["use_global_alert_settings"] = use_global_alert_settings
|
377
413
|
super(HeartbeatCheck, __self__).__init__(
|
378
414
|
'checkly:index/heartbeatCheck:HeartbeatCheck',
|
@@ -391,6 +427,7 @@ class HeartbeatCheck(pulumi.CustomResource):
|
|
391
427
|
muted: Optional[pulumi.Input[bool]] = None,
|
392
428
|
name: Optional[pulumi.Input[str]] = None,
|
393
429
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
430
|
+
trigger_incident: Optional[pulumi.Input[Union['HeartbeatCheckTriggerIncidentArgs', 'HeartbeatCheckTriggerIncidentArgsDict']]] = None,
|
394
431
|
use_global_alert_settings: Optional[pulumi.Input[bool]] = None) -> 'HeartbeatCheck':
|
395
432
|
"""
|
396
433
|
Get an existing HeartbeatCheck resource's state with the given name, id, and optional extra
|
@@ -403,6 +440,7 @@ class HeartbeatCheck(pulumi.CustomResource):
|
|
403
440
|
:param pulumi.Input[bool] muted: Determines if any notifications will be sent out when a check fails/degrades/recovers.
|
404
441
|
:param pulumi.Input[str] name: The name of the check.
|
405
442
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of tags for organizing and filtering checks.
|
443
|
+
:param pulumi.Input[Union['HeartbeatCheckTriggerIncidentArgs', 'HeartbeatCheckTriggerIncidentArgsDict']] trigger_incident: Create and resolve an incident based on the alert configuration. Useful for status page automation.
|
406
444
|
:param pulumi.Input[bool] use_global_alert_settings: When true, the account level alert settings will be used, not the alert setting defined on this check.
|
407
445
|
"""
|
408
446
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
@@ -416,6 +454,7 @@ class HeartbeatCheck(pulumi.CustomResource):
|
|
416
454
|
__props__.__dict__["muted"] = muted
|
417
455
|
__props__.__dict__["name"] = name
|
418
456
|
__props__.__dict__["tags"] = tags
|
457
|
+
__props__.__dict__["trigger_incident"] = trigger_incident
|
419
458
|
__props__.__dict__["use_global_alert_settings"] = use_global_alert_settings
|
420
459
|
return HeartbeatCheck(resource_name, opts=opts, __props__=__props__)
|
421
460
|
|
@@ -466,6 +505,14 @@ class HeartbeatCheck(pulumi.CustomResource):
|
|
466
505
|
"""
|
467
506
|
return pulumi.get(self, "tags")
|
468
507
|
|
508
|
+
@property
|
509
|
+
@pulumi.getter(name="triggerIncident")
|
510
|
+
def trigger_incident(self) -> pulumi.Output[Optional['outputs.HeartbeatCheckTriggerIncident']]:
|
511
|
+
"""
|
512
|
+
Create and resolve an incident based on the alert configuration. Useful for status page automation.
|
513
|
+
"""
|
514
|
+
return pulumi.get(self, "trigger_incident")
|
515
|
+
|
469
516
|
@property
|
470
517
|
@pulumi.getter(name="useGlobalAlertSettings")
|
471
518
|
def use_global_alert_settings(self) -> pulumi.Output[Optional[bool]]:
|
@@ -28,6 +28,7 @@ class HeartbeatMonitorArgs:
|
|
28
28
|
muted: Optional[pulumi.Input[bool]] = None,
|
29
29
|
name: Optional[pulumi.Input[str]] = None,
|
30
30
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
31
|
+
trigger_incident: Optional[pulumi.Input['HeartbeatMonitorTriggerIncidentArgs']] = None,
|
31
32
|
use_global_alert_settings: Optional[pulumi.Input[bool]] = None):
|
32
33
|
"""
|
33
34
|
The set of arguments for constructing a HeartbeatMonitor resource.
|
@@ -35,6 +36,7 @@ class HeartbeatMonitorArgs:
|
|
35
36
|
:param pulumi.Input[bool] muted: Determines if any notifications will be sent out when a check fails/degrades/recovers.
|
36
37
|
:param pulumi.Input[str] name: The name of the check.
|
37
38
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of tags for organizing and filtering checks.
|
39
|
+
:param pulumi.Input['HeartbeatMonitorTriggerIncidentArgs'] trigger_incident: Create and resolve an incident based on the alert configuration. Useful for status page automation.
|
38
40
|
:param pulumi.Input[bool] use_global_alert_settings: When true, the account level alert settings will be used, not the alert setting defined on this check.
|
39
41
|
"""
|
40
42
|
pulumi.set(__self__, "activated", activated)
|
@@ -49,6 +51,8 @@ class HeartbeatMonitorArgs:
|
|
49
51
|
pulumi.set(__self__, "name", name)
|
50
52
|
if tags is not None:
|
51
53
|
pulumi.set(__self__, "tags", tags)
|
54
|
+
if trigger_incident is not None:
|
55
|
+
pulumi.set(__self__, "trigger_incident", trigger_incident)
|
52
56
|
if use_global_alert_settings is not None:
|
53
57
|
pulumi.set(__self__, "use_global_alert_settings", use_global_alert_settings)
|
54
58
|
|
@@ -127,6 +131,18 @@ class HeartbeatMonitorArgs:
|
|
127
131
|
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
128
132
|
pulumi.set(self, "tags", value)
|
129
133
|
|
134
|
+
@property
|
135
|
+
@pulumi.getter(name="triggerIncident")
|
136
|
+
def trigger_incident(self) -> Optional[pulumi.Input['HeartbeatMonitorTriggerIncidentArgs']]:
|
137
|
+
"""
|
138
|
+
Create and resolve an incident based on the alert configuration. Useful for status page automation.
|
139
|
+
"""
|
140
|
+
return pulumi.get(self, "trigger_incident")
|
141
|
+
|
142
|
+
@trigger_incident.setter
|
143
|
+
def trigger_incident(self, value: Optional[pulumi.Input['HeartbeatMonitorTriggerIncidentArgs']]):
|
144
|
+
pulumi.set(self, "trigger_incident", value)
|
145
|
+
|
130
146
|
@property
|
131
147
|
@pulumi.getter(name="useGlobalAlertSettings")
|
132
148
|
def use_global_alert_settings(self) -> Optional[pulumi.Input[bool]]:
|
@@ -150,6 +166,7 @@ class _HeartbeatMonitorState:
|
|
150
166
|
muted: Optional[pulumi.Input[bool]] = None,
|
151
167
|
name: Optional[pulumi.Input[str]] = None,
|
152
168
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
169
|
+
trigger_incident: Optional[pulumi.Input['HeartbeatMonitorTriggerIncidentArgs']] = None,
|
153
170
|
use_global_alert_settings: Optional[pulumi.Input[bool]] = None):
|
154
171
|
"""
|
155
172
|
Input properties used for looking up and filtering HeartbeatMonitor resources.
|
@@ -157,6 +174,7 @@ class _HeartbeatMonitorState:
|
|
157
174
|
:param pulumi.Input[bool] muted: Determines if any notifications will be sent out when a check fails/degrades/recovers.
|
158
175
|
:param pulumi.Input[str] name: The name of the check.
|
159
176
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of tags for organizing and filtering checks.
|
177
|
+
:param pulumi.Input['HeartbeatMonitorTriggerIncidentArgs'] trigger_incident: Create and resolve an incident based on the alert configuration. Useful for status page automation.
|
160
178
|
:param pulumi.Input[bool] use_global_alert_settings: When true, the account level alert settings will be used, not the alert setting defined on this check.
|
161
179
|
"""
|
162
180
|
if activated is not None:
|
@@ -173,6 +191,8 @@ class _HeartbeatMonitorState:
|
|
173
191
|
pulumi.set(__self__, "name", name)
|
174
192
|
if tags is not None:
|
175
193
|
pulumi.set(__self__, "tags", tags)
|
194
|
+
if trigger_incident is not None:
|
195
|
+
pulumi.set(__self__, "trigger_incident", trigger_incident)
|
176
196
|
if use_global_alert_settings is not None:
|
177
197
|
pulumi.set(__self__, "use_global_alert_settings", use_global_alert_settings)
|
178
198
|
|
@@ -251,6 +271,18 @@ class _HeartbeatMonitorState:
|
|
251
271
|
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
252
272
|
pulumi.set(self, "tags", value)
|
253
273
|
|
274
|
+
@property
|
275
|
+
@pulumi.getter(name="triggerIncident")
|
276
|
+
def trigger_incident(self) -> Optional[pulumi.Input['HeartbeatMonitorTriggerIncidentArgs']]:
|
277
|
+
"""
|
278
|
+
Create and resolve an incident based on the alert configuration. Useful for status page automation.
|
279
|
+
"""
|
280
|
+
return pulumi.get(self, "trigger_incident")
|
281
|
+
|
282
|
+
@trigger_incident.setter
|
283
|
+
def trigger_incident(self, value: Optional[pulumi.Input['HeartbeatMonitorTriggerIncidentArgs']]):
|
284
|
+
pulumi.set(self, "trigger_incident", value)
|
285
|
+
|
254
286
|
@property
|
255
287
|
@pulumi.getter(name="useGlobalAlertSettings")
|
256
288
|
def use_global_alert_settings(self) -> Optional[pulumi.Input[bool]]:
|
@@ -276,6 +308,7 @@ class HeartbeatMonitor(pulumi.CustomResource):
|
|
276
308
|
muted: Optional[pulumi.Input[bool]] = None,
|
277
309
|
name: Optional[pulumi.Input[str]] = None,
|
278
310
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
311
|
+
trigger_incident: Optional[pulumi.Input[Union['HeartbeatMonitorTriggerIncidentArgs', 'HeartbeatMonitorTriggerIncidentArgsDict']]] = None,
|
279
312
|
use_global_alert_settings: Optional[pulumi.Input[bool]] = None,
|
280
313
|
__props__=None):
|
281
314
|
"""
|
@@ -305,6 +338,7 @@ class HeartbeatMonitor(pulumi.CustomResource):
|
|
305
338
|
:param pulumi.Input[bool] muted: Determines if any notifications will be sent out when a check fails/degrades/recovers.
|
306
339
|
:param pulumi.Input[str] name: The name of the check.
|
307
340
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of tags for organizing and filtering checks.
|
341
|
+
:param pulumi.Input[Union['HeartbeatMonitorTriggerIncidentArgs', 'HeartbeatMonitorTriggerIncidentArgsDict']] trigger_incident: Create and resolve an incident based on the alert configuration. Useful for status page automation.
|
308
342
|
:param pulumi.Input[bool] use_global_alert_settings: When true, the account level alert settings will be used, not the alert setting defined on this check.
|
309
343
|
"""
|
310
344
|
...
|
@@ -356,6 +390,7 @@ class HeartbeatMonitor(pulumi.CustomResource):
|
|
356
390
|
muted: Optional[pulumi.Input[bool]] = None,
|
357
391
|
name: Optional[pulumi.Input[str]] = None,
|
358
392
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
393
|
+
trigger_incident: Optional[pulumi.Input[Union['HeartbeatMonitorTriggerIncidentArgs', 'HeartbeatMonitorTriggerIncidentArgsDict']]] = None,
|
359
394
|
use_global_alert_settings: Optional[pulumi.Input[bool]] = None,
|
360
395
|
__props__=None):
|
361
396
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
@@ -377,6 +412,7 @@ class HeartbeatMonitor(pulumi.CustomResource):
|
|
377
412
|
__props__.__dict__["muted"] = muted
|
378
413
|
__props__.__dict__["name"] = name
|
379
414
|
__props__.__dict__["tags"] = tags
|
415
|
+
__props__.__dict__["trigger_incident"] = trigger_incident
|
380
416
|
__props__.__dict__["use_global_alert_settings"] = use_global_alert_settings
|
381
417
|
super(HeartbeatMonitor, __self__).__init__(
|
382
418
|
'checkly:index/heartbeatMonitor:HeartbeatMonitor',
|
@@ -395,6 +431,7 @@ class HeartbeatMonitor(pulumi.CustomResource):
|
|
395
431
|
muted: Optional[pulumi.Input[bool]] = None,
|
396
432
|
name: Optional[pulumi.Input[str]] = None,
|
397
433
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
434
|
+
trigger_incident: Optional[pulumi.Input[Union['HeartbeatMonitorTriggerIncidentArgs', 'HeartbeatMonitorTriggerIncidentArgsDict']]] = None,
|
398
435
|
use_global_alert_settings: Optional[pulumi.Input[bool]] = None) -> 'HeartbeatMonitor':
|
399
436
|
"""
|
400
437
|
Get an existing HeartbeatMonitor resource's state with the given name, id, and optional extra
|
@@ -407,6 +444,7 @@ class HeartbeatMonitor(pulumi.CustomResource):
|
|
407
444
|
:param pulumi.Input[bool] muted: Determines if any notifications will be sent out when a check fails/degrades/recovers.
|
408
445
|
:param pulumi.Input[str] name: The name of the check.
|
409
446
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of tags for organizing and filtering checks.
|
447
|
+
:param pulumi.Input[Union['HeartbeatMonitorTriggerIncidentArgs', 'HeartbeatMonitorTriggerIncidentArgsDict']] trigger_incident: Create and resolve an incident based on the alert configuration. Useful for status page automation.
|
410
448
|
:param pulumi.Input[bool] use_global_alert_settings: When true, the account level alert settings will be used, not the alert setting defined on this check.
|
411
449
|
"""
|
412
450
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
@@ -420,6 +458,7 @@ class HeartbeatMonitor(pulumi.CustomResource):
|
|
420
458
|
__props__.__dict__["muted"] = muted
|
421
459
|
__props__.__dict__["name"] = name
|
422
460
|
__props__.__dict__["tags"] = tags
|
461
|
+
__props__.__dict__["trigger_incident"] = trigger_incident
|
423
462
|
__props__.__dict__["use_global_alert_settings"] = use_global_alert_settings
|
424
463
|
return HeartbeatMonitor(resource_name, opts=opts, __props__=__props__)
|
425
464
|
|
@@ -470,6 +509,14 @@ class HeartbeatMonitor(pulumi.CustomResource):
|
|
470
509
|
"""
|
471
510
|
return pulumi.get(self, "tags")
|
472
511
|
|
512
|
+
@property
|
513
|
+
@pulumi.getter(name="triggerIncident")
|
514
|
+
def trigger_incident(self) -> pulumi.Output[Optional['outputs.HeartbeatMonitorTriggerIncident']]:
|
515
|
+
"""
|
516
|
+
Create and resolve an incident based on the alert configuration. Useful for status page automation.
|
517
|
+
"""
|
518
|
+
return pulumi.get(self, "trigger_incident")
|
519
|
+
|
473
520
|
@property
|
474
521
|
@pulumi.getter(name="useGlobalAlertSettings")
|
475
522
|
def use_global_alert_settings(self) -> pulumi.Output[Optional[bool]]:
|