pulumi-checkly 2.4.0a1757096682__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 +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.4.0a1757096682.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.0a1757096682.dist-info/RECORD +0 -33
- {pulumi_checkly-2.4.0a1757096682.dist-info → pulumi_checkly-2.5.0.dist-info}/WHEEL +0 -0
- {pulumi_checkly-2.4.0a1757096682.dist-info → pulumi_checkly-2.5.0.dist-info}/top_level.txt +0 -0
pulumi_checkly/tcp_monitor.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__ = ['TcpMonitorArgs', 'TcpMonitor']
|
|
21
21
|
@pulumi.input_type
|
22
22
|
class TcpMonitorArgs:
|
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['TcpMonitorRequestArgs'],
|
27
27
|
alert_channel_subscriptions: Optional[pulumi.Input[Sequence[pulumi.Input['TcpMonitorAlertChannelSubscriptionArgs']]]] = None,
|
28
28
|
alert_settings: Optional[pulumi.Input['TcpMonitorAlertSettingsArgs']] = 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['TcpMonitorRetryStrategyArgs']] = 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['TcpMonitorTriggerIncidentArgs']] = 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 TcpMonitor 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['TcpMonitorRequestArgs'] request: The parameters for the TCP connection.
|
50
50
|
:param pulumi.Input[Sequence[pulumi.Input['TcpMonitorAlertChannelSubscriptionArgs']]] 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['TcpMonitorRetryStrategyArgs'] 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['TcpMonitorRetryStrategyArgs'] 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['TcpMonitorTriggerIncidentArgs'] 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 TcpMonitorArgs:
|
|
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['TcpMonitorRequestArgs']:
|
135
135
|
"""
|
@@ -141,7 +141,7 @@ class TcpMonitorArgs:
|
|
141
141
|
def request(self, value: pulumi.Input['TcpMonitorRequestArgs']):
|
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['TcpMonitorAlertChannelSubscriptionArgs']]]]:
|
147
147
|
"""
|
@@ -153,7 +153,7 @@ class TcpMonitorArgs:
|
|
153
153
|
def alert_channel_subscriptions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TcpMonitorAlertChannelSubscriptionArgs']]]]):
|
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['TcpMonitorAlertSettingsArgs']]:
|
159
159
|
return pulumi.get(self, "alert_settings")
|
@@ -162,119 +162,119 @@ class TcpMonitorArgs:
|
|
162
162
|
def alert_settings(self, value: Optional[pulumi.Input['TcpMonitorAlertSettingsArgs']]):
|
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['TcpMonitorRetryStrategyArgs']]:
|
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 TcpMonitorArgs:
|
|
282
282
|
def retry_strategy(self, value: Optional[pulumi.Input['TcpMonitorRetryStrategyArgs']]):
|
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['TcpMonitorTriggerIncidentArgs']]:
|
336
336
|
"""
|
@@ -342,65 +342,65 @@ class TcpMonitorArgs:
|
|
342
342
|
def trigger_incident(self, value: Optional[pulumi.Input['TcpMonitorTriggerIncidentArgs']]):
|
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 _TcpMonitorState:
|
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['TcpMonitorAlertChannelSubscriptionArgs']]]] = None,
|
363
363
|
alert_settings: Optional[pulumi.Input['TcpMonitorAlertSettingsArgs']] = 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['TcpMonitorRequestArgs']] = None,
|
375
375
|
retry_strategy: Optional[pulumi.Input['TcpMonitorRetryStrategyArgs']] = 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['TcpMonitorTriggerIncidentArgs']] = 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 TcpMonitor 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['TcpMonitorAlertChannelSubscriptionArgs']]] 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['TcpMonitorRequestArgs'] request: The parameters for the TCP connection.
|
397
|
-
:param pulumi.Input['TcpMonitorRetryStrategyArgs'] 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['TcpMonitorRetryStrategyArgs'] 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['TcpMonitorTriggerIncidentArgs'] 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 _TcpMonitorState:
|
|
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['TcpMonitorAlertChannelSubscriptionArgs']]]]:
|
463
463
|
"""
|
@@ -469,7 +469,7 @@ class _TcpMonitorState:
|
|
469
469
|
def alert_channel_subscriptions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TcpMonitorAlertChannelSubscriptionArgs']]]]):
|
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['TcpMonitorAlertSettingsArgs']]:
|
475
475
|
return pulumi.get(self, "alert_settings")
|
@@ -478,127 +478,127 @@ class _TcpMonitorState:
|
|
478
478
|
def alert_settings(self, value: Optional[pulumi.Input['TcpMonitorAlertSettingsArgs']]):
|
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['TcpMonitorRequestArgs']]:
|
604
604
|
"""
|
@@ -610,11 +610,11 @@ class _TcpMonitorState:
|
|
610
610
|
def request(self, value: Optional[pulumi.Input['TcpMonitorRequestArgs']]):
|
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['TcpMonitorRetryStrategyArgs']]:
|
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 _TcpMonitorState:
|
|
622
622
|
def retry_strategy(self, value: Optional[pulumi.Input['TcpMonitorRetryStrategyArgs']]):
|
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['TcpMonitorTriggerIncidentArgs']]:
|
676
676
|
"""
|
@@ -682,45 +682,46 @@ class _TcpMonitorState:
|
|
682
682
|
def trigger_incident(self, value: Optional[pulumi.Input['TcpMonitorTriggerIncidentArgs']]):
|
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/tcpMonitor:TcpMonitor")
|
698
699
|
class TcpMonitor(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['TcpMonitorAlertChannelSubscriptionArgs', 'TcpMonitorAlertChannelSubscriptionArgsDict']]]]] = None,
|
705
706
|
alert_settings: Optional[pulumi.Input[Union['TcpMonitorAlertSettingsArgs', 'TcpMonitorAlertSettingsArgsDict']]] = 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['TcpMonitorRequestArgs', 'TcpMonitorRequestArgsDict']]] = None,
|
717
718
|
retry_strategy: Optional[pulumi.Input[Union['TcpMonitorRetryStrategyArgs', 'TcpMonitorRetryStrategyArgsDict']]] = 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['TcpMonitorTriggerIncidentArgs', 'TcpMonitorTriggerIncidentArgsDict']]] = 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
|
TCP checks allow you to monitor remote endpoints at a lower level.
|
@@ -795,26 +796,26 @@ class TcpMonitor(pulumi.CustomResource):
|
|
795
796
|
|
796
797
|
:param str resource_name: The name of the resource.
|
797
798
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
798
|
-
:param pulumi.Input[bool] activated: Determines if the check is running or not. Possible values `true`, and `false`.
|
799
|
+
:param pulumi.Input[_builtins.bool] activated: Determines if the check is running or not. Possible values `true`, and `false`.
|
799
800
|
:param pulumi.Input[Sequence[pulumi.Input[Union['TcpMonitorAlertChannelSubscriptionArgs', 'TcpMonitorAlertChannelSubscriptionArgsDict']]]] 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.
|
800
|
-
: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`).
|
801
|
-
: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`.
|
802
|
-
: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`.
|
803
|
-
:param pulumi.Input[int] group_id: The id of the check group this check is part of.
|
804
|
-
: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.
|
805
|
-
: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"])
|
806
|
-
: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`).
|
807
|
-
:param pulumi.Input[bool] muted: Determines if any notifications will be sent out when a check fails/degrades/recovers.
|
808
|
-
:param pulumi.Input[str] name: The name of the check.
|
809
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] private_locations: An array of one or more private locations slugs.
|
801
|
+
: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`).
|
802
|
+
: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`.
|
803
|
+
: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`.
|
804
|
+
:param pulumi.Input[_builtins.int] group_id: The id of the check group this check is part of.
|
805
|
+
: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.
|
806
|
+
: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"])
|
807
|
+
: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`).
|
808
|
+
:param pulumi.Input[_builtins.bool] muted: Determines if any notifications will be sent out when a check fails/degrades/recovers.
|
809
|
+
:param pulumi.Input[_builtins.str] name: The name of the check.
|
810
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] private_locations: An array of one or more private locations slugs.
|
810
811
|
:param pulumi.Input[Union['TcpMonitorRequestArgs', 'TcpMonitorRequestArgsDict']] request: The parameters for the TCP connection.
|
811
|
-
:param pulumi.Input[Union['TcpMonitorRetryStrategyArgs', 'TcpMonitorRetryStrategyArgsDict']] retry_strategy: A strategy for retrying failed check runs.
|
812
|
-
:param pulumi.Input[bool] run_parallel: Determines if the check should run in all selected locations in parallel or round-robin.
|
813
|
-
:param pulumi.Input[str] runtime_id: The ID of the runtime to use for this check.
|
814
|
-
:param pulumi.Input[bool] should_fail: Allows to invert the behaviour of when a check is considered to fail.
|
815
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of tags for organizing and filtering checks.
|
812
|
+
:param pulumi.Input[Union['TcpMonitorRetryStrategyArgs', 'TcpMonitorRetryStrategyArgsDict']] retry_strategy: A strategy for retrying failed check/monitor runs.
|
813
|
+
:param pulumi.Input[_builtins.bool] run_parallel: Determines if the check should run in all selected locations in parallel or round-robin.
|
814
|
+
:param pulumi.Input[_builtins.str] runtime_id: The ID of the runtime to use for this check.
|
815
|
+
:param pulumi.Input[_builtins.bool] should_fail: Allows to invert the behaviour of when a check is considered to fail.
|
816
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: A list of tags for organizing and filtering checks.
|
816
817
|
:param pulumi.Input[Union['TcpMonitorTriggerIncidentArgs', 'TcpMonitorTriggerIncidentArgsDict']] trigger_incident: Create and resolve an incident based on the alert configuration. Useful for status page automation.
|
817
|
-
: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.
|
818
|
+
: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.
|
818
819
|
"""
|
819
820
|
...
|
820
821
|
@overload
|
@@ -908,27 +909,27 @@ class TcpMonitor(pulumi.CustomResource):
|
|
908
909
|
def _internal_init(__self__,
|
909
910
|
resource_name: str,
|
910
911
|
opts: Optional[pulumi.ResourceOptions] = None,
|
911
|
-
activated: Optional[pulumi.Input[bool]] = None,
|
912
|
+
activated: Optional[pulumi.Input[_builtins.bool]] = None,
|
912
913
|
alert_channel_subscriptions: Optional[pulumi.Input[Sequence[pulumi.Input[Union['TcpMonitorAlertChannelSubscriptionArgs', 'TcpMonitorAlertChannelSubscriptionArgsDict']]]]] = None,
|
913
914
|
alert_settings: Optional[pulumi.Input[Union['TcpMonitorAlertSettingsArgs', 'TcpMonitorAlertSettingsArgsDict']]] = None,
|
914
|
-
degraded_response_time: Optional[pulumi.Input[int]] = None,
|
915
|
-
frequency: Optional[pulumi.Input[int]] = None,
|
916
|
-
frequency_offset: Optional[pulumi.Input[int]] = None,
|
917
|
-
group_id: Optional[pulumi.Input[int]] = None,
|
918
|
-
group_order: Optional[pulumi.Input[int]] = None,
|
919
|
-
locations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
920
|
-
max_response_time: Optional[pulumi.Input[int]] = None,
|
921
|
-
muted: Optional[pulumi.Input[bool]] = None,
|
922
|
-
name: Optional[pulumi.Input[str]] = None,
|
923
|
-
private_locations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
915
|
+
degraded_response_time: Optional[pulumi.Input[_builtins.int]] = None,
|
916
|
+
frequency: Optional[pulumi.Input[_builtins.int]] = None,
|
917
|
+
frequency_offset: Optional[pulumi.Input[_builtins.int]] = None,
|
918
|
+
group_id: Optional[pulumi.Input[_builtins.int]] = None,
|
919
|
+
group_order: Optional[pulumi.Input[_builtins.int]] = None,
|
920
|
+
locations: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
921
|
+
max_response_time: Optional[pulumi.Input[_builtins.int]] = None,
|
922
|
+
muted: Optional[pulumi.Input[_builtins.bool]] = None,
|
923
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
924
|
+
private_locations: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
924
925
|
request: Optional[pulumi.Input[Union['TcpMonitorRequestArgs', 'TcpMonitorRequestArgsDict']]] = None,
|
925
926
|
retry_strategy: Optional[pulumi.Input[Union['TcpMonitorRetryStrategyArgs', 'TcpMonitorRetryStrategyArgsDict']]] = None,
|
926
|
-
run_parallel: Optional[pulumi.Input[bool]] = None,
|
927
|
-
runtime_id: Optional[pulumi.Input[str]] = None,
|
928
|
-
should_fail: Optional[pulumi.Input[bool]] = None,
|
929
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
927
|
+
run_parallel: Optional[pulumi.Input[_builtins.bool]] = None,
|
928
|
+
runtime_id: Optional[pulumi.Input[_builtins.str]] = None,
|
929
|
+
should_fail: Optional[pulumi.Input[_builtins.bool]] = None,
|
930
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
930
931
|
trigger_incident: Optional[pulumi.Input[Union['TcpMonitorTriggerIncidentArgs', 'TcpMonitorTriggerIncidentArgsDict']]] = None,
|
931
|
-
use_global_alert_settings: Optional[pulumi.Input[bool]] = None,
|
932
|
+
use_global_alert_settings: Optional[pulumi.Input[_builtins.bool]] = None,
|
932
933
|
__props__=None):
|
933
934
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
934
935
|
if not isinstance(opts, pulumi.ResourceOptions):
|
@@ -975,27 +976,27 @@ class TcpMonitor(pulumi.CustomResource):
|
|
975
976
|
def get(resource_name: str,
|
976
977
|
id: pulumi.Input[str],
|
977
978
|
opts: Optional[pulumi.ResourceOptions] = None,
|
978
|
-
activated: Optional[pulumi.Input[bool]] = None,
|
979
|
+
activated: Optional[pulumi.Input[_builtins.bool]] = None,
|
979
980
|
alert_channel_subscriptions: Optional[pulumi.Input[Sequence[pulumi.Input[Union['TcpMonitorAlertChannelSubscriptionArgs', 'TcpMonitorAlertChannelSubscriptionArgsDict']]]]] = None,
|
980
981
|
alert_settings: Optional[pulumi.Input[Union['TcpMonitorAlertSettingsArgs', 'TcpMonitorAlertSettingsArgsDict']]] = None,
|
981
|
-
degraded_response_time: Optional[pulumi.Input[int]] = None,
|
982
|
-
frequency: Optional[pulumi.Input[int]] = None,
|
983
|
-
frequency_offset: Optional[pulumi.Input[int]] = None,
|
984
|
-
group_id: Optional[pulumi.Input[int]] = None,
|
985
|
-
group_order: Optional[pulumi.Input[int]] = None,
|
986
|
-
locations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
987
|
-
max_response_time: Optional[pulumi.Input[int]] = None,
|
988
|
-
muted: Optional[pulumi.Input[bool]] = None,
|
989
|
-
name: Optional[pulumi.Input[str]] = None,
|
990
|
-
private_locations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
982
|
+
degraded_response_time: Optional[pulumi.Input[_builtins.int]] = None,
|
983
|
+
frequency: Optional[pulumi.Input[_builtins.int]] = None,
|
984
|
+
frequency_offset: Optional[pulumi.Input[_builtins.int]] = None,
|
985
|
+
group_id: Optional[pulumi.Input[_builtins.int]] = None,
|
986
|
+
group_order: Optional[pulumi.Input[_builtins.int]] = None,
|
987
|
+
locations: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
988
|
+
max_response_time: Optional[pulumi.Input[_builtins.int]] = None,
|
989
|
+
muted: Optional[pulumi.Input[_builtins.bool]] = None,
|
990
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
991
|
+
private_locations: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
991
992
|
request: Optional[pulumi.Input[Union['TcpMonitorRequestArgs', 'TcpMonitorRequestArgsDict']]] = None,
|
992
993
|
retry_strategy: Optional[pulumi.Input[Union['TcpMonitorRetryStrategyArgs', 'TcpMonitorRetryStrategyArgsDict']]] = None,
|
993
|
-
run_parallel: Optional[pulumi.Input[bool]] = None,
|
994
|
-
runtime_id: Optional[pulumi.Input[str]] = None,
|
995
|
-
should_fail: Optional[pulumi.Input[bool]] = None,
|
996
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
994
|
+
run_parallel: Optional[pulumi.Input[_builtins.bool]] = None,
|
995
|
+
runtime_id: Optional[pulumi.Input[_builtins.str]] = None,
|
996
|
+
should_fail: Optional[pulumi.Input[_builtins.bool]] = None,
|
997
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
997
998
|
trigger_incident: Optional[pulumi.Input[Union['TcpMonitorTriggerIncidentArgs', 'TcpMonitorTriggerIncidentArgsDict']]] = None,
|
998
|
-
use_global_alert_settings: Optional[pulumi.Input[bool]] = None) -> 'TcpMonitor':
|
999
|
+
use_global_alert_settings: Optional[pulumi.Input[_builtins.bool]] = None) -> 'TcpMonitor':
|
999
1000
|
"""
|
1000
1001
|
Get an existing TcpMonitor resource's state with the given name, id, and optional extra
|
1001
1002
|
properties used to qualify the lookup.
|
@@ -1003,26 +1004,26 @@ class TcpMonitor(pulumi.CustomResource):
|
|
1003
1004
|
:param str resource_name: The unique name of the resulting resource.
|
1004
1005
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
1005
1006
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
1006
|
-
:param pulumi.Input[bool] activated: Determines if the check is running or not. Possible values `true`, and `false`.
|
1007
|
+
:param pulumi.Input[_builtins.bool] activated: Determines if the check is running or not. Possible values `true`, and `false`.
|
1007
1008
|
:param pulumi.Input[Sequence[pulumi.Input[Union['TcpMonitorAlertChannelSubscriptionArgs', 'TcpMonitorAlertChannelSubscriptionArgsDict']]]] 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.
|
1008
|
-
: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`).
|
1009
|
-
: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`.
|
1010
|
-
: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`.
|
1011
|
-
:param pulumi.Input[int] group_id: The id of the check group this check is part of.
|
1012
|
-
: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.
|
1013
|
-
: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"])
|
1014
|
-
: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`).
|
1015
|
-
:param pulumi.Input[bool] muted: Determines if any notifications will be sent out when a check fails/degrades/recovers.
|
1016
|
-
:param pulumi.Input[str] name: The name of the check.
|
1017
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] private_locations: An array of one or more private locations slugs.
|
1009
|
+
: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`).
|
1010
|
+
: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`.
|
1011
|
+
: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`.
|
1012
|
+
:param pulumi.Input[_builtins.int] group_id: The id of the check group this check is part of.
|
1013
|
+
: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.
|
1014
|
+
: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"])
|
1015
|
+
: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`).
|
1016
|
+
:param pulumi.Input[_builtins.bool] muted: Determines if any notifications will be sent out when a check fails/degrades/recovers.
|
1017
|
+
:param pulumi.Input[_builtins.str] name: The name of the check.
|
1018
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] private_locations: An array of one or more private locations slugs.
|
1018
1019
|
:param pulumi.Input[Union['TcpMonitorRequestArgs', 'TcpMonitorRequestArgsDict']] request: The parameters for the TCP connection.
|
1019
|
-
:param pulumi.Input[Union['TcpMonitorRetryStrategyArgs', 'TcpMonitorRetryStrategyArgsDict']] retry_strategy: A strategy for retrying failed check runs.
|
1020
|
-
:param pulumi.Input[bool] run_parallel: Determines if the check should run in all selected locations in parallel or round-robin.
|
1021
|
-
:param pulumi.Input[str] runtime_id: The ID of the runtime to use for this check.
|
1022
|
-
:param pulumi.Input[bool] should_fail: Allows to invert the behaviour of when a check is considered to fail.
|
1023
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of tags for organizing and filtering checks.
|
1020
|
+
:param pulumi.Input[Union['TcpMonitorRetryStrategyArgs', 'TcpMonitorRetryStrategyArgsDict']] retry_strategy: A strategy for retrying failed check/monitor runs.
|
1021
|
+
:param pulumi.Input[_builtins.bool] run_parallel: Determines if the check should run in all selected locations in parallel or round-robin.
|
1022
|
+
:param pulumi.Input[_builtins.str] runtime_id: The ID of the runtime to use for this check.
|
1023
|
+
:param pulumi.Input[_builtins.bool] should_fail: Allows to invert the behaviour of when a check is considered to fail.
|
1024
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: A list of tags for organizing and filtering checks.
|
1024
1025
|
:param pulumi.Input[Union['TcpMonitorTriggerIncidentArgs', 'TcpMonitorTriggerIncidentArgsDict']] trigger_incident: Create and resolve an incident based on the alert configuration. Useful for status page automation.
|
1025
|
-
: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.
|
1026
|
+
: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.
|
1026
1027
|
"""
|
1027
1028
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
1028
1029
|
|
@@ -1051,15 +1052,15 @@ class TcpMonitor(pulumi.CustomResource):
|
|
1051
1052
|
__props__.__dict__["use_global_alert_settings"] = use_global_alert_settings
|
1052
1053
|
return TcpMonitor(resource_name, opts=opts, __props__=__props__)
|
1053
1054
|
|
1054
|
-
@property
|
1055
|
+
@_builtins.property
|
1055
1056
|
@pulumi.getter
|
1056
|
-
def activated(self) -> pulumi.Output[bool]:
|
1057
|
+
def activated(self) -> pulumi.Output[_builtins.bool]:
|
1057
1058
|
"""
|
1058
1059
|
Determines if the check is running or not. Possible values `true`, and `false`.
|
1059
1060
|
"""
|
1060
1061
|
return pulumi.get(self, "activated")
|
1061
1062
|
|
1062
|
-
@property
|
1063
|
+
@_builtins.property
|
1063
1064
|
@pulumi.getter(name="alertChannelSubscriptions")
|
1064
1065
|
def alert_channel_subscriptions(self) -> pulumi.Output[Optional[Sequence['outputs.TcpMonitorAlertChannelSubscription']]]:
|
1065
1066
|
"""
|
@@ -1067,92 +1068,92 @@ class TcpMonitor(pulumi.CustomResource):
|
|
1067
1068
|
"""
|
1068
1069
|
return pulumi.get(self, "alert_channel_subscriptions")
|
1069
1070
|
|
1070
|
-
@property
|
1071
|
+
@_builtins.property
|
1071
1072
|
@pulumi.getter(name="alertSettings")
|
1072
1073
|
def alert_settings(self) -> pulumi.Output['outputs.TcpMonitorAlertSettings']:
|
1073
1074
|
return pulumi.get(self, "alert_settings")
|
1074
1075
|
|
1075
|
-
@property
|
1076
|
+
@_builtins.property
|
1076
1077
|
@pulumi.getter(name="degradedResponseTime")
|
1077
|
-
def degraded_response_time(self) -> pulumi.Output[Optional[int]]:
|
1078
|
+
def degraded_response_time(self) -> pulumi.Output[Optional[_builtins.int]]:
|
1078
1079
|
"""
|
1079
1080
|
The response time in milliseconds starting from which a check should be considered degraded. Possible values are between 0 and 5000. (Default `4000`).
|
1080
1081
|
"""
|
1081
1082
|
return pulumi.get(self, "degraded_response_time")
|
1082
1083
|
|
1083
|
-
@property
|
1084
|
+
@_builtins.property
|
1084
1085
|
@pulumi.getter
|
1085
|
-
def frequency(self) -> pulumi.Output[int]:
|
1086
|
+
def frequency(self) -> pulumi.Output[_builtins.int]:
|
1086
1087
|
"""
|
1087
1088
|
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`.
|
1088
1089
|
"""
|
1089
1090
|
return pulumi.get(self, "frequency")
|
1090
1091
|
|
1091
|
-
@property
|
1092
|
+
@_builtins.property
|
1092
1093
|
@pulumi.getter(name="frequencyOffset")
|
1093
|
-
def frequency_offset(self) -> pulumi.Output[Optional[int]]:
|
1094
|
+
def frequency_offset(self) -> pulumi.Output[Optional[_builtins.int]]:
|
1094
1095
|
"""
|
1095
1096
|
To create a high frequency check, the property `frequency` must be `0` and `frequency_offset` can be `10`, `20` or `30`.
|
1096
1097
|
"""
|
1097
1098
|
return pulumi.get(self, "frequency_offset")
|
1098
1099
|
|
1099
|
-
@property
|
1100
|
+
@_builtins.property
|
1100
1101
|
@pulumi.getter(name="groupId")
|
1101
|
-
def group_id(self) -> pulumi.Output[Optional[int]]:
|
1102
|
+
def group_id(self) -> pulumi.Output[Optional[_builtins.int]]:
|
1102
1103
|
"""
|
1103
1104
|
The id of the check group this check is part of.
|
1104
1105
|
"""
|
1105
1106
|
return pulumi.get(self, "group_id")
|
1106
1107
|
|
1107
|
-
@property
|
1108
|
+
@_builtins.property
|
1108
1109
|
@pulumi.getter(name="groupOrder")
|
1109
|
-
def group_order(self) -> pulumi.Output[Optional[int]]:
|
1110
|
+
def group_order(self) -> pulumi.Output[Optional[_builtins.int]]:
|
1110
1111
|
"""
|
1111
1112
|
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.
|
1112
1113
|
"""
|
1113
1114
|
return pulumi.get(self, "group_order")
|
1114
1115
|
|
1115
|
-
@property
|
1116
|
+
@_builtins.property
|
1116
1117
|
@pulumi.getter
|
1117
|
-
def locations(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
1118
|
+
def locations(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
|
1118
1119
|
"""
|
1119
1120
|
An array of one or more data center locations where to run the this check. (Default ["us-east-1"])
|
1120
1121
|
"""
|
1121
1122
|
return pulumi.get(self, "locations")
|
1122
1123
|
|
1123
|
-
@property
|
1124
|
+
@_builtins.property
|
1124
1125
|
@pulumi.getter(name="maxResponseTime")
|
1125
|
-
def max_response_time(self) -> pulumi.Output[Optional[int]]:
|
1126
|
+
def max_response_time(self) -> pulumi.Output[Optional[_builtins.int]]:
|
1126
1127
|
"""
|
1127
1128
|
The response time in milliseconds starting from which a check should be considered failing. Possible values are between 0 and 5000. (Default `5000`).
|
1128
1129
|
"""
|
1129
1130
|
return pulumi.get(self, "max_response_time")
|
1130
1131
|
|
1131
|
-
@property
|
1132
|
+
@_builtins.property
|
1132
1133
|
@pulumi.getter
|
1133
|
-
def muted(self) -> pulumi.Output[Optional[bool]]:
|
1134
|
+
def muted(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
1134
1135
|
"""
|
1135
1136
|
Determines if any notifications will be sent out when a check fails/degrades/recovers.
|
1136
1137
|
"""
|
1137
1138
|
return pulumi.get(self, "muted")
|
1138
1139
|
|
1139
|
-
@property
|
1140
|
+
@_builtins.property
|
1140
1141
|
@pulumi.getter
|
1141
|
-
def name(self) -> pulumi.Output[str]:
|
1142
|
+
def name(self) -> pulumi.Output[_builtins.str]:
|
1142
1143
|
"""
|
1143
1144
|
The name of the check.
|
1144
1145
|
"""
|
1145
1146
|
return pulumi.get(self, "name")
|
1146
1147
|
|
1147
|
-
@property
|
1148
|
+
@_builtins.property
|
1148
1149
|
@pulumi.getter(name="privateLocations")
|
1149
|
-
def private_locations(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
1150
|
+
def private_locations(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
|
1150
1151
|
"""
|
1151
1152
|
An array of one or more private locations slugs.
|
1152
1153
|
"""
|
1153
1154
|
return pulumi.get(self, "private_locations")
|
1154
1155
|
|
1155
|
-
@property
|
1156
|
+
@_builtins.property
|
1156
1157
|
@pulumi.getter
|
1157
1158
|
def request(self) -> pulumi.Output['outputs.TcpMonitorRequest']:
|
1158
1159
|
"""
|
@@ -1160,47 +1161,47 @@ class TcpMonitor(pulumi.CustomResource):
|
|
1160
1161
|
"""
|
1161
1162
|
return pulumi.get(self, "request")
|
1162
1163
|
|
1163
|
-
@property
|
1164
|
+
@_builtins.property
|
1164
1165
|
@pulumi.getter(name="retryStrategy")
|
1165
1166
|
def retry_strategy(self) -> pulumi.Output['outputs.TcpMonitorRetryStrategy']:
|
1166
1167
|
"""
|
1167
|
-
A strategy for retrying failed check runs.
|
1168
|
+
A strategy for retrying failed check/monitor runs.
|
1168
1169
|
"""
|
1169
1170
|
return pulumi.get(self, "retry_strategy")
|
1170
1171
|
|
1171
|
-
@property
|
1172
|
+
@_builtins.property
|
1172
1173
|
@pulumi.getter(name="runParallel")
|
1173
|
-
def run_parallel(self) -> pulumi.Output[Optional[bool]]:
|
1174
|
+
def run_parallel(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
1174
1175
|
"""
|
1175
1176
|
Determines if the check should run in all selected locations in parallel or round-robin.
|
1176
1177
|
"""
|
1177
1178
|
return pulumi.get(self, "run_parallel")
|
1178
1179
|
|
1179
|
-
@property
|
1180
|
+
@_builtins.property
|
1180
1181
|
@pulumi.getter(name="runtimeId")
|
1181
|
-
def runtime_id(self) -> pulumi.Output[Optional[str]]:
|
1182
|
+
def runtime_id(self) -> pulumi.Output[Optional[_builtins.str]]:
|
1182
1183
|
"""
|
1183
1184
|
The ID of the runtime to use for this check.
|
1184
1185
|
"""
|
1185
1186
|
return pulumi.get(self, "runtime_id")
|
1186
1187
|
|
1187
|
-
@property
|
1188
|
+
@_builtins.property
|
1188
1189
|
@pulumi.getter(name="shouldFail")
|
1189
|
-
def should_fail(self) -> pulumi.Output[Optional[bool]]:
|
1190
|
+
def should_fail(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
1190
1191
|
"""
|
1191
1192
|
Allows to invert the behaviour of when a check is considered to fail.
|
1192
1193
|
"""
|
1193
1194
|
return pulumi.get(self, "should_fail")
|
1194
1195
|
|
1195
|
-
@property
|
1196
|
+
@_builtins.property
|
1196
1197
|
@pulumi.getter
|
1197
|
-
def tags(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
1198
|
+
def tags(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
|
1198
1199
|
"""
|
1199
1200
|
A list of tags for organizing and filtering checks.
|
1200
1201
|
"""
|
1201
1202
|
return pulumi.get(self, "tags")
|
1202
1203
|
|
1203
|
-
@property
|
1204
|
+
@_builtins.property
|
1204
1205
|
@pulumi.getter(name="triggerIncident")
|
1205
1206
|
def trigger_incident(self) -> pulumi.Output[Optional['outputs.TcpMonitorTriggerIncident']]:
|
1206
1207
|
"""
|
@@ -1208,9 +1209,9 @@ class TcpMonitor(pulumi.CustomResource):
|
|
1208
1209
|
"""
|
1209
1210
|
return pulumi.get(self, "trigger_incident")
|
1210
1211
|
|
1211
|
-
@property
|
1212
|
+
@_builtins.property
|
1212
1213
|
@pulumi.getter(name="useGlobalAlertSettings")
|
1213
|
-
def use_global_alert_settings(self) -> pulumi.Output[Optional[bool]]:
|
1214
|
+
def use_global_alert_settings(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
1214
1215
|
"""
|
1215
1216
|
When true, the account level alert settings will be used, not the alert setting defined on this check.
|
1216
1217
|
"""
|