pulumi-newrelic 5.32.0a1726033931__py3-none-any.whl → 5.32.0a1726258199__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/cloud/aws_integrations.py +350 -1152
- pulumi_newrelic/pulumi-plugin.json +1 -1
- pulumi_newrelic/synthetics/monitor.py +148 -34
- pulumi_newrelic/synthetics/script_monitor.py +140 -26
- pulumi_newrelic/synthetics/step_monitor.py +136 -7
- {pulumi_newrelic-5.32.0a1726033931.dist-info → pulumi_newrelic-5.32.0a1726258199.dist-info}/METADATA +1 -1
- {pulumi_newrelic-5.32.0a1726033931.dist-info → pulumi_newrelic-5.32.0a1726258199.dist-info}/RECORD +9 -9
- {pulumi_newrelic-5.32.0a1726033931.dist-info → pulumi_newrelic-5.32.0a1726258199.dist-info}/WHEEL +0 -0
- {pulumi_newrelic-5.32.0a1726033931.dist-info → pulumi_newrelic-5.32.0a1726258199.dist-info}/top_level.txt +0 -0
@@ -20,8 +20,10 @@ class ScriptMonitorArgs:
|
|
20
20
|
status: pulumi.Input[str],
|
21
21
|
type: pulumi.Input[str],
|
22
22
|
account_id: Optional[pulumi.Input[str]] = None,
|
23
|
+
browsers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
23
24
|
device_orientation: Optional[pulumi.Input[str]] = None,
|
24
25
|
device_type: Optional[pulumi.Input[str]] = None,
|
26
|
+
devices: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
25
27
|
enable_screenshot_on_failure_and_script: Optional[pulumi.Input[bool]] = None,
|
26
28
|
location_privates: Optional[pulumi.Input[Sequence[pulumi.Input['ScriptMonitorLocationPrivateArgs']]]] = None,
|
27
29
|
locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
@@ -38,8 +40,10 @@ class ScriptMonitorArgs:
|
|
38
40
|
:param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
|
39
41
|
:param pulumi.Input[str] type: The plaintext representing the monitor script. Valid values are SCRIPT_BROWSER or SCRIPT_API
|
40
42
|
:param pulumi.Input[str] account_id: The account in which the Synthetics monitor will be created.
|
41
|
-
:param pulumi.Input[str]
|
42
|
-
:param pulumi.Input[str]
|
43
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] browsers: The multiple browsers list on which synthetic monitors will run. Valid values are `CHROME` and `FIREFOX`.
|
44
|
+
:param pulumi.Input[str] device_orientation: Device emulation orientation field. Valid values are `LANDSCAPE` and `PORTRAIT`. We recommend you to use `devices` field instead of `device_type`,`device_orientation` fields, as it allows you to select multiple combinations of device types and orientations.
|
45
|
+
:param pulumi.Input[str] device_type: Device emulation type field. Valid values are `MOBILE` and `TABLET`. We recommend you to use `devices` field instead of `device_type`,`device_orientation` fields, as it allows you to select multiple combinations of device types and orientations.
|
46
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] devices: The multiple devices list on which synthetic monitors will run. Valid values are `DESKTOP`, `MOBILE_LANDSCAPE`, `MOBILE_PORTRAIT`, `TABLET_LANDSCAPE` and `TABLET_PORTRAIT`.
|
43
47
|
:param pulumi.Input[bool] enable_screenshot_on_failure_and_script: Capture a screenshot during job execution.
|
44
48
|
:param pulumi.Input[Sequence[pulumi.Input['ScriptMonitorLocationPrivateArgs']]] location_privates: The location the monitor will run from. See Nested location_private blocks below for details. **At least one of either** `locations_public` **or** `location_private` **is required**.
|
45
49
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] locations_publics: The location the monitor will run from. Check out [this page](https://docs.newrelic.com/docs/synthetics/synthetic-monitoring/administration/synthetic-public-minion-ips/) for a list of valid public locations. The `AWS_` prefix is not needed, as the provider uses NerdGraph. **At least one of either** `locations_public` **or** `location_private` **is required**.
|
@@ -57,10 +61,14 @@ class ScriptMonitorArgs:
|
|
57
61
|
pulumi.set(__self__, "type", type)
|
58
62
|
if account_id is not None:
|
59
63
|
pulumi.set(__self__, "account_id", account_id)
|
64
|
+
if browsers is not None:
|
65
|
+
pulumi.set(__self__, "browsers", browsers)
|
60
66
|
if device_orientation is not None:
|
61
67
|
pulumi.set(__self__, "device_orientation", device_orientation)
|
62
68
|
if device_type is not None:
|
63
69
|
pulumi.set(__self__, "device_type", device_type)
|
70
|
+
if devices is not None:
|
71
|
+
pulumi.set(__self__, "devices", devices)
|
64
72
|
if enable_screenshot_on_failure_and_script is not None:
|
65
73
|
pulumi.set(__self__, "enable_screenshot_on_failure_and_script", enable_screenshot_on_failure_and_script)
|
66
74
|
if location_privates is not None:
|
@@ -130,11 +138,23 @@ class ScriptMonitorArgs:
|
|
130
138
|
def account_id(self, value: Optional[pulumi.Input[str]]):
|
131
139
|
pulumi.set(self, "account_id", value)
|
132
140
|
|
141
|
+
@property
|
142
|
+
@pulumi.getter
|
143
|
+
def browsers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
144
|
+
"""
|
145
|
+
The multiple browsers list on which synthetic monitors will run. Valid values are `CHROME` and `FIREFOX`.
|
146
|
+
"""
|
147
|
+
return pulumi.get(self, "browsers")
|
148
|
+
|
149
|
+
@browsers.setter
|
150
|
+
def browsers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
151
|
+
pulumi.set(self, "browsers", value)
|
152
|
+
|
133
153
|
@property
|
134
154
|
@pulumi.getter(name="deviceOrientation")
|
135
155
|
def device_orientation(self) -> Optional[pulumi.Input[str]]:
|
136
156
|
"""
|
137
|
-
Device emulation orientation field. Valid values are `LANDSCAPE` and `PORTRAIT`.
|
157
|
+
Device emulation orientation field. Valid values are `LANDSCAPE` and `PORTRAIT`. We recommend you to use `devices` field instead of `device_type`,`device_orientation` fields, as it allows you to select multiple combinations of device types and orientations.
|
138
158
|
"""
|
139
159
|
return pulumi.get(self, "device_orientation")
|
140
160
|
|
@@ -146,7 +166,7 @@ class ScriptMonitorArgs:
|
|
146
166
|
@pulumi.getter(name="deviceType")
|
147
167
|
def device_type(self) -> Optional[pulumi.Input[str]]:
|
148
168
|
"""
|
149
|
-
Device emulation type field. Valid values are `MOBILE` and `TABLET`.
|
169
|
+
Device emulation type field. Valid values are `MOBILE` and `TABLET`. We recommend you to use `devices` field instead of `device_type`,`device_orientation` fields, as it allows you to select multiple combinations of device types and orientations.
|
150
170
|
"""
|
151
171
|
return pulumi.get(self, "device_type")
|
152
172
|
|
@@ -154,6 +174,18 @@ class ScriptMonitorArgs:
|
|
154
174
|
def device_type(self, value: Optional[pulumi.Input[str]]):
|
155
175
|
pulumi.set(self, "device_type", value)
|
156
176
|
|
177
|
+
@property
|
178
|
+
@pulumi.getter
|
179
|
+
def devices(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
180
|
+
"""
|
181
|
+
The multiple devices list on which synthetic monitors will run. Valid values are `DESKTOP`, `MOBILE_LANDSCAPE`, `MOBILE_PORTRAIT`, `TABLET_LANDSCAPE` and `TABLET_PORTRAIT`.
|
182
|
+
"""
|
183
|
+
return pulumi.get(self, "devices")
|
184
|
+
|
185
|
+
@devices.setter
|
186
|
+
def devices(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
187
|
+
pulumi.set(self, "devices", value)
|
188
|
+
|
157
189
|
@property
|
158
190
|
@pulumi.getter(name="enableScreenshotOnFailureAndScript")
|
159
191
|
def enable_screenshot_on_failure_and_script(self) -> Optional[pulumi.Input[bool]]:
|
@@ -278,8 +310,10 @@ class ScriptMonitorArgs:
|
|
278
310
|
class _ScriptMonitorState:
|
279
311
|
def __init__(__self__, *,
|
280
312
|
account_id: Optional[pulumi.Input[str]] = None,
|
313
|
+
browsers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
281
314
|
device_orientation: Optional[pulumi.Input[str]] = None,
|
282
315
|
device_type: Optional[pulumi.Input[str]] = None,
|
316
|
+
devices: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
283
317
|
enable_screenshot_on_failure_and_script: Optional[pulumi.Input[bool]] = None,
|
284
318
|
guid: Optional[pulumi.Input[str]] = None,
|
285
319
|
location_privates: Optional[pulumi.Input[Sequence[pulumi.Input['ScriptMonitorLocationPrivateArgs']]]] = None,
|
@@ -298,8 +332,10 @@ class _ScriptMonitorState:
|
|
298
332
|
"""
|
299
333
|
Input properties used for looking up and filtering ScriptMonitor resources.
|
300
334
|
:param pulumi.Input[str] account_id: The account in which the Synthetics monitor will be created.
|
301
|
-
:param pulumi.Input[str]
|
302
|
-
:param pulumi.Input[str]
|
335
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] browsers: The multiple browsers list on which synthetic monitors will run. Valid values are `CHROME` and `FIREFOX`.
|
336
|
+
:param pulumi.Input[str] device_orientation: Device emulation orientation field. Valid values are `LANDSCAPE` and `PORTRAIT`. We recommend you to use `devices` field instead of `device_type`,`device_orientation` fields, as it allows you to select multiple combinations of device types and orientations.
|
337
|
+
:param pulumi.Input[str] device_type: Device emulation type field. Valid values are `MOBILE` and `TABLET`. We recommend you to use `devices` field instead of `device_type`,`device_orientation` fields, as it allows you to select multiple combinations of device types and orientations.
|
338
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] devices: The multiple devices list on which synthetic monitors will run. Valid values are `DESKTOP`, `MOBILE_LANDSCAPE`, `MOBILE_PORTRAIT`, `TABLET_LANDSCAPE` and `TABLET_PORTRAIT`.
|
303
339
|
:param pulumi.Input[bool] enable_screenshot_on_failure_and_script: Capture a screenshot during job execution.
|
304
340
|
:param pulumi.Input[str] guid: The unique entity identifier of the monitor in New Relic.
|
305
341
|
:param pulumi.Input[Sequence[pulumi.Input['ScriptMonitorLocationPrivateArgs']]] location_privates: The location the monitor will run from. See Nested location_private blocks below for details. **At least one of either** `locations_public` **or** `location_private` **is required**.
|
@@ -319,10 +355,14 @@ class _ScriptMonitorState:
|
|
319
355
|
"""
|
320
356
|
if account_id is not None:
|
321
357
|
pulumi.set(__self__, "account_id", account_id)
|
358
|
+
if browsers is not None:
|
359
|
+
pulumi.set(__self__, "browsers", browsers)
|
322
360
|
if device_orientation is not None:
|
323
361
|
pulumi.set(__self__, "device_orientation", device_orientation)
|
324
362
|
if device_type is not None:
|
325
363
|
pulumi.set(__self__, "device_type", device_type)
|
364
|
+
if devices is not None:
|
365
|
+
pulumi.set(__self__, "devices", devices)
|
326
366
|
if enable_screenshot_on_failure_and_script is not None:
|
327
367
|
pulumi.set(__self__, "enable_screenshot_on_failure_and_script", enable_screenshot_on_failure_and_script)
|
328
368
|
if guid is not None:
|
@@ -366,11 +406,23 @@ class _ScriptMonitorState:
|
|
366
406
|
def account_id(self, value: Optional[pulumi.Input[str]]):
|
367
407
|
pulumi.set(self, "account_id", value)
|
368
408
|
|
409
|
+
@property
|
410
|
+
@pulumi.getter
|
411
|
+
def browsers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
412
|
+
"""
|
413
|
+
The multiple browsers list on which synthetic monitors will run. Valid values are `CHROME` and `FIREFOX`.
|
414
|
+
"""
|
415
|
+
return pulumi.get(self, "browsers")
|
416
|
+
|
417
|
+
@browsers.setter
|
418
|
+
def browsers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
419
|
+
pulumi.set(self, "browsers", value)
|
420
|
+
|
369
421
|
@property
|
370
422
|
@pulumi.getter(name="deviceOrientation")
|
371
423
|
def device_orientation(self) -> Optional[pulumi.Input[str]]:
|
372
424
|
"""
|
373
|
-
Device emulation orientation field. Valid values are `LANDSCAPE` and `PORTRAIT`.
|
425
|
+
Device emulation orientation field. Valid values are `LANDSCAPE` and `PORTRAIT`. We recommend you to use `devices` field instead of `device_type`,`device_orientation` fields, as it allows you to select multiple combinations of device types and orientations.
|
374
426
|
"""
|
375
427
|
return pulumi.get(self, "device_orientation")
|
376
428
|
|
@@ -382,7 +434,7 @@ class _ScriptMonitorState:
|
|
382
434
|
@pulumi.getter(name="deviceType")
|
383
435
|
def device_type(self) -> Optional[pulumi.Input[str]]:
|
384
436
|
"""
|
385
|
-
Device emulation type field. Valid values are `MOBILE` and `TABLET`.
|
437
|
+
Device emulation type field. Valid values are `MOBILE` and `TABLET`. We recommend you to use `devices` field instead of `device_type`,`device_orientation` fields, as it allows you to select multiple combinations of device types and orientations.
|
386
438
|
"""
|
387
439
|
return pulumi.get(self, "device_type")
|
388
440
|
|
@@ -390,6 +442,18 @@ class _ScriptMonitorState:
|
|
390
442
|
def device_type(self, value: Optional[pulumi.Input[str]]):
|
391
443
|
pulumi.set(self, "device_type", value)
|
392
444
|
|
445
|
+
@property
|
446
|
+
@pulumi.getter
|
447
|
+
def devices(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
448
|
+
"""
|
449
|
+
The multiple devices list on which synthetic monitors will run. Valid values are `DESKTOP`, `MOBILE_LANDSCAPE`, `MOBILE_PORTRAIT`, `TABLET_LANDSCAPE` and `TABLET_PORTRAIT`.
|
450
|
+
"""
|
451
|
+
return pulumi.get(self, "devices")
|
452
|
+
|
453
|
+
@devices.setter
|
454
|
+
def devices(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
455
|
+
pulumi.set(self, "devices", value)
|
456
|
+
|
393
457
|
@property
|
394
458
|
@pulumi.getter(name="enableScreenshotOnFailureAndScript")
|
395
459
|
def enable_screenshot_on_failure_and_script(self) -> Optional[pulumi.Input[bool]]:
|
@@ -576,8 +640,10 @@ class ScriptMonitor(pulumi.CustomResource):
|
|
576
640
|
resource_name: str,
|
577
641
|
opts: Optional[pulumi.ResourceOptions] = None,
|
578
642
|
account_id: Optional[pulumi.Input[str]] = None,
|
643
|
+
browsers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
579
644
|
device_orientation: Optional[pulumi.Input[str]] = None,
|
580
645
|
device_type: Optional[pulumi.Input[str]] = None,
|
646
|
+
devices: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
581
647
|
enable_screenshot_on_failure_and_script: Optional[pulumi.Input[bool]] = None,
|
582
648
|
location_privates: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ScriptMonitorLocationPrivateArgs', 'ScriptMonitorLocationPrivateArgsDict']]]]] = None,
|
583
649
|
locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
@@ -634,11 +700,17 @@ class ScriptMonitor(pulumi.CustomResource):
|
|
634
700
|
"AP_EAST_1",
|
635
701
|
],
|
636
702
|
period="EVERY_HOUR",
|
637
|
-
enable_screenshot_on_failure_and_script=False,
|
638
703
|
script="$browser.get('https://one.newrelic.com')",
|
639
704
|
runtime_type_version="100",
|
640
705
|
runtime_type="CHROME_BROWSER",
|
641
706
|
script_language="JAVASCRIPT",
|
707
|
+
devices=[
|
708
|
+
"DESKTOP",
|
709
|
+
"MOBILE_PORTRAIT",
|
710
|
+
"TABLET_LANDSCAPE",
|
711
|
+
],
|
712
|
+
browsers=["CHROME"],
|
713
|
+
enable_screenshot_on_failure_and_script=False,
|
642
714
|
tags=[{
|
643
715
|
"key": "some_key",
|
644
716
|
"values": ["some_value"],
|
@@ -698,16 +770,20 @@ class ScriptMonitor(pulumi.CustomResource):
|
|
698
770
|
type="SCRIPT_BROWSER",
|
699
771
|
period="EVERY_HOUR",
|
700
772
|
script="$browser.get('https://one.newrelic.com')",
|
773
|
+
runtime_type_version="100",
|
774
|
+
runtime_type="CHROME_BROWSER",
|
775
|
+
script_language="JAVASCRIPT",
|
776
|
+
devices=[
|
777
|
+
"DESKTOP",
|
778
|
+
"MOBILE_PORTRAIT",
|
779
|
+
"TABLET_LANDSCAPE",
|
780
|
+
],
|
781
|
+
browsers=["CHROME"],
|
701
782
|
enable_screenshot_on_failure_and_script=False,
|
702
783
|
location_privates=[{
|
703
784
|
"guid": location.id,
|
704
785
|
"vse_password": "secret",
|
705
786
|
}],
|
706
|
-
runtime_type_version="100",
|
707
|
-
runtime_type="CHROME_BROWSER",
|
708
|
-
script_language="JAVASCRIPT",
|
709
|
-
device_type="MOBILE",
|
710
|
-
device_orientation="LANDSCAPE",
|
711
787
|
tags=[{
|
712
788
|
"key": "some_key",
|
713
789
|
"values": ["some_value"],
|
@@ -727,8 +803,10 @@ class ScriptMonitor(pulumi.CustomResource):
|
|
727
803
|
:param str resource_name: The name of the resource.
|
728
804
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
729
805
|
:param pulumi.Input[str] account_id: The account in which the Synthetics monitor will be created.
|
730
|
-
:param pulumi.Input[str]
|
731
|
-
:param pulumi.Input[str]
|
806
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] browsers: The multiple browsers list on which synthetic monitors will run. Valid values are `CHROME` and `FIREFOX`.
|
807
|
+
:param pulumi.Input[str] device_orientation: Device emulation orientation field. Valid values are `LANDSCAPE` and `PORTRAIT`. We recommend you to use `devices` field instead of `device_type`,`device_orientation` fields, as it allows you to select multiple combinations of device types and orientations.
|
808
|
+
:param pulumi.Input[str] device_type: Device emulation type field. Valid values are `MOBILE` and `TABLET`. We recommend you to use `devices` field instead of `device_type`,`device_orientation` fields, as it allows you to select multiple combinations of device types and orientations.
|
809
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] devices: The multiple devices list on which synthetic monitors will run. Valid values are `DESKTOP`, `MOBILE_LANDSCAPE`, `MOBILE_PORTRAIT`, `TABLET_LANDSCAPE` and `TABLET_PORTRAIT`.
|
732
810
|
:param pulumi.Input[bool] enable_screenshot_on_failure_and_script: Capture a screenshot during job execution.
|
733
811
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ScriptMonitorLocationPrivateArgs', 'ScriptMonitorLocationPrivateArgsDict']]]] location_privates: The location the monitor will run from. See Nested location_private blocks below for details. **At least one of either** `locations_public` **or** `location_private` **is required**.
|
734
812
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] locations_publics: The location the monitor will run from. Check out [this page](https://docs.newrelic.com/docs/synthetics/synthetic-monitoring/administration/synthetic-public-minion-ips/) for a list of valid public locations. The `AWS_` prefix is not needed, as the provider uses NerdGraph. **At least one of either** `locations_public` **or** `location_private` **is required**.
|
@@ -792,11 +870,17 @@ class ScriptMonitor(pulumi.CustomResource):
|
|
792
870
|
"AP_EAST_1",
|
793
871
|
],
|
794
872
|
period="EVERY_HOUR",
|
795
|
-
enable_screenshot_on_failure_and_script=False,
|
796
873
|
script="$browser.get('https://one.newrelic.com')",
|
797
874
|
runtime_type_version="100",
|
798
875
|
runtime_type="CHROME_BROWSER",
|
799
876
|
script_language="JAVASCRIPT",
|
877
|
+
devices=[
|
878
|
+
"DESKTOP",
|
879
|
+
"MOBILE_PORTRAIT",
|
880
|
+
"TABLET_LANDSCAPE",
|
881
|
+
],
|
882
|
+
browsers=["CHROME"],
|
883
|
+
enable_screenshot_on_failure_and_script=False,
|
800
884
|
tags=[{
|
801
885
|
"key": "some_key",
|
802
886
|
"values": ["some_value"],
|
@@ -856,16 +940,20 @@ class ScriptMonitor(pulumi.CustomResource):
|
|
856
940
|
type="SCRIPT_BROWSER",
|
857
941
|
period="EVERY_HOUR",
|
858
942
|
script="$browser.get('https://one.newrelic.com')",
|
943
|
+
runtime_type_version="100",
|
944
|
+
runtime_type="CHROME_BROWSER",
|
945
|
+
script_language="JAVASCRIPT",
|
946
|
+
devices=[
|
947
|
+
"DESKTOP",
|
948
|
+
"MOBILE_PORTRAIT",
|
949
|
+
"TABLET_LANDSCAPE",
|
950
|
+
],
|
951
|
+
browsers=["CHROME"],
|
859
952
|
enable_screenshot_on_failure_and_script=False,
|
860
953
|
location_privates=[{
|
861
954
|
"guid": location.id,
|
862
955
|
"vse_password": "secret",
|
863
956
|
}],
|
864
|
-
runtime_type_version="100",
|
865
|
-
runtime_type="CHROME_BROWSER",
|
866
|
-
script_language="JAVASCRIPT",
|
867
|
-
device_type="MOBILE",
|
868
|
-
device_orientation="LANDSCAPE",
|
869
957
|
tags=[{
|
870
958
|
"key": "some_key",
|
871
959
|
"values": ["some_value"],
|
@@ -898,8 +986,10 @@ class ScriptMonitor(pulumi.CustomResource):
|
|
898
986
|
resource_name: str,
|
899
987
|
opts: Optional[pulumi.ResourceOptions] = None,
|
900
988
|
account_id: Optional[pulumi.Input[str]] = None,
|
989
|
+
browsers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
901
990
|
device_orientation: Optional[pulumi.Input[str]] = None,
|
902
991
|
device_type: Optional[pulumi.Input[str]] = None,
|
992
|
+
devices: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
903
993
|
enable_screenshot_on_failure_and_script: Optional[pulumi.Input[bool]] = None,
|
904
994
|
location_privates: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ScriptMonitorLocationPrivateArgs', 'ScriptMonitorLocationPrivateArgsDict']]]]] = None,
|
905
995
|
locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
@@ -923,8 +1013,10 @@ class ScriptMonitor(pulumi.CustomResource):
|
|
923
1013
|
__props__ = ScriptMonitorArgs.__new__(ScriptMonitorArgs)
|
924
1014
|
|
925
1015
|
__props__.__dict__["account_id"] = account_id
|
1016
|
+
__props__.__dict__["browsers"] = browsers
|
926
1017
|
__props__.__dict__["device_orientation"] = device_orientation
|
927
1018
|
__props__.__dict__["device_type"] = device_type
|
1019
|
+
__props__.__dict__["devices"] = devices
|
928
1020
|
__props__.__dict__["enable_screenshot_on_failure_and_script"] = enable_screenshot_on_failure_and_script
|
929
1021
|
__props__.__dict__["location_privates"] = location_privates
|
930
1022
|
__props__.__dict__["locations_publics"] = locations_publics
|
@@ -957,8 +1049,10 @@ class ScriptMonitor(pulumi.CustomResource):
|
|
957
1049
|
id: pulumi.Input[str],
|
958
1050
|
opts: Optional[pulumi.ResourceOptions] = None,
|
959
1051
|
account_id: Optional[pulumi.Input[str]] = None,
|
1052
|
+
browsers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
960
1053
|
device_orientation: Optional[pulumi.Input[str]] = None,
|
961
1054
|
device_type: Optional[pulumi.Input[str]] = None,
|
1055
|
+
devices: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
962
1056
|
enable_screenshot_on_failure_and_script: Optional[pulumi.Input[bool]] = None,
|
963
1057
|
guid: Optional[pulumi.Input[str]] = None,
|
964
1058
|
location_privates: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ScriptMonitorLocationPrivateArgs', 'ScriptMonitorLocationPrivateArgsDict']]]]] = None,
|
@@ -982,8 +1076,10 @@ class ScriptMonitor(pulumi.CustomResource):
|
|
982
1076
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
983
1077
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
984
1078
|
:param pulumi.Input[str] account_id: The account in which the Synthetics monitor will be created.
|
985
|
-
:param pulumi.Input[str]
|
986
|
-
:param pulumi.Input[str]
|
1079
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] browsers: The multiple browsers list on which synthetic monitors will run. Valid values are `CHROME` and `FIREFOX`.
|
1080
|
+
:param pulumi.Input[str] device_orientation: Device emulation orientation field. Valid values are `LANDSCAPE` and `PORTRAIT`. We recommend you to use `devices` field instead of `device_type`,`device_orientation` fields, as it allows you to select multiple combinations of device types and orientations.
|
1081
|
+
:param pulumi.Input[str] device_type: Device emulation type field. Valid values are `MOBILE` and `TABLET`. We recommend you to use `devices` field instead of `device_type`,`device_orientation` fields, as it allows you to select multiple combinations of device types and orientations.
|
1082
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] devices: The multiple devices list on which synthetic monitors will run. Valid values are `DESKTOP`, `MOBILE_LANDSCAPE`, `MOBILE_PORTRAIT`, `TABLET_LANDSCAPE` and `TABLET_PORTRAIT`.
|
987
1083
|
:param pulumi.Input[bool] enable_screenshot_on_failure_and_script: Capture a screenshot during job execution.
|
988
1084
|
:param pulumi.Input[str] guid: The unique entity identifier of the monitor in New Relic.
|
989
1085
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ScriptMonitorLocationPrivateArgs', 'ScriptMonitorLocationPrivateArgsDict']]]] location_privates: The location the monitor will run from. See Nested location_private blocks below for details. **At least one of either** `locations_public` **or** `location_private` **is required**.
|
@@ -1006,8 +1102,10 @@ class ScriptMonitor(pulumi.CustomResource):
|
|
1006
1102
|
__props__ = _ScriptMonitorState.__new__(_ScriptMonitorState)
|
1007
1103
|
|
1008
1104
|
__props__.__dict__["account_id"] = account_id
|
1105
|
+
__props__.__dict__["browsers"] = browsers
|
1009
1106
|
__props__.__dict__["device_orientation"] = device_orientation
|
1010
1107
|
__props__.__dict__["device_type"] = device_type
|
1108
|
+
__props__.__dict__["devices"] = devices
|
1011
1109
|
__props__.__dict__["enable_screenshot_on_failure_and_script"] = enable_screenshot_on_failure_and_script
|
1012
1110
|
__props__.__dict__["guid"] = guid
|
1013
1111
|
__props__.__dict__["location_privates"] = location_privates
|
@@ -1033,11 +1131,19 @@ class ScriptMonitor(pulumi.CustomResource):
|
|
1033
1131
|
"""
|
1034
1132
|
return pulumi.get(self, "account_id")
|
1035
1133
|
|
1134
|
+
@property
|
1135
|
+
@pulumi.getter
|
1136
|
+
def browsers(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
1137
|
+
"""
|
1138
|
+
The multiple browsers list on which synthetic monitors will run. Valid values are `CHROME` and `FIREFOX`.
|
1139
|
+
"""
|
1140
|
+
return pulumi.get(self, "browsers")
|
1141
|
+
|
1036
1142
|
@property
|
1037
1143
|
@pulumi.getter(name="deviceOrientation")
|
1038
1144
|
def device_orientation(self) -> pulumi.Output[Optional[str]]:
|
1039
1145
|
"""
|
1040
|
-
Device emulation orientation field. Valid values are `LANDSCAPE` and `PORTRAIT`.
|
1146
|
+
Device emulation orientation field. Valid values are `LANDSCAPE` and `PORTRAIT`. We recommend you to use `devices` field instead of `device_type`,`device_orientation` fields, as it allows you to select multiple combinations of device types and orientations.
|
1041
1147
|
"""
|
1042
1148
|
return pulumi.get(self, "device_orientation")
|
1043
1149
|
|
@@ -1045,10 +1151,18 @@ class ScriptMonitor(pulumi.CustomResource):
|
|
1045
1151
|
@pulumi.getter(name="deviceType")
|
1046
1152
|
def device_type(self) -> pulumi.Output[Optional[str]]:
|
1047
1153
|
"""
|
1048
|
-
Device emulation type field. Valid values are `MOBILE` and `TABLET`.
|
1154
|
+
Device emulation type field. Valid values are `MOBILE` and `TABLET`. We recommend you to use `devices` field instead of `device_type`,`device_orientation` fields, as it allows you to select multiple combinations of device types and orientations.
|
1049
1155
|
"""
|
1050
1156
|
return pulumi.get(self, "device_type")
|
1051
1157
|
|
1158
|
+
@property
|
1159
|
+
@pulumi.getter
|
1160
|
+
def devices(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
1161
|
+
"""
|
1162
|
+
The multiple devices list on which synthetic monitors will run. Valid values are `DESKTOP`, `MOBILE_LANDSCAPE`, `MOBILE_PORTRAIT`, `TABLET_LANDSCAPE` and `TABLET_PORTRAIT`.
|
1163
|
+
"""
|
1164
|
+
return pulumi.get(self, "devices")
|
1165
|
+
|
1052
1166
|
@property
|
1053
1167
|
@pulumi.getter(name="enableScreenshotOnFailureAndScript")
|
1054
1168
|
def enable_screenshot_on_failure_and_script(self) -> pulumi.Output[Optional[bool]]:
|