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
@@ -24,19 +24,23 @@ class CertCheckMonitorArgs:
|
|
24
24
|
locations_privates: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
25
25
|
locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
26
26
|
name: Optional[pulumi.Input[str]] = None,
|
27
|
+
runtime_type: Optional[pulumi.Input[str]] = None,
|
28
|
+
runtime_type_version: Optional[pulumi.Input[str]] = None,
|
27
29
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input['CertCheckMonitorTagArgs']]]] = None):
|
28
30
|
"""
|
29
31
|
The set of arguments for constructing a CertCheckMonitor resource.
|
30
32
|
:param pulumi.Input[int] certificate_expiration: The desired number of remaining days until the certificate expires to trigger a monitor failure.
|
31
33
|
:param pulumi.Input[str] domain: The domain of the host that will have its certificate checked.
|
32
34
|
: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.
|
33
|
-
:param pulumi.Input[str] status: The monitor status (
|
34
|
-
value will soon be removed from the Terraform Provider in an upcoming release. It is highly recommended for users to
|
35
|
-
refrain from using this value and shift to alternatives.
|
35
|
+
:param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
|
36
36
|
:param pulumi.Input[int] account_id: The account in which the Synthetics monitor will be created.
|
37
37
|
: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.
|
38
38
|
: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.
|
39
39
|
:param pulumi.Input[str] name: The name for the monitor.
|
40
|
+
:param pulumi.Input[str] runtime_type: The runtime that the monitor will use to run jobs.
|
41
|
+
:param pulumi.Input[str] runtime_type_version: The specific version of the runtime type selected.
|
42
|
+
|
43
|
+
> **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.
|
40
44
|
:param pulumi.Input[Sequence[pulumi.Input['CertCheckMonitorTagArgs']]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details
|
41
45
|
"""
|
42
46
|
pulumi.set(__self__, "certificate_expiration", certificate_expiration)
|
@@ -51,6 +55,10 @@ class CertCheckMonitorArgs:
|
|
51
55
|
pulumi.set(__self__, "locations_publics", locations_publics)
|
52
56
|
if name is not None:
|
53
57
|
pulumi.set(__self__, "name", name)
|
58
|
+
if runtime_type is not None:
|
59
|
+
pulumi.set(__self__, "runtime_type", runtime_type)
|
60
|
+
if runtime_type_version is not None:
|
61
|
+
pulumi.set(__self__, "runtime_type_version", runtime_type_version)
|
54
62
|
if tags is not None:
|
55
63
|
pulumi.set(__self__, "tags", tags)
|
56
64
|
|
@@ -94,9 +102,7 @@ class CertCheckMonitorArgs:
|
|
94
102
|
@pulumi.getter
|
95
103
|
def status(self) -> pulumi.Input[str]:
|
96
104
|
"""
|
97
|
-
The monitor status (
|
98
|
-
value will soon be removed from the Terraform Provider in an upcoming release. It is highly recommended for users to
|
99
|
-
refrain from using this value and shift to alternatives.
|
105
|
+
The monitor status (ENABLED or DISABLED).
|
100
106
|
"""
|
101
107
|
return pulumi.get(self, "status")
|
102
108
|
|
@@ -152,6 +158,32 @@ class CertCheckMonitorArgs:
|
|
152
158
|
def name(self, value: Optional[pulumi.Input[str]]):
|
153
159
|
pulumi.set(self, "name", value)
|
154
160
|
|
161
|
+
@property
|
162
|
+
@pulumi.getter(name="runtimeType")
|
163
|
+
def runtime_type(self) -> Optional[pulumi.Input[str]]:
|
164
|
+
"""
|
165
|
+
The runtime that the monitor will use to run jobs.
|
166
|
+
"""
|
167
|
+
return pulumi.get(self, "runtime_type")
|
168
|
+
|
169
|
+
@runtime_type.setter
|
170
|
+
def runtime_type(self, value: Optional[pulumi.Input[str]]):
|
171
|
+
pulumi.set(self, "runtime_type", value)
|
172
|
+
|
173
|
+
@property
|
174
|
+
@pulumi.getter(name="runtimeTypeVersion")
|
175
|
+
def runtime_type_version(self) -> Optional[pulumi.Input[str]]:
|
176
|
+
"""
|
177
|
+
The specific version of the runtime type selected.
|
178
|
+
|
179
|
+
> **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.
|
180
|
+
"""
|
181
|
+
return pulumi.get(self, "runtime_type_version")
|
182
|
+
|
183
|
+
@runtime_type_version.setter
|
184
|
+
def runtime_type_version(self, value: Optional[pulumi.Input[str]]):
|
185
|
+
pulumi.set(self, "runtime_type_version", value)
|
186
|
+
|
155
187
|
@property
|
156
188
|
@pulumi.getter
|
157
189
|
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['CertCheckMonitorTagArgs']]]]:
|
@@ -176,6 +208,8 @@ class _CertCheckMonitorState:
|
|
176
208
|
name: Optional[pulumi.Input[str]] = None,
|
177
209
|
period: Optional[pulumi.Input[str]] = None,
|
178
210
|
period_in_minutes: Optional[pulumi.Input[int]] = None,
|
211
|
+
runtime_type: Optional[pulumi.Input[str]] = None,
|
212
|
+
runtime_type_version: Optional[pulumi.Input[str]] = None,
|
179
213
|
status: Optional[pulumi.Input[str]] = None,
|
180
214
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input['CertCheckMonitorTagArgs']]]] = None):
|
181
215
|
"""
|
@@ -188,9 +222,11 @@ class _CertCheckMonitorState:
|
|
188
222
|
:param pulumi.Input[str] name: The name for the monitor.
|
189
223
|
: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.
|
190
224
|
:param pulumi.Input[int] period_in_minutes: The interval in minutes at which Synthetic monitor should run.
|
191
|
-
:param pulumi.Input[str]
|
192
|
-
|
193
|
-
|
225
|
+
:param pulumi.Input[str] runtime_type: The runtime that the monitor will use to run jobs.
|
226
|
+
:param pulumi.Input[str] runtime_type_version: The specific version of the runtime type selected.
|
227
|
+
|
228
|
+
> **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.
|
229
|
+
:param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
|
194
230
|
:param pulumi.Input[Sequence[pulumi.Input['CertCheckMonitorTagArgs']]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details
|
195
231
|
"""
|
196
232
|
if account_id is not None:
|
@@ -209,6 +245,10 @@ class _CertCheckMonitorState:
|
|
209
245
|
pulumi.set(__self__, "period", period)
|
210
246
|
if period_in_minutes is not None:
|
211
247
|
pulumi.set(__self__, "period_in_minutes", period_in_minutes)
|
248
|
+
if runtime_type is not None:
|
249
|
+
pulumi.set(__self__, "runtime_type", runtime_type)
|
250
|
+
if runtime_type_version is not None:
|
251
|
+
pulumi.set(__self__, "runtime_type_version", runtime_type_version)
|
212
252
|
if status is not None:
|
213
253
|
pulumi.set(__self__, "status", status)
|
214
254
|
if tags is not None:
|
@@ -310,13 +350,37 @@ class _CertCheckMonitorState:
|
|
310
350
|
def period_in_minutes(self, value: Optional[pulumi.Input[int]]):
|
311
351
|
pulumi.set(self, "period_in_minutes", value)
|
312
352
|
|
353
|
+
@property
|
354
|
+
@pulumi.getter(name="runtimeType")
|
355
|
+
def runtime_type(self) -> Optional[pulumi.Input[str]]:
|
356
|
+
"""
|
357
|
+
The runtime that the monitor will use to run jobs.
|
358
|
+
"""
|
359
|
+
return pulumi.get(self, "runtime_type")
|
360
|
+
|
361
|
+
@runtime_type.setter
|
362
|
+
def runtime_type(self, value: Optional[pulumi.Input[str]]):
|
363
|
+
pulumi.set(self, "runtime_type", value)
|
364
|
+
|
365
|
+
@property
|
366
|
+
@pulumi.getter(name="runtimeTypeVersion")
|
367
|
+
def runtime_type_version(self) -> Optional[pulumi.Input[str]]:
|
368
|
+
"""
|
369
|
+
The specific version of the runtime type selected.
|
370
|
+
|
371
|
+
> **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.
|
372
|
+
"""
|
373
|
+
return pulumi.get(self, "runtime_type_version")
|
374
|
+
|
375
|
+
@runtime_type_version.setter
|
376
|
+
def runtime_type_version(self, value: Optional[pulumi.Input[str]]):
|
377
|
+
pulumi.set(self, "runtime_type_version", value)
|
378
|
+
|
313
379
|
@property
|
314
380
|
@pulumi.getter
|
315
381
|
def status(self) -> Optional[pulumi.Input[str]]:
|
316
382
|
"""
|
317
|
-
The monitor status (
|
318
|
-
value will soon be removed from the Terraform Provider in an upcoming release. It is highly recommended for users to
|
319
|
-
refrain from using this value and shift to alternatives.
|
383
|
+
The monitor status (ENABLED or DISABLED).
|
320
384
|
"""
|
321
385
|
return pulumi.get(self, "status")
|
322
386
|
|
@@ -349,6 +413,8 @@ class CertCheckMonitor(pulumi.CustomResource):
|
|
349
413
|
locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
350
414
|
name: Optional[pulumi.Input[str]] = None,
|
351
415
|
period: Optional[pulumi.Input[str]] = None,
|
416
|
+
runtime_type: Optional[pulumi.Input[str]] = None,
|
417
|
+
runtime_type_version: Optional[pulumi.Input[str]] = None,
|
352
418
|
status: Optional[pulumi.Input[str]] = None,
|
353
419
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CertCheckMonitorTagArgs']]]]] = None,
|
354
420
|
__props__=None):
|
@@ -362,11 +428,13 @@ class CertCheckMonitor(pulumi.CustomResource):
|
|
362
428
|
import pulumi
|
363
429
|
import pulumi_newrelic as newrelic
|
364
430
|
|
365
|
-
|
431
|
+
foo = newrelic.synthetics.CertCheckMonitor("foo",
|
366
432
|
certificate_expiration=10,
|
367
433
|
domain="www.example.com",
|
368
434
|
locations_publics=["AP_SOUTH_1"],
|
369
435
|
period="EVERY_6_HOURS",
|
436
|
+
runtime_type="NODE_API",
|
437
|
+
runtime_type_version="16.10",
|
370
438
|
status="ENABLED",
|
371
439
|
tags=[newrelic.synthetics.CertCheckMonitorTagArgs(
|
372
440
|
key="some_key",
|
@@ -389,12 +457,13 @@ class CertCheckMonitor(pulumi.CustomResource):
|
|
389
457
|
import pulumi
|
390
458
|
import pulumi_newrelic as newrelic
|
391
459
|
|
392
|
-
|
393
|
-
description="
|
460
|
+
foo_private_location = newrelic.synthetics.PrivateLocation("fooPrivateLocation",
|
461
|
+
description="Sample Private Location Description",
|
394
462
|
verified_script_execution=False)
|
395
|
-
|
396
|
-
domain="
|
397
|
-
locations_privates=[
|
463
|
+
foo_cert_check_monitor = newrelic.synthetics.CertCheckMonitor("fooCertCheckMonitor",
|
464
|
+
domain="www.one.example.com",
|
465
|
+
locations_privates=[foo_private_location.id],
|
466
|
+
certificate_expiration=10,
|
398
467
|
period="EVERY_6_HOURS",
|
399
468
|
status="ENABLED",
|
400
469
|
tags=[newrelic.synthetics.CertCheckMonitorTagArgs(
|
@@ -406,7 +475,7 @@ class CertCheckMonitor(pulumi.CustomResource):
|
|
406
475
|
|
407
476
|
## Import
|
408
477
|
|
409
|
-
|
478
|
+
A cert check monitor can be imported using its GUID, using the following command.
|
410
479
|
|
411
480
|
bash
|
412
481
|
|
@@ -423,9 +492,11 @@ class CertCheckMonitor(pulumi.CustomResource):
|
|
423
492
|
: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.
|
424
493
|
:param pulumi.Input[str] name: The name for the monitor.
|
425
494
|
: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.
|
426
|
-
:param pulumi.Input[str]
|
427
|
-
|
428
|
-
|
495
|
+
:param pulumi.Input[str] runtime_type: The runtime that the monitor will use to run jobs.
|
496
|
+
:param pulumi.Input[str] runtime_type_version: The specific version of the runtime type selected.
|
497
|
+
|
498
|
+
> **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.
|
499
|
+
:param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
|
429
500
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CertCheckMonitorTagArgs']]]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details
|
430
501
|
"""
|
431
502
|
...
|
@@ -444,11 +515,13 @@ class CertCheckMonitor(pulumi.CustomResource):
|
|
444
515
|
import pulumi
|
445
516
|
import pulumi_newrelic as newrelic
|
446
517
|
|
447
|
-
|
518
|
+
foo = newrelic.synthetics.CertCheckMonitor("foo",
|
448
519
|
certificate_expiration=10,
|
449
520
|
domain="www.example.com",
|
450
521
|
locations_publics=["AP_SOUTH_1"],
|
451
522
|
period="EVERY_6_HOURS",
|
523
|
+
runtime_type="NODE_API",
|
524
|
+
runtime_type_version="16.10",
|
452
525
|
status="ENABLED",
|
453
526
|
tags=[newrelic.synthetics.CertCheckMonitorTagArgs(
|
454
527
|
key="some_key",
|
@@ -471,12 +544,13 @@ class CertCheckMonitor(pulumi.CustomResource):
|
|
471
544
|
import pulumi
|
472
545
|
import pulumi_newrelic as newrelic
|
473
546
|
|
474
|
-
|
475
|
-
description="
|
547
|
+
foo_private_location = newrelic.synthetics.PrivateLocation("fooPrivateLocation",
|
548
|
+
description="Sample Private Location Description",
|
476
549
|
verified_script_execution=False)
|
477
|
-
|
478
|
-
domain="
|
479
|
-
locations_privates=[
|
550
|
+
foo_cert_check_monitor = newrelic.synthetics.CertCheckMonitor("fooCertCheckMonitor",
|
551
|
+
domain="www.one.example.com",
|
552
|
+
locations_privates=[foo_private_location.id],
|
553
|
+
certificate_expiration=10,
|
480
554
|
period="EVERY_6_HOURS",
|
481
555
|
status="ENABLED",
|
482
556
|
tags=[newrelic.synthetics.CertCheckMonitorTagArgs(
|
@@ -488,7 +562,7 @@ class CertCheckMonitor(pulumi.CustomResource):
|
|
488
562
|
|
489
563
|
## Import
|
490
564
|
|
491
|
-
|
565
|
+
A cert check monitor can be imported using its GUID, using the following command.
|
492
566
|
|
493
567
|
bash
|
494
568
|
|
@@ -518,6 +592,8 @@ class CertCheckMonitor(pulumi.CustomResource):
|
|
518
592
|
locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
519
593
|
name: Optional[pulumi.Input[str]] = None,
|
520
594
|
period: Optional[pulumi.Input[str]] = None,
|
595
|
+
runtime_type: Optional[pulumi.Input[str]] = None,
|
596
|
+
runtime_type_version: Optional[pulumi.Input[str]] = None,
|
521
597
|
status: Optional[pulumi.Input[str]] = None,
|
522
598
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CertCheckMonitorTagArgs']]]]] = None,
|
523
599
|
__props__=None):
|
@@ -542,6 +618,8 @@ class CertCheckMonitor(pulumi.CustomResource):
|
|
542
618
|
if period is None and not opts.urn:
|
543
619
|
raise TypeError("Missing required property 'period'")
|
544
620
|
__props__.__dict__["period"] = period
|
621
|
+
__props__.__dict__["runtime_type"] = runtime_type
|
622
|
+
__props__.__dict__["runtime_type_version"] = runtime_type_version
|
545
623
|
if status is None and not opts.urn:
|
546
624
|
raise TypeError("Missing required property 'status'")
|
547
625
|
__props__.__dict__["status"] = status
|
@@ -565,6 +643,8 @@ class CertCheckMonitor(pulumi.CustomResource):
|
|
565
643
|
name: Optional[pulumi.Input[str]] = None,
|
566
644
|
period: Optional[pulumi.Input[str]] = None,
|
567
645
|
period_in_minutes: Optional[pulumi.Input[int]] = None,
|
646
|
+
runtime_type: Optional[pulumi.Input[str]] = None,
|
647
|
+
runtime_type_version: Optional[pulumi.Input[str]] = None,
|
568
648
|
status: Optional[pulumi.Input[str]] = None,
|
569
649
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CertCheckMonitorTagArgs']]]]] = None) -> 'CertCheckMonitor':
|
570
650
|
"""
|
@@ -582,9 +662,11 @@ class CertCheckMonitor(pulumi.CustomResource):
|
|
582
662
|
:param pulumi.Input[str] name: The name for the monitor.
|
583
663
|
: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.
|
584
664
|
:param pulumi.Input[int] period_in_minutes: The interval in minutes at which Synthetic monitor should run.
|
585
|
-
:param pulumi.Input[str]
|
586
|
-
|
587
|
-
|
665
|
+
:param pulumi.Input[str] runtime_type: The runtime that the monitor will use to run jobs.
|
666
|
+
:param pulumi.Input[str] runtime_type_version: The specific version of the runtime type selected.
|
667
|
+
|
668
|
+
> **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.
|
669
|
+
:param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
|
588
670
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CertCheckMonitorTagArgs']]]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details
|
589
671
|
"""
|
590
672
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
@@ -599,6 +681,8 @@ class CertCheckMonitor(pulumi.CustomResource):
|
|
599
681
|
__props__.__dict__["name"] = name
|
600
682
|
__props__.__dict__["period"] = period
|
601
683
|
__props__.__dict__["period_in_minutes"] = period_in_minutes
|
684
|
+
__props__.__dict__["runtime_type"] = runtime_type
|
685
|
+
__props__.__dict__["runtime_type_version"] = runtime_type_version
|
602
686
|
__props__.__dict__["status"] = status
|
603
687
|
__props__.__dict__["tags"] = tags
|
604
688
|
return CertCheckMonitor(resource_name, opts=opts, __props__=__props__)
|
@@ -667,13 +751,29 @@ class CertCheckMonitor(pulumi.CustomResource):
|
|
667
751
|
"""
|
668
752
|
return pulumi.get(self, "period_in_minutes")
|
669
753
|
|
754
|
+
@property
|
755
|
+
@pulumi.getter(name="runtimeType")
|
756
|
+
def runtime_type(self) -> pulumi.Output[Optional[str]]:
|
757
|
+
"""
|
758
|
+
The runtime that the monitor will use to run jobs.
|
759
|
+
"""
|
760
|
+
return pulumi.get(self, "runtime_type")
|
761
|
+
|
762
|
+
@property
|
763
|
+
@pulumi.getter(name="runtimeTypeVersion")
|
764
|
+
def runtime_type_version(self) -> pulumi.Output[Optional[str]]:
|
765
|
+
"""
|
766
|
+
The specific version of the runtime type selected.
|
767
|
+
|
768
|
+
> **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.
|
769
|
+
"""
|
770
|
+
return pulumi.get(self, "runtime_type_version")
|
771
|
+
|
670
772
|
@property
|
671
773
|
@pulumi.getter
|
672
774
|
def status(self) -> pulumi.Output[str]:
|
673
775
|
"""
|
674
|
-
The monitor status (
|
675
|
-
value will soon be removed from the Terraform Provider in an upcoming release. It is highly recommended for users to
|
676
|
-
refrain from using this value and shift to alternatives.
|
776
|
+
The monitor status (ENABLED or DISABLED).
|
677
777
|
"""
|
678
778
|
return pulumi.get(self, "status")
|
679
779
|
|
@@ -38,9 +38,7 @@ class MonitorArgs:
|
|
38
38
|
verify_ssl: Optional[pulumi.Input[bool]] = None):
|
39
39
|
"""
|
40
40
|
The set of arguments for constructing a Monitor resource.
|
41
|
-
:param pulumi.Input[str] status: The monitor status (
|
42
|
-
value will soon be removed from the Terraform Provider in an upcoming release. It is highly recommended for users to
|
43
|
-
refrain from using this value and shift to alternatives.
|
41
|
+
:param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
|
44
42
|
:param pulumi.Input[str] type: The monitor type. Valid values are `SIMPLE` and `BROWSER`.
|
45
43
|
:param pulumi.Input[int] account_id: The account in which the Synthetics monitor will be created.
|
46
44
|
:param pulumi.Input[bool] bypass_head_request: Monitor should skip default HEAD request and instead use GET verb in check.
|
@@ -108,9 +106,7 @@ class MonitorArgs:
|
|
108
106
|
@pulumi.getter
|
109
107
|
def status(self) -> pulumi.Input[str]:
|
110
108
|
"""
|
111
|
-
The monitor status (
|
112
|
-
value will soon be removed from the Terraform Provider in an upcoming release. It is highly recommended for users to
|
113
|
-
refrain from using this value and shift to alternatives.
|
109
|
+
The monitor status (ENABLED or DISABLED).
|
114
110
|
"""
|
115
111
|
return pulumi.get(self, "status")
|
116
112
|
|
@@ -393,9 +389,7 @@ class _MonitorState:
|
|
393
389
|
:param pulumi.Input[str] runtime_type: The runtime type that the monitor will run.
|
394
390
|
:param pulumi.Input[str] runtime_type_version: The runtime type that the monitor will run.
|
395
391
|
:param pulumi.Input[str] script_language: The programing language that should execute the script.
|
396
|
-
:param pulumi.Input[str] status: The monitor status (
|
397
|
-
value will soon be removed from the Terraform Provider in an upcoming release. It is highly recommended for users to
|
398
|
-
refrain from using this value and shift to alternatives.
|
392
|
+
:param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
|
399
393
|
:param pulumi.Input[Sequence[pulumi.Input['MonitorTagArgs']]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details.
|
400
394
|
|
401
395
|
The `SIMPLE` monitor type supports the following additional arguments:
|
@@ -622,9 +616,7 @@ class _MonitorState:
|
|
622
616
|
@pulumi.getter
|
623
617
|
def status(self) -> Optional[pulumi.Input[str]]:
|
624
618
|
"""
|
625
|
-
The monitor status (
|
626
|
-
value will soon be removed from the Terraform Provider in an upcoming release. It is highly recommended for users to
|
627
|
-
refrain from using this value and shift to alternatives.
|
619
|
+
The monitor status (ENABLED or DISABLED).
|
628
620
|
"""
|
629
621
|
return pulumi.get(self, "status")
|
630
622
|
|
@@ -889,9 +881,7 @@ class Monitor(pulumi.CustomResource):
|
|
889
881
|
:param pulumi.Input[str] runtime_type: The runtime type that the monitor will run.
|
890
882
|
:param pulumi.Input[str] runtime_type_version: The runtime type that the monitor will run.
|
891
883
|
:param pulumi.Input[str] script_language: The programing language that should execute the script.
|
892
|
-
:param pulumi.Input[str] status: The monitor status (
|
893
|
-
value will soon be removed from the Terraform Provider in an upcoming release. It is highly recommended for users to
|
894
|
-
refrain from using this value and shift to alternatives.
|
884
|
+
:param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
|
895
885
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MonitorTagArgs']]]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details.
|
896
886
|
|
897
887
|
The `SIMPLE` monitor type supports the following additional arguments:
|
@@ -1169,9 +1159,7 @@ class Monitor(pulumi.CustomResource):
|
|
1169
1159
|
:param pulumi.Input[str] runtime_type: The runtime type that the monitor will run.
|
1170
1160
|
:param pulumi.Input[str] runtime_type_version: The runtime type that the monitor will run.
|
1171
1161
|
:param pulumi.Input[str] script_language: The programing language that should execute the script.
|
1172
|
-
:param pulumi.Input[str] status: The monitor status (
|
1173
|
-
value will soon be removed from the Terraform Provider in an upcoming release. It is highly recommended for users to
|
1174
|
-
refrain from using this value and shift to alternatives.
|
1162
|
+
:param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
|
1175
1163
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MonitorTagArgs']]]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details.
|
1176
1164
|
|
1177
1165
|
The `SIMPLE` monitor type supports the following additional arguments:
|
@@ -1326,9 +1314,7 @@ class Monitor(pulumi.CustomResource):
|
|
1326
1314
|
@pulumi.getter
|
1327
1315
|
def status(self) -> pulumi.Output[str]:
|
1328
1316
|
"""
|
1329
|
-
The monitor status (
|
1330
|
-
value will soon be removed from the Terraform Provider in an upcoming release. It is highly recommended for users to
|
1331
|
-
refrain from using this value and shift to alternatives.
|
1317
|
+
The monitor status (ENABLED or DISABLED).
|
1332
1318
|
"""
|
1333
1319
|
return pulumi.get(self, "status")
|
1334
1320
|
|
@@ -34,9 +34,7 @@ class ScriptMonitorArgs:
|
|
34
34
|
"""
|
35
35
|
The set of arguments for constructing a ScriptMonitor resource.
|
36
36
|
: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.
|
37
|
-
:param pulumi.Input[str] status: The monitor status (
|
38
|
-
value will soon be removed from the Terraform Provider in an upcoming release. It is highly recommended for users to
|
39
|
-
refrain from using this value and shift to alternatives.
|
37
|
+
:param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
|
40
38
|
:param pulumi.Input[str] type: The plaintext representing the monitor script. Valid values are SCRIPT_BROWSER or SCRIPT_API
|
41
39
|
:param pulumi.Input[int] account_id: The account in which the Synthetics monitor will be created.
|
42
40
|
:param pulumi.Input[str] device_orientation: Device emulation orientation field. Valid values are `LANDSCAPE` and `PORTRAIT`.
|
@@ -97,9 +95,7 @@ class ScriptMonitorArgs:
|
|
97
95
|
@pulumi.getter
|
98
96
|
def status(self) -> pulumi.Input[str]:
|
99
97
|
"""
|
100
|
-
The monitor status (
|
101
|
-
value will soon be removed from the Terraform Provider in an upcoming release. It is highly recommended for users to
|
102
|
-
refrain from using this value and shift to alternatives.
|
98
|
+
The monitor status (ENABLED or DISABLED).
|
103
99
|
"""
|
104
100
|
return pulumi.get(self, "status")
|
105
101
|
|
@@ -302,9 +298,7 @@ class _ScriptMonitorState:
|
|
302
298
|
:param pulumi.Input[str] runtime_type_version: The specific version of the runtime type selected.
|
303
299
|
:param pulumi.Input[str] script: The script that the monitor runs.
|
304
300
|
:param pulumi.Input[str] script_language: The programing language that should execute the script.
|
305
|
-
:param pulumi.Input[str] status: The monitor status (
|
306
|
-
value will soon be removed from the Terraform Provider in an upcoming release. It is highly recommended for users to
|
307
|
-
refrain from using this value and shift to alternatives.
|
301
|
+
:param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
|
308
302
|
:param pulumi.Input[Sequence[pulumi.Input['ScriptMonitorTagArgs']]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details.
|
309
303
|
|
310
304
|
The `SCRIPTED_BROWSER` monitor type supports the following additional argument:
|
@@ -517,9 +511,7 @@ class _ScriptMonitorState:
|
|
517
511
|
@pulumi.getter
|
518
512
|
def status(self) -> Optional[pulumi.Input[str]]:
|
519
513
|
"""
|
520
|
-
The monitor status (
|
521
|
-
value will soon be removed from the Terraform Provider in an upcoming release. It is highly recommended for users to
|
522
|
-
refrain from using this value and shift to alternatives.
|
514
|
+
The monitor status (ENABLED or DISABLED).
|
523
515
|
"""
|
524
516
|
return pulumi.get(self, "status")
|
525
517
|
|
@@ -723,9 +715,7 @@ class ScriptMonitor(pulumi.CustomResource):
|
|
723
715
|
:param pulumi.Input[str] runtime_type_version: The specific version of the runtime type selected.
|
724
716
|
:param pulumi.Input[str] script: The script that the monitor runs.
|
725
717
|
:param pulumi.Input[str] script_language: The programing language that should execute the script.
|
726
|
-
:param pulumi.Input[str] status: The monitor status (
|
727
|
-
value will soon be removed from the Terraform Provider in an upcoming release. It is highly recommended for users to
|
728
|
-
refrain from using this value and shift to alternatives.
|
718
|
+
:param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
|
729
719
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ScriptMonitorTagArgs']]]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details.
|
730
720
|
|
731
721
|
The `SCRIPTED_BROWSER` monitor type supports the following additional argument:
|
@@ -981,9 +971,7 @@ class ScriptMonitor(pulumi.CustomResource):
|
|
981
971
|
:param pulumi.Input[str] runtime_type_version: The specific version of the runtime type selected.
|
982
972
|
:param pulumi.Input[str] script: The script that the monitor runs.
|
983
973
|
:param pulumi.Input[str] script_language: The programing language that should execute the script.
|
984
|
-
:param pulumi.Input[str] status: The monitor status (
|
985
|
-
value will soon be removed from the Terraform Provider in an upcoming release. It is highly recommended for users to
|
986
|
-
refrain from using this value and shift to alternatives.
|
974
|
+
:param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
|
987
975
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ScriptMonitorTagArgs']]]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details.
|
988
976
|
|
989
977
|
The `SCRIPTED_BROWSER` monitor type supports the following additional argument:
|
@@ -1128,9 +1116,7 @@ class ScriptMonitor(pulumi.CustomResource):
|
|
1128
1116
|
@pulumi.getter
|
1129
1117
|
def status(self) -> pulumi.Output[str]:
|
1130
1118
|
"""
|
1131
|
-
The monitor status (
|
1132
|
-
value will soon be removed from the Terraform Provider in an upcoming release. It is highly recommended for users to
|
1133
|
-
refrain from using this value and shift to alternatives.
|
1119
|
+
The monitor status (ENABLED or DISABLED).
|
1134
1120
|
"""
|
1135
1121
|
return pulumi.get(self, "status")
|
1136
1122
|
|