pulumi-newrelic 5.28.0a1723107045__py3-none-any.whl → 5.29.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.
Files changed (41) hide show
  1. pulumi_newrelic/alert_channel.py +69 -69
  2. pulumi_newrelic/alert_condition.py +49 -49
  3. pulumi_newrelic/alert_muting_rule.py +54 -54
  4. pulumi_newrelic/alert_policy.py +16 -16
  5. pulumi_newrelic/alert_policy_channel.py +16 -16
  6. pulumi_newrelic/cloud/aws_govcloud_integrations.py +100 -100
  7. pulumi_newrelic/cloud/aws_integrations.py +798 -798
  8. pulumi_newrelic/cloud/azure_integrations.py +424 -424
  9. pulumi_newrelic/cloud/gcp_integrations.py +288 -288
  10. pulumi_newrelic/entity_tags.py +21 -21
  11. pulumi_newrelic/get_application.py +14 -14
  12. pulumi_newrelic/get_entity.py +4 -4
  13. pulumi_newrelic/get_key_transaction.py +14 -14
  14. pulumi_newrelic/get_notification_destination.py +4 -4
  15. pulumi_newrelic/get_obfuscation_expression.py +10 -10
  16. pulumi_newrelic/get_service_level_alert_helper.py +76 -76
  17. pulumi_newrelic/infra_alert_condition.py +90 -90
  18. pulumi_newrelic/insights/event.py +43 -43
  19. pulumi_newrelic/monitor_downtime.py +52 -52
  20. pulumi_newrelic/notification_channel.py +187 -187
  21. pulumi_newrelic/notification_destination.py +25 -25
  22. pulumi_newrelic/nrql_alert_condition.py +262 -164
  23. pulumi_newrelic/obfuscation_rule.py +15 -15
  24. pulumi_newrelic/one_dashboard.py +10 -10
  25. pulumi_newrelic/one_dashboard_raw.py +75 -75
  26. pulumi_newrelic/plugins/workload.py +101 -101
  27. pulumi_newrelic/pulumi-plugin.json +1 -1
  28. pulumi_newrelic/service_level.py +164 -164
  29. pulumi_newrelic/synthetics/alert_condition.py +32 -32
  30. pulumi_newrelic/synthetics/broken_links_monitor.py +21 -21
  31. pulumi_newrelic/synthetics/cert_check_monitor.py +21 -21
  32. pulumi_newrelic/synthetics/get_private_location.py +6 -6
  33. pulumi_newrelic/synthetics/monitor.py +74 -74
  34. pulumi_newrelic/synthetics/multi_location_alert_condition.py +66 -66
  35. pulumi_newrelic/synthetics/script_monitor.py +58 -58
  36. pulumi_newrelic/synthetics/step_monitor.py +59 -59
  37. pulumi_newrelic/workflow.py +155 -155
  38. {pulumi_newrelic-5.28.0a1723107045.dist-info → pulumi_newrelic-5.29.0.dist-info}/METADATA +1 -1
  39. {pulumi_newrelic-5.28.0a1723107045.dist-info → pulumi_newrelic-5.29.0.dist-info}/RECORD +41 -41
  40. {pulumi_newrelic-5.28.0a1723107045.dist-info → pulumi_newrelic-5.29.0.dist-info}/WHEEL +0 -0
  41. {pulumi_newrelic-5.28.0a1723107045.dist-info → pulumi_newrelic-5.29.0.dist-info}/top_level.txt +0 -0
@@ -315,14 +315,14 @@ class MultiLocationAlertCondition(pulumi.CustomResource):
315
315
  def __init__(__self__,
316
316
  resource_name: str,
317
317
  opts: Optional[pulumi.ResourceOptions] = None,
318
- critical: Optional[pulumi.Input[pulumi.InputType['MultiLocationAlertConditionCriticalArgs']]] = None,
318
+ critical: Optional[pulumi.Input[Union['MultiLocationAlertConditionCriticalArgs', 'MultiLocationAlertConditionCriticalArgsDict']]] = None,
319
319
  enabled: Optional[pulumi.Input[bool]] = None,
320
320
  entities: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
321
321
  name: Optional[pulumi.Input[str]] = None,
322
322
  policy_id: Optional[pulumi.Input[str]] = None,
323
323
  runbook_url: Optional[pulumi.Input[str]] = None,
324
324
  violation_time_limit_seconds: Optional[pulumi.Input[int]] = None,
325
- warning: Optional[pulumi.Input[pulumi.InputType['MultiLocationAlertConditionWarningArgs']]] = None,
325
+ warning: Optional[pulumi.Input[Union['MultiLocationAlertConditionWarningArgs', 'MultiLocationAlertConditionWarningArgsDict']]] = None,
326
326
  __props__=None):
327
327
  """
328
328
  Use this resource to create, update, and delete a New Relic Synthetics Location Alerts.
@@ -350,12 +350,12 @@ class MultiLocationAlertCondition(pulumi.CustomResource):
350
350
  enabled=True,
351
351
  violation_time_limit_seconds=3600,
352
352
  entities=[monitor.id],
353
- critical=newrelic.synthetics.MultiLocationAlertConditionCriticalArgs(
354
- threshold=2,
355
- ),
356
- warning=newrelic.synthetics.MultiLocationAlertConditionWarningArgs(
357
- threshold=1,
358
- ))
353
+ critical={
354
+ "threshold": 2,
355
+ },
356
+ warning={
357
+ "threshold": 1,
358
+ })
359
359
  ```
360
360
  ## Tags
361
361
 
@@ -373,18 +373,18 @@ class MultiLocationAlertCondition(pulumi.CustomResource):
373
373
  uri="https://www.one.newrelic.com",
374
374
  type="SIMPLE",
375
375
  locations_publics=["AP_EAST_1"],
376
- custom_headers=[newrelic.synthetics.MonitorCustomHeaderArgs(
377
- name="some_name",
378
- value="some_value",
379
- )],
376
+ custom_headers=[{
377
+ "name": "some_name",
378
+ "value": "some_value",
379
+ }],
380
380
  treat_redirect_as_failure=True,
381
381
  validation_string="success",
382
382
  bypass_head_request=True,
383
383
  verify_ssl=True,
384
- tags=[newrelic.synthetics.MonitorTagArgs(
385
- key="some_key",
386
- values=["some_value"],
387
- )])
384
+ tags=[{
385
+ "key": "some_key",
386
+ "values": ["some_value"],
387
+ }])
388
388
  foo_multi_location_alert_condition = newrelic.synthetics.MultiLocationAlertCondition("foo",
389
389
  policy_id=foo.id,
390
390
  name="foo condition",
@@ -392,26 +392,26 @@ class MultiLocationAlertCondition(pulumi.CustomResource):
392
392
  enabled=True,
393
393
  violation_time_limit_seconds=3600,
394
394
  entities=[foo_monitor.id],
395
- critical=newrelic.synthetics.MultiLocationAlertConditionCriticalArgs(
396
- threshold=2,
397
- ),
398
- warning=newrelic.synthetics.MultiLocationAlertConditionWarningArgs(
399
- threshold=1,
400
- ))
395
+ critical={
396
+ "threshold": 2,
397
+ },
398
+ warning={
399
+ "threshold": 1,
400
+ })
401
401
  my_condition_entity_tags = newrelic.EntityTags("my_condition_entity_tags",
402
402
  guid=foo_multi_location_alert_condition.entity_guid,
403
403
  tags=[
404
- newrelic.EntityTagsTagArgs(
405
- key="my-key",
406
- values=[
404
+ {
405
+ "key": "my-key",
406
+ "values": [
407
407
  "my-value",
408
408
  "my-other-value",
409
409
  ],
410
- ),
411
- newrelic.EntityTagsTagArgs(
412
- key="my-key-2",
413
- values=["my-value-2"],
414
- ),
410
+ },
411
+ {
412
+ "key": "my-key-2",
413
+ "values": ["my-value-2"],
414
+ },
415
415
  ])
416
416
  ```
417
417
 
@@ -429,14 +429,14 @@ class MultiLocationAlertCondition(pulumi.CustomResource):
429
429
 
430
430
  :param str resource_name: The name of the resource.
431
431
  :param pulumi.ResourceOptions opts: Options for the resource.
432
- :param pulumi.Input[pulumi.InputType['MultiLocationAlertConditionCriticalArgs']] critical: A condition term with the priority set to critical.
432
+ :param pulumi.Input[Union['MultiLocationAlertConditionCriticalArgs', 'MultiLocationAlertConditionCriticalArgsDict']] critical: A condition term with the priority set to critical.
433
433
  :param pulumi.Input[bool] enabled: Set whether to enable the alert condition. Defaults to true.
434
434
  :param pulumi.Input[Sequence[pulumi.Input[str]]] entities: The Monitor GUID's of the Synthetics monitors to alert on.
435
435
  :param pulumi.Input[str] name: The title of the condition.
436
436
  :param pulumi.Input[str] policy_id: The ID of the policy where this condition will be used.
437
437
  :param pulumi.Input[str] runbook_url: Runbook URL to display in notifications.
438
438
  :param pulumi.Input[int] violation_time_limit_seconds: The maximum number of seconds a violation can remain open before being closed by the system. The value must be between 300 seconds (5 minutes) to 2592000 seconds (30 days), both inclusive. Defaults to 259200 seconds (3 days) if this argument is not specified in the configuration, in accordance with the characteristics of this field in NerdGraph, as specified in the [docs](https://docs.newrelic.com/docs/alerts-applied-intelligence/new-relic-alerts/advanced-alerts/rest-api-alerts/alerts-conditions-api-field-names/#violation_time_limit_seconds).
439
- :param pulumi.Input[pulumi.InputType['MultiLocationAlertConditionWarningArgs']] warning: A condition term with the priority set to warning.
439
+ :param pulumi.Input[Union['MultiLocationAlertConditionWarningArgs', 'MultiLocationAlertConditionWarningArgsDict']] warning: A condition term with the priority set to warning.
440
440
 
441
441
 
442
442
  > **WARNING:** This resource will use the account ID linked to your API key. At the moment it is not possible to dynamically set the account ID.
@@ -473,12 +473,12 @@ class MultiLocationAlertCondition(pulumi.CustomResource):
473
473
  enabled=True,
474
474
  violation_time_limit_seconds=3600,
475
475
  entities=[monitor.id],
476
- critical=newrelic.synthetics.MultiLocationAlertConditionCriticalArgs(
477
- threshold=2,
478
- ),
479
- warning=newrelic.synthetics.MultiLocationAlertConditionWarningArgs(
480
- threshold=1,
481
- ))
476
+ critical={
477
+ "threshold": 2,
478
+ },
479
+ warning={
480
+ "threshold": 1,
481
+ })
482
482
  ```
483
483
  ## Tags
484
484
 
@@ -496,18 +496,18 @@ class MultiLocationAlertCondition(pulumi.CustomResource):
496
496
  uri="https://www.one.newrelic.com",
497
497
  type="SIMPLE",
498
498
  locations_publics=["AP_EAST_1"],
499
- custom_headers=[newrelic.synthetics.MonitorCustomHeaderArgs(
500
- name="some_name",
501
- value="some_value",
502
- )],
499
+ custom_headers=[{
500
+ "name": "some_name",
501
+ "value": "some_value",
502
+ }],
503
503
  treat_redirect_as_failure=True,
504
504
  validation_string="success",
505
505
  bypass_head_request=True,
506
506
  verify_ssl=True,
507
- tags=[newrelic.synthetics.MonitorTagArgs(
508
- key="some_key",
509
- values=["some_value"],
510
- )])
507
+ tags=[{
508
+ "key": "some_key",
509
+ "values": ["some_value"],
510
+ }])
511
511
  foo_multi_location_alert_condition = newrelic.synthetics.MultiLocationAlertCondition("foo",
512
512
  policy_id=foo.id,
513
513
  name="foo condition",
@@ -515,26 +515,26 @@ class MultiLocationAlertCondition(pulumi.CustomResource):
515
515
  enabled=True,
516
516
  violation_time_limit_seconds=3600,
517
517
  entities=[foo_monitor.id],
518
- critical=newrelic.synthetics.MultiLocationAlertConditionCriticalArgs(
519
- threshold=2,
520
- ),
521
- warning=newrelic.synthetics.MultiLocationAlertConditionWarningArgs(
522
- threshold=1,
523
- ))
518
+ critical={
519
+ "threshold": 2,
520
+ },
521
+ warning={
522
+ "threshold": 1,
523
+ })
524
524
  my_condition_entity_tags = newrelic.EntityTags("my_condition_entity_tags",
525
525
  guid=foo_multi_location_alert_condition.entity_guid,
526
526
  tags=[
527
- newrelic.EntityTagsTagArgs(
528
- key="my-key",
529
- values=[
527
+ {
528
+ "key": "my-key",
529
+ "values": [
530
530
  "my-value",
531
531
  "my-other-value",
532
532
  ],
533
- ),
534
- newrelic.EntityTagsTagArgs(
535
- key="my-key-2",
536
- values=["my-value-2"],
537
- ),
533
+ },
534
+ {
535
+ "key": "my-key-2",
536
+ "values": ["my-value-2"],
537
+ },
538
538
  ])
539
539
  ```
540
540
 
@@ -565,14 +565,14 @@ class MultiLocationAlertCondition(pulumi.CustomResource):
565
565
  def _internal_init(__self__,
566
566
  resource_name: str,
567
567
  opts: Optional[pulumi.ResourceOptions] = None,
568
- critical: Optional[pulumi.Input[pulumi.InputType['MultiLocationAlertConditionCriticalArgs']]] = None,
568
+ critical: Optional[pulumi.Input[Union['MultiLocationAlertConditionCriticalArgs', 'MultiLocationAlertConditionCriticalArgsDict']]] = None,
569
569
  enabled: Optional[pulumi.Input[bool]] = None,
570
570
  entities: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
571
571
  name: Optional[pulumi.Input[str]] = None,
572
572
  policy_id: Optional[pulumi.Input[str]] = None,
573
573
  runbook_url: Optional[pulumi.Input[str]] = None,
574
574
  violation_time_limit_seconds: Optional[pulumi.Input[int]] = None,
575
- warning: Optional[pulumi.Input[pulumi.InputType['MultiLocationAlertConditionWarningArgs']]] = None,
575
+ warning: Optional[pulumi.Input[Union['MultiLocationAlertConditionWarningArgs', 'MultiLocationAlertConditionWarningArgsDict']]] = None,
576
576
  __props__=None):
577
577
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
578
578
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -607,7 +607,7 @@ class MultiLocationAlertCondition(pulumi.CustomResource):
607
607
  def get(resource_name: str,
608
608
  id: pulumi.Input[str],
609
609
  opts: Optional[pulumi.ResourceOptions] = None,
610
- critical: Optional[pulumi.Input[pulumi.InputType['MultiLocationAlertConditionCriticalArgs']]] = None,
610
+ critical: Optional[pulumi.Input[Union['MultiLocationAlertConditionCriticalArgs', 'MultiLocationAlertConditionCriticalArgsDict']]] = None,
611
611
  enabled: Optional[pulumi.Input[bool]] = None,
612
612
  entities: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
613
613
  entity_guid: Optional[pulumi.Input[str]] = None,
@@ -615,7 +615,7 @@ class MultiLocationAlertCondition(pulumi.CustomResource):
615
615
  policy_id: Optional[pulumi.Input[str]] = None,
616
616
  runbook_url: Optional[pulumi.Input[str]] = None,
617
617
  violation_time_limit_seconds: Optional[pulumi.Input[int]] = None,
618
- warning: Optional[pulumi.Input[pulumi.InputType['MultiLocationAlertConditionWarningArgs']]] = None) -> 'MultiLocationAlertCondition':
618
+ warning: Optional[pulumi.Input[Union['MultiLocationAlertConditionWarningArgs', 'MultiLocationAlertConditionWarningArgsDict']]] = None) -> 'MultiLocationAlertCondition':
619
619
  """
620
620
  Get an existing MultiLocationAlertCondition resource's state with the given name, id, and optional extra
621
621
  properties used to qualify the lookup.
@@ -623,7 +623,7 @@ class MultiLocationAlertCondition(pulumi.CustomResource):
623
623
  :param str resource_name: The unique name of the resulting resource.
624
624
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
625
625
  :param pulumi.ResourceOptions opts: Options for the resource.
626
- :param pulumi.Input[pulumi.InputType['MultiLocationAlertConditionCriticalArgs']] critical: A condition term with the priority set to critical.
626
+ :param pulumi.Input[Union['MultiLocationAlertConditionCriticalArgs', 'MultiLocationAlertConditionCriticalArgsDict']] critical: A condition term with the priority set to critical.
627
627
  :param pulumi.Input[bool] enabled: Set whether to enable the alert condition. Defaults to true.
628
628
  :param pulumi.Input[Sequence[pulumi.Input[str]]] entities: The Monitor GUID's of the Synthetics monitors to alert on.
629
629
  :param pulumi.Input[str] entity_guid: The unique entity identifier of the condition in New Relic.
@@ -631,7 +631,7 @@ class MultiLocationAlertCondition(pulumi.CustomResource):
631
631
  :param pulumi.Input[str] policy_id: The ID of the policy where this condition will be used.
632
632
  :param pulumi.Input[str] runbook_url: Runbook URL to display in notifications.
633
633
  :param pulumi.Input[int] violation_time_limit_seconds: The maximum number of seconds a violation can remain open before being closed by the system. The value must be between 300 seconds (5 minutes) to 2592000 seconds (30 days), both inclusive. Defaults to 259200 seconds (3 days) if this argument is not specified in the configuration, in accordance with the characteristics of this field in NerdGraph, as specified in the [docs](https://docs.newrelic.com/docs/alerts-applied-intelligence/new-relic-alerts/advanced-alerts/rest-api-alerts/alerts-conditions-api-field-names/#violation_time_limit_seconds).
634
- :param pulumi.Input[pulumi.InputType['MultiLocationAlertConditionWarningArgs']] warning: A condition term with the priority set to warning.
634
+ :param pulumi.Input[Union['MultiLocationAlertConditionWarningArgs', 'MultiLocationAlertConditionWarningArgsDict']] warning: A condition term with the priority set to warning.
635
635
 
636
636
 
637
637
  > **WARNING:** This resource will use the account ID linked to your API key. At the moment it is not possible to dynamically set the account ID.
@@ -555,7 +555,7 @@ class ScriptMonitor(pulumi.CustomResource):
555
555
  device_orientation: Optional[pulumi.Input[str]] = None,
556
556
  device_type: Optional[pulumi.Input[str]] = None,
557
557
  enable_screenshot_on_failure_and_script: Optional[pulumi.Input[bool]] = None,
558
- location_privates: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ScriptMonitorLocationPrivateArgs']]]]] = None,
558
+ location_privates: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ScriptMonitorLocationPrivateArgs', 'ScriptMonitorLocationPrivateArgsDict']]]]] = None,
559
559
  locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
560
560
  name: Optional[pulumi.Input[str]] = None,
561
561
  period: Optional[pulumi.Input[str]] = None,
@@ -564,7 +564,7 @@ class ScriptMonitor(pulumi.CustomResource):
564
564
  script: Optional[pulumi.Input[str]] = None,
565
565
  script_language: Optional[pulumi.Input[str]] = None,
566
566
  status: Optional[pulumi.Input[str]] = None,
567
- tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ScriptMonitorTagArgs']]]]] = None,
567
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ScriptMonitorTagArgs', 'ScriptMonitorTagArgsDict']]]]] = None,
568
568
  type: Optional[pulumi.Input[str]] = None,
569
569
  __props__=None):
570
570
  """
@@ -593,10 +593,10 @@ class ScriptMonitor(pulumi.CustomResource):
593
593
  script_language="JAVASCRIPT",
594
594
  runtime_type="NODE_API",
595
595
  runtime_type_version="16.10",
596
- tags=[newrelic.synthetics.ScriptMonitorTagArgs(
597
- key="some_key",
598
- values=["some_value"],
599
- )])
596
+ tags=[{
597
+ "key": "some_key",
598
+ "values": ["some_value"],
599
+ }])
600
600
  ```
601
601
  ##### Type: `SCRIPT_BROWSER`
602
602
 
@@ -618,10 +618,10 @@ class ScriptMonitor(pulumi.CustomResource):
618
618
  runtime_type_version="100",
619
619
  runtime_type="CHROME_BROWSER",
620
620
  script_language="JAVASCRIPT",
621
- tags=[newrelic.synthetics.ScriptMonitorTagArgs(
622
- key="some_key",
623
- values=["some_value"],
624
- )])
621
+ tags=[{
622
+ "key": "some_key",
623
+ "values": ["some_value"],
624
+ }])
625
625
  ```
626
626
  See additional examples.
627
627
 
@@ -647,19 +647,19 @@ class ScriptMonitor(pulumi.CustomResource):
647
647
  status="ENABLED",
648
648
  name="script_monitor",
649
649
  type="SCRIPT_API",
650
- location_privates=[newrelic.synthetics.ScriptMonitorLocationPrivateArgs(
651
- guid=location.id,
652
- vse_password="secret",
653
- )],
650
+ location_privates=[{
651
+ "guid": location.id,
652
+ "vse_password": "secret",
653
+ }],
654
654
  period="EVERY_6_HOURS",
655
655
  script="console.log('terraform integration test updated')",
656
656
  script_language="JAVASCRIPT",
657
657
  runtime_type="NODE_API",
658
658
  runtime_type_version="16.10",
659
- tags=[newrelic.synthetics.ScriptMonitorTagArgs(
660
- key="some_key",
661
- values=["some_value"],
662
- )])
659
+ tags=[{
660
+ "key": "some_key",
661
+ "values": ["some_value"],
662
+ }])
663
663
  ```
664
664
  ##### Type: `SCRIPT_BROWSER`
665
665
 
@@ -678,19 +678,19 @@ class ScriptMonitor(pulumi.CustomResource):
678
678
  period="EVERY_HOUR",
679
679
  script="$browser.get('https://one.newrelic.com')",
680
680
  enable_screenshot_on_failure_and_script=False,
681
- location_privates=[newrelic.synthetics.ScriptMonitorLocationPrivateArgs(
682
- guid=location.id,
683
- vse_password="secret",
684
- )],
681
+ location_privates=[{
682
+ "guid": location.id,
683
+ "vse_password": "secret",
684
+ }],
685
685
  runtime_type_version="100",
686
686
  runtime_type="CHROME_BROWSER",
687
687
  script_language="JAVASCRIPT",
688
688
  device_type="MOBILE",
689
689
  device_orientation="LANDSCAPE",
690
- tags=[newrelic.synthetics.ScriptMonitorTagArgs(
691
- key="some_key",
692
- values=["some_value"],
693
- )])
690
+ tags=[{
691
+ "key": "some_key",
692
+ "values": ["some_value"],
693
+ }])
694
694
  ```
695
695
 
696
696
  ## Import
@@ -709,7 +709,7 @@ class ScriptMonitor(pulumi.CustomResource):
709
709
  :param pulumi.Input[str] device_orientation: Device emulation orientation field. Valid values are `LANDSCAPE` and `PORTRAIT`.
710
710
  :param pulumi.Input[str] device_type: Device emulation type field. Valid values are `MOBILE` and `TABLET`.
711
711
  :param pulumi.Input[bool] enable_screenshot_on_failure_and_script: Capture a screenshot during job execution.
712
- :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['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**.
712
+ :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**.
713
713
  :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**.
714
714
  :param pulumi.Input[str] name: The name for the monitor.
715
715
  :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`.
@@ -718,7 +718,7 @@ class ScriptMonitor(pulumi.CustomResource):
718
718
  :param pulumi.Input[str] script: The script that the monitor runs.
719
719
  :param pulumi.Input[str] script_language: The programing language that should execute the script.
720
720
  :param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
721
- :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ScriptMonitorTagArgs']]]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details.
721
+ :param pulumi.Input[Sequence[pulumi.Input[Union['ScriptMonitorTagArgs', 'ScriptMonitorTagArgsDict']]]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details.
722
722
 
723
723
  The `SCRIPTED_BROWSER` monitor type supports the following additional argument:
724
724
  :param pulumi.Input[str] type: The plaintext representing the monitor script. Valid values are SCRIPT_BROWSER or SCRIPT_API
@@ -755,10 +755,10 @@ class ScriptMonitor(pulumi.CustomResource):
755
755
  script_language="JAVASCRIPT",
756
756
  runtime_type="NODE_API",
757
757
  runtime_type_version="16.10",
758
- tags=[newrelic.synthetics.ScriptMonitorTagArgs(
759
- key="some_key",
760
- values=["some_value"],
761
- )])
758
+ tags=[{
759
+ "key": "some_key",
760
+ "values": ["some_value"],
761
+ }])
762
762
  ```
763
763
  ##### Type: `SCRIPT_BROWSER`
764
764
 
@@ -780,10 +780,10 @@ class ScriptMonitor(pulumi.CustomResource):
780
780
  runtime_type_version="100",
781
781
  runtime_type="CHROME_BROWSER",
782
782
  script_language="JAVASCRIPT",
783
- tags=[newrelic.synthetics.ScriptMonitorTagArgs(
784
- key="some_key",
785
- values=["some_value"],
786
- )])
783
+ tags=[{
784
+ "key": "some_key",
785
+ "values": ["some_value"],
786
+ }])
787
787
  ```
788
788
  See additional examples.
789
789
 
@@ -809,19 +809,19 @@ class ScriptMonitor(pulumi.CustomResource):
809
809
  status="ENABLED",
810
810
  name="script_monitor",
811
811
  type="SCRIPT_API",
812
- location_privates=[newrelic.synthetics.ScriptMonitorLocationPrivateArgs(
813
- guid=location.id,
814
- vse_password="secret",
815
- )],
812
+ location_privates=[{
813
+ "guid": location.id,
814
+ "vse_password": "secret",
815
+ }],
816
816
  period="EVERY_6_HOURS",
817
817
  script="console.log('terraform integration test updated')",
818
818
  script_language="JAVASCRIPT",
819
819
  runtime_type="NODE_API",
820
820
  runtime_type_version="16.10",
821
- tags=[newrelic.synthetics.ScriptMonitorTagArgs(
822
- key="some_key",
823
- values=["some_value"],
824
- )])
821
+ tags=[{
822
+ "key": "some_key",
823
+ "values": ["some_value"],
824
+ }])
825
825
  ```
826
826
  ##### Type: `SCRIPT_BROWSER`
827
827
 
@@ -840,19 +840,19 @@ class ScriptMonitor(pulumi.CustomResource):
840
840
  period="EVERY_HOUR",
841
841
  script="$browser.get('https://one.newrelic.com')",
842
842
  enable_screenshot_on_failure_and_script=False,
843
- location_privates=[newrelic.synthetics.ScriptMonitorLocationPrivateArgs(
844
- guid=location.id,
845
- vse_password="secret",
846
- )],
843
+ location_privates=[{
844
+ "guid": location.id,
845
+ "vse_password": "secret",
846
+ }],
847
847
  runtime_type_version="100",
848
848
  runtime_type="CHROME_BROWSER",
849
849
  script_language="JAVASCRIPT",
850
850
  device_type="MOBILE",
851
851
  device_orientation="LANDSCAPE",
852
- tags=[newrelic.synthetics.ScriptMonitorTagArgs(
853
- key="some_key",
854
- values=["some_value"],
855
- )])
852
+ tags=[{
853
+ "key": "some_key",
854
+ "values": ["some_value"],
855
+ }])
856
856
  ```
857
857
 
858
858
  ## Import
@@ -884,7 +884,7 @@ class ScriptMonitor(pulumi.CustomResource):
884
884
  device_orientation: Optional[pulumi.Input[str]] = None,
885
885
  device_type: Optional[pulumi.Input[str]] = None,
886
886
  enable_screenshot_on_failure_and_script: Optional[pulumi.Input[bool]] = None,
887
- location_privates: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ScriptMonitorLocationPrivateArgs']]]]] = None,
887
+ location_privates: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ScriptMonitorLocationPrivateArgs', 'ScriptMonitorLocationPrivateArgsDict']]]]] = None,
888
888
  locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
889
889
  name: Optional[pulumi.Input[str]] = None,
890
890
  period: Optional[pulumi.Input[str]] = None,
@@ -893,7 +893,7 @@ class ScriptMonitor(pulumi.CustomResource):
893
893
  script: Optional[pulumi.Input[str]] = None,
894
894
  script_language: Optional[pulumi.Input[str]] = None,
895
895
  status: Optional[pulumi.Input[str]] = None,
896
- tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ScriptMonitorTagArgs']]]]] = None,
896
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ScriptMonitorTagArgs', 'ScriptMonitorTagArgsDict']]]]] = None,
897
897
  type: Optional[pulumi.Input[str]] = None,
898
898
  __props__=None):
899
899
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
@@ -942,7 +942,7 @@ class ScriptMonitor(pulumi.CustomResource):
942
942
  device_type: Optional[pulumi.Input[str]] = None,
943
943
  enable_screenshot_on_failure_and_script: Optional[pulumi.Input[bool]] = None,
944
944
  guid: Optional[pulumi.Input[str]] = None,
945
- location_privates: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ScriptMonitorLocationPrivateArgs']]]]] = None,
945
+ location_privates: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ScriptMonitorLocationPrivateArgs', 'ScriptMonitorLocationPrivateArgsDict']]]]] = None,
946
946
  locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
947
947
  name: Optional[pulumi.Input[str]] = None,
948
948
  period: Optional[pulumi.Input[str]] = None,
@@ -952,7 +952,7 @@ class ScriptMonitor(pulumi.CustomResource):
952
952
  script: Optional[pulumi.Input[str]] = None,
953
953
  script_language: Optional[pulumi.Input[str]] = None,
954
954
  status: Optional[pulumi.Input[str]] = None,
955
- tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ScriptMonitorTagArgs']]]]] = None,
955
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ScriptMonitorTagArgs', 'ScriptMonitorTagArgsDict']]]]] = None,
956
956
  type: Optional[pulumi.Input[str]] = None) -> 'ScriptMonitor':
957
957
  """
958
958
  Get an existing ScriptMonitor resource's state with the given name, id, and optional extra
@@ -966,7 +966,7 @@ class ScriptMonitor(pulumi.CustomResource):
966
966
  :param pulumi.Input[str] device_type: Device emulation type field. Valid values are `MOBILE` and `TABLET`.
967
967
  :param pulumi.Input[bool] enable_screenshot_on_failure_and_script: Capture a screenshot during job execution.
968
968
  :param pulumi.Input[str] guid: The unique entity identifier of the monitor in New Relic.
969
- :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['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**.
969
+ :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**.
970
970
  :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**.
971
971
  :param pulumi.Input[str] name: The name for the monitor.
972
972
  :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`.
@@ -976,7 +976,7 @@ class ScriptMonitor(pulumi.CustomResource):
976
976
  :param pulumi.Input[str] script: The script that the monitor runs.
977
977
  :param pulumi.Input[str] script_language: The programing language that should execute the script.
978
978
  :param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
979
- :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ScriptMonitorTagArgs']]]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details.
979
+ :param pulumi.Input[Sequence[pulumi.Input[Union['ScriptMonitorTagArgs', 'ScriptMonitorTagArgsDict']]]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details.
980
980
 
981
981
  The `SCRIPTED_BROWSER` monitor type supports the following additional argument:
982
982
  :param pulumi.Input[str] type: The plaintext representing the monitor script. Valid values are SCRIPT_BROWSER or SCRIPT_API