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.
- pulumi_checkly/__init__.py +2 -1
- pulumi_checkly/_inputs.py +2103 -1179
- pulumi_checkly/_utilities.py +9 -5
- pulumi_checkly/alert_channel.py +109 -108
- pulumi_checkly/check.py +517 -469
- pulumi_checkly/check_group.py +300 -299
- pulumi_checkly/client_certificate.py +88 -87
- pulumi_checkly/config/__init__.py +2 -1
- pulumi_checkly/config/__init__.pyi +2 -2
- pulumi_checkly/config/vars.py +5 -5
- pulumi_checkly/dashboard.py +403 -402
- pulumi_checkly/environment_variable.py +55 -54
- pulumi_checkly/get_static_ips.py +18 -18
- pulumi_checkly/heartbeat_check.py +144 -96
- pulumi_checkly/heartbeat_monitor.py +144 -96
- pulumi_checkly/maintenance_window.py +122 -121
- pulumi_checkly/outputs.py +1518 -771
- pulumi_checkly/private_location.py +63 -62
- pulumi_checkly/provider.py +56 -36
- pulumi_checkly/pulumi-plugin.json +1 -1
- pulumi_checkly/snippet.py +37 -36
- pulumi_checkly/status_page.py +125 -124
- pulumi_checkly/status_page_service.py +20 -19
- pulumi_checkly/tcp_check.py +341 -293
- pulumi_checkly/tcp_monitor.py +341 -293
- pulumi_checkly/trigger_check.py +54 -53
- pulumi_checkly/trigger_check_group.py +54 -53
- pulumi_checkly/url_monitor.py +324 -276
- {pulumi_checkly-2.4.0a1757083696.dist-info → pulumi_checkly-2.5.0.dist-info}/METADATA +2 -2
- pulumi_checkly-2.5.0.dist-info/RECORD +33 -0
- pulumi_checkly-2.4.0a1757083696.dist-info/RECORD +0 -33
- {pulumi_checkly-2.4.0a1757083696.dist-info → pulumi_checkly-2.5.0.dist-info}/WHEEL +0 -0
- {pulumi_checkly-2.4.0a1757083696.dist-info → pulumi_checkly-2.5.0.dist-info}/top_level.txt +0 -0
pulumi_checkly/tcp_check.py
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
# coding=utf-8
|
2
|
-
# *** WARNING: this file was generated by
|
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
|
5
|
+
import builtins as _builtins
|
6
6
|
import warnings
|
7
7
|
import sys
|
8
8
|
import pulumi
|
@@ -21,47 +21,49 @@ __all__ = ['TcpCheckArgs', 'TcpCheck']
|
|
21
21
|
@pulumi.input_type
|
22
22
|
class TcpCheckArgs:
|
23
23
|
def __init__(__self__, *,
|
24
|
-
activated: pulumi.Input[bool],
|
25
|
-
frequency: pulumi.Input[int],
|
24
|
+
activated: pulumi.Input[_builtins.bool],
|
25
|
+
frequency: pulumi.Input[_builtins.int],
|
26
26
|
request: pulumi.Input['TcpCheckRequestArgs'],
|
27
27
|
alert_channel_subscriptions: Optional[pulumi.Input[Sequence[pulumi.Input['TcpCheckAlertChannelSubscriptionArgs']]]] = None,
|
28
28
|
alert_settings: Optional[pulumi.Input['TcpCheckAlertSettingsArgs']] = None,
|
29
|
-
degraded_response_time: Optional[pulumi.Input[int]] = None,
|
30
|
-
frequency_offset: Optional[pulumi.Input[int]] = None,
|
31
|
-
group_id: Optional[pulumi.Input[int]] = None,
|
32
|
-
group_order: Optional[pulumi.Input[int]] = None,
|
33
|
-
locations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
34
|
-
max_response_time: Optional[pulumi.Input[int]] = None,
|
35
|
-
muted: Optional[pulumi.Input[bool]] = None,
|
36
|
-
name: Optional[pulumi.Input[str]] = None,
|
37
|
-
private_locations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
29
|
+
degraded_response_time: Optional[pulumi.Input[_builtins.int]] = None,
|
30
|
+
frequency_offset: Optional[pulumi.Input[_builtins.int]] = None,
|
31
|
+
group_id: Optional[pulumi.Input[_builtins.int]] = None,
|
32
|
+
group_order: Optional[pulumi.Input[_builtins.int]] = None,
|
33
|
+
locations: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
34
|
+
max_response_time: Optional[pulumi.Input[_builtins.int]] = None,
|
35
|
+
muted: Optional[pulumi.Input[_builtins.bool]] = None,
|
36
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
37
|
+
private_locations: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
38
38
|
retry_strategy: Optional[pulumi.Input['TcpCheckRetryStrategyArgs']] = None,
|
39
|
-
run_parallel: Optional[pulumi.Input[bool]] = None,
|
40
|
-
runtime_id: Optional[pulumi.Input[str]] = None,
|
41
|
-
should_fail: Optional[pulumi.Input[bool]] = None,
|
42
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
43
|
-
|
39
|
+
run_parallel: Optional[pulumi.Input[_builtins.bool]] = None,
|
40
|
+
runtime_id: Optional[pulumi.Input[_builtins.str]] = None,
|
41
|
+
should_fail: Optional[pulumi.Input[_builtins.bool]] = None,
|
42
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
43
|
+
trigger_incident: Optional[pulumi.Input['TcpCheckTriggerIncidentArgs']] = None,
|
44
|
+
use_global_alert_settings: Optional[pulumi.Input[_builtins.bool]] = None):
|
44
45
|
"""
|
45
46
|
The set of arguments for constructing a TcpCheck resource.
|
46
|
-
:param pulumi.Input[bool] activated: Determines if the check is running or not. Possible values `true`, and `false`.
|
47
|
-
:param pulumi.Input[int] frequency: The frequency in minutes to run the check. Possible values are `0`, `1`, `2`, `5`, `10`, `15`, `30`, `60`, `120`, `180`, `360`, `720`, and `1440`.
|
47
|
+
:param pulumi.Input[_builtins.bool] activated: Determines if the check is running or not. Possible values `true`, and `false`.
|
48
|
+
:param pulumi.Input[_builtins.int] frequency: The frequency in minutes to run the check. Possible values are `0`, `1`, `2`, `5`, `10`, `15`, `30`, `60`, `120`, `180`, `360`, `720`, and `1440`.
|
48
49
|
:param pulumi.Input['TcpCheckRequestArgs'] request: The parameters for the TCP connection.
|
49
50
|
:param pulumi.Input[Sequence[pulumi.Input['TcpCheckAlertChannelSubscriptionArgs']]] alert_channel_subscriptions: An array of channel IDs and whether they're activated or not. If you don't set at least one alert subscription for your check, we won't be able to alert you in case something goes wrong with it.
|
50
|
-
:param pulumi.Input[int] degraded_response_time: The response time in milliseconds starting from which a check should be considered degraded. Possible values are between 0 and 5000. (Default `4000`).
|
51
|
-
:param pulumi.Input[int] frequency_offset: To create a high frequency check, the property `frequency` must be `0` and `frequency_offset` can be `10`, `20` or `30`.
|
52
|
-
:param pulumi.Input[int] group_id: The id of the check group this check is part of.
|
53
|
-
:param pulumi.Input[int] group_order: The position of this check in a check group. It determines in what order checks are run when a group is triggered from the API or from CI/CD.
|
54
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] locations: An array of one or more data center locations where to run the this check. (Default ["us-east-1"])
|
55
|
-
:param pulumi.Input[int] max_response_time: The response time in milliseconds starting from which a check should be considered failing. Possible values are between 0 and 5000. (Default `5000`).
|
56
|
-
:param pulumi.Input[bool] muted: Determines if any notifications will be sent out when a check fails/degrades/recovers.
|
57
|
-
:param pulumi.Input[str] name: The name of the check.
|
58
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] private_locations: An array of one or more private locations slugs.
|
59
|
-
:param pulumi.Input['TcpCheckRetryStrategyArgs'] retry_strategy: A strategy for retrying failed check runs.
|
60
|
-
:param pulumi.Input[bool] run_parallel: Determines if the check should run in all selected locations in parallel or round-robin.
|
61
|
-
:param pulumi.Input[str] runtime_id: The ID of the runtime to use for this check.
|
62
|
-
:param pulumi.Input[bool] should_fail: Allows to invert the behaviour of when a check is considered to fail.
|
63
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of tags for organizing and filtering checks.
|
64
|
-
:param pulumi.Input[
|
51
|
+
:param pulumi.Input[_builtins.int] degraded_response_time: The response time in milliseconds starting from which a check should be considered degraded. Possible values are between 0 and 5000. (Default `4000`).
|
52
|
+
:param pulumi.Input[_builtins.int] frequency_offset: To create a high frequency check, the property `frequency` must be `0` and `frequency_offset` can be `10`, `20` or `30`.
|
53
|
+
:param pulumi.Input[_builtins.int] group_id: The id of the check group this check is part of.
|
54
|
+
:param pulumi.Input[_builtins.int] group_order: The position of this check in a check group. It determines in what order checks are run when a group is triggered from the API or from CI/CD.
|
55
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] locations: An array of one or more data center locations where to run the this check. (Default ["us-east-1"])
|
56
|
+
:param pulumi.Input[_builtins.int] max_response_time: The response time in milliseconds starting from which a check should be considered failing. Possible values are between 0 and 5000. (Default `5000`).
|
57
|
+
:param pulumi.Input[_builtins.bool] muted: Determines if any notifications will be sent out when a check fails/degrades/recovers.
|
58
|
+
:param pulumi.Input[_builtins.str] name: The name of the check.
|
59
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] private_locations: An array of one or more private locations slugs.
|
60
|
+
:param pulumi.Input['TcpCheckRetryStrategyArgs'] retry_strategy: A strategy for retrying failed check/monitor runs.
|
61
|
+
:param pulumi.Input[_builtins.bool] run_parallel: Determines if the check should run in all selected locations in parallel or round-robin.
|
62
|
+
:param pulumi.Input[_builtins.str] runtime_id: The ID of the runtime to use for this check.
|
63
|
+
:param pulumi.Input[_builtins.bool] should_fail: Allows to invert the behaviour of when a check is considered to fail.
|
64
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.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.
|
66
|
+
:param pulumi.Input[_builtins.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)
|
67
69
|
pulumi.set(__self__, "frequency", frequency)
|
@@ -98,34 +100,36 @@ 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
|
|
104
|
-
@property
|
108
|
+
@_builtins.property
|
105
109
|
@pulumi.getter
|
106
|
-
def activated(self) -> pulumi.Input[bool]:
|
110
|
+
def activated(self) -> pulumi.Input[_builtins.bool]:
|
107
111
|
"""
|
108
112
|
Determines if the check is running or not. Possible values `true`, and `false`.
|
109
113
|
"""
|
110
114
|
return pulumi.get(self, "activated")
|
111
115
|
|
112
116
|
@activated.setter
|
113
|
-
def activated(self, value: pulumi.Input[bool]):
|
117
|
+
def activated(self, value: pulumi.Input[_builtins.bool]):
|
114
118
|
pulumi.set(self, "activated", value)
|
115
119
|
|
116
|
-
@property
|
120
|
+
@_builtins.property
|
117
121
|
@pulumi.getter
|
118
|
-
def frequency(self) -> pulumi.Input[int]:
|
122
|
+
def frequency(self) -> pulumi.Input[_builtins.int]:
|
119
123
|
"""
|
120
124
|
The frequency in minutes to run the check. Possible values are `0`, `1`, `2`, `5`, `10`, `15`, `30`, `60`, `120`, `180`, `360`, `720`, and `1440`.
|
121
125
|
"""
|
122
126
|
return pulumi.get(self, "frequency")
|
123
127
|
|
124
128
|
@frequency.setter
|
125
|
-
def frequency(self, value: pulumi.Input[int]):
|
129
|
+
def frequency(self, value: pulumi.Input[_builtins.int]):
|
126
130
|
pulumi.set(self, "frequency", value)
|
127
131
|
|
128
|
-
@property
|
132
|
+
@_builtins.property
|
129
133
|
@pulumi.getter
|
130
134
|
def request(self) -> pulumi.Input['TcpCheckRequestArgs']:
|
131
135
|
"""
|
@@ -137,7 +141,7 @@ class TcpCheckArgs:
|
|
137
141
|
def request(self, value: pulumi.Input['TcpCheckRequestArgs']):
|
138
142
|
pulumi.set(self, "request", value)
|
139
143
|
|
140
|
-
@property
|
144
|
+
@_builtins.property
|
141
145
|
@pulumi.getter(name="alertChannelSubscriptions")
|
142
146
|
def alert_channel_subscriptions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['TcpCheckAlertChannelSubscriptionArgs']]]]:
|
143
147
|
"""
|
@@ -149,7 +153,7 @@ class TcpCheckArgs:
|
|
149
153
|
def alert_channel_subscriptions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TcpCheckAlertChannelSubscriptionArgs']]]]):
|
150
154
|
pulumi.set(self, "alert_channel_subscriptions", value)
|
151
155
|
|
152
|
-
@property
|
156
|
+
@_builtins.property
|
153
157
|
@pulumi.getter(name="alertSettings")
|
154
158
|
def alert_settings(self) -> Optional[pulumi.Input['TcpCheckAlertSettingsArgs']]:
|
155
159
|
return pulumi.get(self, "alert_settings")
|
@@ -158,119 +162,119 @@ class TcpCheckArgs:
|
|
158
162
|
def alert_settings(self, value: Optional[pulumi.Input['TcpCheckAlertSettingsArgs']]):
|
159
163
|
pulumi.set(self, "alert_settings", value)
|
160
164
|
|
161
|
-
@property
|
165
|
+
@_builtins.property
|
162
166
|
@pulumi.getter(name="degradedResponseTime")
|
163
|
-
def degraded_response_time(self) -> Optional[pulumi.Input[int]]:
|
167
|
+
def degraded_response_time(self) -> Optional[pulumi.Input[_builtins.int]]:
|
164
168
|
"""
|
165
169
|
The response time in milliseconds starting from which a check should be considered degraded. Possible values are between 0 and 5000. (Default `4000`).
|
166
170
|
"""
|
167
171
|
return pulumi.get(self, "degraded_response_time")
|
168
172
|
|
169
173
|
@degraded_response_time.setter
|
170
|
-
def degraded_response_time(self, value: Optional[pulumi.Input[int]]):
|
174
|
+
def degraded_response_time(self, value: Optional[pulumi.Input[_builtins.int]]):
|
171
175
|
pulumi.set(self, "degraded_response_time", value)
|
172
176
|
|
173
|
-
@property
|
177
|
+
@_builtins.property
|
174
178
|
@pulumi.getter(name="frequencyOffset")
|
175
|
-
def frequency_offset(self) -> Optional[pulumi.Input[int]]:
|
179
|
+
def frequency_offset(self) -> Optional[pulumi.Input[_builtins.int]]:
|
176
180
|
"""
|
177
181
|
To create a high frequency check, the property `frequency` must be `0` and `frequency_offset` can be `10`, `20` or `30`.
|
178
182
|
"""
|
179
183
|
return pulumi.get(self, "frequency_offset")
|
180
184
|
|
181
185
|
@frequency_offset.setter
|
182
|
-
def frequency_offset(self, value: Optional[pulumi.Input[int]]):
|
186
|
+
def frequency_offset(self, value: Optional[pulumi.Input[_builtins.int]]):
|
183
187
|
pulumi.set(self, "frequency_offset", value)
|
184
188
|
|
185
|
-
@property
|
189
|
+
@_builtins.property
|
186
190
|
@pulumi.getter(name="groupId")
|
187
|
-
def group_id(self) -> Optional[pulumi.Input[int]]:
|
191
|
+
def group_id(self) -> Optional[pulumi.Input[_builtins.int]]:
|
188
192
|
"""
|
189
193
|
The id of the check group this check is part of.
|
190
194
|
"""
|
191
195
|
return pulumi.get(self, "group_id")
|
192
196
|
|
193
197
|
@group_id.setter
|
194
|
-
def group_id(self, value: Optional[pulumi.Input[int]]):
|
198
|
+
def group_id(self, value: Optional[pulumi.Input[_builtins.int]]):
|
195
199
|
pulumi.set(self, "group_id", value)
|
196
200
|
|
197
|
-
@property
|
201
|
+
@_builtins.property
|
198
202
|
@pulumi.getter(name="groupOrder")
|
199
|
-
def group_order(self) -> Optional[pulumi.Input[int]]:
|
203
|
+
def group_order(self) -> Optional[pulumi.Input[_builtins.int]]:
|
200
204
|
"""
|
201
205
|
The position of this check in a check group. It determines in what order checks are run when a group is triggered from the API or from CI/CD.
|
202
206
|
"""
|
203
207
|
return pulumi.get(self, "group_order")
|
204
208
|
|
205
209
|
@group_order.setter
|
206
|
-
def group_order(self, value: Optional[pulumi.Input[int]]):
|
210
|
+
def group_order(self, value: Optional[pulumi.Input[_builtins.int]]):
|
207
211
|
pulumi.set(self, "group_order", value)
|
208
212
|
|
209
|
-
@property
|
213
|
+
@_builtins.property
|
210
214
|
@pulumi.getter
|
211
|
-
def locations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
215
|
+
def locations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
212
216
|
"""
|
213
217
|
An array of one or more data center locations where to run the this check. (Default ["us-east-1"])
|
214
218
|
"""
|
215
219
|
return pulumi.get(self, "locations")
|
216
220
|
|
217
221
|
@locations.setter
|
218
|
-
def locations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
222
|
+
def locations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
219
223
|
pulumi.set(self, "locations", value)
|
220
224
|
|
221
|
-
@property
|
225
|
+
@_builtins.property
|
222
226
|
@pulumi.getter(name="maxResponseTime")
|
223
|
-
def max_response_time(self) -> Optional[pulumi.Input[int]]:
|
227
|
+
def max_response_time(self) -> Optional[pulumi.Input[_builtins.int]]:
|
224
228
|
"""
|
225
229
|
The response time in milliseconds starting from which a check should be considered failing. Possible values are between 0 and 5000. (Default `5000`).
|
226
230
|
"""
|
227
231
|
return pulumi.get(self, "max_response_time")
|
228
232
|
|
229
233
|
@max_response_time.setter
|
230
|
-
def max_response_time(self, value: Optional[pulumi.Input[int]]):
|
234
|
+
def max_response_time(self, value: Optional[pulumi.Input[_builtins.int]]):
|
231
235
|
pulumi.set(self, "max_response_time", value)
|
232
236
|
|
233
|
-
@property
|
237
|
+
@_builtins.property
|
234
238
|
@pulumi.getter
|
235
|
-
def muted(self) -> Optional[pulumi.Input[bool]]:
|
239
|
+
def muted(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
236
240
|
"""
|
237
241
|
Determines if any notifications will be sent out when a check fails/degrades/recovers.
|
238
242
|
"""
|
239
243
|
return pulumi.get(self, "muted")
|
240
244
|
|
241
245
|
@muted.setter
|
242
|
-
def muted(self, value: Optional[pulumi.Input[bool]]):
|
246
|
+
def muted(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
243
247
|
pulumi.set(self, "muted", value)
|
244
248
|
|
245
|
-
@property
|
249
|
+
@_builtins.property
|
246
250
|
@pulumi.getter
|
247
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
251
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
248
252
|
"""
|
249
253
|
The name of the check.
|
250
254
|
"""
|
251
255
|
return pulumi.get(self, "name")
|
252
256
|
|
253
257
|
@name.setter
|
254
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
258
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
255
259
|
pulumi.set(self, "name", value)
|
256
260
|
|
257
|
-
@property
|
261
|
+
@_builtins.property
|
258
262
|
@pulumi.getter(name="privateLocations")
|
259
|
-
def private_locations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
263
|
+
def private_locations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
260
264
|
"""
|
261
265
|
An array of one or more private locations slugs.
|
262
266
|
"""
|
263
267
|
return pulumi.get(self, "private_locations")
|
264
268
|
|
265
269
|
@private_locations.setter
|
266
|
-
def private_locations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
270
|
+
def private_locations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
267
271
|
pulumi.set(self, "private_locations", value)
|
268
272
|
|
269
|
-
@property
|
273
|
+
@_builtins.property
|
270
274
|
@pulumi.getter(name="retryStrategy")
|
271
275
|
def retry_strategy(self) -> Optional[pulumi.Input['TcpCheckRetryStrategyArgs']]:
|
272
276
|
"""
|
273
|
-
A strategy for retrying failed check runs.
|
277
|
+
A strategy for retrying failed check/monitor runs.
|
274
278
|
"""
|
275
279
|
return pulumi.get(self, "retry_strategy")
|
276
280
|
|
@@ -278,111 +282,125 @@ class TcpCheckArgs:
|
|
278
282
|
def retry_strategy(self, value: Optional[pulumi.Input['TcpCheckRetryStrategyArgs']]):
|
279
283
|
pulumi.set(self, "retry_strategy", value)
|
280
284
|
|
281
|
-
@property
|
285
|
+
@_builtins.property
|
282
286
|
@pulumi.getter(name="runParallel")
|
283
|
-
def run_parallel(self) -> Optional[pulumi.Input[bool]]:
|
287
|
+
def run_parallel(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
284
288
|
"""
|
285
289
|
Determines if the check should run in all selected locations in parallel or round-robin.
|
286
290
|
"""
|
287
291
|
return pulumi.get(self, "run_parallel")
|
288
292
|
|
289
293
|
@run_parallel.setter
|
290
|
-
def run_parallel(self, value: Optional[pulumi.Input[bool]]):
|
294
|
+
def run_parallel(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
291
295
|
pulumi.set(self, "run_parallel", value)
|
292
296
|
|
293
|
-
@property
|
297
|
+
@_builtins.property
|
294
298
|
@pulumi.getter(name="runtimeId")
|
295
|
-
def runtime_id(self) -> Optional[pulumi.Input[str]]:
|
299
|
+
def runtime_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
296
300
|
"""
|
297
301
|
The ID of the runtime to use for this check.
|
298
302
|
"""
|
299
303
|
return pulumi.get(self, "runtime_id")
|
300
304
|
|
301
305
|
@runtime_id.setter
|
302
|
-
def runtime_id(self, value: Optional[pulumi.Input[str]]):
|
306
|
+
def runtime_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
303
307
|
pulumi.set(self, "runtime_id", value)
|
304
308
|
|
305
|
-
@property
|
309
|
+
@_builtins.property
|
306
310
|
@pulumi.getter(name="shouldFail")
|
307
|
-
def should_fail(self) -> Optional[pulumi.Input[bool]]:
|
311
|
+
def should_fail(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
308
312
|
"""
|
309
313
|
Allows to invert the behaviour of when a check is considered to fail.
|
310
314
|
"""
|
311
315
|
return pulumi.get(self, "should_fail")
|
312
316
|
|
313
317
|
@should_fail.setter
|
314
|
-
def should_fail(self, value: Optional[pulumi.Input[bool]]):
|
318
|
+
def should_fail(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
315
319
|
pulumi.set(self, "should_fail", value)
|
316
320
|
|
317
|
-
@property
|
321
|
+
@_builtins.property
|
318
322
|
@pulumi.getter
|
319
|
-
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
323
|
+
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
320
324
|
"""
|
321
325
|
A list of tags for organizing and filtering checks.
|
322
326
|
"""
|
323
327
|
return pulumi.get(self, "tags")
|
324
328
|
|
325
329
|
@tags.setter
|
326
|
-
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
330
|
+
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
327
331
|
pulumi.set(self, "tags", value)
|
328
332
|
|
329
|
-
@property
|
333
|
+
@_builtins.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
|
+
|
345
|
+
@_builtins.property
|
330
346
|
@pulumi.getter(name="useGlobalAlertSettings")
|
331
|
-
def use_global_alert_settings(self) -> Optional[pulumi.Input[bool]]:
|
347
|
+
def use_global_alert_settings(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
332
348
|
"""
|
333
349
|
When true, the account level alert settings will be used, not the alert setting defined on this check.
|
334
350
|
"""
|
335
351
|
return pulumi.get(self, "use_global_alert_settings")
|
336
352
|
|
337
353
|
@use_global_alert_settings.setter
|
338
|
-
def use_global_alert_settings(self, value: Optional[pulumi.Input[bool]]):
|
354
|
+
def use_global_alert_settings(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
339
355
|
pulumi.set(self, "use_global_alert_settings", value)
|
340
356
|
|
341
357
|
|
342
358
|
@pulumi.input_type
|
343
359
|
class _TcpCheckState:
|
344
360
|
def __init__(__self__, *,
|
345
|
-
activated: Optional[pulumi.Input[bool]] = None,
|
361
|
+
activated: Optional[pulumi.Input[_builtins.bool]] = None,
|
346
362
|
alert_channel_subscriptions: Optional[pulumi.Input[Sequence[pulumi.Input['TcpCheckAlertChannelSubscriptionArgs']]]] = None,
|
347
363
|
alert_settings: Optional[pulumi.Input['TcpCheckAlertSettingsArgs']] = None,
|
348
|
-
degraded_response_time: Optional[pulumi.Input[int]] = None,
|
349
|
-
frequency: Optional[pulumi.Input[int]] = None,
|
350
|
-
frequency_offset: Optional[pulumi.Input[int]] = None,
|
351
|
-
group_id: Optional[pulumi.Input[int]] = None,
|
352
|
-
group_order: Optional[pulumi.Input[int]] = None,
|
353
|
-
locations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
354
|
-
max_response_time: Optional[pulumi.Input[int]] = None,
|
355
|
-
muted: Optional[pulumi.Input[bool]] = None,
|
356
|
-
name: Optional[pulumi.Input[str]] = None,
|
357
|
-
private_locations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
364
|
+
degraded_response_time: Optional[pulumi.Input[_builtins.int]] = None,
|
365
|
+
frequency: Optional[pulumi.Input[_builtins.int]] = None,
|
366
|
+
frequency_offset: Optional[pulumi.Input[_builtins.int]] = None,
|
367
|
+
group_id: Optional[pulumi.Input[_builtins.int]] = None,
|
368
|
+
group_order: Optional[pulumi.Input[_builtins.int]] = None,
|
369
|
+
locations: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
370
|
+
max_response_time: Optional[pulumi.Input[_builtins.int]] = None,
|
371
|
+
muted: Optional[pulumi.Input[_builtins.bool]] = None,
|
372
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
373
|
+
private_locations: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
358
374
|
request: Optional[pulumi.Input['TcpCheckRequestArgs']] = None,
|
359
375
|
retry_strategy: Optional[pulumi.Input['TcpCheckRetryStrategyArgs']] = None,
|
360
|
-
run_parallel: Optional[pulumi.Input[bool]] = None,
|
361
|
-
runtime_id: Optional[pulumi.Input[str]] = None,
|
362
|
-
should_fail: Optional[pulumi.Input[bool]] = None,
|
363
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
364
|
-
|
376
|
+
run_parallel: Optional[pulumi.Input[_builtins.bool]] = None,
|
377
|
+
runtime_id: Optional[pulumi.Input[_builtins.str]] = None,
|
378
|
+
should_fail: Optional[pulumi.Input[_builtins.bool]] = None,
|
379
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
380
|
+
trigger_incident: Optional[pulumi.Input['TcpCheckTriggerIncidentArgs']] = None,
|
381
|
+
use_global_alert_settings: Optional[pulumi.Input[_builtins.bool]] = None):
|
365
382
|
"""
|
366
383
|
Input properties used for looking up and filtering TcpCheck resources.
|
367
|
-
:param pulumi.Input[bool] activated: Determines if the check is running or not. Possible values `true`, and `false`.
|
384
|
+
:param pulumi.Input[_builtins.bool] activated: Determines if the check is running or not. Possible values `true`, and `false`.
|
368
385
|
:param pulumi.Input[Sequence[pulumi.Input['TcpCheckAlertChannelSubscriptionArgs']]] alert_channel_subscriptions: An array of channel IDs and whether they're activated or not. If you don't set at least one alert subscription for your check, we won't be able to alert you in case something goes wrong with it.
|
369
|
-
:param pulumi.Input[int] degraded_response_time: The response time in milliseconds starting from which a check should be considered degraded. Possible values are between 0 and 5000. (Default `4000`).
|
370
|
-
:param pulumi.Input[int] frequency: The frequency in minutes to run the check. Possible values are `0`, `1`, `2`, `5`, `10`, `15`, `30`, `60`, `120`, `180`, `360`, `720`, and `1440`.
|
371
|
-
:param pulumi.Input[int] frequency_offset: To create a high frequency check, the property `frequency` must be `0` and `frequency_offset` can be `10`, `20` or `30`.
|
372
|
-
:param pulumi.Input[int] group_id: The id of the check group this check is part of.
|
373
|
-
:param pulumi.Input[int] group_order: The position of this check in a check group. It determines in what order checks are run when a group is triggered from the API or from CI/CD.
|
374
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] locations: An array of one or more data center locations where to run the this check. (Default ["us-east-1"])
|
375
|
-
:param pulumi.Input[int] max_response_time: The response time in milliseconds starting from which a check should be considered failing. Possible values are between 0 and 5000. (Default `5000`).
|
376
|
-
:param pulumi.Input[bool] muted: Determines if any notifications will be sent out when a check fails/degrades/recovers.
|
377
|
-
:param pulumi.Input[str] name: The name of the check.
|
378
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] private_locations: An array of one or more private locations slugs.
|
386
|
+
:param pulumi.Input[_builtins.int] degraded_response_time: The response time in milliseconds starting from which a check should be considered degraded. Possible values are between 0 and 5000. (Default `4000`).
|
387
|
+
:param pulumi.Input[_builtins.int] frequency: The frequency in minutes to run the check. Possible values are `0`, `1`, `2`, `5`, `10`, `15`, `30`, `60`, `120`, `180`, `360`, `720`, and `1440`.
|
388
|
+
:param pulumi.Input[_builtins.int] frequency_offset: To create a high frequency check, the property `frequency` must be `0` and `frequency_offset` can be `10`, `20` or `30`.
|
389
|
+
:param pulumi.Input[_builtins.int] group_id: The id of the check group this check is part of.
|
390
|
+
:param pulumi.Input[_builtins.int] group_order: The position of this check in a check group. It determines in what order checks are run when a group is triggered from the API or from CI/CD.
|
391
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] locations: An array of one or more data center locations where to run the this check. (Default ["us-east-1"])
|
392
|
+
:param pulumi.Input[_builtins.int] max_response_time: The response time in milliseconds starting from which a check should be considered failing. Possible values are between 0 and 5000. (Default `5000`).
|
393
|
+
:param pulumi.Input[_builtins.bool] muted: Determines if any notifications will be sent out when a check fails/degrades/recovers.
|
394
|
+
:param pulumi.Input[_builtins.str] name: The name of the check.
|
395
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] private_locations: An array of one or more private locations slugs.
|
379
396
|
:param pulumi.Input['TcpCheckRequestArgs'] request: The parameters for the TCP connection.
|
380
|
-
:param pulumi.Input['TcpCheckRetryStrategyArgs'] retry_strategy: A strategy for retrying failed check runs.
|
381
|
-
:param pulumi.Input[bool] run_parallel: Determines if the check should run in all selected locations in parallel or round-robin.
|
382
|
-
:param pulumi.Input[str] runtime_id: The ID of the runtime to use for this check.
|
383
|
-
:param pulumi.Input[bool] should_fail: Allows to invert the behaviour of when a check is considered to fail.
|
384
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of tags for organizing and filtering checks.
|
385
|
-
:param pulumi.Input[
|
397
|
+
:param pulumi.Input['TcpCheckRetryStrategyArgs'] retry_strategy: A strategy for retrying failed check/monitor runs.
|
398
|
+
:param pulumi.Input[_builtins.bool] run_parallel: Determines if the check should run in all selected locations in parallel or round-robin.
|
399
|
+
:param pulumi.Input[_builtins.str] runtime_id: The ID of the runtime to use for this check.
|
400
|
+
:param pulumi.Input[_builtins.bool] should_fail: Allows to invert the behaviour of when a check is considered to fail.
|
401
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.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.
|
403
|
+
:param pulumi.Input[_builtins.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:
|
388
406
|
pulumi.set(__self__, "activated", activated)
|
@@ -422,22 +440,24 @@ 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
|
|
428
|
-
@property
|
448
|
+
@_builtins.property
|
429
449
|
@pulumi.getter
|
430
|
-
def activated(self) -> Optional[pulumi.Input[bool]]:
|
450
|
+
def activated(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
431
451
|
"""
|
432
452
|
Determines if the check is running or not. Possible values `true`, and `false`.
|
433
453
|
"""
|
434
454
|
return pulumi.get(self, "activated")
|
435
455
|
|
436
456
|
@activated.setter
|
437
|
-
def activated(self, value: Optional[pulumi.Input[bool]]):
|
457
|
+
def activated(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
438
458
|
pulumi.set(self, "activated", value)
|
439
459
|
|
440
|
-
@property
|
460
|
+
@_builtins.property
|
441
461
|
@pulumi.getter(name="alertChannelSubscriptions")
|
442
462
|
def alert_channel_subscriptions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['TcpCheckAlertChannelSubscriptionArgs']]]]:
|
443
463
|
"""
|
@@ -449,7 +469,7 @@ class _TcpCheckState:
|
|
449
469
|
def alert_channel_subscriptions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TcpCheckAlertChannelSubscriptionArgs']]]]):
|
450
470
|
pulumi.set(self, "alert_channel_subscriptions", value)
|
451
471
|
|
452
|
-
@property
|
472
|
+
@_builtins.property
|
453
473
|
@pulumi.getter(name="alertSettings")
|
454
474
|
def alert_settings(self) -> Optional[pulumi.Input['TcpCheckAlertSettingsArgs']]:
|
455
475
|
return pulumi.get(self, "alert_settings")
|
@@ -458,127 +478,127 @@ class _TcpCheckState:
|
|
458
478
|
def alert_settings(self, value: Optional[pulumi.Input['TcpCheckAlertSettingsArgs']]):
|
459
479
|
pulumi.set(self, "alert_settings", value)
|
460
480
|
|
461
|
-
@property
|
481
|
+
@_builtins.property
|
462
482
|
@pulumi.getter(name="degradedResponseTime")
|
463
|
-
def degraded_response_time(self) -> Optional[pulumi.Input[int]]:
|
483
|
+
def degraded_response_time(self) -> Optional[pulumi.Input[_builtins.int]]:
|
464
484
|
"""
|
465
485
|
The response time in milliseconds starting from which a check should be considered degraded. Possible values are between 0 and 5000. (Default `4000`).
|
466
486
|
"""
|
467
487
|
return pulumi.get(self, "degraded_response_time")
|
468
488
|
|
469
489
|
@degraded_response_time.setter
|
470
|
-
def degraded_response_time(self, value: Optional[pulumi.Input[int]]):
|
490
|
+
def degraded_response_time(self, value: Optional[pulumi.Input[_builtins.int]]):
|
471
491
|
pulumi.set(self, "degraded_response_time", value)
|
472
492
|
|
473
|
-
@property
|
493
|
+
@_builtins.property
|
474
494
|
@pulumi.getter
|
475
|
-
def frequency(self) -> Optional[pulumi.Input[int]]:
|
495
|
+
def frequency(self) -> Optional[pulumi.Input[_builtins.int]]:
|
476
496
|
"""
|
477
497
|
The frequency in minutes to run the check. Possible values are `0`, `1`, `2`, `5`, `10`, `15`, `30`, `60`, `120`, `180`, `360`, `720`, and `1440`.
|
478
498
|
"""
|
479
499
|
return pulumi.get(self, "frequency")
|
480
500
|
|
481
501
|
@frequency.setter
|
482
|
-
def frequency(self, value: Optional[pulumi.Input[int]]):
|
502
|
+
def frequency(self, value: Optional[pulumi.Input[_builtins.int]]):
|
483
503
|
pulumi.set(self, "frequency", value)
|
484
504
|
|
485
|
-
@property
|
505
|
+
@_builtins.property
|
486
506
|
@pulumi.getter(name="frequencyOffset")
|
487
|
-
def frequency_offset(self) -> Optional[pulumi.Input[int]]:
|
507
|
+
def frequency_offset(self) -> Optional[pulumi.Input[_builtins.int]]:
|
488
508
|
"""
|
489
509
|
To create a high frequency check, the property `frequency` must be `0` and `frequency_offset` can be `10`, `20` or `30`.
|
490
510
|
"""
|
491
511
|
return pulumi.get(self, "frequency_offset")
|
492
512
|
|
493
513
|
@frequency_offset.setter
|
494
|
-
def frequency_offset(self, value: Optional[pulumi.Input[int]]):
|
514
|
+
def frequency_offset(self, value: Optional[pulumi.Input[_builtins.int]]):
|
495
515
|
pulumi.set(self, "frequency_offset", value)
|
496
516
|
|
497
|
-
@property
|
517
|
+
@_builtins.property
|
498
518
|
@pulumi.getter(name="groupId")
|
499
|
-
def group_id(self) -> Optional[pulumi.Input[int]]:
|
519
|
+
def group_id(self) -> Optional[pulumi.Input[_builtins.int]]:
|
500
520
|
"""
|
501
521
|
The id of the check group this check is part of.
|
502
522
|
"""
|
503
523
|
return pulumi.get(self, "group_id")
|
504
524
|
|
505
525
|
@group_id.setter
|
506
|
-
def group_id(self, value: Optional[pulumi.Input[int]]):
|
526
|
+
def group_id(self, value: Optional[pulumi.Input[_builtins.int]]):
|
507
527
|
pulumi.set(self, "group_id", value)
|
508
528
|
|
509
|
-
@property
|
529
|
+
@_builtins.property
|
510
530
|
@pulumi.getter(name="groupOrder")
|
511
|
-
def group_order(self) -> Optional[pulumi.Input[int]]:
|
531
|
+
def group_order(self) -> Optional[pulumi.Input[_builtins.int]]:
|
512
532
|
"""
|
513
533
|
The position of this check in a check group. It determines in what order checks are run when a group is triggered from the API or from CI/CD.
|
514
534
|
"""
|
515
535
|
return pulumi.get(self, "group_order")
|
516
536
|
|
517
537
|
@group_order.setter
|
518
|
-
def group_order(self, value: Optional[pulumi.Input[int]]):
|
538
|
+
def group_order(self, value: Optional[pulumi.Input[_builtins.int]]):
|
519
539
|
pulumi.set(self, "group_order", value)
|
520
540
|
|
521
|
-
@property
|
541
|
+
@_builtins.property
|
522
542
|
@pulumi.getter
|
523
|
-
def locations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
543
|
+
def locations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
524
544
|
"""
|
525
545
|
An array of one or more data center locations where to run the this check. (Default ["us-east-1"])
|
526
546
|
"""
|
527
547
|
return pulumi.get(self, "locations")
|
528
548
|
|
529
549
|
@locations.setter
|
530
|
-
def locations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
550
|
+
def locations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
531
551
|
pulumi.set(self, "locations", value)
|
532
552
|
|
533
|
-
@property
|
553
|
+
@_builtins.property
|
534
554
|
@pulumi.getter(name="maxResponseTime")
|
535
|
-
def max_response_time(self) -> Optional[pulumi.Input[int]]:
|
555
|
+
def max_response_time(self) -> Optional[pulumi.Input[_builtins.int]]:
|
536
556
|
"""
|
537
557
|
The response time in milliseconds starting from which a check should be considered failing. Possible values are between 0 and 5000. (Default `5000`).
|
538
558
|
"""
|
539
559
|
return pulumi.get(self, "max_response_time")
|
540
560
|
|
541
561
|
@max_response_time.setter
|
542
|
-
def max_response_time(self, value: Optional[pulumi.Input[int]]):
|
562
|
+
def max_response_time(self, value: Optional[pulumi.Input[_builtins.int]]):
|
543
563
|
pulumi.set(self, "max_response_time", value)
|
544
564
|
|
545
|
-
@property
|
565
|
+
@_builtins.property
|
546
566
|
@pulumi.getter
|
547
|
-
def muted(self) -> Optional[pulumi.Input[bool]]:
|
567
|
+
def muted(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
548
568
|
"""
|
549
569
|
Determines if any notifications will be sent out when a check fails/degrades/recovers.
|
550
570
|
"""
|
551
571
|
return pulumi.get(self, "muted")
|
552
572
|
|
553
573
|
@muted.setter
|
554
|
-
def muted(self, value: Optional[pulumi.Input[bool]]):
|
574
|
+
def muted(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
555
575
|
pulumi.set(self, "muted", value)
|
556
576
|
|
557
|
-
@property
|
577
|
+
@_builtins.property
|
558
578
|
@pulumi.getter
|
559
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
579
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
560
580
|
"""
|
561
581
|
The name of the check.
|
562
582
|
"""
|
563
583
|
return pulumi.get(self, "name")
|
564
584
|
|
565
585
|
@name.setter
|
566
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
586
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
567
587
|
pulumi.set(self, "name", value)
|
568
588
|
|
569
|
-
@property
|
589
|
+
@_builtins.property
|
570
590
|
@pulumi.getter(name="privateLocations")
|
571
|
-
def private_locations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
591
|
+
def private_locations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
572
592
|
"""
|
573
593
|
An array of one or more private locations slugs.
|
574
594
|
"""
|
575
595
|
return pulumi.get(self, "private_locations")
|
576
596
|
|
577
597
|
@private_locations.setter
|
578
|
-
def private_locations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
598
|
+
def private_locations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
579
599
|
pulumi.set(self, "private_locations", value)
|
580
600
|
|
581
|
-
@property
|
601
|
+
@_builtins.property
|
582
602
|
@pulumi.getter
|
583
603
|
def request(self) -> Optional[pulumi.Input['TcpCheckRequestArgs']]:
|
584
604
|
"""
|
@@ -590,11 +610,11 @@ class _TcpCheckState:
|
|
590
610
|
def request(self, value: Optional[pulumi.Input['TcpCheckRequestArgs']]):
|
591
611
|
pulumi.set(self, "request", value)
|
592
612
|
|
593
|
-
@property
|
613
|
+
@_builtins.property
|
594
614
|
@pulumi.getter(name="retryStrategy")
|
595
615
|
def retry_strategy(self) -> Optional[pulumi.Input['TcpCheckRetryStrategyArgs']]:
|
596
616
|
"""
|
597
|
-
A strategy for retrying failed check runs.
|
617
|
+
A strategy for retrying failed check/monitor runs.
|
598
618
|
"""
|
599
619
|
return pulumi.get(self, "retry_strategy")
|
600
620
|
|
@@ -602,92 +622,106 @@ class _TcpCheckState:
|
|
602
622
|
def retry_strategy(self, value: Optional[pulumi.Input['TcpCheckRetryStrategyArgs']]):
|
603
623
|
pulumi.set(self, "retry_strategy", value)
|
604
624
|
|
605
|
-
@property
|
625
|
+
@_builtins.property
|
606
626
|
@pulumi.getter(name="runParallel")
|
607
|
-
def run_parallel(self) -> Optional[pulumi.Input[bool]]:
|
627
|
+
def run_parallel(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
608
628
|
"""
|
609
629
|
Determines if the check should run in all selected locations in parallel or round-robin.
|
610
630
|
"""
|
611
631
|
return pulumi.get(self, "run_parallel")
|
612
632
|
|
613
633
|
@run_parallel.setter
|
614
|
-
def run_parallel(self, value: Optional[pulumi.Input[bool]]):
|
634
|
+
def run_parallel(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
615
635
|
pulumi.set(self, "run_parallel", value)
|
616
636
|
|
617
|
-
@property
|
637
|
+
@_builtins.property
|
618
638
|
@pulumi.getter(name="runtimeId")
|
619
|
-
def runtime_id(self) -> Optional[pulumi.Input[str]]:
|
639
|
+
def runtime_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
620
640
|
"""
|
621
641
|
The ID of the runtime to use for this check.
|
622
642
|
"""
|
623
643
|
return pulumi.get(self, "runtime_id")
|
624
644
|
|
625
645
|
@runtime_id.setter
|
626
|
-
def runtime_id(self, value: Optional[pulumi.Input[str]]):
|
646
|
+
def runtime_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
627
647
|
pulumi.set(self, "runtime_id", value)
|
628
648
|
|
629
|
-
@property
|
649
|
+
@_builtins.property
|
630
650
|
@pulumi.getter(name="shouldFail")
|
631
|
-
def should_fail(self) -> Optional[pulumi.Input[bool]]:
|
651
|
+
def should_fail(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
632
652
|
"""
|
633
653
|
Allows to invert the behaviour of when a check is considered to fail.
|
634
654
|
"""
|
635
655
|
return pulumi.get(self, "should_fail")
|
636
656
|
|
637
657
|
@should_fail.setter
|
638
|
-
def should_fail(self, value: Optional[pulumi.Input[bool]]):
|
658
|
+
def should_fail(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
639
659
|
pulumi.set(self, "should_fail", value)
|
640
660
|
|
641
|
-
@property
|
661
|
+
@_builtins.property
|
642
662
|
@pulumi.getter
|
643
|
-
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
663
|
+
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
644
664
|
"""
|
645
665
|
A list of tags for organizing and filtering checks.
|
646
666
|
"""
|
647
667
|
return pulumi.get(self, "tags")
|
648
668
|
|
649
669
|
@tags.setter
|
650
|
-
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
670
|
+
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
651
671
|
pulumi.set(self, "tags", value)
|
652
672
|
|
653
|
-
@property
|
673
|
+
@_builtins.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
|
+
|
685
|
+
@_builtins.property
|
654
686
|
@pulumi.getter(name="useGlobalAlertSettings")
|
655
|
-
def use_global_alert_settings(self) -> Optional[pulumi.Input[bool]]:
|
687
|
+
def use_global_alert_settings(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
656
688
|
"""
|
657
689
|
When true, the account level alert settings will be used, not the alert setting defined on this check.
|
658
690
|
"""
|
659
691
|
return pulumi.get(self, "use_global_alert_settings")
|
660
692
|
|
661
693
|
@use_global_alert_settings.setter
|
662
|
-
def use_global_alert_settings(self, value: Optional[pulumi.Input[bool]]):
|
694
|
+
def use_global_alert_settings(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
663
695
|
pulumi.set(self, "use_global_alert_settings", value)
|
664
696
|
|
665
697
|
|
698
|
+
@pulumi.type_token("checkly:index/tcpCheck:TcpCheck")
|
666
699
|
class TcpCheck(pulumi.CustomResource):
|
667
700
|
@overload
|
668
701
|
def __init__(__self__,
|
669
702
|
resource_name: str,
|
670
703
|
opts: Optional[pulumi.ResourceOptions] = None,
|
671
|
-
activated: Optional[pulumi.Input[bool]] = None,
|
704
|
+
activated: Optional[pulumi.Input[_builtins.bool]] = None,
|
672
705
|
alert_channel_subscriptions: Optional[pulumi.Input[Sequence[pulumi.Input[Union['TcpCheckAlertChannelSubscriptionArgs', 'TcpCheckAlertChannelSubscriptionArgsDict']]]]] = None,
|
673
706
|
alert_settings: Optional[pulumi.Input[Union['TcpCheckAlertSettingsArgs', 'TcpCheckAlertSettingsArgsDict']]] = None,
|
674
|
-
degraded_response_time: Optional[pulumi.Input[int]] = None,
|
675
|
-
frequency: Optional[pulumi.Input[int]] = None,
|
676
|
-
frequency_offset: Optional[pulumi.Input[int]] = None,
|
677
|
-
group_id: Optional[pulumi.Input[int]] = None,
|
678
|
-
group_order: Optional[pulumi.Input[int]] = None,
|
679
|
-
locations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
680
|
-
max_response_time: Optional[pulumi.Input[int]] = None,
|
681
|
-
muted: Optional[pulumi.Input[bool]] = None,
|
682
|
-
name: Optional[pulumi.Input[str]] = None,
|
683
|
-
private_locations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
707
|
+
degraded_response_time: Optional[pulumi.Input[_builtins.int]] = None,
|
708
|
+
frequency: Optional[pulumi.Input[_builtins.int]] = None,
|
709
|
+
frequency_offset: Optional[pulumi.Input[_builtins.int]] = None,
|
710
|
+
group_id: Optional[pulumi.Input[_builtins.int]] = None,
|
711
|
+
group_order: Optional[pulumi.Input[_builtins.int]] = None,
|
712
|
+
locations: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
713
|
+
max_response_time: Optional[pulumi.Input[_builtins.int]] = None,
|
714
|
+
muted: Optional[pulumi.Input[_builtins.bool]] = None,
|
715
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
716
|
+
private_locations: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
684
717
|
request: Optional[pulumi.Input[Union['TcpCheckRequestArgs', 'TcpCheckRequestArgsDict']]] = None,
|
685
718
|
retry_strategy: Optional[pulumi.Input[Union['TcpCheckRetryStrategyArgs', 'TcpCheckRetryStrategyArgsDict']]] = None,
|
686
|
-
run_parallel: Optional[pulumi.Input[bool]] = None,
|
687
|
-
runtime_id: Optional[pulumi.Input[str]] = None,
|
688
|
-
should_fail: Optional[pulumi.Input[bool]] = None,
|
689
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
690
|
-
|
719
|
+
run_parallel: Optional[pulumi.Input[_builtins.bool]] = None,
|
720
|
+
runtime_id: Optional[pulumi.Input[_builtins.str]] = None,
|
721
|
+
should_fail: Optional[pulumi.Input[_builtins.bool]] = None,
|
722
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
723
|
+
trigger_incident: Optional[pulumi.Input[Union['TcpCheckTriggerIncidentArgs', 'TcpCheckTriggerIncidentArgsDict']]] = None,
|
724
|
+
use_global_alert_settings: Optional[pulumi.Input[_builtins.bool]] = None,
|
691
725
|
__props__=None):
|
692
726
|
"""
|
693
727
|
## Example Usage
|
@@ -760,25 +794,26 @@ class TcpCheck(pulumi.CustomResource):
|
|
760
794
|
|
761
795
|
:param str resource_name: The name of the resource.
|
762
796
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
763
|
-
:param pulumi.Input[bool] activated: Determines if the check is running or not. Possible values `true`, and `false`.
|
797
|
+
:param pulumi.Input[_builtins.bool] activated: Determines if the check is running or not. Possible values `true`, and `false`.
|
764
798
|
:param pulumi.Input[Sequence[pulumi.Input[Union['TcpCheckAlertChannelSubscriptionArgs', 'TcpCheckAlertChannelSubscriptionArgsDict']]]] alert_channel_subscriptions: An array of channel IDs and whether they're activated or not. If you don't set at least one alert subscription for your check, we won't be able to alert you in case something goes wrong with it.
|
765
|
-
:param pulumi.Input[int] degraded_response_time: The response time in milliseconds starting from which a check should be considered degraded. Possible values are between 0 and 5000. (Default `4000`).
|
766
|
-
:param pulumi.Input[int] frequency: The frequency in minutes to run the check. Possible values are `0`, `1`, `2`, `5`, `10`, `15`, `30`, `60`, `120`, `180`, `360`, `720`, and `1440`.
|
767
|
-
:param pulumi.Input[int] frequency_offset: To create a high frequency check, the property `frequency` must be `0` and `frequency_offset` can be `10`, `20` or `30`.
|
768
|
-
:param pulumi.Input[int] group_id: The id of the check group this check is part of.
|
769
|
-
:param pulumi.Input[int] group_order: The position of this check in a check group. It determines in what order checks are run when a group is triggered from the API or from CI/CD.
|
770
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] locations: An array of one or more data center locations where to run the this check. (Default ["us-east-1"])
|
771
|
-
:param pulumi.Input[int] max_response_time: The response time in milliseconds starting from which a check should be considered failing. Possible values are between 0 and 5000. (Default `5000`).
|
772
|
-
:param pulumi.Input[bool] muted: Determines if any notifications will be sent out when a check fails/degrades/recovers.
|
773
|
-
:param pulumi.Input[str] name: The name of the check.
|
774
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] private_locations: An array of one or more private locations slugs.
|
799
|
+
:param pulumi.Input[_builtins.int] degraded_response_time: The response time in milliseconds starting from which a check should be considered degraded. Possible values are between 0 and 5000. (Default `4000`).
|
800
|
+
:param pulumi.Input[_builtins.int] frequency: The frequency in minutes to run the check. Possible values are `0`, `1`, `2`, `5`, `10`, `15`, `30`, `60`, `120`, `180`, `360`, `720`, and `1440`.
|
801
|
+
:param pulumi.Input[_builtins.int] frequency_offset: To create a high frequency check, the property `frequency` must be `0` and `frequency_offset` can be `10`, `20` or `30`.
|
802
|
+
:param pulumi.Input[_builtins.int] group_id: The id of the check group this check is part of.
|
803
|
+
:param pulumi.Input[_builtins.int] group_order: The position of this check in a check group. It determines in what order checks are run when a group is triggered from the API or from CI/CD.
|
804
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] locations: An array of one or more data center locations where to run the this check. (Default ["us-east-1"])
|
805
|
+
:param pulumi.Input[_builtins.int] max_response_time: The response time in milliseconds starting from which a check should be considered failing. Possible values are between 0 and 5000. (Default `5000`).
|
806
|
+
:param pulumi.Input[_builtins.bool] muted: Determines if any notifications will be sent out when a check fails/degrades/recovers.
|
807
|
+
:param pulumi.Input[_builtins.str] name: The name of the check.
|
808
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] private_locations: An array of one or more private locations slugs.
|
775
809
|
:param pulumi.Input[Union['TcpCheckRequestArgs', 'TcpCheckRequestArgsDict']] request: The parameters for the TCP connection.
|
776
|
-
:param pulumi.Input[Union['TcpCheckRetryStrategyArgs', 'TcpCheckRetryStrategyArgsDict']] retry_strategy: A strategy for retrying failed check runs.
|
777
|
-
:param pulumi.Input[bool] run_parallel: Determines if the check should run in all selected locations in parallel or round-robin.
|
778
|
-
:param pulumi.Input[str] runtime_id: The ID of the runtime to use for this check.
|
779
|
-
:param pulumi.Input[bool] should_fail: Allows to invert the behaviour of when a check is considered to fail.
|
780
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of tags for organizing and filtering checks.
|
781
|
-
:param pulumi.Input[
|
810
|
+
:param pulumi.Input[Union['TcpCheckRetryStrategyArgs', 'TcpCheckRetryStrategyArgsDict']] retry_strategy: A strategy for retrying failed check/monitor runs.
|
811
|
+
:param pulumi.Input[_builtins.bool] run_parallel: Determines if the check should run in all selected locations in parallel or round-robin.
|
812
|
+
:param pulumi.Input[_builtins.str] runtime_id: The ID of the runtime to use for this check.
|
813
|
+
:param pulumi.Input[_builtins.bool] should_fail: Allows to invert the behaviour of when a check is considered to fail.
|
814
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: A list of tags for organizing and filtering checks.
|
815
|
+
:param pulumi.Input[Union['TcpCheckTriggerIncidentArgs', 'TcpCheckTriggerIncidentArgsDict']] trigger_incident: Create and resolve an incident based on the alert configuration. Useful for status page automation.
|
816
|
+
:param pulumi.Input[_builtins.bool] use_global_alert_settings: When true, the account level alert settings will be used, not the alert setting defined on this check.
|
782
817
|
"""
|
783
818
|
...
|
784
819
|
@overload
|
@@ -870,26 +905,27 @@ class TcpCheck(pulumi.CustomResource):
|
|
870
905
|
def _internal_init(__self__,
|
871
906
|
resource_name: str,
|
872
907
|
opts: Optional[pulumi.ResourceOptions] = None,
|
873
|
-
activated: Optional[pulumi.Input[bool]] = None,
|
908
|
+
activated: Optional[pulumi.Input[_builtins.bool]] = None,
|
874
909
|
alert_channel_subscriptions: Optional[pulumi.Input[Sequence[pulumi.Input[Union['TcpCheckAlertChannelSubscriptionArgs', 'TcpCheckAlertChannelSubscriptionArgsDict']]]]] = None,
|
875
910
|
alert_settings: Optional[pulumi.Input[Union['TcpCheckAlertSettingsArgs', 'TcpCheckAlertSettingsArgsDict']]] = None,
|
876
|
-
degraded_response_time: Optional[pulumi.Input[int]] = None,
|
877
|
-
frequency: Optional[pulumi.Input[int]] = None,
|
878
|
-
frequency_offset: Optional[pulumi.Input[int]] = None,
|
879
|
-
group_id: Optional[pulumi.Input[int]] = None,
|
880
|
-
group_order: Optional[pulumi.Input[int]] = None,
|
881
|
-
locations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
882
|
-
max_response_time: Optional[pulumi.Input[int]] = None,
|
883
|
-
muted: Optional[pulumi.Input[bool]] = None,
|
884
|
-
name: Optional[pulumi.Input[str]] = None,
|
885
|
-
private_locations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
911
|
+
degraded_response_time: Optional[pulumi.Input[_builtins.int]] = None,
|
912
|
+
frequency: Optional[pulumi.Input[_builtins.int]] = None,
|
913
|
+
frequency_offset: Optional[pulumi.Input[_builtins.int]] = None,
|
914
|
+
group_id: Optional[pulumi.Input[_builtins.int]] = None,
|
915
|
+
group_order: Optional[pulumi.Input[_builtins.int]] = None,
|
916
|
+
locations: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
917
|
+
max_response_time: Optional[pulumi.Input[_builtins.int]] = None,
|
918
|
+
muted: Optional[pulumi.Input[_builtins.bool]] = None,
|
919
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
920
|
+
private_locations: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
886
921
|
request: Optional[pulumi.Input[Union['TcpCheckRequestArgs', 'TcpCheckRequestArgsDict']]] = None,
|
887
922
|
retry_strategy: Optional[pulumi.Input[Union['TcpCheckRetryStrategyArgs', 'TcpCheckRetryStrategyArgsDict']]] = None,
|
888
|
-
run_parallel: Optional[pulumi.Input[bool]] = None,
|
889
|
-
runtime_id: Optional[pulumi.Input[str]] = None,
|
890
|
-
should_fail: Optional[pulumi.Input[bool]] = None,
|
891
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
892
|
-
|
923
|
+
run_parallel: Optional[pulumi.Input[_builtins.bool]] = None,
|
924
|
+
runtime_id: Optional[pulumi.Input[_builtins.str]] = None,
|
925
|
+
should_fail: Optional[pulumi.Input[_builtins.bool]] = None,
|
926
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
927
|
+
trigger_incident: Optional[pulumi.Input[Union['TcpCheckTriggerIncidentArgs', 'TcpCheckTriggerIncidentArgsDict']]] = None,
|
928
|
+
use_global_alert_settings: Optional[pulumi.Input[_builtins.bool]] = None,
|
893
929
|
__props__=None):
|
894
930
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
895
931
|
if not isinstance(opts, pulumi.ResourceOptions):
|
@@ -924,6 +960,7 @@ class TcpCheck(pulumi.CustomResource):
|
|
924
960
|
__props__.__dict__["runtime_id"] = runtime_id
|
925
961
|
__props__.__dict__["should_fail"] = should_fail
|
926
962
|
__props__.__dict__["tags"] = tags
|
963
|
+
__props__.__dict__["trigger_incident"] = trigger_incident
|
927
964
|
__props__.__dict__["use_global_alert_settings"] = use_global_alert_settings
|
928
965
|
super(TcpCheck, __self__).__init__(
|
929
966
|
'checkly:index/tcpCheck:TcpCheck',
|
@@ -935,26 +972,27 @@ class TcpCheck(pulumi.CustomResource):
|
|
935
972
|
def get(resource_name: str,
|
936
973
|
id: pulumi.Input[str],
|
937
974
|
opts: Optional[pulumi.ResourceOptions] = None,
|
938
|
-
activated: Optional[pulumi.Input[bool]] = None,
|
975
|
+
activated: Optional[pulumi.Input[_builtins.bool]] = None,
|
939
976
|
alert_channel_subscriptions: Optional[pulumi.Input[Sequence[pulumi.Input[Union['TcpCheckAlertChannelSubscriptionArgs', 'TcpCheckAlertChannelSubscriptionArgsDict']]]]] = None,
|
940
977
|
alert_settings: Optional[pulumi.Input[Union['TcpCheckAlertSettingsArgs', 'TcpCheckAlertSettingsArgsDict']]] = None,
|
941
|
-
degraded_response_time: Optional[pulumi.Input[int]] = None,
|
942
|
-
frequency: Optional[pulumi.Input[int]] = None,
|
943
|
-
frequency_offset: Optional[pulumi.Input[int]] = None,
|
944
|
-
group_id: Optional[pulumi.Input[int]] = None,
|
945
|
-
group_order: Optional[pulumi.Input[int]] = None,
|
946
|
-
locations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
947
|
-
max_response_time: Optional[pulumi.Input[int]] = None,
|
948
|
-
muted: Optional[pulumi.Input[bool]] = None,
|
949
|
-
name: Optional[pulumi.Input[str]] = None,
|
950
|
-
private_locations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
978
|
+
degraded_response_time: Optional[pulumi.Input[_builtins.int]] = None,
|
979
|
+
frequency: Optional[pulumi.Input[_builtins.int]] = None,
|
980
|
+
frequency_offset: Optional[pulumi.Input[_builtins.int]] = None,
|
981
|
+
group_id: Optional[pulumi.Input[_builtins.int]] = None,
|
982
|
+
group_order: Optional[pulumi.Input[_builtins.int]] = None,
|
983
|
+
locations: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
984
|
+
max_response_time: Optional[pulumi.Input[_builtins.int]] = None,
|
985
|
+
muted: Optional[pulumi.Input[_builtins.bool]] = None,
|
986
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
987
|
+
private_locations: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
951
988
|
request: Optional[pulumi.Input[Union['TcpCheckRequestArgs', 'TcpCheckRequestArgsDict']]] = None,
|
952
989
|
retry_strategy: Optional[pulumi.Input[Union['TcpCheckRetryStrategyArgs', 'TcpCheckRetryStrategyArgsDict']]] = None,
|
953
|
-
run_parallel: Optional[pulumi.Input[bool]] = None,
|
954
|
-
runtime_id: Optional[pulumi.Input[str]] = None,
|
955
|
-
should_fail: Optional[pulumi.Input[bool]] = None,
|
956
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
957
|
-
|
990
|
+
run_parallel: Optional[pulumi.Input[_builtins.bool]] = None,
|
991
|
+
runtime_id: Optional[pulumi.Input[_builtins.str]] = None,
|
992
|
+
should_fail: Optional[pulumi.Input[_builtins.bool]] = None,
|
993
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
994
|
+
trigger_incident: Optional[pulumi.Input[Union['TcpCheckTriggerIncidentArgs', 'TcpCheckTriggerIncidentArgsDict']]] = None,
|
995
|
+
use_global_alert_settings: Optional[pulumi.Input[_builtins.bool]] = None) -> 'TcpCheck':
|
958
996
|
"""
|
959
997
|
Get an existing TcpCheck resource's state with the given name, id, and optional extra
|
960
998
|
properties used to qualify the lookup.
|
@@ -962,25 +1000,26 @@ class TcpCheck(pulumi.CustomResource):
|
|
962
1000
|
:param str resource_name: The unique name of the resulting resource.
|
963
1001
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
964
1002
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
965
|
-
:param pulumi.Input[bool] activated: Determines if the check is running or not. Possible values `true`, and `false`.
|
1003
|
+
:param pulumi.Input[_builtins.bool] activated: Determines if the check is running or not. Possible values `true`, and `false`.
|
966
1004
|
:param pulumi.Input[Sequence[pulumi.Input[Union['TcpCheckAlertChannelSubscriptionArgs', 'TcpCheckAlertChannelSubscriptionArgsDict']]]] alert_channel_subscriptions: An array of channel IDs and whether they're activated or not. If you don't set at least one alert subscription for your check, we won't be able to alert you in case something goes wrong with it.
|
967
|
-
:param pulumi.Input[int] degraded_response_time: The response time in milliseconds starting from which a check should be considered degraded. Possible values are between 0 and 5000. (Default `4000`).
|
968
|
-
:param pulumi.Input[int] frequency: The frequency in minutes to run the check. Possible values are `0`, `1`, `2`, `5`, `10`, `15`, `30`, `60`, `120`, `180`, `360`, `720`, and `1440`.
|
969
|
-
:param pulumi.Input[int] frequency_offset: To create a high frequency check, the property `frequency` must be `0` and `frequency_offset` can be `10`, `20` or `30`.
|
970
|
-
:param pulumi.Input[int] group_id: The id of the check group this check is part of.
|
971
|
-
:param pulumi.Input[int] group_order: The position of this check in a check group. It determines in what order checks are run when a group is triggered from the API or from CI/CD.
|
972
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] locations: An array of one or more data center locations where to run the this check. (Default ["us-east-1"])
|
973
|
-
:param pulumi.Input[int] max_response_time: The response time in milliseconds starting from which a check should be considered failing. Possible values are between 0 and 5000. (Default `5000`).
|
974
|
-
:param pulumi.Input[bool] muted: Determines if any notifications will be sent out when a check fails/degrades/recovers.
|
975
|
-
:param pulumi.Input[str] name: The name of the check.
|
976
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] private_locations: An array of one or more private locations slugs.
|
1005
|
+
:param pulumi.Input[_builtins.int] degraded_response_time: The response time in milliseconds starting from which a check should be considered degraded. Possible values are between 0 and 5000. (Default `4000`).
|
1006
|
+
:param pulumi.Input[_builtins.int] frequency: The frequency in minutes to run the check. Possible values are `0`, `1`, `2`, `5`, `10`, `15`, `30`, `60`, `120`, `180`, `360`, `720`, and `1440`.
|
1007
|
+
:param pulumi.Input[_builtins.int] frequency_offset: To create a high frequency check, the property `frequency` must be `0` and `frequency_offset` can be `10`, `20` or `30`.
|
1008
|
+
:param pulumi.Input[_builtins.int] group_id: The id of the check group this check is part of.
|
1009
|
+
:param pulumi.Input[_builtins.int] group_order: The position of this check in a check group. It determines in what order checks are run when a group is triggered from the API or from CI/CD.
|
1010
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] locations: An array of one or more data center locations where to run the this check. (Default ["us-east-1"])
|
1011
|
+
:param pulumi.Input[_builtins.int] max_response_time: The response time in milliseconds starting from which a check should be considered failing. Possible values are between 0 and 5000. (Default `5000`).
|
1012
|
+
:param pulumi.Input[_builtins.bool] muted: Determines if any notifications will be sent out when a check fails/degrades/recovers.
|
1013
|
+
:param pulumi.Input[_builtins.str] name: The name of the check.
|
1014
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] private_locations: An array of one or more private locations slugs.
|
977
1015
|
:param pulumi.Input[Union['TcpCheckRequestArgs', 'TcpCheckRequestArgsDict']] request: The parameters for the TCP connection.
|
978
|
-
:param pulumi.Input[Union['TcpCheckRetryStrategyArgs', 'TcpCheckRetryStrategyArgsDict']] retry_strategy: A strategy for retrying failed check runs.
|
979
|
-
:param pulumi.Input[bool] run_parallel: Determines if the check should run in all selected locations in parallel or round-robin.
|
980
|
-
:param pulumi.Input[str] runtime_id: The ID of the runtime to use for this check.
|
981
|
-
:param pulumi.Input[bool] should_fail: Allows to invert the behaviour of when a check is considered to fail.
|
982
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of tags for organizing and filtering checks.
|
983
|
-
:param pulumi.Input[
|
1016
|
+
:param pulumi.Input[Union['TcpCheckRetryStrategyArgs', 'TcpCheckRetryStrategyArgsDict']] retry_strategy: A strategy for retrying failed check/monitor runs.
|
1017
|
+
:param pulumi.Input[_builtins.bool] run_parallel: Determines if the check should run in all selected locations in parallel or round-robin.
|
1018
|
+
:param pulumi.Input[_builtins.str] runtime_id: The ID of the runtime to use for this check.
|
1019
|
+
:param pulumi.Input[_builtins.bool] should_fail: Allows to invert the behaviour of when a check is considered to fail.
|
1020
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: A list of tags for organizing and filtering checks.
|
1021
|
+
:param pulumi.Input[Union['TcpCheckTriggerIncidentArgs', 'TcpCheckTriggerIncidentArgsDict']] trigger_incident: Create and resolve an incident based on the alert configuration. Useful for status page automation.
|
1022
|
+
:param pulumi.Input[_builtins.bool] use_global_alert_settings: When true, the account level alert settings will be used, not the alert setting defined on this check.
|
984
1023
|
"""
|
985
1024
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
986
1025
|
|
@@ -1005,18 +1044,19 @@ class TcpCheck(pulumi.CustomResource):
|
|
1005
1044
|
__props__.__dict__["runtime_id"] = runtime_id
|
1006
1045
|
__props__.__dict__["should_fail"] = should_fail
|
1007
1046
|
__props__.__dict__["tags"] = tags
|
1047
|
+
__props__.__dict__["trigger_incident"] = trigger_incident
|
1008
1048
|
__props__.__dict__["use_global_alert_settings"] = use_global_alert_settings
|
1009
1049
|
return TcpCheck(resource_name, opts=opts, __props__=__props__)
|
1010
1050
|
|
1011
|
-
@property
|
1051
|
+
@_builtins.property
|
1012
1052
|
@pulumi.getter
|
1013
|
-
def activated(self) -> pulumi.Output[bool]:
|
1053
|
+
def activated(self) -> pulumi.Output[_builtins.bool]:
|
1014
1054
|
"""
|
1015
1055
|
Determines if the check is running or not. Possible values `true`, and `false`.
|
1016
1056
|
"""
|
1017
1057
|
return pulumi.get(self, "activated")
|
1018
1058
|
|
1019
|
-
@property
|
1059
|
+
@_builtins.property
|
1020
1060
|
@pulumi.getter(name="alertChannelSubscriptions")
|
1021
1061
|
def alert_channel_subscriptions(self) -> pulumi.Output[Optional[Sequence['outputs.TcpCheckAlertChannelSubscription']]]:
|
1022
1062
|
"""
|
@@ -1024,92 +1064,92 @@ class TcpCheck(pulumi.CustomResource):
|
|
1024
1064
|
"""
|
1025
1065
|
return pulumi.get(self, "alert_channel_subscriptions")
|
1026
1066
|
|
1027
|
-
@property
|
1067
|
+
@_builtins.property
|
1028
1068
|
@pulumi.getter(name="alertSettings")
|
1029
1069
|
def alert_settings(self) -> pulumi.Output['outputs.TcpCheckAlertSettings']:
|
1030
1070
|
return pulumi.get(self, "alert_settings")
|
1031
1071
|
|
1032
|
-
@property
|
1072
|
+
@_builtins.property
|
1033
1073
|
@pulumi.getter(name="degradedResponseTime")
|
1034
|
-
def degraded_response_time(self) -> pulumi.Output[Optional[int]]:
|
1074
|
+
def degraded_response_time(self) -> pulumi.Output[Optional[_builtins.int]]:
|
1035
1075
|
"""
|
1036
1076
|
The response time in milliseconds starting from which a check should be considered degraded. Possible values are between 0 and 5000. (Default `4000`).
|
1037
1077
|
"""
|
1038
1078
|
return pulumi.get(self, "degraded_response_time")
|
1039
1079
|
|
1040
|
-
@property
|
1080
|
+
@_builtins.property
|
1041
1081
|
@pulumi.getter
|
1042
|
-
def frequency(self) -> pulumi.Output[int]:
|
1082
|
+
def frequency(self) -> pulumi.Output[_builtins.int]:
|
1043
1083
|
"""
|
1044
1084
|
The frequency in minutes to run the check. Possible values are `0`, `1`, `2`, `5`, `10`, `15`, `30`, `60`, `120`, `180`, `360`, `720`, and `1440`.
|
1045
1085
|
"""
|
1046
1086
|
return pulumi.get(self, "frequency")
|
1047
1087
|
|
1048
|
-
@property
|
1088
|
+
@_builtins.property
|
1049
1089
|
@pulumi.getter(name="frequencyOffset")
|
1050
|
-
def frequency_offset(self) -> pulumi.Output[Optional[int]]:
|
1090
|
+
def frequency_offset(self) -> pulumi.Output[Optional[_builtins.int]]:
|
1051
1091
|
"""
|
1052
1092
|
To create a high frequency check, the property `frequency` must be `0` and `frequency_offset` can be `10`, `20` or `30`.
|
1053
1093
|
"""
|
1054
1094
|
return pulumi.get(self, "frequency_offset")
|
1055
1095
|
|
1056
|
-
@property
|
1096
|
+
@_builtins.property
|
1057
1097
|
@pulumi.getter(name="groupId")
|
1058
|
-
def group_id(self) -> pulumi.Output[Optional[int]]:
|
1098
|
+
def group_id(self) -> pulumi.Output[Optional[_builtins.int]]:
|
1059
1099
|
"""
|
1060
1100
|
The id of the check group this check is part of.
|
1061
1101
|
"""
|
1062
1102
|
return pulumi.get(self, "group_id")
|
1063
1103
|
|
1064
|
-
@property
|
1104
|
+
@_builtins.property
|
1065
1105
|
@pulumi.getter(name="groupOrder")
|
1066
|
-
def group_order(self) -> pulumi.Output[Optional[int]]:
|
1106
|
+
def group_order(self) -> pulumi.Output[Optional[_builtins.int]]:
|
1067
1107
|
"""
|
1068
1108
|
The position of this check in a check group. It determines in what order checks are run when a group is triggered from the API or from CI/CD.
|
1069
1109
|
"""
|
1070
1110
|
return pulumi.get(self, "group_order")
|
1071
1111
|
|
1072
|
-
@property
|
1112
|
+
@_builtins.property
|
1073
1113
|
@pulumi.getter
|
1074
|
-
def locations(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
1114
|
+
def locations(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
|
1075
1115
|
"""
|
1076
1116
|
An array of one or more data center locations where to run the this check. (Default ["us-east-1"])
|
1077
1117
|
"""
|
1078
1118
|
return pulumi.get(self, "locations")
|
1079
1119
|
|
1080
|
-
@property
|
1120
|
+
@_builtins.property
|
1081
1121
|
@pulumi.getter(name="maxResponseTime")
|
1082
|
-
def max_response_time(self) -> pulumi.Output[Optional[int]]:
|
1122
|
+
def max_response_time(self) -> pulumi.Output[Optional[_builtins.int]]:
|
1083
1123
|
"""
|
1084
1124
|
The response time in milliseconds starting from which a check should be considered failing. Possible values are between 0 and 5000. (Default `5000`).
|
1085
1125
|
"""
|
1086
1126
|
return pulumi.get(self, "max_response_time")
|
1087
1127
|
|
1088
|
-
@property
|
1128
|
+
@_builtins.property
|
1089
1129
|
@pulumi.getter
|
1090
|
-
def muted(self) -> pulumi.Output[Optional[bool]]:
|
1130
|
+
def muted(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
1091
1131
|
"""
|
1092
1132
|
Determines if any notifications will be sent out when a check fails/degrades/recovers.
|
1093
1133
|
"""
|
1094
1134
|
return pulumi.get(self, "muted")
|
1095
1135
|
|
1096
|
-
@property
|
1136
|
+
@_builtins.property
|
1097
1137
|
@pulumi.getter
|
1098
|
-
def name(self) -> pulumi.Output[str]:
|
1138
|
+
def name(self) -> pulumi.Output[_builtins.str]:
|
1099
1139
|
"""
|
1100
1140
|
The name of the check.
|
1101
1141
|
"""
|
1102
1142
|
return pulumi.get(self, "name")
|
1103
1143
|
|
1104
|
-
@property
|
1144
|
+
@_builtins.property
|
1105
1145
|
@pulumi.getter(name="privateLocations")
|
1106
|
-
def private_locations(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
1146
|
+
def private_locations(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
|
1107
1147
|
"""
|
1108
1148
|
An array of one or more private locations slugs.
|
1109
1149
|
"""
|
1110
1150
|
return pulumi.get(self, "private_locations")
|
1111
1151
|
|
1112
|
-
@property
|
1152
|
+
@_builtins.property
|
1113
1153
|
@pulumi.getter
|
1114
1154
|
def request(self) -> pulumi.Output['outputs.TcpCheckRequest']:
|
1115
1155
|
"""
|
@@ -1117,49 +1157,57 @@ class TcpCheck(pulumi.CustomResource):
|
|
1117
1157
|
"""
|
1118
1158
|
return pulumi.get(self, "request")
|
1119
1159
|
|
1120
|
-
@property
|
1160
|
+
@_builtins.property
|
1121
1161
|
@pulumi.getter(name="retryStrategy")
|
1122
1162
|
def retry_strategy(self) -> pulumi.Output['outputs.TcpCheckRetryStrategy']:
|
1123
1163
|
"""
|
1124
|
-
A strategy for retrying failed check runs.
|
1164
|
+
A strategy for retrying failed check/monitor runs.
|
1125
1165
|
"""
|
1126
1166
|
return pulumi.get(self, "retry_strategy")
|
1127
1167
|
|
1128
|
-
@property
|
1168
|
+
@_builtins.property
|
1129
1169
|
@pulumi.getter(name="runParallel")
|
1130
|
-
def run_parallel(self) -> pulumi.Output[Optional[bool]]:
|
1170
|
+
def run_parallel(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
1131
1171
|
"""
|
1132
1172
|
Determines if the check should run in all selected locations in parallel or round-robin.
|
1133
1173
|
"""
|
1134
1174
|
return pulumi.get(self, "run_parallel")
|
1135
1175
|
|
1136
|
-
@property
|
1176
|
+
@_builtins.property
|
1137
1177
|
@pulumi.getter(name="runtimeId")
|
1138
|
-
def runtime_id(self) -> pulumi.Output[Optional[str]]:
|
1178
|
+
def runtime_id(self) -> pulumi.Output[Optional[_builtins.str]]:
|
1139
1179
|
"""
|
1140
1180
|
The ID of the runtime to use for this check.
|
1141
1181
|
"""
|
1142
1182
|
return pulumi.get(self, "runtime_id")
|
1143
1183
|
|
1144
|
-
@property
|
1184
|
+
@_builtins.property
|
1145
1185
|
@pulumi.getter(name="shouldFail")
|
1146
|
-
def should_fail(self) -> pulumi.Output[Optional[bool]]:
|
1186
|
+
def should_fail(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
1147
1187
|
"""
|
1148
1188
|
Allows to invert the behaviour of when a check is considered to fail.
|
1149
1189
|
"""
|
1150
1190
|
return pulumi.get(self, "should_fail")
|
1151
1191
|
|
1152
|
-
@property
|
1192
|
+
@_builtins.property
|
1153
1193
|
@pulumi.getter
|
1154
|
-
def tags(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
1194
|
+
def tags(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
|
1155
1195
|
"""
|
1156
1196
|
A list of tags for organizing and filtering checks.
|
1157
1197
|
"""
|
1158
1198
|
return pulumi.get(self, "tags")
|
1159
1199
|
|
1160
|
-
@property
|
1200
|
+
@_builtins.property
|
1201
|
+
@pulumi.getter(name="triggerIncident")
|
1202
|
+
def trigger_incident(self) -> pulumi.Output[Optional['outputs.TcpCheckTriggerIncident']]:
|
1203
|
+
"""
|
1204
|
+
Create and resolve an incident based on the alert configuration. Useful for status page automation.
|
1205
|
+
"""
|
1206
|
+
return pulumi.get(self, "trigger_incident")
|
1207
|
+
|
1208
|
+
@_builtins.property
|
1161
1209
|
@pulumi.getter(name="useGlobalAlertSettings")
|
1162
|
-
def use_global_alert_settings(self) -> pulumi.Output[Optional[bool]]:
|
1210
|
+
def use_global_alert_settings(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
1163
1211
|
"""
|
1164
1212
|
When true, the account level alert settings will be used, not the alert setting defined on this check.
|
1165
1213
|
"""
|