pulumi-newrelic 5.31.1__py3-none-any.whl → 5.32.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.
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "resource": true,
3
3
  "name": "newrelic",
4
- "version": "5.31.1"
4
+ "version": "5.32.0"
5
5
  }
@@ -19,10 +19,12 @@ class MonitorArgs:
19
19
  status: pulumi.Input[str],
20
20
  type: pulumi.Input[str],
21
21
  account_id: Optional[pulumi.Input[str]] = None,
22
+ browsers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
22
23
  bypass_head_request: Optional[pulumi.Input[bool]] = None,
23
24
  custom_headers: Optional[pulumi.Input[Sequence[pulumi.Input['MonitorCustomHeaderArgs']]]] = None,
24
25
  device_orientation: Optional[pulumi.Input[str]] = None,
25
26
  device_type: Optional[pulumi.Input[str]] = None,
27
+ devices: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
26
28
  enable_screenshot_on_failure_and_script: Optional[pulumi.Input[bool]] = None,
27
29
  locations_privates: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
28
30
  locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
@@ -42,12 +44,14 @@ class MonitorArgs:
42
44
  :param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
43
45
  :param pulumi.Input[str] type: The monitor type. Valid values are `SIMPLE` and `BROWSER`.
44
46
  :param pulumi.Input[str] account_id: The account in which the Synthetics monitor will be created.
47
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] browsers: The multiple browsers list on which synthetic monitors will run. Valid values are `CHROME` and `FIREFOX`.
45
48
  :param pulumi.Input[bool] bypass_head_request: Monitor should skip default HEAD request and instead use GET verb in check.
46
49
 
47
50
  The `BROWSER` monitor type supports the following additional arguments:
48
51
  :param pulumi.Input[Sequence[pulumi.Input['MonitorCustomHeaderArgs']]] custom_headers: Custom headers to use in monitor job. See Nested custom_header blocks below for details.
49
- :param pulumi.Input[str] device_orientation: Device emulation orientation field. Valid values are `LANDSCAPE` and `PORTRAIT`.
50
- :param pulumi.Input[str] device_type: Device emulation type field. Valid values are `MOBILE` and `TABLET`.
52
+ :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.
53
+ :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.
54
+ :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`.
51
55
  :param pulumi.Input[bool] enable_screenshot_on_failure_and_script: Capture a screenshot during job execution.
52
56
  :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.
53
57
  :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. You don't need the `AWS_` prefix as the provider uses NerdGraph. At least one of either `locations_public` or `location_private` is required.
@@ -68,6 +72,8 @@ class MonitorArgs:
68
72
  pulumi.set(__self__, "type", type)
69
73
  if account_id is not None:
70
74
  pulumi.set(__self__, "account_id", account_id)
75
+ if browsers is not None:
76
+ pulumi.set(__self__, "browsers", browsers)
71
77
  if bypass_head_request is not None:
72
78
  pulumi.set(__self__, "bypass_head_request", bypass_head_request)
73
79
  if custom_headers is not None:
@@ -76,6 +82,8 @@ class MonitorArgs:
76
82
  pulumi.set(__self__, "device_orientation", device_orientation)
77
83
  if device_type is not None:
78
84
  pulumi.set(__self__, "device_type", device_type)
85
+ if devices is not None:
86
+ pulumi.set(__self__, "devices", devices)
79
87
  if enable_screenshot_on_failure_and_script is not None:
80
88
  pulumi.set(__self__, "enable_screenshot_on_failure_and_script", enable_screenshot_on_failure_and_script)
81
89
  if locations_privates is not None:
@@ -141,6 +149,18 @@ class MonitorArgs:
141
149
  def account_id(self, value: Optional[pulumi.Input[str]]):
142
150
  pulumi.set(self, "account_id", value)
143
151
 
152
+ @property
153
+ @pulumi.getter
154
+ def browsers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
155
+ """
156
+ The multiple browsers list on which synthetic monitors will run. Valid values are `CHROME` and `FIREFOX`.
157
+ """
158
+ return pulumi.get(self, "browsers")
159
+
160
+ @browsers.setter
161
+ def browsers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
162
+ pulumi.set(self, "browsers", value)
163
+
144
164
  @property
145
165
  @pulumi.getter(name="bypassHeadRequest")
146
166
  def bypass_head_request(self) -> Optional[pulumi.Input[bool]]:
@@ -171,7 +191,7 @@ class MonitorArgs:
171
191
  @pulumi.getter(name="deviceOrientation")
172
192
  def device_orientation(self) -> Optional[pulumi.Input[str]]:
173
193
  """
174
- Device emulation orientation field. Valid values are `LANDSCAPE` and `PORTRAIT`.
194
+ 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.
175
195
  """
176
196
  return pulumi.get(self, "device_orientation")
177
197
 
@@ -183,7 +203,7 @@ class MonitorArgs:
183
203
  @pulumi.getter(name="deviceType")
184
204
  def device_type(self) -> Optional[pulumi.Input[str]]:
185
205
  """
186
- Device emulation type field. Valid values are `MOBILE` and `TABLET`.
206
+ 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.
187
207
  """
188
208
  return pulumi.get(self, "device_type")
189
209
 
@@ -191,6 +211,18 @@ class MonitorArgs:
191
211
  def device_type(self, value: Optional[pulumi.Input[str]]):
192
212
  pulumi.set(self, "device_type", value)
193
213
 
214
+ @property
215
+ @pulumi.getter
216
+ def devices(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
217
+ """
218
+ The multiple devices list on which synthetic monitors will run. Valid values are `DESKTOP`, `MOBILE_LANDSCAPE`, `MOBILE_PORTRAIT`, `TABLET_LANDSCAPE` and `TABLET_PORTRAIT`.
219
+ """
220
+ return pulumi.get(self, "devices")
221
+
222
+ @devices.setter
223
+ def devices(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
224
+ pulumi.set(self, "devices", value)
225
+
194
226
  @property
195
227
  @pulumi.getter(name="enableScreenshotOnFailureAndScript")
196
228
  def enable_screenshot_on_failure_and_script(self) -> Optional[pulumi.Input[bool]]:
@@ -363,10 +395,12 @@ class MonitorArgs:
363
395
  class _MonitorState:
364
396
  def __init__(__self__, *,
365
397
  account_id: Optional[pulumi.Input[str]] = None,
398
+ browsers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
366
399
  bypass_head_request: Optional[pulumi.Input[bool]] = None,
367
400
  custom_headers: Optional[pulumi.Input[Sequence[pulumi.Input['MonitorCustomHeaderArgs']]]] = None,
368
401
  device_orientation: Optional[pulumi.Input[str]] = None,
369
402
  device_type: Optional[pulumi.Input[str]] = None,
403
+ devices: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
370
404
  enable_screenshot_on_failure_and_script: Optional[pulumi.Input[bool]] = None,
371
405
  locations_privates: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
372
406
  locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
@@ -387,12 +421,14 @@ class _MonitorState:
387
421
  """
388
422
  Input properties used for looking up and filtering Monitor resources.
389
423
  :param pulumi.Input[str] account_id: The account in which the Synthetics monitor will be created.
424
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] browsers: The multiple browsers list on which synthetic monitors will run. Valid values are `CHROME` and `FIREFOX`.
390
425
  :param pulumi.Input[bool] bypass_head_request: Monitor should skip default HEAD request and instead use GET verb in check.
391
426
 
392
427
  The `BROWSER` monitor type supports the following additional arguments:
393
428
  :param pulumi.Input[Sequence[pulumi.Input['MonitorCustomHeaderArgs']]] custom_headers: Custom headers to use in monitor job. See Nested custom_header blocks below for details.
394
- :param pulumi.Input[str] device_orientation: Device emulation orientation field. Valid values are `LANDSCAPE` and `PORTRAIT`.
395
- :param pulumi.Input[str] device_type: Device emulation type field. Valid values are `MOBILE` and `TABLET`.
429
+ :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.
430
+ :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.
431
+ :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`.
396
432
  :param pulumi.Input[bool] enable_screenshot_on_failure_and_script: Capture a screenshot during job execution.
397
433
  :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.
398
434
  :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. You don't need the `AWS_` prefix as the provider uses NerdGraph. At least one of either `locations_public` or `location_private` is required.
@@ -414,6 +450,8 @@ class _MonitorState:
414
450
  """
415
451
  if account_id is not None:
416
452
  pulumi.set(__self__, "account_id", account_id)
453
+ if browsers is not None:
454
+ pulumi.set(__self__, "browsers", browsers)
417
455
  if bypass_head_request is not None:
418
456
  pulumi.set(__self__, "bypass_head_request", bypass_head_request)
419
457
  if custom_headers is not None:
@@ -422,6 +460,8 @@ class _MonitorState:
422
460
  pulumi.set(__self__, "device_orientation", device_orientation)
423
461
  if device_type is not None:
424
462
  pulumi.set(__self__, "device_type", device_type)
463
+ if devices is not None:
464
+ pulumi.set(__self__, "devices", devices)
425
465
  if enable_screenshot_on_failure_and_script is not None:
426
466
  pulumi.set(__self__, "enable_screenshot_on_failure_and_script", enable_screenshot_on_failure_and_script)
427
467
  if locations_privates is not None:
@@ -469,6 +509,18 @@ class _MonitorState:
469
509
  def account_id(self, value: Optional[pulumi.Input[str]]):
470
510
  pulumi.set(self, "account_id", value)
471
511
 
512
+ @property
513
+ @pulumi.getter
514
+ def browsers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
515
+ """
516
+ The multiple browsers list on which synthetic monitors will run. Valid values are `CHROME` and `FIREFOX`.
517
+ """
518
+ return pulumi.get(self, "browsers")
519
+
520
+ @browsers.setter
521
+ def browsers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
522
+ pulumi.set(self, "browsers", value)
523
+
472
524
  @property
473
525
  @pulumi.getter(name="bypassHeadRequest")
474
526
  def bypass_head_request(self) -> Optional[pulumi.Input[bool]]:
@@ -499,7 +551,7 @@ class _MonitorState:
499
551
  @pulumi.getter(name="deviceOrientation")
500
552
  def device_orientation(self) -> Optional[pulumi.Input[str]]:
501
553
  """
502
- Device emulation orientation field. Valid values are `LANDSCAPE` and `PORTRAIT`.
554
+ 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.
503
555
  """
504
556
  return pulumi.get(self, "device_orientation")
505
557
 
@@ -511,7 +563,7 @@ class _MonitorState:
511
563
  @pulumi.getter(name="deviceType")
512
564
  def device_type(self) -> Optional[pulumi.Input[str]]:
513
565
  """
514
- Device emulation type field. Valid values are `MOBILE` and `TABLET`.
566
+ 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.
515
567
  """
516
568
  return pulumi.get(self, "device_type")
517
569
 
@@ -519,6 +571,18 @@ class _MonitorState:
519
571
  def device_type(self, value: Optional[pulumi.Input[str]]):
520
572
  pulumi.set(self, "device_type", value)
521
573
 
574
+ @property
575
+ @pulumi.getter
576
+ def devices(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
577
+ """
578
+ The multiple devices list on which synthetic monitors will run. Valid values are `DESKTOP`, `MOBILE_LANDSCAPE`, `MOBILE_PORTRAIT`, `TABLET_LANDSCAPE` and `TABLET_PORTRAIT`.
579
+ """
580
+ return pulumi.get(self, "devices")
581
+
582
+ @devices.setter
583
+ def devices(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
584
+ pulumi.set(self, "devices", value)
585
+
522
586
  @property
523
587
  @pulumi.getter(name="enableScreenshotOnFailureAndScript")
524
588
  def enable_screenshot_on_failure_and_script(self) -> Optional[pulumi.Input[bool]]:
@@ -729,10 +793,12 @@ class Monitor(pulumi.CustomResource):
729
793
  resource_name: str,
730
794
  opts: Optional[pulumi.ResourceOptions] = None,
731
795
  account_id: Optional[pulumi.Input[str]] = None,
796
+ browsers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
732
797
  bypass_head_request: Optional[pulumi.Input[bool]] = None,
733
798
  custom_headers: Optional[pulumi.Input[Sequence[pulumi.Input[Union['MonitorCustomHeaderArgs', 'MonitorCustomHeaderArgsDict']]]]] = None,
734
799
  device_orientation: Optional[pulumi.Input[str]] = None,
735
800
  device_type: Optional[pulumi.Input[str]] = None,
801
+ devices: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
736
802
  enable_screenshot_on_failure_and_script: Optional[pulumi.Input[bool]] = None,
737
803
  locations_privates: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
738
804
  locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
@@ -790,18 +856,22 @@ class Monitor(pulumi.CustomResource):
790
856
  uri="https://www.one.newrelic.com",
791
857
  type="BROWSER",
792
858
  locations_publics=["AP_SOUTH_1"],
793
- custom_headers=[{
794
- "name": "some_name",
795
- "value": "some_value",
796
- }],
797
859
  enable_screenshot_on_failure_and_script=True,
798
860
  validation_string="success",
799
861
  verify_ssl=True,
800
862
  runtime_type="CHROME_BROWSER",
801
863
  runtime_type_version="100",
802
864
  script_language="JAVASCRIPT",
803
- device_type="MOBILE",
804
- device_orientation="LANDSCAPE",
865
+ devices=[
866
+ "DESKTOP",
867
+ "TABLET_LANDSCAPE",
868
+ "MOBILE_PORTRAIT",
869
+ ],
870
+ browsers=["CHROME"],
871
+ custom_headers=[{
872
+ "name": "some_name",
873
+ "value": "some_value",
874
+ }],
805
875
  tags=[{
806
876
  "key": "some_key",
807
877
  "values": ["some_value"],
@@ -864,16 +934,22 @@ class Monitor(pulumi.CustomResource):
864
934
  name="monitor",
865
935
  period="EVERY_MINUTE",
866
936
  locations_privates=[location.id],
867
- custom_headers=[{
868
- "name": "some_name",
869
- "value": "some_value",
870
- }],
871
937
  enable_screenshot_on_failure_and_script=True,
872
938
  validation_string="success",
873
939
  verify_ssl=True,
874
940
  runtime_type_version="100",
875
941
  runtime_type="CHROME_BROWSER",
876
942
  script_language="JAVASCRIPT",
943
+ devices=[
944
+ "DESKTOP",
945
+ "TABLET_LANDSCAPE",
946
+ "MOBILE_PORTRAIT",
947
+ ],
948
+ browsers=["CHROME"],
949
+ custom_headers=[{
950
+ "name": "some_name",
951
+ "value": "some_value",
952
+ }],
877
953
  tags=[{
878
954
  "key": "some_key",
879
955
  "values": ["some_value"],
@@ -893,12 +969,14 @@ class Monitor(pulumi.CustomResource):
893
969
  :param str resource_name: The name of the resource.
894
970
  :param pulumi.ResourceOptions opts: Options for the resource.
895
971
  :param pulumi.Input[str] account_id: The account in which the Synthetics monitor will be created.
972
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] browsers: The multiple browsers list on which synthetic monitors will run. Valid values are `CHROME` and `FIREFOX`.
896
973
  :param pulumi.Input[bool] bypass_head_request: Monitor should skip default HEAD request and instead use GET verb in check.
897
974
 
898
975
  The `BROWSER` monitor type supports the following additional arguments:
899
976
  :param pulumi.Input[Sequence[pulumi.Input[Union['MonitorCustomHeaderArgs', 'MonitorCustomHeaderArgsDict']]]] custom_headers: Custom headers to use in monitor job. See Nested custom_header blocks below for details.
900
- :param pulumi.Input[str] device_orientation: Device emulation orientation field. Valid values are `LANDSCAPE` and `PORTRAIT`.
901
- :param pulumi.Input[str] device_type: Device emulation type field. Valid values are `MOBILE` and `TABLET`.
977
+ :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.
978
+ :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.
979
+ :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`.
902
980
  :param pulumi.Input[bool] enable_screenshot_on_failure_and_script: Capture a screenshot during job execution.
903
981
  :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.
904
982
  :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. You don't need the `AWS_` prefix as the provider uses NerdGraph. At least one of either `locations_public` or `location_private` is required.
@@ -963,18 +1041,22 @@ class Monitor(pulumi.CustomResource):
963
1041
  uri="https://www.one.newrelic.com",
964
1042
  type="BROWSER",
965
1043
  locations_publics=["AP_SOUTH_1"],
966
- custom_headers=[{
967
- "name": "some_name",
968
- "value": "some_value",
969
- }],
970
1044
  enable_screenshot_on_failure_and_script=True,
971
1045
  validation_string="success",
972
1046
  verify_ssl=True,
973
1047
  runtime_type="CHROME_BROWSER",
974
1048
  runtime_type_version="100",
975
1049
  script_language="JAVASCRIPT",
976
- device_type="MOBILE",
977
- device_orientation="LANDSCAPE",
1050
+ devices=[
1051
+ "DESKTOP",
1052
+ "TABLET_LANDSCAPE",
1053
+ "MOBILE_PORTRAIT",
1054
+ ],
1055
+ browsers=["CHROME"],
1056
+ custom_headers=[{
1057
+ "name": "some_name",
1058
+ "value": "some_value",
1059
+ }],
978
1060
  tags=[{
979
1061
  "key": "some_key",
980
1062
  "values": ["some_value"],
@@ -1037,16 +1119,22 @@ class Monitor(pulumi.CustomResource):
1037
1119
  name="monitor",
1038
1120
  period="EVERY_MINUTE",
1039
1121
  locations_privates=[location.id],
1040
- custom_headers=[{
1041
- "name": "some_name",
1042
- "value": "some_value",
1043
- }],
1044
1122
  enable_screenshot_on_failure_and_script=True,
1045
1123
  validation_string="success",
1046
1124
  verify_ssl=True,
1047
1125
  runtime_type_version="100",
1048
1126
  runtime_type="CHROME_BROWSER",
1049
1127
  script_language="JAVASCRIPT",
1128
+ devices=[
1129
+ "DESKTOP",
1130
+ "TABLET_LANDSCAPE",
1131
+ "MOBILE_PORTRAIT",
1132
+ ],
1133
+ browsers=["CHROME"],
1134
+ custom_headers=[{
1135
+ "name": "some_name",
1136
+ "value": "some_value",
1137
+ }],
1050
1138
  tags=[{
1051
1139
  "key": "some_key",
1052
1140
  "values": ["some_value"],
@@ -1079,10 +1167,12 @@ class Monitor(pulumi.CustomResource):
1079
1167
  resource_name: str,
1080
1168
  opts: Optional[pulumi.ResourceOptions] = None,
1081
1169
  account_id: Optional[pulumi.Input[str]] = None,
1170
+ browsers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
1082
1171
  bypass_head_request: Optional[pulumi.Input[bool]] = None,
1083
1172
  custom_headers: Optional[pulumi.Input[Sequence[pulumi.Input[Union['MonitorCustomHeaderArgs', 'MonitorCustomHeaderArgsDict']]]]] = None,
1084
1173
  device_orientation: Optional[pulumi.Input[str]] = None,
1085
1174
  device_type: Optional[pulumi.Input[str]] = None,
1175
+ devices: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
1086
1176
  enable_screenshot_on_failure_and_script: Optional[pulumi.Input[bool]] = None,
1087
1177
  locations_privates: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
1088
1178
  locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
@@ -1109,10 +1199,12 @@ class Monitor(pulumi.CustomResource):
1109
1199
  __props__ = MonitorArgs.__new__(MonitorArgs)
1110
1200
 
1111
1201
  __props__.__dict__["account_id"] = account_id
1202
+ __props__.__dict__["browsers"] = browsers
1112
1203
  __props__.__dict__["bypass_head_request"] = bypass_head_request
1113
1204
  __props__.__dict__["custom_headers"] = custom_headers
1114
1205
  __props__.__dict__["device_orientation"] = device_orientation
1115
1206
  __props__.__dict__["device_type"] = device_type
1207
+ __props__.__dict__["devices"] = devices
1116
1208
  __props__.__dict__["enable_screenshot_on_failure_and_script"] = enable_screenshot_on_failure_and_script
1117
1209
  __props__.__dict__["locations_privates"] = locations_privates
1118
1210
  __props__.__dict__["locations_publics"] = locations_publics
@@ -1145,10 +1237,12 @@ class Monitor(pulumi.CustomResource):
1145
1237
  id: pulumi.Input[str],
1146
1238
  opts: Optional[pulumi.ResourceOptions] = None,
1147
1239
  account_id: Optional[pulumi.Input[str]] = None,
1240
+ browsers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
1148
1241
  bypass_head_request: Optional[pulumi.Input[bool]] = None,
1149
1242
  custom_headers: Optional[pulumi.Input[Sequence[pulumi.Input[Union['MonitorCustomHeaderArgs', 'MonitorCustomHeaderArgsDict']]]]] = None,
1150
1243
  device_orientation: Optional[pulumi.Input[str]] = None,
1151
1244
  device_type: Optional[pulumi.Input[str]] = None,
1245
+ devices: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
1152
1246
  enable_screenshot_on_failure_and_script: Optional[pulumi.Input[bool]] = None,
1153
1247
  locations_privates: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
1154
1248
  locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
@@ -1174,12 +1268,14 @@ class Monitor(pulumi.CustomResource):
1174
1268
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
1175
1269
  :param pulumi.ResourceOptions opts: Options for the resource.
1176
1270
  :param pulumi.Input[str] account_id: The account in which the Synthetics monitor will be created.
1271
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] browsers: The multiple browsers list on which synthetic monitors will run. Valid values are `CHROME` and `FIREFOX`.
1177
1272
  :param pulumi.Input[bool] bypass_head_request: Monitor should skip default HEAD request and instead use GET verb in check.
1178
1273
 
1179
1274
  The `BROWSER` monitor type supports the following additional arguments:
1180
1275
  :param pulumi.Input[Sequence[pulumi.Input[Union['MonitorCustomHeaderArgs', 'MonitorCustomHeaderArgsDict']]]] custom_headers: Custom headers to use in monitor job. See Nested custom_header blocks below for details.
1181
- :param pulumi.Input[str] device_orientation: Device emulation orientation field. Valid values are `LANDSCAPE` and `PORTRAIT`.
1182
- :param pulumi.Input[str] device_type: Device emulation type field. Valid values are `MOBILE` and `TABLET`.
1276
+ :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.
1277
+ :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.
1278
+ :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`.
1183
1279
  :param pulumi.Input[bool] enable_screenshot_on_failure_and_script: Capture a screenshot during job execution.
1184
1280
  :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.
1185
1281
  :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. You don't need the `AWS_` prefix as the provider uses NerdGraph. At least one of either `locations_public` or `location_private` is required.
@@ -1204,10 +1300,12 @@ class Monitor(pulumi.CustomResource):
1204
1300
  __props__ = _MonitorState.__new__(_MonitorState)
1205
1301
 
1206
1302
  __props__.__dict__["account_id"] = account_id
1303
+ __props__.__dict__["browsers"] = browsers
1207
1304
  __props__.__dict__["bypass_head_request"] = bypass_head_request
1208
1305
  __props__.__dict__["custom_headers"] = custom_headers
1209
1306
  __props__.__dict__["device_orientation"] = device_orientation
1210
1307
  __props__.__dict__["device_type"] = device_type
1308
+ __props__.__dict__["devices"] = devices
1211
1309
  __props__.__dict__["enable_screenshot_on_failure_and_script"] = enable_screenshot_on_failure_and_script
1212
1310
  __props__.__dict__["locations_privates"] = locations_privates
1213
1311
  __props__.__dict__["locations_publics"] = locations_publics
@@ -1235,6 +1333,14 @@ class Monitor(pulumi.CustomResource):
1235
1333
  """
1236
1334
  return pulumi.get(self, "account_id")
1237
1335
 
1336
+ @property
1337
+ @pulumi.getter
1338
+ def browsers(self) -> pulumi.Output[Optional[Sequence[str]]]:
1339
+ """
1340
+ The multiple browsers list on which synthetic monitors will run. Valid values are `CHROME` and `FIREFOX`.
1341
+ """
1342
+ return pulumi.get(self, "browsers")
1343
+
1238
1344
  @property
1239
1345
  @pulumi.getter(name="bypassHeadRequest")
1240
1346
  def bypass_head_request(self) -> pulumi.Output[Optional[bool]]:
@@ -1257,7 +1363,7 @@ class Monitor(pulumi.CustomResource):
1257
1363
  @pulumi.getter(name="deviceOrientation")
1258
1364
  def device_orientation(self) -> pulumi.Output[Optional[str]]:
1259
1365
  """
1260
- Device emulation orientation field. Valid values are `LANDSCAPE` and `PORTRAIT`.
1366
+ 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.
1261
1367
  """
1262
1368
  return pulumi.get(self, "device_orientation")
1263
1369
 
@@ -1265,10 +1371,18 @@ class Monitor(pulumi.CustomResource):
1265
1371
  @pulumi.getter(name="deviceType")
1266
1372
  def device_type(self) -> pulumi.Output[Optional[str]]:
1267
1373
  """
1268
- Device emulation type field. Valid values are `MOBILE` and `TABLET`.
1374
+ 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.
1269
1375
  """
1270
1376
  return pulumi.get(self, "device_type")
1271
1377
 
1378
+ @property
1379
+ @pulumi.getter
1380
+ def devices(self) -> pulumi.Output[Optional[Sequence[str]]]:
1381
+ """
1382
+ The multiple devices list on which synthetic monitors will run. Valid values are `DESKTOP`, `MOBILE_LANDSCAPE`, `MOBILE_PORTRAIT`, `TABLET_LANDSCAPE` and `TABLET_PORTRAIT`.
1383
+ """
1384
+ return pulumi.get(self, "devices")
1385
+
1272
1386
  @property
1273
1387
  @pulumi.getter(name="enableScreenshotOnFailureAndScript")
1274
1388
  def enable_screenshot_on_failure_and_script(self) -> pulumi.Output[Optional[bool]]:
@@ -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] device_orientation: Device emulation orientation field. Valid values are `LANDSCAPE` and `PORTRAIT`.
42
- :param pulumi.Input[str] device_type: Device emulation type field. Valid values are `MOBILE` and `TABLET`.
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] device_orientation: Device emulation orientation field. Valid values are `LANDSCAPE` and `PORTRAIT`.
302
- :param pulumi.Input[str] device_type: Device emulation type field. Valid values are `MOBILE` and `TABLET`.
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] device_orientation: Device emulation orientation field. Valid values are `LANDSCAPE` and `PORTRAIT`.
731
- :param pulumi.Input[str] device_type: Device emulation type field. Valid values are `MOBILE` and `TABLET`.
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] device_orientation: Device emulation orientation field. Valid values are `LANDSCAPE` and `PORTRAIT`.
986
- :param pulumi.Input[str] device_type: Device emulation type field. Valid values are `MOBILE` and `TABLET`.
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]]:
@@ -20,6 +20,8 @@ class StepMonitorArgs:
20
20
  status: pulumi.Input[str],
21
21
  steps: pulumi.Input[Sequence[pulumi.Input['StepMonitorStepArgs']]],
22
22
  account_id: Optional[pulumi.Input[str]] = None,
23
+ browsers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
24
+ devices: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
23
25
  enable_screenshot_on_failure_and_script: Optional[pulumi.Input[bool]] = None,
24
26
  location_privates: Optional[pulumi.Input[Sequence[pulumi.Input['StepMonitorLocationPrivateArgs']]]] = None,
25
27
  locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
@@ -34,12 +36,15 @@ class StepMonitorArgs:
34
36
  :param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
35
37
  :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.
36
38
  :param pulumi.Input[str] account_id: The account in which the Synthetics monitor will be created.
39
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] browsers: The multiple browsers list on which synthetic monitors will run. Valid values are `CHROME` and `FIREFOX`.
40
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] devices: The multiple devices list on which synthetic monitors will run. Valid values are array of DESKTOP, MOBILE_LANDSCAPE,
41
+ MOBILE_PORTRAIT, TABLET_LANDSCAPE and TABLET_PORTRAIT
37
42
  :param pulumi.Input[bool] enable_screenshot_on_failure_and_script: Capture a screenshot during job execution.
38
43
  :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.
39
44
  :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. You don't need the `AWS_` prefix as the provider uses NerdGraph. At least one of either `locations_public` or `location_private` is required.
40
45
  :param pulumi.Input[str] name: The name for the monitor.
41
46
  :param pulumi.Input[str] runtime_type: The runtime that the monitor will use to run jobs.
42
- :param pulumi.Input[str] runtime_type_version: The specific semver version of the runtime type.
47
+ :param pulumi.Input[str] runtime_type_version: The specific version of the runtime type selected.
43
48
  :param pulumi.Input[Sequence[pulumi.Input['StepMonitorTagArgs']]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details.
44
49
  """
45
50
  pulumi.set(__self__, "period", period)
@@ -47,6 +52,10 @@ class StepMonitorArgs:
47
52
  pulumi.set(__self__, "steps", steps)
48
53
  if account_id is not None:
49
54
  pulumi.set(__self__, "account_id", account_id)
55
+ if browsers is not None:
56
+ pulumi.set(__self__, "browsers", browsers)
57
+ if devices is not None:
58
+ pulumi.set(__self__, "devices", devices)
50
59
  if enable_screenshot_on_failure_and_script is not None:
51
60
  pulumi.set(__self__, "enable_screenshot_on_failure_and_script", enable_screenshot_on_failure_and_script)
52
61
  if location_privates is not None:
@@ -112,6 +121,31 @@ class StepMonitorArgs:
112
121
  def account_id(self, value: Optional[pulumi.Input[str]]):
113
122
  pulumi.set(self, "account_id", value)
114
123
 
124
+ @property
125
+ @pulumi.getter
126
+ def browsers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
127
+ """
128
+ The multiple browsers list on which synthetic monitors will run. Valid values are `CHROME` and `FIREFOX`.
129
+ """
130
+ return pulumi.get(self, "browsers")
131
+
132
+ @browsers.setter
133
+ def browsers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
134
+ pulumi.set(self, "browsers", value)
135
+
136
+ @property
137
+ @pulumi.getter
138
+ def devices(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
139
+ """
140
+ The multiple devices list on which synthetic monitors will run. Valid values are array of DESKTOP, MOBILE_LANDSCAPE,
141
+ MOBILE_PORTRAIT, TABLET_LANDSCAPE and TABLET_PORTRAIT
142
+ """
143
+ return pulumi.get(self, "devices")
144
+
145
+ @devices.setter
146
+ def devices(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
147
+ pulumi.set(self, "devices", value)
148
+
115
149
  @property
116
150
  @pulumi.getter(name="enableScreenshotOnFailureAndScript")
117
151
  def enable_screenshot_on_failure_and_script(self) -> Optional[pulumi.Input[bool]]:
@@ -176,7 +210,7 @@ class StepMonitorArgs:
176
210
  @pulumi.getter(name="runtimeTypeVersion")
177
211
  def runtime_type_version(self) -> Optional[pulumi.Input[str]]:
178
212
  """
179
- The specific semver version of the runtime type.
213
+ The specific version of the runtime type selected.
180
214
  """
181
215
  return pulumi.get(self, "runtime_type_version")
182
216
 
@@ -210,6 +244,8 @@ class StepMonitorArgs:
210
244
  class _StepMonitorState:
211
245
  def __init__(__self__, *,
212
246
  account_id: Optional[pulumi.Input[str]] = None,
247
+ browsers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
248
+ devices: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
213
249
  enable_screenshot_on_failure_and_script: Optional[pulumi.Input[bool]] = None,
214
250
  guid: Optional[pulumi.Input[str]] = None,
215
251
  location_privates: Optional[pulumi.Input[Sequence[pulumi.Input['StepMonitorLocationPrivateArgs']]]] = None,
@@ -226,6 +262,9 @@ class _StepMonitorState:
226
262
  """
227
263
  Input properties used for looking up and filtering StepMonitor resources.
228
264
  :param pulumi.Input[str] account_id: The account in which the Synthetics monitor will be created.
265
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] browsers: The multiple browsers list on which synthetic monitors will run. Valid values are `CHROME` and `FIREFOX`.
266
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] devices: The multiple devices list on which synthetic monitors will run. Valid values are array of DESKTOP, MOBILE_LANDSCAPE,
267
+ MOBILE_PORTRAIT, TABLET_LANDSCAPE and TABLET_PORTRAIT
229
268
  :param pulumi.Input[bool] enable_screenshot_on_failure_and_script: Capture a screenshot during job execution.
230
269
  :param pulumi.Input[str] guid: The unique entity identifier of the monitor in New Relic.
231
270
  :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.
@@ -234,13 +273,17 @@ class _StepMonitorState:
234
273
  :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`.
235
274
  :param pulumi.Input[int] period_in_minutes: The interval in minutes at which Synthetic monitor should run.
236
275
  :param pulumi.Input[str] runtime_type: The runtime that the monitor will use to run jobs.
237
- :param pulumi.Input[str] runtime_type_version: The specific semver version of the runtime type.
276
+ :param pulumi.Input[str] runtime_type_version: The specific version of the runtime type selected.
238
277
  :param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
239
278
  :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.
240
279
  :param pulumi.Input[Sequence[pulumi.Input['StepMonitorTagArgs']]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details.
241
280
  """
242
281
  if account_id is not None:
243
282
  pulumi.set(__self__, "account_id", account_id)
283
+ if browsers is not None:
284
+ pulumi.set(__self__, "browsers", browsers)
285
+ if devices is not None:
286
+ pulumi.set(__self__, "devices", devices)
244
287
  if enable_screenshot_on_failure_and_script is not None:
245
288
  pulumi.set(__self__, "enable_screenshot_on_failure_and_script", enable_screenshot_on_failure_and_script)
246
289
  if guid is not None:
@@ -280,6 +323,31 @@ class _StepMonitorState:
280
323
  def account_id(self, value: Optional[pulumi.Input[str]]):
281
324
  pulumi.set(self, "account_id", value)
282
325
 
326
+ @property
327
+ @pulumi.getter
328
+ def browsers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
329
+ """
330
+ The multiple browsers list on which synthetic monitors will run. Valid values are `CHROME` and `FIREFOX`.
331
+ """
332
+ return pulumi.get(self, "browsers")
333
+
334
+ @browsers.setter
335
+ def browsers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
336
+ pulumi.set(self, "browsers", value)
337
+
338
+ @property
339
+ @pulumi.getter
340
+ def devices(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
341
+ """
342
+ The multiple devices list on which synthetic monitors will run. Valid values are array of DESKTOP, MOBILE_LANDSCAPE,
343
+ MOBILE_PORTRAIT, TABLET_LANDSCAPE and TABLET_PORTRAIT
344
+ """
345
+ return pulumi.get(self, "devices")
346
+
347
+ @devices.setter
348
+ def devices(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
349
+ pulumi.set(self, "devices", value)
350
+
283
351
  @property
284
352
  @pulumi.getter(name="enableScreenshotOnFailureAndScript")
285
353
  def enable_screenshot_on_failure_and_script(self) -> Optional[pulumi.Input[bool]]:
@@ -380,7 +448,7 @@ class _StepMonitorState:
380
448
  @pulumi.getter(name="runtimeTypeVersion")
381
449
  def runtime_type_version(self) -> Optional[pulumi.Input[str]]:
382
450
  """
383
- The specific semver version of the runtime type.
451
+ The specific version of the runtime type selected.
384
452
  """
385
453
  return pulumi.get(self, "runtime_type_version")
386
454
 
@@ -440,6 +508,8 @@ class StepMonitor(pulumi.CustomResource):
440
508
  resource_name: str,
441
509
  opts: Optional[pulumi.ResourceOptions] = None,
442
510
  account_id: Optional[pulumi.Input[str]] = None,
511
+ browsers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
512
+ devices: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
443
513
  enable_screenshot_on_failure_and_script: Optional[pulumi.Input[bool]] = None,
444
514
  location_privates: Optional[pulumi.Input[Sequence[pulumi.Input[Union['StepMonitorLocationPrivateArgs', 'StepMonitorLocationPrivateArgsDict']]]]] = None,
445
515
  locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
@@ -470,6 +540,12 @@ class StepMonitor(pulumi.CustomResource):
470
540
  status="ENABLED",
471
541
  runtime_type="CHROME_BROWSER",
472
542
  runtime_type_version="100",
543
+ devices=[
544
+ "DESKTOP",
545
+ "MOBILE_PORTRAIT",
546
+ "TABLET_LANDSCAPE",
547
+ ],
548
+ browsers=["CHROME"],
473
549
  steps=[{
474
550
  "ordinal": 0,
475
551
  "type": "NAVIGATE",
@@ -502,6 +578,14 @@ class StepMonitor(pulumi.CustomResource):
502
578
  name="Sample Step Monitor",
503
579
  period="EVERY_6_HOURS",
504
580
  status="ENABLED",
581
+ runtime_type="CHROME_BROWSER",
582
+ runtime_type_version="100",
583
+ devices=[
584
+ "DESKTOP",
585
+ "MOBILE_PORTRAIT",
586
+ "TABLET_LANDSCAPE",
587
+ ],
588
+ browsers=["CHROME"],
505
589
  location_privates=[{
506
590
  "guid": foo.id,
507
591
  "vse_password": "secret",
@@ -530,13 +614,16 @@ class StepMonitor(pulumi.CustomResource):
530
614
  :param str resource_name: The name of the resource.
531
615
  :param pulumi.ResourceOptions opts: Options for the resource.
532
616
  :param pulumi.Input[str] account_id: The account in which the Synthetics monitor will be created.
617
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] browsers: The multiple browsers list on which synthetic monitors will run. Valid values are `CHROME` and `FIREFOX`.
618
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] devices: The multiple devices list on which synthetic monitors will run. Valid values are array of DESKTOP, MOBILE_LANDSCAPE,
619
+ MOBILE_PORTRAIT, TABLET_LANDSCAPE and TABLET_PORTRAIT
533
620
  :param pulumi.Input[bool] enable_screenshot_on_failure_and_script: Capture a screenshot during job execution.
534
621
  :param pulumi.Input[Sequence[pulumi.Input[Union['StepMonitorLocationPrivateArgs', 'StepMonitorLocationPrivateArgsDict']]]] 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.
535
622
  :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. You don't need the `AWS_` prefix as the provider uses NerdGraph. At least one of either `locations_public` or `location_private` is required.
536
623
  :param pulumi.Input[str] name: The name for the monitor.
537
624
  :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`.
538
625
  :param pulumi.Input[str] runtime_type: The runtime that the monitor will use to run jobs.
539
- :param pulumi.Input[str] runtime_type_version: The specific semver version of the runtime type.
626
+ :param pulumi.Input[str] runtime_type_version: The specific version of the runtime type selected.
540
627
  :param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
541
628
  :param pulumi.Input[Sequence[pulumi.Input[Union['StepMonitorStepArgs', 'StepMonitorStepArgsDict']]]] steps: The steps that make up the script the monitor will run. See Nested steps blocks below for details.
542
629
  :param pulumi.Input[Sequence[pulumi.Input[Union['StepMonitorTagArgs', 'StepMonitorTagArgsDict']]]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details.
@@ -565,6 +652,12 @@ class StepMonitor(pulumi.CustomResource):
565
652
  status="ENABLED",
566
653
  runtime_type="CHROME_BROWSER",
567
654
  runtime_type_version="100",
655
+ devices=[
656
+ "DESKTOP",
657
+ "MOBILE_PORTRAIT",
658
+ "TABLET_LANDSCAPE",
659
+ ],
660
+ browsers=["CHROME"],
568
661
  steps=[{
569
662
  "ordinal": 0,
570
663
  "type": "NAVIGATE",
@@ -597,6 +690,14 @@ class StepMonitor(pulumi.CustomResource):
597
690
  name="Sample Step Monitor",
598
691
  period="EVERY_6_HOURS",
599
692
  status="ENABLED",
693
+ runtime_type="CHROME_BROWSER",
694
+ runtime_type_version="100",
695
+ devices=[
696
+ "DESKTOP",
697
+ "MOBILE_PORTRAIT",
698
+ "TABLET_LANDSCAPE",
699
+ ],
700
+ browsers=["CHROME"],
600
701
  location_privates=[{
601
702
  "guid": foo.id,
602
703
  "vse_password": "secret",
@@ -638,6 +739,8 @@ class StepMonitor(pulumi.CustomResource):
638
739
  resource_name: str,
639
740
  opts: Optional[pulumi.ResourceOptions] = None,
640
741
  account_id: Optional[pulumi.Input[str]] = None,
742
+ browsers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
743
+ devices: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
641
744
  enable_screenshot_on_failure_and_script: Optional[pulumi.Input[bool]] = None,
642
745
  location_privates: Optional[pulumi.Input[Sequence[pulumi.Input[Union['StepMonitorLocationPrivateArgs', 'StepMonitorLocationPrivateArgsDict']]]]] = None,
643
746
  locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
@@ -659,6 +762,8 @@ class StepMonitor(pulumi.CustomResource):
659
762
  __props__ = StepMonitorArgs.__new__(StepMonitorArgs)
660
763
 
661
764
  __props__.__dict__["account_id"] = account_id
765
+ __props__.__dict__["browsers"] = browsers
766
+ __props__.__dict__["devices"] = devices
662
767
  __props__.__dict__["enable_screenshot_on_failure_and_script"] = enable_screenshot_on_failure_and_script
663
768
  __props__.__dict__["location_privates"] = location_privates
664
769
  __props__.__dict__["locations_publics"] = locations_publics
@@ -689,6 +794,8 @@ class StepMonitor(pulumi.CustomResource):
689
794
  id: pulumi.Input[str],
690
795
  opts: Optional[pulumi.ResourceOptions] = None,
691
796
  account_id: Optional[pulumi.Input[str]] = None,
797
+ browsers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
798
+ devices: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
692
799
  enable_screenshot_on_failure_and_script: Optional[pulumi.Input[bool]] = None,
693
800
  guid: Optional[pulumi.Input[str]] = None,
694
801
  location_privates: Optional[pulumi.Input[Sequence[pulumi.Input[Union['StepMonitorLocationPrivateArgs', 'StepMonitorLocationPrivateArgsDict']]]]] = None,
@@ -710,6 +817,9 @@ class StepMonitor(pulumi.CustomResource):
710
817
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
711
818
  :param pulumi.ResourceOptions opts: Options for the resource.
712
819
  :param pulumi.Input[str] account_id: The account in which the Synthetics monitor will be created.
820
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] browsers: The multiple browsers list on which synthetic monitors will run. Valid values are `CHROME` and `FIREFOX`.
821
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] devices: The multiple devices list on which synthetic monitors will run. Valid values are array of DESKTOP, MOBILE_LANDSCAPE,
822
+ MOBILE_PORTRAIT, TABLET_LANDSCAPE and TABLET_PORTRAIT
713
823
  :param pulumi.Input[bool] enable_screenshot_on_failure_and_script: Capture a screenshot during job execution.
714
824
  :param pulumi.Input[str] guid: The unique entity identifier of the monitor in New Relic.
715
825
  :param pulumi.Input[Sequence[pulumi.Input[Union['StepMonitorLocationPrivateArgs', 'StepMonitorLocationPrivateArgsDict']]]] 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.
@@ -718,7 +828,7 @@ class StepMonitor(pulumi.CustomResource):
718
828
  :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`.
719
829
  :param pulumi.Input[int] period_in_minutes: The interval in minutes at which Synthetic monitor should run.
720
830
  :param pulumi.Input[str] runtime_type: The runtime that the monitor will use to run jobs.
721
- :param pulumi.Input[str] runtime_type_version: The specific semver version of the runtime type.
831
+ :param pulumi.Input[str] runtime_type_version: The specific version of the runtime type selected.
722
832
  :param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
723
833
  :param pulumi.Input[Sequence[pulumi.Input[Union['StepMonitorStepArgs', 'StepMonitorStepArgsDict']]]] steps: The steps that make up the script the monitor will run. See Nested steps blocks below for details.
724
834
  :param pulumi.Input[Sequence[pulumi.Input[Union['StepMonitorTagArgs', 'StepMonitorTagArgsDict']]]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details.
@@ -728,6 +838,8 @@ class StepMonitor(pulumi.CustomResource):
728
838
  __props__ = _StepMonitorState.__new__(_StepMonitorState)
729
839
 
730
840
  __props__.__dict__["account_id"] = account_id
841
+ __props__.__dict__["browsers"] = browsers
842
+ __props__.__dict__["devices"] = devices
731
843
  __props__.__dict__["enable_screenshot_on_failure_and_script"] = enable_screenshot_on_failure_and_script
732
844
  __props__.__dict__["guid"] = guid
733
845
  __props__.__dict__["location_privates"] = location_privates
@@ -751,6 +863,23 @@ class StepMonitor(pulumi.CustomResource):
751
863
  """
752
864
  return pulumi.get(self, "account_id")
753
865
 
866
+ @property
867
+ @pulumi.getter
868
+ def browsers(self) -> pulumi.Output[Optional[Sequence[str]]]:
869
+ """
870
+ The multiple browsers list on which synthetic monitors will run. Valid values are `CHROME` and `FIREFOX`.
871
+ """
872
+ return pulumi.get(self, "browsers")
873
+
874
+ @property
875
+ @pulumi.getter
876
+ def devices(self) -> pulumi.Output[Optional[Sequence[str]]]:
877
+ """
878
+ The multiple devices list on which synthetic monitors will run. Valid values are array of DESKTOP, MOBILE_LANDSCAPE,
879
+ MOBILE_PORTRAIT, TABLET_LANDSCAPE and TABLET_PORTRAIT
880
+ """
881
+ return pulumi.get(self, "devices")
882
+
754
883
  @property
755
884
  @pulumi.getter(name="enableScreenshotOnFailureAndScript")
756
885
  def enable_screenshot_on_failure_and_script(self) -> pulumi.Output[Optional[bool]]:
@@ -819,7 +948,7 @@ class StepMonitor(pulumi.CustomResource):
819
948
  @pulumi.getter(name="runtimeTypeVersion")
820
949
  def runtime_type_version(self) -> pulumi.Output[Optional[str]]:
821
950
  """
822
- The specific semver version of the runtime type.
951
+ The specific version of the runtime type selected.
823
952
  """
824
953
  return pulumi.get(self, "runtime_type_version")
825
954
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pulumi_newrelic
3
- Version: 5.31.1
3
+ Version: 5.32.0
4
4
  Summary: A Pulumi package for creating and managing New Relic resources.
5
5
  License: Apache-2.0
6
6
  Project-URL: Homepage, https://pulumi.io
@@ -41,7 +41,7 @@ pulumi_newrelic/one_dashboard_json.py,sha256=u-JceUUU1oHvQ_QT5rSy5kWw17dGR4hk_X0
41
41
  pulumi_newrelic/one_dashboard_raw.py,sha256=_5CWA6p6_tCfI135mTysVo0qjQf1xnYBNEZBDNmKqsw,23502
42
42
  pulumi_newrelic/outputs.py,sha256=TdO-CuVJTKhSmIRRYYtL6L6i55OPM2XfwiamJrddutA,532114
43
43
  pulumi_newrelic/provider.py,sha256=Bsa8btfylF9MK4dh4DF7RFTc8PaDI7qMeaFipQxwATw,18319
44
- pulumi_newrelic/pulumi-plugin.json,sha256=0jsJMH9QVLraAmCG3i50qNBhoDtmBW2tfpby1cG7PYU,68
44
+ pulumi_newrelic/pulumi-plugin.json,sha256=0gpMogzw6F0DQieBOucfIBy7DXjazQzv6vdm3K2yi-8,68
45
45
  pulumi_newrelic/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
46
46
  pulumi_newrelic/service_level.py,sha256=1MA3qQw6Y6d-HA6TIckt0B7FLZIhNCH8GuWhn0f246M,28806
47
47
  pulumi_newrelic/user.py,sha256=kmrrs7yU396-mOZwigKQVS4iAyJHGZgevWJJkjU_CdI,18942
@@ -76,14 +76,14 @@ pulumi_newrelic/synthetics/broken_links_monitor.py,sha256=hyQem6uR9RmPaf4fedhk-H
76
76
  pulumi_newrelic/synthetics/cert_check_monitor.py,sha256=FwRe7xXr_MG8sbICoM_w6CX4xUAJFFLe2W86zaVgyZg,39084
77
77
  pulumi_newrelic/synthetics/get_private_location.py,sha256=qgChL7uKmcMLxrjvYGZ9Duh6zbdgX80TKHaF-7_LLBc,5701
78
78
  pulumi_newrelic/synthetics/get_secure_credential.py,sha256=xexkDSteNi9kn0UuucFUSTIbz_NaHOzw6HTsg2yGoEU,5479
79
- pulumi_newrelic/synthetics/monitor.py,sha256=qRNTNb6r892TwD_oNGHwZDoNJ35r0AfjhQQ1fUawqBc,66224
79
+ pulumi_newrelic/synthetics/monitor.py,sha256=FhtdORIrPng501X3prRCI4FCK-AiKSJY2ASatm2OhGU,74804
80
80
  pulumi_newrelic/synthetics/multi_location_alert_condition.py,sha256=0CKd3lqK2-vL7mXXWM5LfSyxjbYLg7XFXwJyAwyvYOM,34660
81
81
  pulumi_newrelic/synthetics/outputs.py,sha256=z5-aR2wEr5nl36oFpcxI1ICSDWzci3KRU5G_OAz9MUM,11217
82
82
  pulumi_newrelic/synthetics/private_location.py,sha256=Z6Pj1vjDif95ep7w4QhWu3jsQQ5USzIjhzaFCA9oGBg,17299
83
- pulumi_newrelic/synthetics/script_monitor.py,sha256=3McDfGQHxaMQ7a_OlUdc3MWBqfL7RxfTpBbi4f2zZvA,57354
83
+ pulumi_newrelic/synthetics/script_monitor.py,sha256=qEsYg8-LF79kW4CTsYfisgghvPSKNwqqU5Vtcp44_Ws,65934
84
84
  pulumi_newrelic/synthetics/secure_credential.py,sha256=VhiFz5VYzSoyndMhYJk-aoIIoVjechXClltZUThei_8,15602
85
- pulumi_newrelic/synthetics/step_monitor.py,sha256=46ZEzNqsgxhgS7LUP7M4S7UgXQqA-1G45_bN7vfi8RI,42280
86
- pulumi_newrelic-5.31.1.dist-info/METADATA,sha256=vbpY8mH6g1M1IZld5JPufroH946CHliw8DFhMyrvoso,3889
87
- pulumi_newrelic-5.31.1.dist-info/WHEEL,sha256=cVxcB9AmuTcXqmwrtPhNK88dr7IR_b6qagTj0UvIEbY,91
88
- pulumi_newrelic-5.31.1.dist-info/top_level.txt,sha256=BjE1Wsu6Ah_A7k08uV5vRSZ2R_5uY3wFvSWJaa7ZoQk,16
89
- pulumi_newrelic-5.31.1.dist-info/RECORD,,
85
+ pulumi_newrelic/synthetics/step_monitor.py,sha256=LfGNfqgZyQBRaA92a-kID9UNEsyFmuJxPgSWnk_Z5nQ,48788
86
+ pulumi_newrelic-5.32.0.dist-info/METADATA,sha256=JaMwytElzXw5owxhnbSSLBwQDugLS7EQVBVyk8Djx_g,3889
87
+ pulumi_newrelic-5.32.0.dist-info/WHEEL,sha256=cVxcB9AmuTcXqmwrtPhNK88dr7IR_b6qagTj0UvIEbY,91
88
+ pulumi_newrelic-5.32.0.dist-info/top_level.txt,sha256=BjE1Wsu6Ah_A7k08uV5vRSZ2R_5uY3wFvSWJaa7ZoQk,16
89
+ pulumi_newrelic-5.32.0.dist-info/RECORD,,