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 StepMonitorArgs:
|
|
24
24
|
location_privates: Optional[pulumi.Input[Sequence[pulumi.Input['StepMonitorLocationPrivateArgs']]]] = 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['StepMonitorTagArgs']]]] = None):
|
28
30
|
"""
|
29
31
|
The set of arguments for constructing a StepMonitor resource.
|
30
32
|
: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.
|
31
|
-
:param pulumi.Input[str] status: The monitor status (
|
32
|
-
value will soon be removed from the Terraform Provider in an upcoming release. It is highly recommended for users to
|
33
|
-
refrain from using this value and shift to alternatives.
|
33
|
+
:param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
|
34
34
|
:param pulumi.Input[Sequence[pulumi.Input['StepMonitorStepArgs']]] steps: The steps that make up the script the monitor will run. See Nested steps blocks below for details.
|
35
35
|
:param pulumi.Input[int] account_id: The account in which the Synthetics monitor will be created.
|
36
36
|
:param pulumi.Input[bool] enable_screenshot_on_failure_and_script: Capture a screenshot during job execution.
|
37
37
|
:param pulumi.Input[Sequence[pulumi.Input['StepMonitorLocationPrivateArgs']]] location_privates: The location the monitor will run from. At least one of `locations_public` or `location_private` is required. See Nested locations_private blocks below for details.
|
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 `CHROME_BROWSER` and `100` 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['StepMonitorTagArgs']]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details.
|
41
45
|
"""
|
42
46
|
pulumi.set(__self__, "period", period)
|
@@ -52,6 +56,10 @@ class StepMonitorArgs:
|
|
52
56
|
pulumi.set(__self__, "locations_publics", locations_publics)
|
53
57
|
if name is not None:
|
54
58
|
pulumi.set(__self__, "name", name)
|
59
|
+
if runtime_type is not None:
|
60
|
+
pulumi.set(__self__, "runtime_type", runtime_type)
|
61
|
+
if runtime_type_version is not None:
|
62
|
+
pulumi.set(__self__, "runtime_type_version", runtime_type_version)
|
55
63
|
if tags is not None:
|
56
64
|
pulumi.set(__self__, "tags", tags)
|
57
65
|
|
@@ -71,9 +79,7 @@ class StepMonitorArgs:
|
|
71
79
|
@pulumi.getter
|
72
80
|
def status(self) -> pulumi.Input[str]:
|
73
81
|
"""
|
74
|
-
The monitor status (
|
75
|
-
value will soon be removed from the Terraform Provider in an upcoming release. It is highly recommended for users to
|
76
|
-
refrain from using this value and shift to alternatives.
|
82
|
+
The monitor status (ENABLED or DISABLED).
|
77
83
|
"""
|
78
84
|
return pulumi.get(self, "status")
|
79
85
|
|
@@ -153,6 +159,32 @@ class StepMonitorArgs:
|
|
153
159
|
def name(self, value: Optional[pulumi.Input[str]]):
|
154
160
|
pulumi.set(self, "name", value)
|
155
161
|
|
162
|
+
@property
|
163
|
+
@pulumi.getter(name="runtimeType")
|
164
|
+
def runtime_type(self) -> Optional[pulumi.Input[str]]:
|
165
|
+
"""
|
166
|
+
The runtime that the monitor will use to run jobs.
|
167
|
+
"""
|
168
|
+
return pulumi.get(self, "runtime_type")
|
169
|
+
|
170
|
+
@runtime_type.setter
|
171
|
+
def runtime_type(self, value: Optional[pulumi.Input[str]]):
|
172
|
+
pulumi.set(self, "runtime_type", value)
|
173
|
+
|
174
|
+
@property
|
175
|
+
@pulumi.getter(name="runtimeTypeVersion")
|
176
|
+
def runtime_type_version(self) -> Optional[pulumi.Input[str]]:
|
177
|
+
"""
|
178
|
+
The specific version of the runtime type selected.
|
179
|
+
|
180
|
+
> **NOTE:** Currently, the values of `runtime_type` and `runtime_type_version` supported by this resource are `CHROME_BROWSER` and `100` 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.
|
181
|
+
"""
|
182
|
+
return pulumi.get(self, "runtime_type_version")
|
183
|
+
|
184
|
+
@runtime_type_version.setter
|
185
|
+
def runtime_type_version(self, value: Optional[pulumi.Input[str]]):
|
186
|
+
pulumi.set(self, "runtime_type_version", value)
|
187
|
+
|
156
188
|
@property
|
157
189
|
@pulumi.getter
|
158
190
|
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['StepMonitorTagArgs']]]]:
|
@@ -177,6 +209,8 @@ class _StepMonitorState:
|
|
177
209
|
name: Optional[pulumi.Input[str]] = None,
|
178
210
|
period: Optional[pulumi.Input[str]] = None,
|
179
211
|
period_in_minutes: Optional[pulumi.Input[int]] = None,
|
212
|
+
runtime_type: Optional[pulumi.Input[str]] = None,
|
213
|
+
runtime_type_version: Optional[pulumi.Input[str]] = None,
|
180
214
|
status: Optional[pulumi.Input[str]] = None,
|
181
215
|
steps: Optional[pulumi.Input[Sequence[pulumi.Input['StepMonitorStepArgs']]]] = None,
|
182
216
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input['StepMonitorTagArgs']]]] = None):
|
@@ -190,9 +224,11 @@ class _StepMonitorState:
|
|
190
224
|
:param pulumi.Input[str] name: The name for the monitor.
|
191
225
|
: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.
|
192
226
|
:param pulumi.Input[int] period_in_minutes: The interval in minutes at which Synthetic monitor should run.
|
193
|
-
:param pulumi.Input[str]
|
194
|
-
|
195
|
-
|
227
|
+
:param pulumi.Input[str] runtime_type: The runtime that the monitor will use to run jobs.
|
228
|
+
:param pulumi.Input[str] runtime_type_version: The specific version of the runtime type selected.
|
229
|
+
|
230
|
+
> **NOTE:** Currently, the values of `runtime_type` and `runtime_type_version` supported by this resource are `CHROME_BROWSER` and `100` 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.
|
231
|
+
:param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
|
196
232
|
:param pulumi.Input[Sequence[pulumi.Input['StepMonitorStepArgs']]] steps: The steps that make up the script the monitor will run. See Nested steps blocks below for details.
|
197
233
|
:param pulumi.Input[Sequence[pulumi.Input['StepMonitorTagArgs']]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details.
|
198
234
|
"""
|
@@ -212,6 +248,10 @@ class _StepMonitorState:
|
|
212
248
|
pulumi.set(__self__, "period", period)
|
213
249
|
if period_in_minutes is not None:
|
214
250
|
pulumi.set(__self__, "period_in_minutes", period_in_minutes)
|
251
|
+
if runtime_type is not None:
|
252
|
+
pulumi.set(__self__, "runtime_type", runtime_type)
|
253
|
+
if runtime_type_version is not None:
|
254
|
+
pulumi.set(__self__, "runtime_type_version", runtime_type_version)
|
215
255
|
if status is not None:
|
216
256
|
pulumi.set(__self__, "status", status)
|
217
257
|
if steps is not None:
|
@@ -315,13 +355,37 @@ class _StepMonitorState:
|
|
315
355
|
def period_in_minutes(self, value: Optional[pulumi.Input[int]]):
|
316
356
|
pulumi.set(self, "period_in_minutes", value)
|
317
357
|
|
358
|
+
@property
|
359
|
+
@pulumi.getter(name="runtimeType")
|
360
|
+
def runtime_type(self) -> Optional[pulumi.Input[str]]:
|
361
|
+
"""
|
362
|
+
The runtime that the monitor will use to run jobs.
|
363
|
+
"""
|
364
|
+
return pulumi.get(self, "runtime_type")
|
365
|
+
|
366
|
+
@runtime_type.setter
|
367
|
+
def runtime_type(self, value: Optional[pulumi.Input[str]]):
|
368
|
+
pulumi.set(self, "runtime_type", value)
|
369
|
+
|
370
|
+
@property
|
371
|
+
@pulumi.getter(name="runtimeTypeVersion")
|
372
|
+
def runtime_type_version(self) -> Optional[pulumi.Input[str]]:
|
373
|
+
"""
|
374
|
+
The specific version of the runtime type selected.
|
375
|
+
|
376
|
+
> **NOTE:** Currently, the values of `runtime_type` and `runtime_type_version` supported by this resource are `CHROME_BROWSER` and `100` 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.
|
377
|
+
"""
|
378
|
+
return pulumi.get(self, "runtime_type_version")
|
379
|
+
|
380
|
+
@runtime_type_version.setter
|
381
|
+
def runtime_type_version(self, value: Optional[pulumi.Input[str]]):
|
382
|
+
pulumi.set(self, "runtime_type_version", value)
|
383
|
+
|
318
384
|
@property
|
319
385
|
@pulumi.getter
|
320
386
|
def status(self) -> Optional[pulumi.Input[str]]:
|
321
387
|
"""
|
322
|
-
The monitor status (
|
323
|
-
value will soon be removed from the Terraform Provider in an upcoming release. It is highly recommended for users to
|
324
|
-
refrain from using this value and shift to alternatives.
|
388
|
+
The monitor status (ENABLED or DISABLED).
|
325
389
|
"""
|
326
390
|
return pulumi.get(self, "status")
|
327
391
|
|
@@ -365,6 +429,8 @@ class StepMonitor(pulumi.CustomResource):
|
|
365
429
|
locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
366
430
|
name: Optional[pulumi.Input[str]] = None,
|
367
431
|
period: Optional[pulumi.Input[str]] = None,
|
432
|
+
runtime_type: Optional[pulumi.Input[str]] = None,
|
433
|
+
runtime_type_version: Optional[pulumi.Input[str]] = None,
|
368
434
|
status: Optional[pulumi.Input[str]] = None,
|
369
435
|
steps: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['StepMonitorStepArgs']]]]] = None,
|
370
436
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['StepMonitorTagArgs']]]]] = None,
|
@@ -379,13 +445,15 @@ class StepMonitor(pulumi.CustomResource):
|
|
379
445
|
import pulumi
|
380
446
|
import pulumi_newrelic as newrelic
|
381
447
|
|
382
|
-
|
448
|
+
foo = newrelic.synthetics.StepMonitor("foo",
|
383
449
|
enable_screenshot_on_failure_and_script=True,
|
384
450
|
locations_publics=[
|
385
451
|
"US_EAST_1",
|
386
452
|
"US_EAST_2",
|
387
453
|
],
|
388
454
|
period="EVERY_6_HOURS",
|
455
|
+
runtime_type="CHROME_BROWSER",
|
456
|
+
runtime_type_version="100",
|
389
457
|
status="ENABLED",
|
390
458
|
steps=[newrelic.synthetics.StepMonitorStepArgs(
|
391
459
|
ordinal=0,
|
@@ -402,9 +470,42 @@ class StepMonitor(pulumi.CustomResource):
|
|
402
470
|
|
403
471
|
## Additional Examples
|
404
472
|
|
473
|
+
### Create a monitor with a private location
|
474
|
+
|
475
|
+
The below example shows how you can define a private location and attach it to a monitor.
|
476
|
+
|
477
|
+
> **NOTE:** It can take up to 10 minutes for a private location to become available.
|
478
|
+
|
479
|
+
<!--Start PulumiCodeChooser -->
|
480
|
+
```python
|
481
|
+
import pulumi
|
482
|
+
import pulumi_newrelic as newrelic
|
483
|
+
|
484
|
+
foo_private_location = newrelic.synthetics.PrivateLocation("fooPrivateLocation",
|
485
|
+
description="Sample Private Location Description",
|
486
|
+
verified_script_execution=True)
|
487
|
+
foo_step_monitor = newrelic.synthetics.StepMonitor("fooStepMonitor",
|
488
|
+
period="EVERY_6_HOURS",
|
489
|
+
status="ENABLED",
|
490
|
+
location_privates=[newrelic.synthetics.StepMonitorLocationPrivateArgs(
|
491
|
+
guid=foo_private_location.id,
|
492
|
+
vse_password="secret",
|
493
|
+
)],
|
494
|
+
steps=[newrelic.synthetics.StepMonitorStepArgs(
|
495
|
+
ordinal=0,
|
496
|
+
type="NAVIGATE",
|
497
|
+
values=["https://google.com"],
|
498
|
+
)],
|
499
|
+
tags=[newrelic.synthetics.StepMonitorTagArgs(
|
500
|
+
key="some_key",
|
501
|
+
values=["some_value"],
|
502
|
+
)])
|
503
|
+
```
|
504
|
+
<!--End PulumiCodeChooser -->
|
505
|
+
|
405
506
|
## Import
|
406
507
|
|
407
|
-
|
508
|
+
A step monitor can be imported using its GUID, using the following command.
|
408
509
|
|
409
510
|
bash
|
410
511
|
|
@@ -420,9 +521,11 @@ class StepMonitor(pulumi.CustomResource):
|
|
420
521
|
: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.
|
421
522
|
:param pulumi.Input[str] name: The name for the monitor.
|
422
523
|
: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.
|
423
|
-
:param pulumi.Input[str]
|
424
|
-
|
425
|
-
|
524
|
+
:param pulumi.Input[str] runtime_type: The runtime that the monitor will use to run jobs.
|
525
|
+
:param pulumi.Input[str] runtime_type_version: The specific version of the runtime type selected.
|
526
|
+
|
527
|
+
> **NOTE:** Currently, the values of `runtime_type` and `runtime_type_version` supported by this resource are `CHROME_BROWSER` and `100` 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.
|
528
|
+
:param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
|
426
529
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['StepMonitorStepArgs']]]] steps: The steps that make up the script the monitor will run. See Nested steps blocks below for details.
|
427
530
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['StepMonitorTagArgs']]]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details.
|
428
531
|
"""
|
@@ -442,13 +545,15 @@ class StepMonitor(pulumi.CustomResource):
|
|
442
545
|
import pulumi
|
443
546
|
import pulumi_newrelic as newrelic
|
444
547
|
|
445
|
-
|
548
|
+
foo = newrelic.synthetics.StepMonitor("foo",
|
446
549
|
enable_screenshot_on_failure_and_script=True,
|
447
550
|
locations_publics=[
|
448
551
|
"US_EAST_1",
|
449
552
|
"US_EAST_2",
|
450
553
|
],
|
451
554
|
period="EVERY_6_HOURS",
|
555
|
+
runtime_type="CHROME_BROWSER",
|
556
|
+
runtime_type_version="100",
|
452
557
|
status="ENABLED",
|
453
558
|
steps=[newrelic.synthetics.StepMonitorStepArgs(
|
454
559
|
ordinal=0,
|
@@ -465,9 +570,42 @@ class StepMonitor(pulumi.CustomResource):
|
|
465
570
|
|
466
571
|
## Additional Examples
|
467
572
|
|
573
|
+
### Create a monitor with a private location
|
574
|
+
|
575
|
+
The below example shows how you can define a private location and attach it to a monitor.
|
576
|
+
|
577
|
+
> **NOTE:** It can take up to 10 minutes for a private location to become available.
|
578
|
+
|
579
|
+
<!--Start PulumiCodeChooser -->
|
580
|
+
```python
|
581
|
+
import pulumi
|
582
|
+
import pulumi_newrelic as newrelic
|
583
|
+
|
584
|
+
foo_private_location = newrelic.synthetics.PrivateLocation("fooPrivateLocation",
|
585
|
+
description="Sample Private Location Description",
|
586
|
+
verified_script_execution=True)
|
587
|
+
foo_step_monitor = newrelic.synthetics.StepMonitor("fooStepMonitor",
|
588
|
+
period="EVERY_6_HOURS",
|
589
|
+
status="ENABLED",
|
590
|
+
location_privates=[newrelic.synthetics.StepMonitorLocationPrivateArgs(
|
591
|
+
guid=foo_private_location.id,
|
592
|
+
vse_password="secret",
|
593
|
+
)],
|
594
|
+
steps=[newrelic.synthetics.StepMonitorStepArgs(
|
595
|
+
ordinal=0,
|
596
|
+
type="NAVIGATE",
|
597
|
+
values=["https://google.com"],
|
598
|
+
)],
|
599
|
+
tags=[newrelic.synthetics.StepMonitorTagArgs(
|
600
|
+
key="some_key",
|
601
|
+
values=["some_value"],
|
602
|
+
)])
|
603
|
+
```
|
604
|
+
<!--End PulumiCodeChooser -->
|
605
|
+
|
468
606
|
## Import
|
469
607
|
|
470
|
-
|
608
|
+
A step monitor can be imported using its GUID, using the following command.
|
471
609
|
|
472
610
|
bash
|
473
611
|
|
@@ -496,6 +634,8 @@ class StepMonitor(pulumi.CustomResource):
|
|
496
634
|
locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
497
635
|
name: Optional[pulumi.Input[str]] = None,
|
498
636
|
period: Optional[pulumi.Input[str]] = None,
|
637
|
+
runtime_type: Optional[pulumi.Input[str]] = None,
|
638
|
+
runtime_type_version: Optional[pulumi.Input[str]] = None,
|
499
639
|
status: Optional[pulumi.Input[str]] = None,
|
500
640
|
steps: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['StepMonitorStepArgs']]]]] = None,
|
501
641
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['StepMonitorTagArgs']]]]] = None,
|
@@ -516,6 +656,8 @@ class StepMonitor(pulumi.CustomResource):
|
|
516
656
|
if period is None and not opts.urn:
|
517
657
|
raise TypeError("Missing required property 'period'")
|
518
658
|
__props__.__dict__["period"] = period
|
659
|
+
__props__.__dict__["runtime_type"] = runtime_type
|
660
|
+
__props__.__dict__["runtime_type_version"] = runtime_type_version
|
519
661
|
if status is None and not opts.urn:
|
520
662
|
raise TypeError("Missing required property 'status'")
|
521
663
|
__props__.__dict__["status"] = status
|
@@ -543,6 +685,8 @@ class StepMonitor(pulumi.CustomResource):
|
|
543
685
|
name: Optional[pulumi.Input[str]] = None,
|
544
686
|
period: Optional[pulumi.Input[str]] = None,
|
545
687
|
period_in_minutes: Optional[pulumi.Input[int]] = None,
|
688
|
+
runtime_type: Optional[pulumi.Input[str]] = None,
|
689
|
+
runtime_type_version: Optional[pulumi.Input[str]] = None,
|
546
690
|
status: Optional[pulumi.Input[str]] = None,
|
547
691
|
steps: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['StepMonitorStepArgs']]]]] = None,
|
548
692
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['StepMonitorTagArgs']]]]] = None) -> 'StepMonitor':
|
@@ -561,9 +705,11 @@ class StepMonitor(pulumi.CustomResource):
|
|
561
705
|
:param pulumi.Input[str] name: The name for the monitor.
|
562
706
|
: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.
|
563
707
|
:param pulumi.Input[int] period_in_minutes: The interval in minutes at which Synthetic monitor should run.
|
564
|
-
:param pulumi.Input[str]
|
565
|
-
|
566
|
-
|
708
|
+
:param pulumi.Input[str] runtime_type: The runtime that the monitor will use to run jobs.
|
709
|
+
:param pulumi.Input[str] runtime_type_version: The specific version of the runtime type selected.
|
710
|
+
|
711
|
+
> **NOTE:** Currently, the values of `runtime_type` and `runtime_type_version` supported by this resource are `CHROME_BROWSER` and `100` 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.
|
712
|
+
:param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
|
567
713
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['StepMonitorStepArgs']]]] steps: The steps that make up the script the monitor will run. See Nested steps blocks below for details.
|
568
714
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['StepMonitorTagArgs']]]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details.
|
569
715
|
"""
|
@@ -579,6 +725,8 @@ class StepMonitor(pulumi.CustomResource):
|
|
579
725
|
__props__.__dict__["name"] = name
|
580
726
|
__props__.__dict__["period"] = period
|
581
727
|
__props__.__dict__["period_in_minutes"] = period_in_minutes
|
728
|
+
__props__.__dict__["runtime_type"] = runtime_type
|
729
|
+
__props__.__dict__["runtime_type_version"] = runtime_type_version
|
582
730
|
__props__.__dict__["status"] = status
|
583
731
|
__props__.__dict__["steps"] = steps
|
584
732
|
__props__.__dict__["tags"] = tags
|
@@ -648,13 +796,29 @@ class StepMonitor(pulumi.CustomResource):
|
|
648
796
|
"""
|
649
797
|
return pulumi.get(self, "period_in_minutes")
|
650
798
|
|
799
|
+
@property
|
800
|
+
@pulumi.getter(name="runtimeType")
|
801
|
+
def runtime_type(self) -> pulumi.Output[Optional[str]]:
|
802
|
+
"""
|
803
|
+
The runtime that the monitor will use to run jobs.
|
804
|
+
"""
|
805
|
+
return pulumi.get(self, "runtime_type")
|
806
|
+
|
807
|
+
@property
|
808
|
+
@pulumi.getter(name="runtimeTypeVersion")
|
809
|
+
def runtime_type_version(self) -> pulumi.Output[Optional[str]]:
|
810
|
+
"""
|
811
|
+
The specific version of the runtime type selected.
|
812
|
+
|
813
|
+
> **NOTE:** Currently, the values of `runtime_type` and `runtime_type_version` supported by this resource are `CHROME_BROWSER` and `100` 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.
|
814
|
+
"""
|
815
|
+
return pulumi.get(self, "runtime_type_version")
|
816
|
+
|
651
817
|
@property
|
652
818
|
@pulumi.getter
|
653
819
|
def status(self) -> pulumi.Output[str]:
|
654
820
|
"""
|
655
|
-
The monitor status (
|
656
|
-
value will soon be removed from the Terraform Provider in an upcoming release. It is highly recommended for users to
|
657
|
-
refrain from using this value and shift to alternatives.
|
821
|
+
The monitor status (ENABLED or DISABLED).
|
658
822
|
"""
|
659
823
|
return pulumi.get(self, "status")
|
660
824
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
pulumi_newrelic/__init__.py,sha256=Ekxa_c_Z6YcPWbvb7FFvd3lBPGRctMTA9rQGGzd13Ts,11328
|
2
|
-
pulumi_newrelic/_inputs.py,sha256=
|
2
|
+
pulumi_newrelic/_inputs.py,sha256=JGtADkz_crglB3eD2GkRGl_xdFIphx9W9I-r_8iwvSk,480744
|
3
3
|
pulumi_newrelic/_utilities.py,sha256=b6gJn0IIeM1t6Q7EVjqw3yhuGyP-uENQhtL5yp7aHR8,9248
|
4
4
|
pulumi_newrelic/account_management.py,sha256=s6N58vHOYTkFTvJzqOgD-ccytFdHERL2s_r_itSlrXM,8845
|
5
5
|
pulumi_newrelic/alert_channel.py,sha256=PWZanRviw-SAxmrJq4t-zKv1hGVOpqlBMqVScNJedvw,21984
|
@@ -8,7 +8,7 @@ pulumi_newrelic/alert_muting_rule.py,sha256=iQYHhcHRqgRGvz66U8IQUK1LtpGX1DYxBp1L
|
|
8
8
|
pulumi_newrelic/alert_policy.py,sha256=LguQVqaggdNinHA9fvCInF6kv0oeYoY5u4pxcrZX8Zg,26575
|
9
9
|
pulumi_newrelic/alert_policy_channel.py,sha256=gjED_ZNMdl-SW5mPzht5bImnCQ60jinlxUIMogAzX0k,15199
|
10
10
|
pulumi_newrelic/api_access_key.py,sha256=ImnIbxvvPDRb4Lhf8uaANZYYkeKDhVet_AmUwPJyaW8,21435
|
11
|
-
pulumi_newrelic/browser_application.py,sha256=
|
11
|
+
pulumi_newrelic/browser_application.py,sha256=qV2660Zxy_hcI6qzL63WdxjU86QvPcsnBLjIu6jXsCg,21042
|
12
12
|
pulumi_newrelic/data_partition_rule.py,sha256=O0F6TN64NqGcmx_GWzfKpVZg8GqvjObQT6L2K3kku7E,20589
|
13
13
|
pulumi_newrelic/entity_tags.py,sha256=ijH5CxF0wVVFPmX6KVFF_ulyFMac3WsNmEl46FNB7LM,10331
|
14
14
|
pulumi_newrelic/events_to_metrics_rule.py,sha256=IrtEh-uWBgbZy8EXOG2ITo4Rf7YemQNoUe41-wcdvWo,16044
|
@@ -21,7 +21,7 @@ pulumi_newrelic/get_cloud_account.py,sha256=6ZH4EJKd496uCt1rD5wYsfZxxJTPEi0g_biu
|
|
21
21
|
pulumi_newrelic/get_entity.py,sha256=n2kX6l4YbWz6ij3YWksdm0OpCqxZOHbkUxbLwJLXSE4,15853
|
22
22
|
pulumi_newrelic/get_group.py,sha256=taAkgQqBRxv_jkwl6sD-EYqWyqThF0LSKpUeBJbD3as,5803
|
23
23
|
pulumi_newrelic/get_key_transaction.py,sha256=MVb6rIX0nEOd4IR7ynQZa0quksdkZrm2coGB_Q7j76I,4221
|
24
|
-
pulumi_newrelic/get_notification_destination.py,sha256=
|
24
|
+
pulumi_newrelic/get_notification_destination.py,sha256=0xLd5ibPy8VNvBHBLss_GIXu50Zd9A8mxzeF4e9-57E,6799
|
25
25
|
pulumi_newrelic/get_obfuscation_expression.py,sha256=fSpfxkyvph20r6JD6pGtrQCIglRaADUnCoQUS3UHCI0,5007
|
26
26
|
pulumi_newrelic/get_service_level_alert_helper.py,sha256=fSlXPtnYD-CWTCbbPZmkZr_3PhXWeyRxueU3yN6dVW0,20560
|
27
27
|
pulumi_newrelic/get_test_grok_pattern.py,sha256=pzspH3YKGEfw9FL0mJZfNzXXpd1mybQ3QBW8IN7cbGQ,5644
|
@@ -31,7 +31,7 @@ pulumi_newrelic/infra_alert_condition.py,sha256=Nrlexa4g2l_qgl2M4DDpEe-pxE5f6fz0
|
|
31
31
|
pulumi_newrelic/log_parsing_rule.py,sha256=mvgbaPWavaoFyXqaplGVtdb226v-IkZpeMxcAGrUe2A,22582
|
32
32
|
pulumi_newrelic/monitor_downtime.py,sha256=2aCFAgYiPiO_nBXcrvNVzf6QRVzLQtAs6qkdh5aYfZg,46150
|
33
33
|
pulumi_newrelic/notification_channel.py,sha256=O54FGSeanMaJIJ9OudXUp6HfsHyUchYYXAC3WSnYI6M,46822
|
34
|
-
pulumi_newrelic/notification_destination.py,sha256=
|
34
|
+
pulumi_newrelic/notification_destination.py,sha256=oayzxqHXi2D20EqVrAkGlc-hSgdr9yqW342tktN8aVw,29443
|
35
35
|
pulumi_newrelic/nrql_alert_condition.py,sha256=pGxEfYuC5XJzduBm06WhEbQmJvF0Za1yx21CSiBf1D4,106341
|
36
36
|
pulumi_newrelic/nrql_drop_rule.py,sha256=BOCGXd8gugGmZXFtJThzcHrKdCuXWOdFFud8X_7kyxA,17682
|
37
37
|
pulumi_newrelic/obfuscation_expression.py,sha256=kg28CSPY_H3HEvFNmX23viizOcSt24bP_KISIsB1228,12445
|
@@ -39,7 +39,7 @@ pulumi_newrelic/obfuscation_rule.py,sha256=ZvjFqN3tB-k7yJHUzQ5l_IMdqL3We6sdTHL2S
|
|
39
39
|
pulumi_newrelic/one_dashboard.py,sha256=WV_3eumopsQ26zEzcivKMc5lLKsWQdLBQhouUgr-BEE,20490
|
40
40
|
pulumi_newrelic/one_dashboard_json.py,sha256=nol5XYIGnZImO2UfE3QbQVSMTxlC4FlVLf0VzuNALJU,12622
|
41
41
|
pulumi_newrelic/one_dashboard_raw.py,sha256=_MmaSoHiILB0Xv3dP-3m0gXRWaA1vjYSarcvPliIrUo,23274
|
42
|
-
pulumi_newrelic/outputs.py,sha256=
|
42
|
+
pulumi_newrelic/outputs.py,sha256=DY1J50MRpGwv5qfFg10iurt1hvOhOam7y4ipkHqX4II,473891
|
43
43
|
pulumi_newrelic/provider.py,sha256=VPXhUfFLSVoIFew1P_oy7pHeondN5LbHsLoLqD3z7qs,19536
|
44
44
|
pulumi_newrelic/pulumi-plugin.json,sha256=BB2nuoRbgCmufIppkKjSbeCa7oIqt8NBakO_A4QV0Pk,45
|
45
45
|
pulumi_newrelic/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -65,25 +65,25 @@ pulumi_newrelic/insights/_inputs.py,sha256=_N6liJuXjt9GK3HWgA94q0fLjAckJd6Ou5ntA
|
|
65
65
|
pulumi_newrelic/insights/event.py,sha256=OGFe9Z0aRRQTYokCS6fN1HqUU4SITjr2m3TLhLsRODA,10210
|
66
66
|
pulumi_newrelic/insights/outputs.py,sha256=Rsw2x8EcSF_LE4pt_9jJtoF_ut0D1S4cRCxPzCIBVsU,3335
|
67
67
|
pulumi_newrelic/plugins/__init__.py,sha256=UeoukmKyu6Xm6K4W4z5N_CzyB634ttFEcP7GH9nTyeA,374
|
68
|
-
pulumi_newrelic/plugins/_inputs.py,sha256=
|
68
|
+
pulumi_newrelic/plugins/_inputs.py,sha256=b7IKzTFR-FIfze1pBJTRzorpBmXjjjnF6Y0YEWHg5q8,17148
|
69
69
|
pulumi_newrelic/plugins/application_settings.py,sha256=BKJfmPz-f5IvhSVWaFKua-C-lRs9OLKE3i36M2shtWI,16195
|
70
|
-
pulumi_newrelic/plugins/outputs.py,sha256
|
70
|
+
pulumi_newrelic/plugins/outputs.py,sha256=tC2nwOR7WwyxhXt5IRgjNcJxTE7411QCzz4kx4D-xqM,16961
|
71
71
|
pulumi_newrelic/plugins/workload.py,sha256=p-ff2bqWLZcmpaDKjdZICgdm0yjRxRo9IhnHC0RXkX8,36362
|
72
72
|
pulumi_newrelic/synthetics/__init__.py,sha256=8O5SCapCaxLPwCnTDb8XJ3w1Vw_1avXP4bCZ3bTXxMs,680
|
73
73
|
pulumi_newrelic/synthetics/_inputs.py,sha256=F8ecjlj2j3gv0oWwFNYGht9gktjMDumW-_hxoz852UE,13597
|
74
74
|
pulumi_newrelic/synthetics/alert_condition.py,sha256=ngkIeaXtjCYl-Rw7Qyoo9RYXzts0UX_4Vojlw9taZHk,21478
|
75
|
-
pulumi_newrelic/synthetics/broken_links_monitor.py,sha256=
|
76
|
-
pulumi_newrelic/synthetics/cert_check_monitor.py,sha256=
|
75
|
+
pulumi_newrelic/synthetics/broken_links_monitor.py,sha256=sfor-foN-nRGyf2FObu21j8xcm1mbFKmGwZVdZklLB4,39239
|
76
|
+
pulumi_newrelic/synthetics/cert_check_monitor.py,sha256=ySNLlqY6s_3xdkaiW9NnCc_dDqyZtRTAw7QXmdiqLZU,41331
|
77
77
|
pulumi_newrelic/synthetics/get_private_location.py,sha256=uN_Tq4sjJVbiS0QCxNjEesZVGuZfIDk63FCauArTWQ0,6067
|
78
78
|
pulumi_newrelic/synthetics/get_secure_credential.py,sha256=RpMMEU2-hCoKZ8oT0rrCq8Rk0skr90NQtuEpM9L-T3M,5619
|
79
|
-
pulumi_newrelic/synthetics/monitor.py,sha256=
|
79
|
+
pulumi_newrelic/synthetics/monitor.py,sha256=upmGkp6ZfE4aaYEol05WXQJiXaFPxhOzWiRh0Q6XueI,63966
|
80
80
|
pulumi_newrelic/synthetics/multi_location_alert_condition.py,sha256=di1V2yKwIbpTB8Gj3Ab5Ei09VyQy94wChR11cCOPbiY,35063
|
81
81
|
pulumi_newrelic/synthetics/outputs.py,sha256=vYBs8vBYKPBJoLpopcyZbVX8bHCXTuCx4hFehc4R_Hs,11169
|
82
82
|
pulumi_newrelic/synthetics/private_location.py,sha256=sfKNs1-BdEdbrvAsG7N07p6OY1NsY7IiAvpFJjm8a6E,17325
|
83
|
-
pulumi_newrelic/synthetics/script_monitor.py,sha256=
|
83
|
+
pulumi_newrelic/synthetics/script_monitor.py,sha256=0xaDofutIIa8d14pbLwnjTduwbR_F5mKCB6hz7ExRZE,53295
|
84
84
|
pulumi_newrelic/synthetics/secure_credential.py,sha256=zniaAb_wXwph3sPSxo_aU--DIgAl7TUR90-DxRBLhac,15758
|
85
|
-
pulumi_newrelic/synthetics/step_monitor.py,sha256=
|
86
|
-
pulumi_newrelic-5.
|
87
|
-
pulumi_newrelic-5.
|
88
|
-
pulumi_newrelic-5.
|
89
|
-
pulumi_newrelic-5.
|
85
|
+
pulumi_newrelic/synthetics/step_monitor.py,sha256=SaBC-fyz25C8vTSBIiDpFeXk5T5UGnMQ-1oW3sOjr6o,44597
|
86
|
+
pulumi_newrelic-5.22.0.dist-info/METADATA,sha256=BstnWxSu5MjJdcmJzmzVGIEH2Jyk7Zc9ZLHqgSNiRLk,3889
|
87
|
+
pulumi_newrelic-5.22.0.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
88
|
+
pulumi_newrelic-5.22.0.dist-info/top_level.txt,sha256=BjE1Wsu6Ah_A7k08uV5vRSZ2R_5uY3wFvSWJaa7ZoQk,16
|
89
|
+
pulumi_newrelic-5.22.0.dist-info/RECORD,,
|
File without changes
|
{pulumi_newrelic-5.21.0a1711028079.dist-info → pulumi_newrelic-5.22.0.dist-info}/top_level.txt
RENAMED
File without changes
|