pulumi-newrelic 5.21.0a1711028079__py3-none-any.whl → 5.22.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_newrelic/_inputs.py +69 -29
- pulumi_newrelic/browser_application.py +62 -68
- pulumi_newrelic/get_notification_destination.py +14 -1
- pulumi_newrelic/notification_destination.py +28 -0
- pulumi_newrelic/outputs.py +78 -29
- pulumi_newrelic/plugins/_inputs.py +2 -2
- pulumi_newrelic/plugins/outputs.py +2 -2
- pulumi_newrelic/synthetics/broken_links_monitor.py +131 -33
- pulumi_newrelic/synthetics/cert_check_monitor.py +135 -35
- pulumi_newrelic/synthetics/monitor.py +7 -21
- pulumi_newrelic/synthetics/script_monitor.py +7 -21
- pulumi_newrelic/synthetics/step_monitor.py +189 -25
- {pulumi_newrelic-5.21.0a1711028079.dist-info → pulumi_newrelic-5.22.0.dist-info}/METADATA +1 -1
- {pulumi_newrelic-5.21.0a1711028079.dist-info → pulumi_newrelic-5.22.0.dist-info}/RECORD +16 -16
- {pulumi_newrelic-5.21.0a1711028079.dist-info → pulumi_newrelic-5.22.0.dist-info}/WHEEL +0 -0
- {pulumi_newrelic-5.21.0a1711028079.dist-info → pulumi_newrelic-5.22.0.dist-info}/top_level.txt +0 -0
@@ -23,18 +23,22 @@ class BrokenLinksMonitorArgs:
|
|
23
23
|
locations_privates: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
24
24
|
locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
25
25
|
name: Optional[pulumi.Input[str]] = None,
|
26
|
+
runtime_type: Optional[pulumi.Input[str]] = None,
|
27
|
+
runtime_type_version: Optional[pulumi.Input[str]] = None,
|
26
28
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input['BrokenLinksMonitorTagArgs']]]] = None):
|
27
29
|
"""
|
28
30
|
The set of arguments for constructing a BrokenLinksMonitor resource.
|
29
31
|
:param pulumi.Input[str] period: The interval at which this monitor should run. Valid values are EVERY_MINUTE, EVERY_5_MINUTES, EVERY_10_MINUTES, EVERY_15_MINUTES, EVERY_30_MINUTES, EVERY_HOUR, EVERY_6_HOURS, EVERY_12_HOURS, or EVERY_DAY.
|
30
|
-
:param pulumi.Input[str] status: The monitor status (
|
31
|
-
value will soon be removed from the Terraform Provider in an upcoming release. It is highly recommended for users to
|
32
|
-
refrain from using this value and shift to alternatives.
|
32
|
+
:param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
|
33
33
|
:param pulumi.Input[str] uri: The URI the monitor runs against.
|
34
34
|
:param pulumi.Input[int] account_id: The account in which the Synthetics monitor will be created.
|
35
35
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] locations_privates: The location the monitor will run from. Accepts a list of private location GUIDs. At least one of either `locations_public` or `locations_private` is required.
|
36
36
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] locations_publics: The location the monitor will run from. Valid public locations are https://docs.newrelic.com/docs/synthetics/synthetic-monitoring/administration/synthetic-public-minion-ips/. You don't need the `AWS_` prefix as the provider uses NerdGraph. At least one of either `locations_public` or `location_private` is required.
|
37
37
|
:param pulumi.Input[str] name: The name for the monitor.
|
38
|
+
:param pulumi.Input[str] runtime_type: The runtime that the monitor will use to run jobs.
|
39
|
+
:param pulumi.Input[str] runtime_type_version: The specific version of the runtime type selected.
|
40
|
+
|
41
|
+
> **NOTE:** Currently, the values of `runtime_type` and `runtime_type_version` supported by this resource are `NODE_API` and `16.10` respectively. In order to run the monitor in the new runtime, both `runtime_type` and `runtime_type_version` need to be specified; however, specifying neither of these attributes would set this monitor to use the legacy runtime. It may also be noted that the runtime opted for would only be effective with private locations. For public locations, all traffic has been shifted to the new runtime, irrespective of the selection made.
|
38
42
|
:param pulumi.Input[Sequence[pulumi.Input['BrokenLinksMonitorTagArgs']]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details
|
39
43
|
"""
|
40
44
|
pulumi.set(__self__, "period", period)
|
@@ -48,6 +52,10 @@ class BrokenLinksMonitorArgs:
|
|
48
52
|
pulumi.set(__self__, "locations_publics", locations_publics)
|
49
53
|
if name is not None:
|
50
54
|
pulumi.set(__self__, "name", name)
|
55
|
+
if runtime_type is not None:
|
56
|
+
pulumi.set(__self__, "runtime_type", runtime_type)
|
57
|
+
if runtime_type_version is not None:
|
58
|
+
pulumi.set(__self__, "runtime_type_version", runtime_type_version)
|
51
59
|
if tags is not None:
|
52
60
|
pulumi.set(__self__, "tags", tags)
|
53
61
|
|
@@ -67,9 +75,7 @@ class BrokenLinksMonitorArgs:
|
|
67
75
|
@pulumi.getter
|
68
76
|
def status(self) -> pulumi.Input[str]:
|
69
77
|
"""
|
70
|
-
The monitor status (
|
71
|
-
value will soon be removed from the Terraform Provider in an upcoming release. It is highly recommended for users to
|
72
|
-
refrain from using this value and shift to alternatives.
|
78
|
+
The monitor status (ENABLED or DISABLED).
|
73
79
|
"""
|
74
80
|
return pulumi.get(self, "status")
|
75
81
|
|
@@ -137,6 +143,32 @@ class BrokenLinksMonitorArgs:
|
|
137
143
|
def name(self, value: Optional[pulumi.Input[str]]):
|
138
144
|
pulumi.set(self, "name", value)
|
139
145
|
|
146
|
+
@property
|
147
|
+
@pulumi.getter(name="runtimeType")
|
148
|
+
def runtime_type(self) -> Optional[pulumi.Input[str]]:
|
149
|
+
"""
|
150
|
+
The runtime that the monitor will use to run jobs.
|
151
|
+
"""
|
152
|
+
return pulumi.get(self, "runtime_type")
|
153
|
+
|
154
|
+
@runtime_type.setter
|
155
|
+
def runtime_type(self, value: Optional[pulumi.Input[str]]):
|
156
|
+
pulumi.set(self, "runtime_type", value)
|
157
|
+
|
158
|
+
@property
|
159
|
+
@pulumi.getter(name="runtimeTypeVersion")
|
160
|
+
def runtime_type_version(self) -> Optional[pulumi.Input[str]]:
|
161
|
+
"""
|
162
|
+
The specific version of the runtime type selected.
|
163
|
+
|
164
|
+
> **NOTE:** Currently, the values of `runtime_type` and `runtime_type_version` supported by this resource are `NODE_API` and `16.10` respectively. In order to run the monitor in the new runtime, both `runtime_type` and `runtime_type_version` need to be specified; however, specifying neither of these attributes would set this monitor to use the legacy runtime. It may also be noted that the runtime opted for would only be effective with private locations. For public locations, all traffic has been shifted to the new runtime, irrespective of the selection made.
|
165
|
+
"""
|
166
|
+
return pulumi.get(self, "runtime_type_version")
|
167
|
+
|
168
|
+
@runtime_type_version.setter
|
169
|
+
def runtime_type_version(self, value: Optional[pulumi.Input[str]]):
|
170
|
+
pulumi.set(self, "runtime_type_version", value)
|
171
|
+
|
140
172
|
@property
|
141
173
|
@pulumi.getter
|
142
174
|
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['BrokenLinksMonitorTagArgs']]]]:
|
@@ -160,6 +192,8 @@ class _BrokenLinksMonitorState:
|
|
160
192
|
name: Optional[pulumi.Input[str]] = None,
|
161
193
|
period: Optional[pulumi.Input[str]] = None,
|
162
194
|
period_in_minutes: Optional[pulumi.Input[int]] = None,
|
195
|
+
runtime_type: Optional[pulumi.Input[str]] = None,
|
196
|
+
runtime_type_version: Optional[pulumi.Input[str]] = None,
|
163
197
|
status: Optional[pulumi.Input[str]] = None,
|
164
198
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input['BrokenLinksMonitorTagArgs']]]] = None,
|
165
199
|
uri: Optional[pulumi.Input[str]] = None):
|
@@ -172,9 +206,11 @@ class _BrokenLinksMonitorState:
|
|
172
206
|
:param pulumi.Input[str] name: The name for the monitor.
|
173
207
|
:param pulumi.Input[str] period: The interval at which this monitor should run. Valid values are EVERY_MINUTE, EVERY_5_MINUTES, EVERY_10_MINUTES, EVERY_15_MINUTES, EVERY_30_MINUTES, EVERY_HOUR, EVERY_6_HOURS, EVERY_12_HOURS, or EVERY_DAY.
|
174
208
|
:param pulumi.Input[int] period_in_minutes: The interval in minutes at which Synthetic monitor should run.
|
175
|
-
:param pulumi.Input[str]
|
176
|
-
|
177
|
-
|
209
|
+
:param pulumi.Input[str] runtime_type: The runtime that the monitor will use to run jobs.
|
210
|
+
:param pulumi.Input[str] runtime_type_version: The specific version of the runtime type selected.
|
211
|
+
|
212
|
+
> **NOTE:** Currently, the values of `runtime_type` and `runtime_type_version` supported by this resource are `NODE_API` and `16.10` respectively. In order to run the monitor in the new runtime, both `runtime_type` and `runtime_type_version` need to be specified; however, specifying neither of these attributes would set this monitor to use the legacy runtime. It may also be noted that the runtime opted for would only be effective with private locations. For public locations, all traffic has been shifted to the new runtime, irrespective of the selection made.
|
213
|
+
:param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
|
178
214
|
:param pulumi.Input[Sequence[pulumi.Input['BrokenLinksMonitorTagArgs']]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details
|
179
215
|
:param pulumi.Input[str] uri: The URI the monitor runs against.
|
180
216
|
"""
|
@@ -192,6 +228,10 @@ class _BrokenLinksMonitorState:
|
|
192
228
|
pulumi.set(__self__, "period", period)
|
193
229
|
if period_in_minutes is not None:
|
194
230
|
pulumi.set(__self__, "period_in_minutes", period_in_minutes)
|
231
|
+
if runtime_type is not None:
|
232
|
+
pulumi.set(__self__, "runtime_type", runtime_type)
|
233
|
+
if runtime_type_version is not None:
|
234
|
+
pulumi.set(__self__, "runtime_type_version", runtime_type_version)
|
195
235
|
if status is not None:
|
196
236
|
pulumi.set(__self__, "status", status)
|
197
237
|
if tags is not None:
|
@@ -283,13 +323,37 @@ class _BrokenLinksMonitorState:
|
|
283
323
|
def period_in_minutes(self, value: Optional[pulumi.Input[int]]):
|
284
324
|
pulumi.set(self, "period_in_minutes", value)
|
285
325
|
|
326
|
+
@property
|
327
|
+
@pulumi.getter(name="runtimeType")
|
328
|
+
def runtime_type(self) -> Optional[pulumi.Input[str]]:
|
329
|
+
"""
|
330
|
+
The runtime that the monitor will use to run jobs.
|
331
|
+
"""
|
332
|
+
return pulumi.get(self, "runtime_type")
|
333
|
+
|
334
|
+
@runtime_type.setter
|
335
|
+
def runtime_type(self, value: Optional[pulumi.Input[str]]):
|
336
|
+
pulumi.set(self, "runtime_type", value)
|
337
|
+
|
338
|
+
@property
|
339
|
+
@pulumi.getter(name="runtimeTypeVersion")
|
340
|
+
def runtime_type_version(self) -> Optional[pulumi.Input[str]]:
|
341
|
+
"""
|
342
|
+
The specific version of the runtime type selected.
|
343
|
+
|
344
|
+
> **NOTE:** Currently, the values of `runtime_type` and `runtime_type_version` supported by this resource are `NODE_API` and `16.10` respectively. In order to run the monitor in the new runtime, both `runtime_type` and `runtime_type_version` need to be specified; however, specifying neither of these attributes would set this monitor to use the legacy runtime. It may also be noted that the runtime opted for would only be effective with private locations. For public locations, all traffic has been shifted to the new runtime, irrespective of the selection made.
|
345
|
+
"""
|
346
|
+
return pulumi.get(self, "runtime_type_version")
|
347
|
+
|
348
|
+
@runtime_type_version.setter
|
349
|
+
def runtime_type_version(self, value: Optional[pulumi.Input[str]]):
|
350
|
+
pulumi.set(self, "runtime_type_version", value)
|
351
|
+
|
286
352
|
@property
|
287
353
|
@pulumi.getter
|
288
354
|
def status(self) -> Optional[pulumi.Input[str]]:
|
289
355
|
"""
|
290
|
-
The monitor status (
|
291
|
-
value will soon be removed from the Terraform Provider in an upcoming release. It is highly recommended for users to
|
292
|
-
refrain from using this value and shift to alternatives.
|
356
|
+
The monitor status (ENABLED or DISABLED).
|
293
357
|
"""
|
294
358
|
return pulumi.get(self, "status")
|
295
359
|
|
@@ -332,6 +396,8 @@ class BrokenLinksMonitor(pulumi.CustomResource):
|
|
332
396
|
locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
333
397
|
name: Optional[pulumi.Input[str]] = None,
|
334
398
|
period: Optional[pulumi.Input[str]] = None,
|
399
|
+
runtime_type: Optional[pulumi.Input[str]] = None,
|
400
|
+
runtime_type_version: Optional[pulumi.Input[str]] = None,
|
335
401
|
status: Optional[pulumi.Input[str]] = None,
|
336
402
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['BrokenLinksMonitorTagArgs']]]]] = None,
|
337
403
|
uri: Optional[pulumi.Input[str]] = None,
|
@@ -346,9 +412,11 @@ class BrokenLinksMonitor(pulumi.CustomResource):
|
|
346
412
|
import pulumi
|
347
413
|
import pulumi_newrelic as newrelic
|
348
414
|
|
349
|
-
|
415
|
+
foo = newrelic.synthetics.BrokenLinksMonitor("foo",
|
350
416
|
locations_publics=["AP_SOUTH_1"],
|
351
417
|
period="EVERY_6_HOURS",
|
418
|
+
runtime_type="NODE_API",
|
419
|
+
runtime_type_version="16.10",
|
352
420
|
status="ENABLED",
|
353
421
|
tags=[newrelic.synthetics.BrokenLinksMonitorTagArgs(
|
354
422
|
key="some_key",
|
@@ -372,12 +440,12 @@ class BrokenLinksMonitor(pulumi.CustomResource):
|
|
372
440
|
import pulumi
|
373
441
|
import pulumi_newrelic as newrelic
|
374
442
|
|
375
|
-
|
376
|
-
description="
|
443
|
+
foo_private_location = newrelic.synthetics.PrivateLocation("fooPrivateLocation",
|
444
|
+
description="Sample Private Location Description",
|
377
445
|
verified_script_execution=False)
|
378
|
-
|
446
|
+
foo_broken_links_monitor = newrelic.synthetics.BrokenLinksMonitor("fooBrokenLinksMonitor",
|
379
447
|
uri="https://www.one.example.com",
|
380
|
-
locations_privates=[
|
448
|
+
locations_privates=[foo_private_location.id],
|
381
449
|
period="EVERY_6_HOURS",
|
382
450
|
status="ENABLED",
|
383
451
|
tags=[newrelic.synthetics.BrokenLinksMonitorTagArgs(
|
@@ -389,7 +457,7 @@ class BrokenLinksMonitor(pulumi.CustomResource):
|
|
389
457
|
|
390
458
|
## Import
|
391
459
|
|
392
|
-
|
460
|
+
A broken links monitor can be imported using its GUID, using the following command.
|
393
461
|
|
394
462
|
bash
|
395
463
|
|
@@ -404,9 +472,11 @@ class BrokenLinksMonitor(pulumi.CustomResource):
|
|
404
472
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] locations_publics: The location the monitor will run from. Valid public locations are https://docs.newrelic.com/docs/synthetics/synthetic-monitoring/administration/synthetic-public-minion-ips/. You don't need the `AWS_` prefix as the provider uses NerdGraph. At least one of either `locations_public` or `location_private` is required.
|
405
473
|
:param pulumi.Input[str] name: The name for the monitor.
|
406
474
|
:param pulumi.Input[str] period: The interval at which this monitor should run. Valid values are EVERY_MINUTE, EVERY_5_MINUTES, EVERY_10_MINUTES, EVERY_15_MINUTES, EVERY_30_MINUTES, EVERY_HOUR, EVERY_6_HOURS, EVERY_12_HOURS, or EVERY_DAY.
|
407
|
-
:param pulumi.Input[str]
|
408
|
-
|
409
|
-
|
475
|
+
:param pulumi.Input[str] runtime_type: The runtime that the monitor will use to run jobs.
|
476
|
+
:param pulumi.Input[str] runtime_type_version: The specific version of the runtime type selected.
|
477
|
+
|
478
|
+
> **NOTE:** Currently, the values of `runtime_type` and `runtime_type_version` supported by this resource are `NODE_API` and `16.10` respectively. In order to run the monitor in the new runtime, both `runtime_type` and `runtime_type_version` need to be specified; however, specifying neither of these attributes would set this monitor to use the legacy runtime. It may also be noted that the runtime opted for would only be effective with private locations. For public locations, all traffic has been shifted to the new runtime, irrespective of the selection made.
|
479
|
+
:param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
|
410
480
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['BrokenLinksMonitorTagArgs']]]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details
|
411
481
|
:param pulumi.Input[str] uri: The URI the monitor runs against.
|
412
482
|
"""
|
@@ -426,9 +496,11 @@ class BrokenLinksMonitor(pulumi.CustomResource):
|
|
426
496
|
import pulumi
|
427
497
|
import pulumi_newrelic as newrelic
|
428
498
|
|
429
|
-
|
499
|
+
foo = newrelic.synthetics.BrokenLinksMonitor("foo",
|
430
500
|
locations_publics=["AP_SOUTH_1"],
|
431
501
|
period="EVERY_6_HOURS",
|
502
|
+
runtime_type="NODE_API",
|
503
|
+
runtime_type_version="16.10",
|
432
504
|
status="ENABLED",
|
433
505
|
tags=[newrelic.synthetics.BrokenLinksMonitorTagArgs(
|
434
506
|
key="some_key",
|
@@ -452,12 +524,12 @@ class BrokenLinksMonitor(pulumi.CustomResource):
|
|
452
524
|
import pulumi
|
453
525
|
import pulumi_newrelic as newrelic
|
454
526
|
|
455
|
-
|
456
|
-
description="
|
527
|
+
foo_private_location = newrelic.synthetics.PrivateLocation("fooPrivateLocation",
|
528
|
+
description="Sample Private Location Description",
|
457
529
|
verified_script_execution=False)
|
458
|
-
|
530
|
+
foo_broken_links_monitor = newrelic.synthetics.BrokenLinksMonitor("fooBrokenLinksMonitor",
|
459
531
|
uri="https://www.one.example.com",
|
460
|
-
locations_privates=[
|
532
|
+
locations_privates=[foo_private_location.id],
|
461
533
|
period="EVERY_6_HOURS",
|
462
534
|
status="ENABLED",
|
463
535
|
tags=[newrelic.synthetics.BrokenLinksMonitorTagArgs(
|
@@ -469,7 +541,7 @@ class BrokenLinksMonitor(pulumi.CustomResource):
|
|
469
541
|
|
470
542
|
## Import
|
471
543
|
|
472
|
-
|
544
|
+
A broken links monitor can be imported using its GUID, using the following command.
|
473
545
|
|
474
546
|
bash
|
475
547
|
|
@@ -497,6 +569,8 @@ class BrokenLinksMonitor(pulumi.CustomResource):
|
|
497
569
|
locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
498
570
|
name: Optional[pulumi.Input[str]] = None,
|
499
571
|
period: Optional[pulumi.Input[str]] = None,
|
572
|
+
runtime_type: Optional[pulumi.Input[str]] = None,
|
573
|
+
runtime_type_version: Optional[pulumi.Input[str]] = None,
|
500
574
|
status: Optional[pulumi.Input[str]] = None,
|
501
575
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['BrokenLinksMonitorTagArgs']]]]] = None,
|
502
576
|
uri: Optional[pulumi.Input[str]] = None,
|
@@ -516,6 +590,8 @@ class BrokenLinksMonitor(pulumi.CustomResource):
|
|
516
590
|
if period is None and not opts.urn:
|
517
591
|
raise TypeError("Missing required property 'period'")
|
518
592
|
__props__.__dict__["period"] = period
|
593
|
+
__props__.__dict__["runtime_type"] = runtime_type
|
594
|
+
__props__.__dict__["runtime_type_version"] = runtime_type_version
|
519
595
|
if status is None and not opts.urn:
|
520
596
|
raise TypeError("Missing required property 'status'")
|
521
597
|
__props__.__dict__["status"] = status
|
@@ -542,6 +618,8 @@ class BrokenLinksMonitor(pulumi.CustomResource):
|
|
542
618
|
name: Optional[pulumi.Input[str]] = None,
|
543
619
|
period: Optional[pulumi.Input[str]] = None,
|
544
620
|
period_in_minutes: Optional[pulumi.Input[int]] = None,
|
621
|
+
runtime_type: Optional[pulumi.Input[str]] = None,
|
622
|
+
runtime_type_version: Optional[pulumi.Input[str]] = None,
|
545
623
|
status: Optional[pulumi.Input[str]] = None,
|
546
624
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['BrokenLinksMonitorTagArgs']]]]] = None,
|
547
625
|
uri: Optional[pulumi.Input[str]] = None) -> 'BrokenLinksMonitor':
|
@@ -559,9 +637,11 @@ class BrokenLinksMonitor(pulumi.CustomResource):
|
|
559
637
|
:param pulumi.Input[str] name: The name for the monitor.
|
560
638
|
:param pulumi.Input[str] period: The interval at which this monitor should run. Valid values are EVERY_MINUTE, EVERY_5_MINUTES, EVERY_10_MINUTES, EVERY_15_MINUTES, EVERY_30_MINUTES, EVERY_HOUR, EVERY_6_HOURS, EVERY_12_HOURS, or EVERY_DAY.
|
561
639
|
:param pulumi.Input[int] period_in_minutes: The interval in minutes at which Synthetic monitor should run.
|
562
|
-
:param pulumi.Input[str]
|
563
|
-
|
564
|
-
|
640
|
+
:param pulumi.Input[str] runtime_type: The runtime that the monitor will use to run jobs.
|
641
|
+
:param pulumi.Input[str] runtime_type_version: The specific version of the runtime type selected.
|
642
|
+
|
643
|
+
> **NOTE:** Currently, the values of `runtime_type` and `runtime_type_version` supported by this resource are `NODE_API` and `16.10` respectively. In order to run the monitor in the new runtime, both `runtime_type` and `runtime_type_version` need to be specified; however, specifying neither of these attributes would set this monitor to use the legacy runtime. It may also be noted that the runtime opted for would only be effective with private locations. For public locations, all traffic has been shifted to the new runtime, irrespective of the selection made.
|
644
|
+
:param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
|
565
645
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['BrokenLinksMonitorTagArgs']]]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details
|
566
646
|
:param pulumi.Input[str] uri: The URI the monitor runs against.
|
567
647
|
"""
|
@@ -576,6 +656,8 @@ class BrokenLinksMonitor(pulumi.CustomResource):
|
|
576
656
|
__props__.__dict__["name"] = name
|
577
657
|
__props__.__dict__["period"] = period
|
578
658
|
__props__.__dict__["period_in_minutes"] = period_in_minutes
|
659
|
+
__props__.__dict__["runtime_type"] = runtime_type
|
660
|
+
__props__.__dict__["runtime_type_version"] = runtime_type_version
|
579
661
|
__props__.__dict__["status"] = status
|
580
662
|
__props__.__dict__["tags"] = tags
|
581
663
|
__props__.__dict__["uri"] = uri
|
@@ -637,13 +719,29 @@ class BrokenLinksMonitor(pulumi.CustomResource):
|
|
637
719
|
"""
|
638
720
|
return pulumi.get(self, "period_in_minutes")
|
639
721
|
|
722
|
+
@property
|
723
|
+
@pulumi.getter(name="runtimeType")
|
724
|
+
def runtime_type(self) -> pulumi.Output[Optional[str]]:
|
725
|
+
"""
|
726
|
+
The runtime that the monitor will use to run jobs.
|
727
|
+
"""
|
728
|
+
return pulumi.get(self, "runtime_type")
|
729
|
+
|
730
|
+
@property
|
731
|
+
@pulumi.getter(name="runtimeTypeVersion")
|
732
|
+
def runtime_type_version(self) -> pulumi.Output[Optional[str]]:
|
733
|
+
"""
|
734
|
+
The specific version of the runtime type selected.
|
735
|
+
|
736
|
+
> **NOTE:** Currently, the values of `runtime_type` and `runtime_type_version` supported by this resource are `NODE_API` and `16.10` respectively. In order to run the monitor in the new runtime, both `runtime_type` and `runtime_type_version` need to be specified; however, specifying neither of these attributes would set this monitor to use the legacy runtime. It may also be noted that the runtime opted for would only be effective with private locations. For public locations, all traffic has been shifted to the new runtime, irrespective of the selection made.
|
737
|
+
"""
|
738
|
+
return pulumi.get(self, "runtime_type_version")
|
739
|
+
|
640
740
|
@property
|
641
741
|
@pulumi.getter
|
642
742
|
def status(self) -> pulumi.Output[str]:
|
643
743
|
"""
|
644
|
-
The monitor status (
|
645
|
-
value will soon be removed from the Terraform Provider in an upcoming release. It is highly recommended for users to
|
646
|
-
refrain from using this value and shift to alternatives.
|
744
|
+
The monitor status (ENABLED or DISABLED).
|
647
745
|
"""
|
648
746
|
return pulumi.get(self, "status")
|
649
747
|
|