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/tcp_check.py
CHANGED
@@ -40,6 +40,7 @@ class TcpCheckArgs:
|
|
40
40
|
runtime_id: Optional[pulumi.Input[str]] = None,
|
41
41
|
should_fail: Optional[pulumi.Input[bool]] = None,
|
42
42
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
43
|
+
trigger_incident: Optional[pulumi.Input['TcpCheckTriggerIncidentArgs']] = None,
|
43
44
|
use_global_alert_settings: Optional[pulumi.Input[bool]] = None):
|
44
45
|
"""
|
45
46
|
The set of arguments for constructing a TcpCheck resource.
|
@@ -61,6 +62,7 @@ class TcpCheckArgs:
|
|
61
62
|
:param pulumi.Input[str] runtime_id: The ID of the runtime to use for this check.
|
62
63
|
:param pulumi.Input[bool] should_fail: Allows to invert the behaviour of when a check is considered to fail.
|
63
64
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of tags for organizing and filtering checks.
|
65
|
+
:param pulumi.Input['TcpCheckTriggerIncidentArgs'] trigger_incident: Create and resolve an incident based on the alert configuration. Useful for status page automation.
|
64
66
|
: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.
|
65
67
|
"""
|
66
68
|
pulumi.set(__self__, "activated", activated)
|
@@ -98,6 +100,8 @@ class TcpCheckArgs:
|
|
98
100
|
pulumi.set(__self__, "should_fail", should_fail)
|
99
101
|
if tags is not None:
|
100
102
|
pulumi.set(__self__, "tags", tags)
|
103
|
+
if trigger_incident is not None:
|
104
|
+
pulumi.set(__self__, "trigger_incident", trigger_incident)
|
101
105
|
if use_global_alert_settings is not None:
|
102
106
|
pulumi.set(__self__, "use_global_alert_settings", use_global_alert_settings)
|
103
107
|
|
@@ -326,6 +330,18 @@ class TcpCheckArgs:
|
|
326
330
|
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
327
331
|
pulumi.set(self, "tags", value)
|
328
332
|
|
333
|
+
@property
|
334
|
+
@pulumi.getter(name="triggerIncident")
|
335
|
+
def trigger_incident(self) -> Optional[pulumi.Input['TcpCheckTriggerIncidentArgs']]:
|
336
|
+
"""
|
337
|
+
Create and resolve an incident based on the alert configuration. Useful for status page automation.
|
338
|
+
"""
|
339
|
+
return pulumi.get(self, "trigger_incident")
|
340
|
+
|
341
|
+
@trigger_incident.setter
|
342
|
+
def trigger_incident(self, value: Optional[pulumi.Input['TcpCheckTriggerIncidentArgs']]):
|
343
|
+
pulumi.set(self, "trigger_incident", value)
|
344
|
+
|
329
345
|
@property
|
330
346
|
@pulumi.getter(name="useGlobalAlertSettings")
|
331
347
|
def use_global_alert_settings(self) -> Optional[pulumi.Input[bool]]:
|
@@ -361,6 +377,7 @@ class _TcpCheckState:
|
|
361
377
|
runtime_id: Optional[pulumi.Input[str]] = None,
|
362
378
|
should_fail: Optional[pulumi.Input[bool]] = None,
|
363
379
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
380
|
+
trigger_incident: Optional[pulumi.Input['TcpCheckTriggerIncidentArgs']] = None,
|
364
381
|
use_global_alert_settings: Optional[pulumi.Input[bool]] = None):
|
365
382
|
"""
|
366
383
|
Input properties used for looking up and filtering TcpCheck resources.
|
@@ -382,6 +399,7 @@ class _TcpCheckState:
|
|
382
399
|
:param pulumi.Input[str] runtime_id: The ID of the runtime to use for this check.
|
383
400
|
:param pulumi.Input[bool] should_fail: Allows to invert the behaviour of when a check is considered to fail.
|
384
401
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of tags for organizing and filtering checks.
|
402
|
+
:param pulumi.Input['TcpCheckTriggerIncidentArgs'] trigger_incident: Create and resolve an incident based on the alert configuration. Useful for status page automation.
|
385
403
|
: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.
|
386
404
|
"""
|
387
405
|
if activated is not None:
|
@@ -422,6 +440,8 @@ class _TcpCheckState:
|
|
422
440
|
pulumi.set(__self__, "should_fail", should_fail)
|
423
441
|
if tags is not None:
|
424
442
|
pulumi.set(__self__, "tags", tags)
|
443
|
+
if trigger_incident is not None:
|
444
|
+
pulumi.set(__self__, "trigger_incident", trigger_incident)
|
425
445
|
if use_global_alert_settings is not None:
|
426
446
|
pulumi.set(__self__, "use_global_alert_settings", use_global_alert_settings)
|
427
447
|
|
@@ -650,6 +670,18 @@ class _TcpCheckState:
|
|
650
670
|
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
651
671
|
pulumi.set(self, "tags", value)
|
652
672
|
|
673
|
+
@property
|
674
|
+
@pulumi.getter(name="triggerIncident")
|
675
|
+
def trigger_incident(self) -> Optional[pulumi.Input['TcpCheckTriggerIncidentArgs']]:
|
676
|
+
"""
|
677
|
+
Create and resolve an incident based on the alert configuration. Useful for status page automation.
|
678
|
+
"""
|
679
|
+
return pulumi.get(self, "trigger_incident")
|
680
|
+
|
681
|
+
@trigger_incident.setter
|
682
|
+
def trigger_incident(self, value: Optional[pulumi.Input['TcpCheckTriggerIncidentArgs']]):
|
683
|
+
pulumi.set(self, "trigger_incident", value)
|
684
|
+
|
653
685
|
@property
|
654
686
|
@pulumi.getter(name="useGlobalAlertSettings")
|
655
687
|
def use_global_alert_settings(self) -> Optional[pulumi.Input[bool]]:
|
@@ -687,11 +719,10 @@ class TcpCheck(pulumi.CustomResource):
|
|
687
719
|
runtime_id: Optional[pulumi.Input[str]] = None,
|
688
720
|
should_fail: Optional[pulumi.Input[bool]] = None,
|
689
721
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
722
|
+
trigger_incident: Optional[pulumi.Input[Union['TcpCheckTriggerIncidentArgs', 'TcpCheckTriggerIncidentArgsDict']]] = None,
|
690
723
|
use_global_alert_settings: Optional[pulumi.Input[bool]] = None,
|
691
724
|
__props__=None):
|
692
725
|
"""
|
693
|
-
TCP checks allow you to monitor remote endpoints at a lower level.
|
694
|
-
|
695
726
|
## Example Usage
|
696
727
|
|
697
728
|
```python
|
@@ -780,6 +811,7 @@ class TcpCheck(pulumi.CustomResource):
|
|
780
811
|
:param pulumi.Input[str] runtime_id: The ID of the runtime to use for this check.
|
781
812
|
:param pulumi.Input[bool] should_fail: Allows to invert the behaviour of when a check is considered to fail.
|
782
813
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of tags for organizing and filtering checks.
|
814
|
+
:param pulumi.Input[Union['TcpCheckTriggerIncidentArgs', 'TcpCheckTriggerIncidentArgsDict']] trigger_incident: Create and resolve an incident based on the alert configuration. Useful for status page automation.
|
783
815
|
: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.
|
784
816
|
"""
|
785
817
|
...
|
@@ -789,8 +821,6 @@ class TcpCheck(pulumi.CustomResource):
|
|
789
821
|
args: TcpCheckArgs,
|
790
822
|
opts: Optional[pulumi.ResourceOptions] = None):
|
791
823
|
"""
|
792
|
-
TCP checks allow you to monitor remote endpoints at a lower level.
|
793
|
-
|
794
824
|
## Example Usage
|
795
825
|
|
796
826
|
```python
|
@@ -893,6 +923,7 @@ class TcpCheck(pulumi.CustomResource):
|
|
893
923
|
runtime_id: Optional[pulumi.Input[str]] = None,
|
894
924
|
should_fail: Optional[pulumi.Input[bool]] = None,
|
895
925
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
926
|
+
trigger_incident: Optional[pulumi.Input[Union['TcpCheckTriggerIncidentArgs', 'TcpCheckTriggerIncidentArgsDict']]] = None,
|
896
927
|
use_global_alert_settings: Optional[pulumi.Input[bool]] = None,
|
897
928
|
__props__=None):
|
898
929
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
@@ -928,6 +959,7 @@ class TcpCheck(pulumi.CustomResource):
|
|
928
959
|
__props__.__dict__["runtime_id"] = runtime_id
|
929
960
|
__props__.__dict__["should_fail"] = should_fail
|
930
961
|
__props__.__dict__["tags"] = tags
|
962
|
+
__props__.__dict__["trigger_incident"] = trigger_incident
|
931
963
|
__props__.__dict__["use_global_alert_settings"] = use_global_alert_settings
|
932
964
|
super(TcpCheck, __self__).__init__(
|
933
965
|
'checkly:index/tcpCheck:TcpCheck',
|
@@ -958,6 +990,7 @@ class TcpCheck(pulumi.CustomResource):
|
|
958
990
|
runtime_id: Optional[pulumi.Input[str]] = None,
|
959
991
|
should_fail: Optional[pulumi.Input[bool]] = None,
|
960
992
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
993
|
+
trigger_incident: Optional[pulumi.Input[Union['TcpCheckTriggerIncidentArgs', 'TcpCheckTriggerIncidentArgsDict']]] = None,
|
961
994
|
use_global_alert_settings: Optional[pulumi.Input[bool]] = None) -> 'TcpCheck':
|
962
995
|
"""
|
963
996
|
Get an existing TcpCheck resource's state with the given name, id, and optional extra
|
@@ -984,6 +1017,7 @@ class TcpCheck(pulumi.CustomResource):
|
|
984
1017
|
:param pulumi.Input[str] runtime_id: The ID of the runtime to use for this check.
|
985
1018
|
:param pulumi.Input[bool] should_fail: Allows to invert the behaviour of when a check is considered to fail.
|
986
1019
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of tags for organizing and filtering checks.
|
1020
|
+
:param pulumi.Input[Union['TcpCheckTriggerIncidentArgs', 'TcpCheckTriggerIncidentArgsDict']] trigger_incident: Create and resolve an incident based on the alert configuration. Useful for status page automation.
|
987
1021
|
: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.
|
988
1022
|
"""
|
989
1023
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
@@ -1009,6 +1043,7 @@ class TcpCheck(pulumi.CustomResource):
|
|
1009
1043
|
__props__.__dict__["runtime_id"] = runtime_id
|
1010
1044
|
__props__.__dict__["should_fail"] = should_fail
|
1011
1045
|
__props__.__dict__["tags"] = tags
|
1046
|
+
__props__.__dict__["trigger_incident"] = trigger_incident
|
1012
1047
|
__props__.__dict__["use_global_alert_settings"] = use_global_alert_settings
|
1013
1048
|
return TcpCheck(resource_name, opts=opts, __props__=__props__)
|
1014
1049
|
|
@@ -1161,6 +1196,14 @@ class TcpCheck(pulumi.CustomResource):
|
|
1161
1196
|
"""
|
1162
1197
|
return pulumi.get(self, "tags")
|
1163
1198
|
|
1199
|
+
@property
|
1200
|
+
@pulumi.getter(name="triggerIncident")
|
1201
|
+
def trigger_incident(self) -> pulumi.Output[Optional['outputs.TcpCheckTriggerIncident']]:
|
1202
|
+
"""
|
1203
|
+
Create and resolve an incident based on the alert configuration. Useful for status page automation.
|
1204
|
+
"""
|
1205
|
+
return pulumi.get(self, "trigger_incident")
|
1206
|
+
|
1164
1207
|
@property
|
1165
1208
|
@pulumi.getter(name="useGlobalAlertSettings")
|
1166
1209
|
def use_global_alert_settings(self) -> pulumi.Output[Optional[bool]]:
|