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