pulumi-checkly 2.0.0a1738674781__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 +143 -0
- pulumi_checkly/_inputs.py +3131 -0
- pulumi_checkly/_utilities.py +327 -0
- pulumi_checkly/alert_channel.py +742 -0
- pulumi_checkly/check.py +1579 -0
- pulumi_checkly/check_group.py +1073 -0
- pulumi_checkly/config/__init__.py +8 -0
- pulumi_checkly/config/__init__.pyi +22 -0
- pulumi_checkly/config/vars.py +34 -0
- pulumi_checkly/dashboard.py +920 -0
- pulumi_checkly/environment_variable.py +269 -0
- pulumi_checkly/get_static_ips.py +126 -0
- pulumi_checkly/heartbeat_check.py +480 -0
- pulumi_checkly/maintenance_window.py +462 -0
- pulumi_checkly/outputs.py +2413 -0
- pulumi_checkly/private_location.py +293 -0
- pulumi_checkly/provider.py +144 -0
- pulumi_checkly/pulumi-plugin.json +6 -0
- pulumi_checkly/py.typed +0 -0
- pulumi_checkly/snippet.py +228 -0
- pulumi_checkly/tcp_check.py +1171 -0
- pulumi_checkly/trigger_check.py +261 -0
- pulumi_checkly/trigger_check_group.py +261 -0
- pulumi_checkly-2.0.0a1738674781.dist-info/METADATA +69 -0
- pulumi_checkly-2.0.0a1738674781.dist-info/RECORD +27 -0
- pulumi_checkly-2.0.0a1738674781.dist-info/WHEEL +5 -0
- pulumi_checkly-2.0.0a1738674781.dist-info/top_level.txt +1 -0
@@ -0,0 +1,462 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import copy
|
6
|
+
import warnings
|
7
|
+
import sys
|
8
|
+
import pulumi
|
9
|
+
import pulumi.runtime
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
|
+
from . import _utilities
|
16
|
+
|
17
|
+
__all__ = ['MaintenanceWindowArgs', 'MaintenanceWindow']
|
18
|
+
|
19
|
+
@pulumi.input_type
|
20
|
+
class MaintenanceWindowArgs:
|
21
|
+
def __init__(__self__, *,
|
22
|
+
ends_at: pulumi.Input[str],
|
23
|
+
starts_at: pulumi.Input[str],
|
24
|
+
name: Optional[pulumi.Input[str]] = None,
|
25
|
+
repeat_ends_at: Optional[pulumi.Input[str]] = None,
|
26
|
+
repeat_interval: Optional[pulumi.Input[int]] = None,
|
27
|
+
repeat_unit: Optional[pulumi.Input[str]] = None,
|
28
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
29
|
+
"""
|
30
|
+
The set of arguments for constructing a MaintenanceWindow resource.
|
31
|
+
:param pulumi.Input[str] ends_at: The end date of the maintenance window.
|
32
|
+
:param pulumi.Input[str] starts_at: The start date of the maintenance window.
|
33
|
+
:param pulumi.Input[str] name: The maintenance window name.
|
34
|
+
:param pulumi.Input[str] repeat_ends_at: The date on which the maintenance window should stop repeating.
|
35
|
+
:param pulumi.Input[int] repeat_interval: The repeat interval of the maintenance window from the first occurrence.
|
36
|
+
:param pulumi.Input[str] repeat_unit: The repeat cadence for the maintenance window. Possible values `DAY`, `WEEK` and `MONTH`.
|
37
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The names of the checks and groups maintenance window should apply to.
|
38
|
+
"""
|
39
|
+
pulumi.set(__self__, "ends_at", ends_at)
|
40
|
+
pulumi.set(__self__, "starts_at", starts_at)
|
41
|
+
if name is not None:
|
42
|
+
pulumi.set(__self__, "name", name)
|
43
|
+
if repeat_ends_at is not None:
|
44
|
+
pulumi.set(__self__, "repeat_ends_at", repeat_ends_at)
|
45
|
+
if repeat_interval is not None:
|
46
|
+
pulumi.set(__self__, "repeat_interval", repeat_interval)
|
47
|
+
if repeat_unit is not None:
|
48
|
+
pulumi.set(__self__, "repeat_unit", repeat_unit)
|
49
|
+
if tags is not None:
|
50
|
+
pulumi.set(__self__, "tags", tags)
|
51
|
+
|
52
|
+
@property
|
53
|
+
@pulumi.getter(name="endsAt")
|
54
|
+
def ends_at(self) -> pulumi.Input[str]:
|
55
|
+
"""
|
56
|
+
The end date of the maintenance window.
|
57
|
+
"""
|
58
|
+
return pulumi.get(self, "ends_at")
|
59
|
+
|
60
|
+
@ends_at.setter
|
61
|
+
def ends_at(self, value: pulumi.Input[str]):
|
62
|
+
pulumi.set(self, "ends_at", value)
|
63
|
+
|
64
|
+
@property
|
65
|
+
@pulumi.getter(name="startsAt")
|
66
|
+
def starts_at(self) -> pulumi.Input[str]:
|
67
|
+
"""
|
68
|
+
The start date of the maintenance window.
|
69
|
+
"""
|
70
|
+
return pulumi.get(self, "starts_at")
|
71
|
+
|
72
|
+
@starts_at.setter
|
73
|
+
def starts_at(self, value: pulumi.Input[str]):
|
74
|
+
pulumi.set(self, "starts_at", value)
|
75
|
+
|
76
|
+
@property
|
77
|
+
@pulumi.getter
|
78
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
79
|
+
"""
|
80
|
+
The maintenance window name.
|
81
|
+
"""
|
82
|
+
return pulumi.get(self, "name")
|
83
|
+
|
84
|
+
@name.setter
|
85
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
86
|
+
pulumi.set(self, "name", value)
|
87
|
+
|
88
|
+
@property
|
89
|
+
@pulumi.getter(name="repeatEndsAt")
|
90
|
+
def repeat_ends_at(self) -> Optional[pulumi.Input[str]]:
|
91
|
+
"""
|
92
|
+
The date on which the maintenance window should stop repeating.
|
93
|
+
"""
|
94
|
+
return pulumi.get(self, "repeat_ends_at")
|
95
|
+
|
96
|
+
@repeat_ends_at.setter
|
97
|
+
def repeat_ends_at(self, value: Optional[pulumi.Input[str]]):
|
98
|
+
pulumi.set(self, "repeat_ends_at", value)
|
99
|
+
|
100
|
+
@property
|
101
|
+
@pulumi.getter(name="repeatInterval")
|
102
|
+
def repeat_interval(self) -> Optional[pulumi.Input[int]]:
|
103
|
+
"""
|
104
|
+
The repeat interval of the maintenance window from the first occurrence.
|
105
|
+
"""
|
106
|
+
return pulumi.get(self, "repeat_interval")
|
107
|
+
|
108
|
+
@repeat_interval.setter
|
109
|
+
def repeat_interval(self, value: Optional[pulumi.Input[int]]):
|
110
|
+
pulumi.set(self, "repeat_interval", value)
|
111
|
+
|
112
|
+
@property
|
113
|
+
@pulumi.getter(name="repeatUnit")
|
114
|
+
def repeat_unit(self) -> Optional[pulumi.Input[str]]:
|
115
|
+
"""
|
116
|
+
The repeat cadence for the maintenance window. Possible values `DAY`, `WEEK` and `MONTH`.
|
117
|
+
"""
|
118
|
+
return pulumi.get(self, "repeat_unit")
|
119
|
+
|
120
|
+
@repeat_unit.setter
|
121
|
+
def repeat_unit(self, value: Optional[pulumi.Input[str]]):
|
122
|
+
pulumi.set(self, "repeat_unit", value)
|
123
|
+
|
124
|
+
@property
|
125
|
+
@pulumi.getter
|
126
|
+
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
127
|
+
"""
|
128
|
+
The names of the checks and groups maintenance window should apply to.
|
129
|
+
"""
|
130
|
+
return pulumi.get(self, "tags")
|
131
|
+
|
132
|
+
@tags.setter
|
133
|
+
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
134
|
+
pulumi.set(self, "tags", value)
|
135
|
+
|
136
|
+
|
137
|
+
@pulumi.input_type
|
138
|
+
class _MaintenanceWindowState:
|
139
|
+
def __init__(__self__, *,
|
140
|
+
ends_at: Optional[pulumi.Input[str]] = None,
|
141
|
+
name: Optional[pulumi.Input[str]] = None,
|
142
|
+
repeat_ends_at: Optional[pulumi.Input[str]] = None,
|
143
|
+
repeat_interval: Optional[pulumi.Input[int]] = None,
|
144
|
+
repeat_unit: Optional[pulumi.Input[str]] = None,
|
145
|
+
starts_at: Optional[pulumi.Input[str]] = None,
|
146
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
147
|
+
"""
|
148
|
+
Input properties used for looking up and filtering MaintenanceWindow resources.
|
149
|
+
:param pulumi.Input[str] ends_at: The end date of the maintenance window.
|
150
|
+
:param pulumi.Input[str] name: The maintenance window name.
|
151
|
+
:param pulumi.Input[str] repeat_ends_at: The date on which the maintenance window should stop repeating.
|
152
|
+
:param pulumi.Input[int] repeat_interval: The repeat interval of the maintenance window from the first occurrence.
|
153
|
+
:param pulumi.Input[str] repeat_unit: The repeat cadence for the maintenance window. Possible values `DAY`, `WEEK` and `MONTH`.
|
154
|
+
:param pulumi.Input[str] starts_at: The start date of the maintenance window.
|
155
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The names of the checks and groups maintenance window should apply to.
|
156
|
+
"""
|
157
|
+
if ends_at is not None:
|
158
|
+
pulumi.set(__self__, "ends_at", ends_at)
|
159
|
+
if name is not None:
|
160
|
+
pulumi.set(__self__, "name", name)
|
161
|
+
if repeat_ends_at is not None:
|
162
|
+
pulumi.set(__self__, "repeat_ends_at", repeat_ends_at)
|
163
|
+
if repeat_interval is not None:
|
164
|
+
pulumi.set(__self__, "repeat_interval", repeat_interval)
|
165
|
+
if repeat_unit is not None:
|
166
|
+
pulumi.set(__self__, "repeat_unit", repeat_unit)
|
167
|
+
if starts_at is not None:
|
168
|
+
pulumi.set(__self__, "starts_at", starts_at)
|
169
|
+
if tags is not None:
|
170
|
+
pulumi.set(__self__, "tags", tags)
|
171
|
+
|
172
|
+
@property
|
173
|
+
@pulumi.getter(name="endsAt")
|
174
|
+
def ends_at(self) -> Optional[pulumi.Input[str]]:
|
175
|
+
"""
|
176
|
+
The end date of the maintenance window.
|
177
|
+
"""
|
178
|
+
return pulumi.get(self, "ends_at")
|
179
|
+
|
180
|
+
@ends_at.setter
|
181
|
+
def ends_at(self, value: Optional[pulumi.Input[str]]):
|
182
|
+
pulumi.set(self, "ends_at", value)
|
183
|
+
|
184
|
+
@property
|
185
|
+
@pulumi.getter
|
186
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
187
|
+
"""
|
188
|
+
The maintenance window name.
|
189
|
+
"""
|
190
|
+
return pulumi.get(self, "name")
|
191
|
+
|
192
|
+
@name.setter
|
193
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
194
|
+
pulumi.set(self, "name", value)
|
195
|
+
|
196
|
+
@property
|
197
|
+
@pulumi.getter(name="repeatEndsAt")
|
198
|
+
def repeat_ends_at(self) -> Optional[pulumi.Input[str]]:
|
199
|
+
"""
|
200
|
+
The date on which the maintenance window should stop repeating.
|
201
|
+
"""
|
202
|
+
return pulumi.get(self, "repeat_ends_at")
|
203
|
+
|
204
|
+
@repeat_ends_at.setter
|
205
|
+
def repeat_ends_at(self, value: Optional[pulumi.Input[str]]):
|
206
|
+
pulumi.set(self, "repeat_ends_at", value)
|
207
|
+
|
208
|
+
@property
|
209
|
+
@pulumi.getter(name="repeatInterval")
|
210
|
+
def repeat_interval(self) -> Optional[pulumi.Input[int]]:
|
211
|
+
"""
|
212
|
+
The repeat interval of the maintenance window from the first occurrence.
|
213
|
+
"""
|
214
|
+
return pulumi.get(self, "repeat_interval")
|
215
|
+
|
216
|
+
@repeat_interval.setter
|
217
|
+
def repeat_interval(self, value: Optional[pulumi.Input[int]]):
|
218
|
+
pulumi.set(self, "repeat_interval", value)
|
219
|
+
|
220
|
+
@property
|
221
|
+
@pulumi.getter(name="repeatUnit")
|
222
|
+
def repeat_unit(self) -> Optional[pulumi.Input[str]]:
|
223
|
+
"""
|
224
|
+
The repeat cadence for the maintenance window. Possible values `DAY`, `WEEK` and `MONTH`.
|
225
|
+
"""
|
226
|
+
return pulumi.get(self, "repeat_unit")
|
227
|
+
|
228
|
+
@repeat_unit.setter
|
229
|
+
def repeat_unit(self, value: Optional[pulumi.Input[str]]):
|
230
|
+
pulumi.set(self, "repeat_unit", value)
|
231
|
+
|
232
|
+
@property
|
233
|
+
@pulumi.getter(name="startsAt")
|
234
|
+
def starts_at(self) -> Optional[pulumi.Input[str]]:
|
235
|
+
"""
|
236
|
+
The start date of the maintenance window.
|
237
|
+
"""
|
238
|
+
return pulumi.get(self, "starts_at")
|
239
|
+
|
240
|
+
@starts_at.setter
|
241
|
+
def starts_at(self, value: Optional[pulumi.Input[str]]):
|
242
|
+
pulumi.set(self, "starts_at", value)
|
243
|
+
|
244
|
+
@property
|
245
|
+
@pulumi.getter
|
246
|
+
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
247
|
+
"""
|
248
|
+
The names of the checks and groups maintenance window should apply to.
|
249
|
+
"""
|
250
|
+
return pulumi.get(self, "tags")
|
251
|
+
|
252
|
+
@tags.setter
|
253
|
+
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
254
|
+
pulumi.set(self, "tags", value)
|
255
|
+
|
256
|
+
|
257
|
+
class MaintenanceWindow(pulumi.CustomResource):
|
258
|
+
@overload
|
259
|
+
def __init__(__self__,
|
260
|
+
resource_name: str,
|
261
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
262
|
+
ends_at: Optional[pulumi.Input[str]] = None,
|
263
|
+
name: Optional[pulumi.Input[str]] = None,
|
264
|
+
repeat_ends_at: Optional[pulumi.Input[str]] = None,
|
265
|
+
repeat_interval: Optional[pulumi.Input[int]] = None,
|
266
|
+
repeat_unit: Optional[pulumi.Input[str]] = None,
|
267
|
+
starts_at: Optional[pulumi.Input[str]] = None,
|
268
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
269
|
+
__props__=None):
|
270
|
+
"""
|
271
|
+
## Example Usage
|
272
|
+
|
273
|
+
```python
|
274
|
+
import pulumi
|
275
|
+
import pulumi_checkly as checkly
|
276
|
+
|
277
|
+
maintenance_1 = checkly.MaintenanceWindow("maintenance-1",
|
278
|
+
name="Maintenance Windows",
|
279
|
+
starts_at="2014-08-24T00:00:00.000Z",
|
280
|
+
ends_at="2014-08-25T00:00:00.000Z",
|
281
|
+
repeat_unit="MONTH",
|
282
|
+
repeat_ends_at="2014-08-24T00:00:00.000Z",
|
283
|
+
repeat_interval=1,
|
284
|
+
tags=["production"])
|
285
|
+
```
|
286
|
+
|
287
|
+
:param str resource_name: The name of the resource.
|
288
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
289
|
+
:param pulumi.Input[str] ends_at: The end date of the maintenance window.
|
290
|
+
:param pulumi.Input[str] name: The maintenance window name.
|
291
|
+
:param pulumi.Input[str] repeat_ends_at: The date on which the maintenance window should stop repeating.
|
292
|
+
:param pulumi.Input[int] repeat_interval: The repeat interval of the maintenance window from the first occurrence.
|
293
|
+
:param pulumi.Input[str] repeat_unit: The repeat cadence for the maintenance window. Possible values `DAY`, `WEEK` and `MONTH`.
|
294
|
+
:param pulumi.Input[str] starts_at: The start date of the maintenance window.
|
295
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The names of the checks and groups maintenance window should apply to.
|
296
|
+
"""
|
297
|
+
...
|
298
|
+
@overload
|
299
|
+
def __init__(__self__,
|
300
|
+
resource_name: str,
|
301
|
+
args: MaintenanceWindowArgs,
|
302
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
303
|
+
"""
|
304
|
+
## Example Usage
|
305
|
+
|
306
|
+
```python
|
307
|
+
import pulumi
|
308
|
+
import pulumi_checkly as checkly
|
309
|
+
|
310
|
+
maintenance_1 = checkly.MaintenanceWindow("maintenance-1",
|
311
|
+
name="Maintenance Windows",
|
312
|
+
starts_at="2014-08-24T00:00:00.000Z",
|
313
|
+
ends_at="2014-08-25T00:00:00.000Z",
|
314
|
+
repeat_unit="MONTH",
|
315
|
+
repeat_ends_at="2014-08-24T00:00:00.000Z",
|
316
|
+
repeat_interval=1,
|
317
|
+
tags=["production"])
|
318
|
+
```
|
319
|
+
|
320
|
+
:param str resource_name: The name of the resource.
|
321
|
+
:param MaintenanceWindowArgs args: The arguments to use to populate this resource's properties.
|
322
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
323
|
+
"""
|
324
|
+
...
|
325
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
326
|
+
resource_args, opts = _utilities.get_resource_args_opts(MaintenanceWindowArgs, pulumi.ResourceOptions, *args, **kwargs)
|
327
|
+
if resource_args is not None:
|
328
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
329
|
+
else:
|
330
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
331
|
+
|
332
|
+
def _internal_init(__self__,
|
333
|
+
resource_name: str,
|
334
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
335
|
+
ends_at: Optional[pulumi.Input[str]] = None,
|
336
|
+
name: Optional[pulumi.Input[str]] = None,
|
337
|
+
repeat_ends_at: Optional[pulumi.Input[str]] = None,
|
338
|
+
repeat_interval: Optional[pulumi.Input[int]] = None,
|
339
|
+
repeat_unit: Optional[pulumi.Input[str]] = None,
|
340
|
+
starts_at: Optional[pulumi.Input[str]] = None,
|
341
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
342
|
+
__props__=None):
|
343
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
344
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
345
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
346
|
+
if opts.id is None:
|
347
|
+
if __props__ is not None:
|
348
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
349
|
+
__props__ = MaintenanceWindowArgs.__new__(MaintenanceWindowArgs)
|
350
|
+
|
351
|
+
if ends_at is None and not opts.urn:
|
352
|
+
raise TypeError("Missing required property 'ends_at'")
|
353
|
+
__props__.__dict__["ends_at"] = ends_at
|
354
|
+
__props__.__dict__["name"] = name
|
355
|
+
__props__.__dict__["repeat_ends_at"] = repeat_ends_at
|
356
|
+
__props__.__dict__["repeat_interval"] = repeat_interval
|
357
|
+
__props__.__dict__["repeat_unit"] = repeat_unit
|
358
|
+
if starts_at is None and not opts.urn:
|
359
|
+
raise TypeError("Missing required property 'starts_at'")
|
360
|
+
__props__.__dict__["starts_at"] = starts_at
|
361
|
+
__props__.__dict__["tags"] = tags
|
362
|
+
super(MaintenanceWindow, __self__).__init__(
|
363
|
+
'checkly:index/maintenanceWindow:MaintenanceWindow',
|
364
|
+
resource_name,
|
365
|
+
__props__,
|
366
|
+
opts)
|
367
|
+
|
368
|
+
@staticmethod
|
369
|
+
def get(resource_name: str,
|
370
|
+
id: pulumi.Input[str],
|
371
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
372
|
+
ends_at: Optional[pulumi.Input[str]] = None,
|
373
|
+
name: Optional[pulumi.Input[str]] = None,
|
374
|
+
repeat_ends_at: Optional[pulumi.Input[str]] = None,
|
375
|
+
repeat_interval: Optional[pulumi.Input[int]] = None,
|
376
|
+
repeat_unit: Optional[pulumi.Input[str]] = None,
|
377
|
+
starts_at: Optional[pulumi.Input[str]] = None,
|
378
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None) -> 'MaintenanceWindow':
|
379
|
+
"""
|
380
|
+
Get an existing MaintenanceWindow resource's state with the given name, id, and optional extra
|
381
|
+
properties used to qualify the lookup.
|
382
|
+
|
383
|
+
:param str resource_name: The unique name of the resulting resource.
|
384
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
385
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
386
|
+
:param pulumi.Input[str] ends_at: The end date of the maintenance window.
|
387
|
+
:param pulumi.Input[str] name: The maintenance window name.
|
388
|
+
:param pulumi.Input[str] repeat_ends_at: The date on which the maintenance window should stop repeating.
|
389
|
+
:param pulumi.Input[int] repeat_interval: The repeat interval of the maintenance window from the first occurrence.
|
390
|
+
:param pulumi.Input[str] repeat_unit: The repeat cadence for the maintenance window. Possible values `DAY`, `WEEK` and `MONTH`.
|
391
|
+
:param pulumi.Input[str] starts_at: The start date of the maintenance window.
|
392
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The names of the checks and groups maintenance window should apply to.
|
393
|
+
"""
|
394
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
395
|
+
|
396
|
+
__props__ = _MaintenanceWindowState.__new__(_MaintenanceWindowState)
|
397
|
+
|
398
|
+
__props__.__dict__["ends_at"] = ends_at
|
399
|
+
__props__.__dict__["name"] = name
|
400
|
+
__props__.__dict__["repeat_ends_at"] = repeat_ends_at
|
401
|
+
__props__.__dict__["repeat_interval"] = repeat_interval
|
402
|
+
__props__.__dict__["repeat_unit"] = repeat_unit
|
403
|
+
__props__.__dict__["starts_at"] = starts_at
|
404
|
+
__props__.__dict__["tags"] = tags
|
405
|
+
return MaintenanceWindow(resource_name, opts=opts, __props__=__props__)
|
406
|
+
|
407
|
+
@property
|
408
|
+
@pulumi.getter(name="endsAt")
|
409
|
+
def ends_at(self) -> pulumi.Output[str]:
|
410
|
+
"""
|
411
|
+
The end date of the maintenance window.
|
412
|
+
"""
|
413
|
+
return pulumi.get(self, "ends_at")
|
414
|
+
|
415
|
+
@property
|
416
|
+
@pulumi.getter
|
417
|
+
def name(self) -> pulumi.Output[str]:
|
418
|
+
"""
|
419
|
+
The maintenance window name.
|
420
|
+
"""
|
421
|
+
return pulumi.get(self, "name")
|
422
|
+
|
423
|
+
@property
|
424
|
+
@pulumi.getter(name="repeatEndsAt")
|
425
|
+
def repeat_ends_at(self) -> pulumi.Output[Optional[str]]:
|
426
|
+
"""
|
427
|
+
The date on which the maintenance window should stop repeating.
|
428
|
+
"""
|
429
|
+
return pulumi.get(self, "repeat_ends_at")
|
430
|
+
|
431
|
+
@property
|
432
|
+
@pulumi.getter(name="repeatInterval")
|
433
|
+
def repeat_interval(self) -> pulumi.Output[Optional[int]]:
|
434
|
+
"""
|
435
|
+
The repeat interval of the maintenance window from the first occurrence.
|
436
|
+
"""
|
437
|
+
return pulumi.get(self, "repeat_interval")
|
438
|
+
|
439
|
+
@property
|
440
|
+
@pulumi.getter(name="repeatUnit")
|
441
|
+
def repeat_unit(self) -> pulumi.Output[Optional[str]]:
|
442
|
+
"""
|
443
|
+
The repeat cadence for the maintenance window. Possible values `DAY`, `WEEK` and `MONTH`.
|
444
|
+
"""
|
445
|
+
return pulumi.get(self, "repeat_unit")
|
446
|
+
|
447
|
+
@property
|
448
|
+
@pulumi.getter(name="startsAt")
|
449
|
+
def starts_at(self) -> pulumi.Output[str]:
|
450
|
+
"""
|
451
|
+
The start date of the maintenance window.
|
452
|
+
"""
|
453
|
+
return pulumi.get(self, "starts_at")
|
454
|
+
|
455
|
+
@property
|
456
|
+
@pulumi.getter
|
457
|
+
def tags(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
458
|
+
"""
|
459
|
+
The names of the checks and groups maintenance window should apply to.
|
460
|
+
"""
|
461
|
+
return pulumi.get(self, "tags")
|
462
|
+
|