pulumi-checkly 2.5.0a1758735363__py3-none-any.whl → 2.5.0a1759322016__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.
Files changed (33) hide show
  1. pulumi_checkly/__init__.py +2 -1
  2. pulumi_checkly/_inputs.py +1635 -1365
  3. pulumi_checkly/_utilities.py +9 -5
  4. pulumi_checkly/alert_channel.py +109 -108
  5. pulumi_checkly/check.py +473 -472
  6. pulumi_checkly/check_group.py +300 -299
  7. pulumi_checkly/client_certificate.py +88 -87
  8. pulumi_checkly/config/__init__.py +2 -1
  9. pulumi_checkly/config/__init__.pyi +2 -2
  10. pulumi_checkly/config/vars.py +5 -5
  11. pulumi_checkly/dashboard.py +403 -402
  12. pulumi_checkly/environment_variable.py +55 -54
  13. pulumi_checkly/get_static_ips.py +18 -18
  14. pulumi_checkly/heartbeat_check.py +100 -99
  15. pulumi_checkly/heartbeat_monitor.py +100 -99
  16. pulumi_checkly/maintenance_window.py +122 -121
  17. pulumi_checkly/outputs.py +1152 -897
  18. pulumi_checkly/private_location.py +63 -62
  19. pulumi_checkly/provider.py +56 -36
  20. pulumi_checkly/pulumi-plugin.json +1 -1
  21. pulumi_checkly/snippet.py +37 -36
  22. pulumi_checkly/status_page.py +125 -124
  23. pulumi_checkly/status_page_service.py +20 -19
  24. pulumi_checkly/tcp_check.py +297 -296
  25. pulumi_checkly/tcp_monitor.py +297 -296
  26. pulumi_checkly/trigger_check.py +54 -53
  27. pulumi_checkly/trigger_check_group.py +54 -53
  28. pulumi_checkly/url_monitor.py +280 -279
  29. {pulumi_checkly-2.5.0a1758735363.dist-info → pulumi_checkly-2.5.0a1759322016.dist-info}/METADATA +2 -2
  30. pulumi_checkly-2.5.0a1759322016.dist-info/RECORD +33 -0
  31. pulumi_checkly-2.5.0a1758735363.dist-info/RECORD +0 -33
  32. {pulumi_checkly-2.5.0a1758735363.dist-info → pulumi_checkly-2.5.0a1759322016.dist-info}/WHEEL +0 -0
  33. {pulumi_checkly-2.5.0a1758735363.dist-info → pulumi_checkly-2.5.0a1759322016.dist-info}/top_level.txt +0 -0
@@ -1,8 +1,8 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
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 copy
5
+ import builtins as _builtins
6
6
  import warnings
7
7
  import sys
8
8
  import pulumi
@@ -19,18 +19,18 @@ __all__ = ['ClientCertificateArgs', 'ClientCertificate']
19
19
  @pulumi.input_type
20
20
  class ClientCertificateArgs:
21
21
  def __init__(__self__, *,
22
- certificate: pulumi.Input[str],
23
- host: pulumi.Input[str],
24
- private_key: pulumi.Input[str],
25
- passphrase: Optional[pulumi.Input[str]] = None,
26
- trusted_ca: Optional[pulumi.Input[str]] = None):
22
+ certificate: pulumi.Input[_builtins.str],
23
+ host: pulumi.Input[_builtins.str],
24
+ private_key: pulumi.Input[_builtins.str],
25
+ passphrase: Optional[pulumi.Input[_builtins.str]] = None,
26
+ trusted_ca: Optional[pulumi.Input[_builtins.str]] = None):
27
27
  """
28
28
  The set of arguments for constructing a ClientCertificate resource.
29
- :param pulumi.Input[str] certificate: The client certificate in PEM format.
30
- :param pulumi.Input[str] host: The host domain that the certificate should be used for.
31
- :param pulumi.Input[str] private_key: The private key for the certificate in PEM format.
32
- :param pulumi.Input[str] passphrase: Passphrase for the private key.
33
- :param pulumi.Input[str] trusted_ca: PEM formatted bundle of CA certificates that the client should trust. The bundle may contain many CA certificates.
29
+ :param pulumi.Input[_builtins.str] certificate: The client certificate in PEM format.
30
+ :param pulumi.Input[_builtins.str] host: The host domain that the certificate should be used for.
31
+ :param pulumi.Input[_builtins.str] private_key: The private key for the certificate in PEM format.
32
+ :param pulumi.Input[_builtins.str] passphrase: Passphrase for the private key.
33
+ :param pulumi.Input[_builtins.str] trusted_ca: PEM formatted bundle of CA certificates that the client should trust. The bundle may contain many CA certificates.
34
34
  """
35
35
  pulumi.set(__self__, "certificate", certificate)
36
36
  pulumi.set(__self__, "host", host)
@@ -40,82 +40,82 @@ class ClientCertificateArgs:
40
40
  if trusted_ca is not None:
41
41
  pulumi.set(__self__, "trusted_ca", trusted_ca)
42
42
 
43
- @property
43
+ @_builtins.property
44
44
  @pulumi.getter
45
- def certificate(self) -> pulumi.Input[str]:
45
+ def certificate(self) -> pulumi.Input[_builtins.str]:
46
46
  """
47
47
  The client certificate in PEM format.
48
48
  """
49
49
  return pulumi.get(self, "certificate")
50
50
 
51
51
  @certificate.setter
52
- def certificate(self, value: pulumi.Input[str]):
52
+ def certificate(self, value: pulumi.Input[_builtins.str]):
53
53
  pulumi.set(self, "certificate", value)
54
54
 
55
- @property
55
+ @_builtins.property
56
56
  @pulumi.getter
57
- def host(self) -> pulumi.Input[str]:
57
+ def host(self) -> pulumi.Input[_builtins.str]:
58
58
  """
59
59
  The host domain that the certificate should be used for.
60
60
  """
61
61
  return pulumi.get(self, "host")
62
62
 
63
63
  @host.setter
64
- def host(self, value: pulumi.Input[str]):
64
+ def host(self, value: pulumi.Input[_builtins.str]):
65
65
  pulumi.set(self, "host", value)
66
66
 
67
- @property
67
+ @_builtins.property
68
68
  @pulumi.getter(name="privateKey")
69
- def private_key(self) -> pulumi.Input[str]:
69
+ def private_key(self) -> pulumi.Input[_builtins.str]:
70
70
  """
71
71
  The private key for the certificate in PEM format.
72
72
  """
73
73
  return pulumi.get(self, "private_key")
74
74
 
75
75
  @private_key.setter
76
- def private_key(self, value: pulumi.Input[str]):
76
+ def private_key(self, value: pulumi.Input[_builtins.str]):
77
77
  pulumi.set(self, "private_key", value)
78
78
 
79
- @property
79
+ @_builtins.property
80
80
  @pulumi.getter
81
- def passphrase(self) -> Optional[pulumi.Input[str]]:
81
+ def passphrase(self) -> Optional[pulumi.Input[_builtins.str]]:
82
82
  """
83
83
  Passphrase for the private key.
84
84
  """
85
85
  return pulumi.get(self, "passphrase")
86
86
 
87
87
  @passphrase.setter
88
- def passphrase(self, value: Optional[pulumi.Input[str]]):
88
+ def passphrase(self, value: Optional[pulumi.Input[_builtins.str]]):
89
89
  pulumi.set(self, "passphrase", value)
90
90
 
91
- @property
91
+ @_builtins.property
92
92
  @pulumi.getter(name="trustedCa")
93
- def trusted_ca(self) -> Optional[pulumi.Input[str]]:
93
+ def trusted_ca(self) -> Optional[pulumi.Input[_builtins.str]]:
94
94
  """
95
95
  PEM formatted bundle of CA certificates that the client should trust. The bundle may contain many CA certificates.
96
96
  """
97
97
  return pulumi.get(self, "trusted_ca")
98
98
 
99
99
  @trusted_ca.setter
100
- def trusted_ca(self, value: Optional[pulumi.Input[str]]):
100
+ def trusted_ca(self, value: Optional[pulumi.Input[_builtins.str]]):
101
101
  pulumi.set(self, "trusted_ca", value)
102
102
 
103
103
 
104
104
  @pulumi.input_type
105
105
  class _ClientCertificateState:
106
106
  def __init__(__self__, *,
107
- certificate: Optional[pulumi.Input[str]] = None,
108
- host: Optional[pulumi.Input[str]] = None,
109
- passphrase: Optional[pulumi.Input[str]] = None,
110
- private_key: Optional[pulumi.Input[str]] = None,
111
- trusted_ca: Optional[pulumi.Input[str]] = None):
107
+ certificate: Optional[pulumi.Input[_builtins.str]] = None,
108
+ host: Optional[pulumi.Input[_builtins.str]] = None,
109
+ passphrase: Optional[pulumi.Input[_builtins.str]] = None,
110
+ private_key: Optional[pulumi.Input[_builtins.str]] = None,
111
+ trusted_ca: Optional[pulumi.Input[_builtins.str]] = None):
112
112
  """
113
113
  Input properties used for looking up and filtering ClientCertificate resources.
114
- :param pulumi.Input[str] certificate: The client certificate in PEM format.
115
- :param pulumi.Input[str] host: The host domain that the certificate should be used for.
116
- :param pulumi.Input[str] passphrase: Passphrase for the private key.
117
- :param pulumi.Input[str] private_key: The private key for the certificate in PEM format.
118
- :param pulumi.Input[str] trusted_ca: PEM formatted bundle of CA certificates that the client should trust. The bundle may contain many CA certificates.
114
+ :param pulumi.Input[_builtins.str] certificate: The client certificate in PEM format.
115
+ :param pulumi.Input[_builtins.str] host: The host domain that the certificate should be used for.
116
+ :param pulumi.Input[_builtins.str] passphrase: Passphrase for the private key.
117
+ :param pulumi.Input[_builtins.str] private_key: The private key for the certificate in PEM format.
118
+ :param pulumi.Input[_builtins.str] trusted_ca: PEM formatted bundle of CA certificates that the client should trust. The bundle may contain many CA certificates.
119
119
  """
120
120
  if certificate is not None:
121
121
  pulumi.set(__self__, "certificate", certificate)
@@ -128,77 +128,78 @@ class _ClientCertificateState:
128
128
  if trusted_ca is not None:
129
129
  pulumi.set(__self__, "trusted_ca", trusted_ca)
130
130
 
131
- @property
131
+ @_builtins.property
132
132
  @pulumi.getter
133
- def certificate(self) -> Optional[pulumi.Input[str]]:
133
+ def certificate(self) -> Optional[pulumi.Input[_builtins.str]]:
134
134
  """
135
135
  The client certificate in PEM format.
136
136
  """
137
137
  return pulumi.get(self, "certificate")
138
138
 
139
139
  @certificate.setter
140
- def certificate(self, value: Optional[pulumi.Input[str]]):
140
+ def certificate(self, value: Optional[pulumi.Input[_builtins.str]]):
141
141
  pulumi.set(self, "certificate", value)
142
142
 
143
- @property
143
+ @_builtins.property
144
144
  @pulumi.getter
145
- def host(self) -> Optional[pulumi.Input[str]]:
145
+ def host(self) -> Optional[pulumi.Input[_builtins.str]]:
146
146
  """
147
147
  The host domain that the certificate should be used for.
148
148
  """
149
149
  return pulumi.get(self, "host")
150
150
 
151
151
  @host.setter
152
- def host(self, value: Optional[pulumi.Input[str]]):
152
+ def host(self, value: Optional[pulumi.Input[_builtins.str]]):
153
153
  pulumi.set(self, "host", value)
154
154
 
155
- @property
155
+ @_builtins.property
156
156
  @pulumi.getter
157
- def passphrase(self) -> Optional[pulumi.Input[str]]:
157
+ def passphrase(self) -> Optional[pulumi.Input[_builtins.str]]:
158
158
  """
159
159
  Passphrase for the private key.
160
160
  """
161
161
  return pulumi.get(self, "passphrase")
162
162
 
163
163
  @passphrase.setter
164
- def passphrase(self, value: Optional[pulumi.Input[str]]):
164
+ def passphrase(self, value: Optional[pulumi.Input[_builtins.str]]):
165
165
  pulumi.set(self, "passphrase", value)
166
166
 
167
- @property
167
+ @_builtins.property
168
168
  @pulumi.getter(name="privateKey")
169
- def private_key(self) -> Optional[pulumi.Input[str]]:
169
+ def private_key(self) -> Optional[pulumi.Input[_builtins.str]]:
170
170
  """
171
171
  The private key for the certificate in PEM format.
172
172
  """
173
173
  return pulumi.get(self, "private_key")
174
174
 
175
175
  @private_key.setter
176
- def private_key(self, value: Optional[pulumi.Input[str]]):
176
+ def private_key(self, value: Optional[pulumi.Input[_builtins.str]]):
177
177
  pulumi.set(self, "private_key", value)
178
178
 
179
- @property
179
+ @_builtins.property
180
180
  @pulumi.getter(name="trustedCa")
181
- def trusted_ca(self) -> Optional[pulumi.Input[str]]:
181
+ def trusted_ca(self) -> Optional[pulumi.Input[_builtins.str]]:
182
182
  """
183
183
  PEM formatted bundle of CA certificates that the client should trust. The bundle may contain many CA certificates.
184
184
  """
185
185
  return pulumi.get(self, "trusted_ca")
186
186
 
187
187
  @trusted_ca.setter
188
- def trusted_ca(self, value: Optional[pulumi.Input[str]]):
188
+ def trusted_ca(self, value: Optional[pulumi.Input[_builtins.str]]):
189
189
  pulumi.set(self, "trusted_ca", value)
190
190
 
191
191
 
192
+ @pulumi.type_token("checkly:index/clientCertificate:ClientCertificate")
192
193
  class ClientCertificate(pulumi.CustomResource):
193
194
  @overload
194
195
  def __init__(__self__,
195
196
  resource_name: str,
196
197
  opts: Optional[pulumi.ResourceOptions] = None,
197
- certificate: Optional[pulumi.Input[str]] = None,
198
- host: Optional[pulumi.Input[str]] = None,
199
- passphrase: Optional[pulumi.Input[str]] = None,
200
- private_key: Optional[pulumi.Input[str]] = None,
201
- trusted_ca: Optional[pulumi.Input[str]] = None,
198
+ certificate: Optional[pulumi.Input[_builtins.str]] = None,
199
+ host: Optional[pulumi.Input[_builtins.str]] = None,
200
+ passphrase: Optional[pulumi.Input[_builtins.str]] = None,
201
+ private_key: Optional[pulumi.Input[_builtins.str]] = None,
202
+ trusted_ca: Optional[pulumi.Input[_builtins.str]] = None,
202
203
  __props__=None):
203
204
  """
204
205
  Use client certificates to authenticate your API checks to APIs that require mutual TLS (mTLS) authentication, or any other authentication scheme where the requester needs to provide a certificate.
@@ -209,11 +210,11 @@ class ClientCertificate(pulumi.CustomResource):
209
210
 
210
211
  :param str resource_name: The name of the resource.
211
212
  :param pulumi.ResourceOptions opts: Options for the resource.
212
- :param pulumi.Input[str] certificate: The client certificate in PEM format.
213
- :param pulumi.Input[str] host: The host domain that the certificate should be used for.
214
- :param pulumi.Input[str] passphrase: Passphrase for the private key.
215
- :param pulumi.Input[str] private_key: The private key for the certificate in PEM format.
216
- :param pulumi.Input[str] trusted_ca: PEM formatted bundle of CA certificates that the client should trust. The bundle may contain many CA certificates.
213
+ :param pulumi.Input[_builtins.str] certificate: The client certificate in PEM format.
214
+ :param pulumi.Input[_builtins.str] host: The host domain that the certificate should be used for.
215
+ :param pulumi.Input[_builtins.str] passphrase: Passphrase for the private key.
216
+ :param pulumi.Input[_builtins.str] private_key: The private key for the certificate in PEM format.
217
+ :param pulumi.Input[_builtins.str] trusted_ca: PEM formatted bundle of CA certificates that the client should trust. The bundle may contain many CA certificates.
217
218
  """
218
219
  ...
219
220
  @overload
@@ -243,11 +244,11 @@ class ClientCertificate(pulumi.CustomResource):
243
244
  def _internal_init(__self__,
244
245
  resource_name: str,
245
246
  opts: Optional[pulumi.ResourceOptions] = None,
246
- certificate: Optional[pulumi.Input[str]] = None,
247
- host: Optional[pulumi.Input[str]] = None,
248
- passphrase: Optional[pulumi.Input[str]] = None,
249
- private_key: Optional[pulumi.Input[str]] = None,
250
- trusted_ca: Optional[pulumi.Input[str]] = None,
247
+ certificate: Optional[pulumi.Input[_builtins.str]] = None,
248
+ host: Optional[pulumi.Input[_builtins.str]] = None,
249
+ passphrase: Optional[pulumi.Input[_builtins.str]] = None,
250
+ private_key: Optional[pulumi.Input[_builtins.str]] = None,
251
+ trusted_ca: Optional[pulumi.Input[_builtins.str]] = None,
251
252
  __props__=None):
252
253
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
253
254
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -280,11 +281,11 @@ class ClientCertificate(pulumi.CustomResource):
280
281
  def get(resource_name: str,
281
282
  id: pulumi.Input[str],
282
283
  opts: Optional[pulumi.ResourceOptions] = None,
283
- certificate: Optional[pulumi.Input[str]] = None,
284
- host: Optional[pulumi.Input[str]] = None,
285
- passphrase: Optional[pulumi.Input[str]] = None,
286
- private_key: Optional[pulumi.Input[str]] = None,
287
- trusted_ca: Optional[pulumi.Input[str]] = None) -> 'ClientCertificate':
284
+ certificate: Optional[pulumi.Input[_builtins.str]] = None,
285
+ host: Optional[pulumi.Input[_builtins.str]] = None,
286
+ passphrase: Optional[pulumi.Input[_builtins.str]] = None,
287
+ private_key: Optional[pulumi.Input[_builtins.str]] = None,
288
+ trusted_ca: Optional[pulumi.Input[_builtins.str]] = None) -> 'ClientCertificate':
288
289
  """
289
290
  Get an existing ClientCertificate resource's state with the given name, id, and optional extra
290
291
  properties used to qualify the lookup.
@@ -292,11 +293,11 @@ class ClientCertificate(pulumi.CustomResource):
292
293
  :param str resource_name: The unique name of the resulting resource.
293
294
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
294
295
  :param pulumi.ResourceOptions opts: Options for the resource.
295
- :param pulumi.Input[str] certificate: The client certificate in PEM format.
296
- :param pulumi.Input[str] host: The host domain that the certificate should be used for.
297
- :param pulumi.Input[str] passphrase: Passphrase for the private key.
298
- :param pulumi.Input[str] private_key: The private key for the certificate in PEM format.
299
- :param pulumi.Input[str] trusted_ca: PEM formatted bundle of CA certificates that the client should trust. The bundle may contain many CA certificates.
296
+ :param pulumi.Input[_builtins.str] certificate: The client certificate in PEM format.
297
+ :param pulumi.Input[_builtins.str] host: The host domain that the certificate should be used for.
298
+ :param pulumi.Input[_builtins.str] passphrase: Passphrase for the private key.
299
+ :param pulumi.Input[_builtins.str] private_key: The private key for the certificate in PEM format.
300
+ :param pulumi.Input[_builtins.str] trusted_ca: PEM formatted bundle of CA certificates that the client should trust. The bundle may contain many CA certificates.
300
301
  """
301
302
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
302
303
 
@@ -309,41 +310,41 @@ class ClientCertificate(pulumi.CustomResource):
309
310
  __props__.__dict__["trusted_ca"] = trusted_ca
310
311
  return ClientCertificate(resource_name, opts=opts, __props__=__props__)
311
312
 
312
- @property
313
+ @_builtins.property
313
314
  @pulumi.getter
314
- def certificate(self) -> pulumi.Output[str]:
315
+ def certificate(self) -> pulumi.Output[_builtins.str]:
315
316
  """
316
317
  The client certificate in PEM format.
317
318
  """
318
319
  return pulumi.get(self, "certificate")
319
320
 
320
- @property
321
+ @_builtins.property
321
322
  @pulumi.getter
322
- def host(self) -> pulumi.Output[str]:
323
+ def host(self) -> pulumi.Output[_builtins.str]:
323
324
  """
324
325
  The host domain that the certificate should be used for.
325
326
  """
326
327
  return pulumi.get(self, "host")
327
328
 
328
- @property
329
+ @_builtins.property
329
330
  @pulumi.getter
330
- def passphrase(self) -> pulumi.Output[Optional[str]]:
331
+ def passphrase(self) -> pulumi.Output[Optional[_builtins.str]]:
331
332
  """
332
333
  Passphrase for the private key.
333
334
  """
334
335
  return pulumi.get(self, "passphrase")
335
336
 
336
- @property
337
+ @_builtins.property
337
338
  @pulumi.getter(name="privateKey")
338
- def private_key(self) -> pulumi.Output[str]:
339
+ def private_key(self) -> pulumi.Output[_builtins.str]:
339
340
  """
340
341
  The private key for the certificate in PEM format.
341
342
  """
342
343
  return pulumi.get(self, "private_key")
343
344
 
344
- @property
345
+ @_builtins.property
345
346
  @pulumi.getter(name="trustedCa")
346
- def trusted_ca(self) -> pulumi.Output[Optional[str]]:
347
+ def trusted_ca(self) -> pulumi.Output[Optional[_builtins.str]]:
347
348
  """
348
349
  PEM formatted bundle of CA certificates that the client should trust. The bundle may contain many CA certificates.
349
350
  """
@@ -1,7 +1,8 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
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 builtins as _builtins
5
6
  import sys
6
7
  from .vars import _ExportableConfig
7
8
 
@@ -1,8 +1,8 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
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 copy
5
+ import builtins as _builtins
6
6
  import warnings
7
7
  import sys
8
8
  import pulumi
@@ -1,8 +1,8 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
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 copy
5
+ import builtins as _builtins
6
6
  import warnings
7
7
  import sys
8
8
  import pulumi
@@ -20,15 +20,15 @@ __config__ = pulumi.Config('checkly')
20
20
 
21
21
 
22
22
  class _ExportableConfig(types.ModuleType):
23
- @property
23
+ @_builtins.property
24
24
  def account_id(self) -> Optional[str]:
25
25
  return __config__.get('accountId')
26
26
 
27
- @property
27
+ @_builtins.property
28
28
  def api_key(self) -> Optional[str]:
29
29
  return __config__.get('apiKey')
30
30
 
31
- @property
31
+ @_builtins.property
32
32
  def api_url(self) -> Optional[str]:
33
33
  return __config__.get('apiUrl')
34
34