pulumi-checkly 2.3.0a1750944663__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/__init__.py +27 -0
- pulumi_checkly/_inputs.py +2538 -153
- pulumi_checkly/check.py +47 -0
- pulumi_checkly/dashboard.py +396 -66
- pulumi_checkly/heartbeat_check.py +47 -4
- pulumi_checkly/heartbeat_monitor.py +527 -0
- pulumi_checkly/outputs.py +1989 -131
- pulumi_checkly/pulumi-plugin.json +1 -1
- pulumi_checkly/tcp_check.py +47 -4
- pulumi_checkly/tcp_monitor.py +1218 -0
- pulumi_checkly/url_monitor.py +1092 -0
- {pulumi_checkly-2.3.0a1750944663.dist-info → pulumi_checkly-2.4.0.dist-info}/METADATA +1 -1
- {pulumi_checkly-2.3.0a1750944663.dist-info → pulumi_checkly-2.4.0.dist-info}/RECORD +15 -12
- {pulumi_checkly-2.3.0a1750944663.dist-info → pulumi_checkly-2.4.0.dist-info}/WHEEL +0 -0
- {pulumi_checkly-2.3.0a1750944663.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]:
|