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