pulumi-newrelic 5.20.0a1709643785__py3-none-any.whl → 5.21.0a1710157101__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 (65) hide show
  1. pulumi_newrelic/account_management.py +6 -2
  2. pulumi_newrelic/alert_channel.py +34 -2
  3. pulumi_newrelic/alert_condition.py +26 -2
  4. pulumi_newrelic/alert_muting_rule.py +6 -2
  5. pulumi_newrelic/alert_policy.py +22 -4
  6. pulumi_newrelic/alert_policy_channel.py +8 -4
  7. pulumi_newrelic/api_access_key.py +6 -26
  8. pulumi_newrelic/browser_application.py +6 -2
  9. pulumi_newrelic/cloud/aws_govcloud_integrations.py +2 -2
  10. pulumi_newrelic/cloud/aws_govcloud_link_account.py +6 -2
  11. pulumi_newrelic/cloud/aws_integrations.py +6 -2
  12. pulumi_newrelic/cloud/aws_link_account.py +6 -2
  13. pulumi_newrelic/cloud/azure_integrations.py +6 -2
  14. pulumi_newrelic/cloud/azure_link_account.py +6 -2
  15. pulumi_newrelic/cloud/gcp_integrations.py +6 -2
  16. pulumi_newrelic/cloud/gcp_link_account.py +6 -2
  17. pulumi_newrelic/data_partition_rule.py +8 -2
  18. pulumi_newrelic/entity_tags.py +8 -4
  19. pulumi_newrelic/events_to_metrics_rule.py +8 -4
  20. pulumi_newrelic/get_account.py +4 -0
  21. pulumi_newrelic/get_application.py +4 -0
  22. pulumi_newrelic/get_authentication_domain.py +4 -0
  23. pulumi_newrelic/get_cloud_account.py +4 -0
  24. pulumi_newrelic/get_entity.py +66 -4
  25. pulumi_newrelic/get_group.py +4 -0
  26. pulumi_newrelic/get_key_transaction.py +4 -0
  27. pulumi_newrelic/get_obfuscation_expression.py +4 -0
  28. pulumi_newrelic/get_service_level_alert_helper.py +12 -0
  29. pulumi_newrelic/get_test_grok_pattern.py +4 -0
  30. pulumi_newrelic/get_user.py +4 -0
  31. pulumi_newrelic/group.py +14 -0
  32. pulumi_newrelic/infra_alert_condition.py +33 -9
  33. pulumi_newrelic/insights/event.py +6 -0
  34. pulumi_newrelic/log_parsing_rule.py +12 -2
  35. pulumi_newrelic/monitor_downtime.py +28 -2
  36. pulumi_newrelic/notification_channel.py +50 -4
  37. pulumi_newrelic/notification_destination.py +64 -72
  38. pulumi_newrelic/nrql_alert_condition.py +28 -4
  39. pulumi_newrelic/nrql_drop_rule.py +30 -4
  40. pulumi_newrelic/obfuscation_expression.py +6 -2
  41. pulumi_newrelic/obfuscation_rule.py +6 -2
  42. pulumi_newrelic/one_dashboard.py +2 -2
  43. pulumi_newrelic/one_dashboard_json.py +2 -2
  44. pulumi_newrelic/one_dashboard_raw.py +6 -0
  45. pulumi_newrelic/plugins/application_settings.py +22 -2
  46. pulumi_newrelic/plugins/workload.py +112 -4
  47. pulumi_newrelic/service_level.py +20 -6
  48. pulumi_newrelic/synthetics/alert_condition.py +26 -2
  49. pulumi_newrelic/synthetics/broken_links_monitor.py +12 -2
  50. pulumi_newrelic/synthetics/cert_check_monitor.py +12 -2
  51. pulumi_newrelic/synthetics/get_private_location.py +8 -0
  52. pulumi_newrelic/synthetics/get_secure_credential.py +4 -0
  53. pulumi_newrelic/synthetics/monitor.py +20 -2
  54. pulumi_newrelic/synthetics/multi_location_alert_condition.py +12 -4
  55. pulumi_newrelic/synthetics/private_location.py +6 -2
  56. pulumi_newrelic/synthetics/script_monitor.py +20 -2
  57. pulumi_newrelic/synthetics/secure_credential.py +6 -2
  58. pulumi_newrelic/synthetics/step_monitor.py +8 -2
  59. pulumi_newrelic/user.py +4 -0
  60. pulumi_newrelic/workflow.py +22 -4
  61. {pulumi_newrelic-5.20.0a1709643785.dist-info → pulumi_newrelic-5.21.0a1710157101.dist-info}/METADATA +1 -1
  62. pulumi_newrelic-5.21.0a1710157101.dist-info/RECORD +89 -0
  63. pulumi_newrelic-5.20.0a1709643785.dist-info/RECORD +0 -89
  64. {pulumi_newrelic-5.20.0a1709643785.dist-info → pulumi_newrelic-5.21.0a1710157101.dist-info}/WHEEL +0 -0
  65. {pulumi_newrelic-5.20.0a1709643785.dist-info → pulumi_newrelic-5.21.0a1710157101.dist-info}/top_level.txt +0 -0
@@ -357,6 +357,7 @@ class CertCheckMonitor(pulumi.CustomResource):
357
357
 
358
358
  ## Example Usage
359
359
 
360
+ <!--Start PulumiCodeChooser -->
360
361
  ```python
361
362
  import pulumi
362
363
  import pulumi_newrelic as newrelic
@@ -372,7 +373,9 @@ class CertCheckMonitor(pulumi.CustomResource):
372
373
  values=["some_value"],
373
374
  )])
374
375
  ```
376
+ <!--End PulumiCodeChooser -->
375
377
  See additional examples.
378
+
376
379
  ## Additional Examples
377
380
 
378
381
  ### Create a monitor with a private location
@@ -381,6 +384,7 @@ class CertCheckMonitor(pulumi.CustomResource):
381
384
 
382
385
  > **NOTE:** It can take up to 10 minutes for a private location to become available.
383
386
 
387
+ <!--Start PulumiCodeChooser -->
384
388
  ```python
385
389
  import pulumi
386
390
  import pulumi_newrelic as newrelic
@@ -398,12 +402,13 @@ class CertCheckMonitor(pulumi.CustomResource):
398
402
  values=["some_value"],
399
403
  )])
400
404
  ```
405
+ <!--End PulumiCodeChooser -->
401
406
 
402
407
  ## Import
403
408
 
404
409
  Synthetics certificate check monitor scripts can be imported using the `guid`, e.g.
405
410
 
406
- bash
411
+ bash
407
412
 
408
413
  ```sh
409
414
  $ pulumi import newrelic:synthetics/certCheckMonitor:CertCheckMonitor monitor <guid>
@@ -434,6 +439,7 @@ class CertCheckMonitor(pulumi.CustomResource):
434
439
 
435
440
  ## Example Usage
436
441
 
442
+ <!--Start PulumiCodeChooser -->
437
443
  ```python
438
444
  import pulumi
439
445
  import pulumi_newrelic as newrelic
@@ -449,7 +455,9 @@ class CertCheckMonitor(pulumi.CustomResource):
449
455
  values=["some_value"],
450
456
  )])
451
457
  ```
458
+ <!--End PulumiCodeChooser -->
452
459
  See additional examples.
460
+
453
461
  ## Additional Examples
454
462
 
455
463
  ### Create a monitor with a private location
@@ -458,6 +466,7 @@ class CertCheckMonitor(pulumi.CustomResource):
458
466
 
459
467
  > **NOTE:** It can take up to 10 minutes for a private location to become available.
460
468
 
469
+ <!--Start PulumiCodeChooser -->
461
470
  ```python
462
471
  import pulumi
463
472
  import pulumi_newrelic as newrelic
@@ -475,12 +484,13 @@ class CertCheckMonitor(pulumi.CustomResource):
475
484
  values=["some_value"],
476
485
  )])
477
486
  ```
487
+ <!--End PulumiCodeChooser -->
478
488
 
479
489
  ## Import
480
490
 
481
491
  Synthetics certificate check monitor scripts can be imported using the `guid`, e.g.
482
492
 
483
- bash
493
+ bash
484
494
 
485
495
  ```sh
486
496
  $ pulumi import newrelic:synthetics/certCheckMonitor:CertCheckMonitor monitor <guid>
@@ -83,6 +83,7 @@ def get_private_location(account_id: Optional[int] = None,
83
83
 
84
84
  ## Example Usage
85
85
 
86
+ <!--Start PulumiCodeChooser -->
86
87
  ```python
87
88
  import pulumi
88
89
  import pulumi_newrelic as newrelic
@@ -91,7 +92,9 @@ def get_private_location(account_id: Optional[int] = None,
91
92
  name="My private location")
92
93
  foo = newrelic.synthetics.Monitor("foo", locations_privates=[example.id])
93
94
  ```
95
+ <!--End PulumiCodeChooser -->
94
96
 
97
+ <!--Start PulumiCodeChooser -->
95
98
  ```python
96
99
  import pulumi
97
100
  import pulumi_newrelic as newrelic
@@ -102,6 +105,7 @@ def get_private_location(account_id: Optional[int] = None,
102
105
  guid=example.id,
103
106
  )])
104
107
  ```
108
+ <!--End PulumiCodeChooser -->
105
109
 
106
110
 
107
111
  :param int account_id: The New Relic account ID of the associated private location. If left empty will default to account ID specified in provider level configuration.
@@ -132,6 +136,7 @@ def get_private_location_output(account_id: Optional[pulumi.Input[Optional[int]]
132
136
 
133
137
  ## Example Usage
134
138
 
139
+ <!--Start PulumiCodeChooser -->
135
140
  ```python
136
141
  import pulumi
137
142
  import pulumi_newrelic as newrelic
@@ -140,7 +145,9 @@ def get_private_location_output(account_id: Optional[pulumi.Input[Optional[int]]
140
145
  name="My private location")
141
146
  foo = newrelic.synthetics.Monitor("foo", locations_privates=[example.id])
142
147
  ```
148
+ <!--End PulumiCodeChooser -->
143
149
 
150
+ <!--Start PulumiCodeChooser -->
144
151
  ```python
145
152
  import pulumi
146
153
  import pulumi_newrelic as newrelic
@@ -151,6 +158,7 @@ def get_private_location_output(account_id: Optional[pulumi.Input[Optional[int]]
151
158
  guid=example.id,
152
159
  )])
153
160
  ```
161
+ <!--End PulumiCodeChooser -->
154
162
 
155
163
 
156
164
  :param int account_id: The New Relic account ID of the associated private location. If left empty will default to account ID specified in provider level configuration.
@@ -96,12 +96,14 @@ def get_secure_credential(account_id: Optional[int] = None,
96
96
 
97
97
  ## Example Usage
98
98
 
99
+ <!--Start PulumiCodeChooser -->
99
100
  ```python
100
101
  import pulumi
101
102
  import pulumi_newrelic as newrelic
102
103
 
103
104
  foo = newrelic.synthetics.get_secure_credential(key="MY_KEY")
104
105
  ```
106
+ <!--End PulumiCodeChooser -->
105
107
 
106
108
 
107
109
  :param int account_id: The account in New Relic associated with the secure credential. Defaults to the account associated with the API key used.
@@ -132,12 +134,14 @@ def get_secure_credential_output(account_id: Optional[pulumi.Input[Optional[int]
132
134
 
133
135
  ## Example Usage
134
136
 
137
+ <!--Start PulumiCodeChooser -->
135
138
  ```python
136
139
  import pulumi
137
140
  import pulumi_newrelic as newrelic
138
141
 
139
142
  foo = newrelic.synthetics.get_secure_credential(key="MY_KEY")
140
143
  ```
144
+ <!--End PulumiCodeChooser -->
141
145
 
142
146
 
143
147
  :param int account_id: The account in New Relic associated with the secure credential. Defaults to the account associated with the API key used.
@@ -738,6 +738,7 @@ class Monitor(pulumi.CustomResource):
738
738
 
739
739
  ## Example Usage
740
740
 
741
+ <!--Start PulumiCodeChooser -->
741
742
  ```python
742
743
  import pulumi
743
744
  import pulumi_newrelic as newrelic
@@ -761,8 +762,10 @@ class Monitor(pulumi.CustomResource):
761
762
  validation_string="success",
762
763
  verify_ssl=True)
763
764
  ```
765
+ <!--End PulumiCodeChooser -->
764
766
  ##### Type: `SIMPLE BROWSER`
765
767
 
768
+ <!--Start PulumiCodeChooser -->
766
769
  ```python
767
770
  import pulumi
768
771
  import pulumi_newrelic as newrelic
@@ -785,7 +788,9 @@ class Monitor(pulumi.CustomResource):
785
788
  validation_string="success",
786
789
  verify_ssl=True)
787
790
  ```
791
+ <!--End PulumiCodeChooser -->
788
792
  See additional examples.
793
+
789
794
  ## Additional Examples
790
795
 
791
796
  ### Create a monitor with a private location
@@ -796,6 +801,7 @@ class Monitor(pulumi.CustomResource):
796
801
 
797
802
  ##### Type: `SIMPLE`
798
803
 
804
+ <!--Start PulumiCodeChooser -->
799
805
  ```python
800
806
  import pulumi
801
807
  import pulumi_newrelic as newrelic
@@ -822,8 +828,10 @@ class Monitor(pulumi.CustomResource):
822
828
  values=["some_value"],
823
829
  )])
824
830
  ```
831
+ <!--End PulumiCodeChooser -->
825
832
  ##### Type: `BROWSER`
826
833
 
834
+ <!--Start PulumiCodeChooser -->
827
835
  ```python
828
836
  import pulumi
829
837
  import pulumi_newrelic as newrelic
@@ -852,12 +860,13 @@ class Monitor(pulumi.CustomResource):
852
860
  values=["some_value"],
853
861
  )])
854
862
  ```
863
+ <!--End PulumiCodeChooser -->
855
864
 
856
865
  ## Import
857
866
 
858
867
  Synthetics monitor can be imported using the `guid`, e.g.
859
868
 
860
- bash
869
+ bash
861
870
 
862
871
  ```sh
863
872
  $ pulumi import newrelic:synthetics/monitor:Monitor monitor <guid>
@@ -903,6 +912,7 @@ class Monitor(pulumi.CustomResource):
903
912
 
904
913
  ## Example Usage
905
914
 
915
+ <!--Start PulumiCodeChooser -->
906
916
  ```python
907
917
  import pulumi
908
918
  import pulumi_newrelic as newrelic
@@ -926,8 +936,10 @@ class Monitor(pulumi.CustomResource):
926
936
  validation_string="success",
927
937
  verify_ssl=True)
928
938
  ```
939
+ <!--End PulumiCodeChooser -->
929
940
  ##### Type: `SIMPLE BROWSER`
930
941
 
942
+ <!--Start PulumiCodeChooser -->
931
943
  ```python
932
944
  import pulumi
933
945
  import pulumi_newrelic as newrelic
@@ -950,7 +962,9 @@ class Monitor(pulumi.CustomResource):
950
962
  validation_string="success",
951
963
  verify_ssl=True)
952
964
  ```
965
+ <!--End PulumiCodeChooser -->
953
966
  See additional examples.
967
+
954
968
  ## Additional Examples
955
969
 
956
970
  ### Create a monitor with a private location
@@ -961,6 +975,7 @@ class Monitor(pulumi.CustomResource):
961
975
 
962
976
  ##### Type: `SIMPLE`
963
977
 
978
+ <!--Start PulumiCodeChooser -->
964
979
  ```python
965
980
  import pulumi
966
981
  import pulumi_newrelic as newrelic
@@ -987,8 +1002,10 @@ class Monitor(pulumi.CustomResource):
987
1002
  values=["some_value"],
988
1003
  )])
989
1004
  ```
1005
+ <!--End PulumiCodeChooser -->
990
1006
  ##### Type: `BROWSER`
991
1007
 
1008
+ <!--Start PulumiCodeChooser -->
992
1009
  ```python
993
1010
  import pulumi
994
1011
  import pulumi_newrelic as newrelic
@@ -1017,12 +1034,13 @@ class Monitor(pulumi.CustomResource):
1017
1034
  values=["some_value"],
1018
1035
  )])
1019
1036
  ```
1037
+ <!--End PulumiCodeChooser -->
1020
1038
 
1021
1039
  ## Import
1022
1040
 
1023
1041
  Synthetics monitor can be imported using the `guid`, e.g.
1024
1042
 
1025
- bash
1043
+ bash
1026
1044
 
1027
1045
  ```sh
1028
1046
  $ pulumi import newrelic:synthetics/monitor:Monitor monitor <guid>
@@ -331,6 +331,7 @@ class MultiLocationAlertCondition(pulumi.CustomResource):
331
331
 
332
332
  ## Example Usage
333
333
 
334
+ <!--Start PulumiCodeChooser -->
334
335
  ```python
335
336
  import pulumi
336
337
  import pulumi_newrelic as newrelic
@@ -355,10 +356,12 @@ class MultiLocationAlertCondition(pulumi.CustomResource):
355
356
  threshold=1,
356
357
  ))
357
358
  ```
359
+ <!--End PulumiCodeChooser -->
358
360
  ## Tags
359
361
 
360
362
  Manage synthetics multilocation alert condition tags with `EntityTags`. For up-to-date documentation about the tagging resource, please check EntityTags
361
363
 
364
+ <!--Start PulumiCodeChooser -->
362
365
  ```python
363
366
  import pulumi
364
367
  import pulumi_newrelic as newrelic
@@ -410,14 +413,15 @@ class MultiLocationAlertCondition(pulumi.CustomResource):
410
413
  ),
411
414
  ])
412
415
  ```
416
+ <!--End PulumiCodeChooser -->
413
417
 
414
418
  ## Import
415
419
 
416
420
  New Relic Synthetics MultiLocation Conditions can be imported using a concatenated string of the format
417
421
 
418
- `<policy_id>:<condition_id>`, e.g.
422
+ `<policy_id>:<condition_id>`, e.g.
419
423
 
420
- bash
424
+ bash
421
425
 
422
426
  ```sh
423
427
  $ pulumi import newrelic:synthetics/multiLocationAlertCondition:MultiLocationAlertCondition example 12345678:1456
@@ -450,6 +454,7 @@ class MultiLocationAlertCondition(pulumi.CustomResource):
450
454
 
451
455
  ## Example Usage
452
456
 
457
+ <!--Start PulumiCodeChooser -->
453
458
  ```python
454
459
  import pulumi
455
460
  import pulumi_newrelic as newrelic
@@ -474,10 +479,12 @@ class MultiLocationAlertCondition(pulumi.CustomResource):
474
479
  threshold=1,
475
480
  ))
476
481
  ```
482
+ <!--End PulumiCodeChooser -->
477
483
  ## Tags
478
484
 
479
485
  Manage synthetics multilocation alert condition tags with `EntityTags`. For up-to-date documentation about the tagging resource, please check EntityTags
480
486
 
487
+ <!--Start PulumiCodeChooser -->
481
488
  ```python
482
489
  import pulumi
483
490
  import pulumi_newrelic as newrelic
@@ -529,14 +536,15 @@ class MultiLocationAlertCondition(pulumi.CustomResource):
529
536
  ),
530
537
  ])
531
538
  ```
539
+ <!--End PulumiCodeChooser -->
532
540
 
533
541
  ## Import
534
542
 
535
543
  New Relic Synthetics MultiLocation Conditions can be imported using a concatenated string of the format
536
544
 
537
- `<policy_id>:<condition_id>`, e.g.
545
+ `<policy_id>:<condition_id>`, e.g.
538
546
 
539
- bash
547
+ bash
540
548
 
541
549
  ```sh
542
550
  $ pulumi import newrelic:synthetics/multiLocationAlertCondition:MultiLocationAlertCondition example 12345678:1456
@@ -233,19 +233,21 @@ class PrivateLocation(pulumi.CustomResource):
233
233
 
234
234
  ## Example Usage
235
235
 
236
+ <!--Start PulumiCodeChooser -->
236
237
  ```python
237
238
  import pulumi
238
239
  import pulumi_newrelic as newrelic
239
240
 
240
241
  location = newrelic.synthetics.PrivateLocation("location", description="The private location description")
241
242
  ```
243
+ <!--End PulumiCodeChooser -->
242
244
 
243
245
  ## Import
244
246
 
245
247
  A Synthetics private location can be imported using the `guid`
246
248
 
247
249
  ```sh
248
- $ pulumi import newrelic:synthetics/privateLocation:PrivateLocation location GUID
250
+ $ pulumi import newrelic:synthetics/privateLocation:PrivateLocation location GUID
249
251
  ```
250
252
 
251
253
  :param str resource_name: The name of the resource.
@@ -266,19 +268,21 @@ class PrivateLocation(pulumi.CustomResource):
266
268
 
267
269
  ## Example Usage
268
270
 
271
+ <!--Start PulumiCodeChooser -->
269
272
  ```python
270
273
  import pulumi
271
274
  import pulumi_newrelic as newrelic
272
275
 
273
276
  location = newrelic.synthetics.PrivateLocation("location", description="The private location description")
274
277
  ```
278
+ <!--End PulumiCodeChooser -->
275
279
 
276
280
  ## Import
277
281
 
278
282
  A Synthetics private location can be imported using the `guid`
279
283
 
280
284
  ```sh
281
- $ pulumi import newrelic:synthetics/privateLocation:PrivateLocation location GUID
285
+ $ pulumi import newrelic:synthetics/privateLocation:PrivateLocation location GUID
282
286
  ```
283
287
 
284
288
  :param str resource_name: The name of the resource.
@@ -582,6 +582,7 @@ class ScriptMonitor(pulumi.CustomResource):
582
582
 
583
583
  ##### Type: `SCRIPT_API`
584
584
 
585
+ <!--Start PulumiCodeChooser -->
585
586
  ```python
586
587
  import pulumi
587
588
  import pulumi_newrelic as newrelic
@@ -603,8 +604,10 @@ class ScriptMonitor(pulumi.CustomResource):
603
604
  )],
604
605
  type="SCRIPT_API")
605
606
  ```
607
+ <!--End PulumiCodeChooser -->
606
608
  ##### Type: `SCRIPT_BROWSER`
607
609
 
610
+ <!--Start PulumiCodeChooser -->
608
611
  ```python
609
612
  import pulumi
610
613
  import pulumi_newrelic as newrelic
@@ -627,7 +630,9 @@ class ScriptMonitor(pulumi.CustomResource):
627
630
  )],
628
631
  type="SCRIPT_BROWSER")
629
632
  ```
633
+ <!--End PulumiCodeChooser -->
630
634
  See additional examples.
635
+
631
636
  ## Additional Examples
632
637
 
633
638
  ### Create a monitor with a private location
@@ -638,6 +643,7 @@ class ScriptMonitor(pulumi.CustomResource):
638
643
 
639
644
  ##### Type: `SCRIPT_API`
640
645
 
646
+ <!--Start PulumiCodeChooser -->
641
647
  ```python
642
648
  import pulumi
643
649
  import pulumi_newrelic as newrelic
@@ -662,8 +668,10 @@ class ScriptMonitor(pulumi.CustomResource):
662
668
  values=["some_value"],
663
669
  )])
664
670
  ```
671
+ <!--End PulumiCodeChooser -->
665
672
  ##### Type: `SCRIPT_BROWSER`
666
673
 
674
+ <!--Start PulumiCodeChooser -->
667
675
  ```python
668
676
  import pulumi
669
677
  import pulumi_newrelic as newrelic
@@ -689,12 +697,13 @@ class ScriptMonitor(pulumi.CustomResource):
689
697
  values=["some_value"],
690
698
  )])
691
699
  ```
700
+ <!--End PulumiCodeChooser -->
692
701
 
693
702
  ## Import
694
703
 
695
704
  Synthetics monitor scripts can be imported using the `guid`, e.g.
696
705
 
697
- bash
706
+ bash
698
707
 
699
708
  ```sh
700
709
  $ pulumi import newrelic:synthetics/scriptMonitor:ScriptMonitor monitor <guid>
@@ -735,6 +744,7 @@ class ScriptMonitor(pulumi.CustomResource):
735
744
 
736
745
  ##### Type: `SCRIPT_API`
737
746
 
747
+ <!--Start PulumiCodeChooser -->
738
748
  ```python
739
749
  import pulumi
740
750
  import pulumi_newrelic as newrelic
@@ -756,8 +766,10 @@ class ScriptMonitor(pulumi.CustomResource):
756
766
  )],
757
767
  type="SCRIPT_API")
758
768
  ```
769
+ <!--End PulumiCodeChooser -->
759
770
  ##### Type: `SCRIPT_BROWSER`
760
771
 
772
+ <!--Start PulumiCodeChooser -->
761
773
  ```python
762
774
  import pulumi
763
775
  import pulumi_newrelic as newrelic
@@ -780,7 +792,9 @@ class ScriptMonitor(pulumi.CustomResource):
780
792
  )],
781
793
  type="SCRIPT_BROWSER")
782
794
  ```
795
+ <!--End PulumiCodeChooser -->
783
796
  See additional examples.
797
+
784
798
  ## Additional Examples
785
799
 
786
800
  ### Create a monitor with a private location
@@ -791,6 +805,7 @@ class ScriptMonitor(pulumi.CustomResource):
791
805
 
792
806
  ##### Type: `SCRIPT_API`
793
807
 
808
+ <!--Start PulumiCodeChooser -->
794
809
  ```python
795
810
  import pulumi
796
811
  import pulumi_newrelic as newrelic
@@ -815,8 +830,10 @@ class ScriptMonitor(pulumi.CustomResource):
815
830
  values=["some_value"],
816
831
  )])
817
832
  ```
833
+ <!--End PulumiCodeChooser -->
818
834
  ##### Type: `SCRIPT_BROWSER`
819
835
 
836
+ <!--Start PulumiCodeChooser -->
820
837
  ```python
821
838
  import pulumi
822
839
  import pulumi_newrelic as newrelic
@@ -842,12 +859,13 @@ class ScriptMonitor(pulumi.CustomResource):
842
859
  values=["some_value"],
843
860
  )])
844
861
  ```
862
+ <!--End PulumiCodeChooser -->
845
863
 
846
864
  ## Import
847
865
 
848
866
  Synthetics monitor scripts can be imported using the `guid`, e.g.
849
867
 
850
- bash
868
+ bash
851
869
 
852
870
  ```sh
853
871
  $ pulumi import newrelic:synthetics/scriptMonitor:ScriptMonitor monitor <guid>
@@ -201,6 +201,7 @@ class SecureCredential(pulumi.CustomResource):
201
201
 
202
202
  ## Example Usage
203
203
 
204
+ <!--Start PulumiCodeChooser -->
204
205
  ```python
205
206
  import pulumi
206
207
  import pulumi_newrelic as newrelic
@@ -210,13 +211,14 @@ class SecureCredential(pulumi.CustomResource):
210
211
  key="MY_KEY",
211
212
  value="My value")
212
213
  ```
214
+ <!--End PulumiCodeChooser -->
213
215
 
214
216
  ## Import
215
217
 
216
218
  A Synthetics secure credential can be imported using its `key`:
217
219
 
218
220
  ```sh
219
- $ pulumi import newrelic:synthetics/secureCredential:SecureCredential foo MY_KEY
221
+ $ pulumi import newrelic:synthetics/secureCredential:SecureCredential foo MY_KEY
220
222
  ```
221
223
 
222
224
  :param str resource_name: The name of the resource.
@@ -238,6 +240,7 @@ class SecureCredential(pulumi.CustomResource):
238
240
 
239
241
  ## Example Usage
240
242
 
243
+ <!--Start PulumiCodeChooser -->
241
244
  ```python
242
245
  import pulumi
243
246
  import pulumi_newrelic as newrelic
@@ -247,13 +250,14 @@ class SecureCredential(pulumi.CustomResource):
247
250
  key="MY_KEY",
248
251
  value="My value")
249
252
  ```
253
+ <!--End PulumiCodeChooser -->
250
254
 
251
255
  ## Import
252
256
 
253
257
  A Synthetics secure credential can be imported using its `key`:
254
258
 
255
259
  ```sh
256
- $ pulumi import newrelic:synthetics/secureCredential:SecureCredential foo MY_KEY
260
+ $ pulumi import newrelic:synthetics/secureCredential:SecureCredential foo MY_KEY
257
261
  ```
258
262
 
259
263
  :param str resource_name: The name of the resource.
@@ -374,6 +374,7 @@ class StepMonitor(pulumi.CustomResource):
374
374
 
375
375
  ## Example Usage
376
376
 
377
+ <!--Start PulumiCodeChooser -->
377
378
  ```python
378
379
  import pulumi
379
380
  import pulumi_newrelic as newrelic
@@ -396,14 +397,16 @@ class StepMonitor(pulumi.CustomResource):
396
397
  values=["some_value"],
397
398
  )])
398
399
  ```
400
+ <!--End PulumiCodeChooser -->
399
401
  See additional examples.
402
+
400
403
  ## Additional Examples
401
404
 
402
405
  ## Import
403
406
 
404
407
  Synthetics step monitor scripts can be imported using the `guid`, e.g.
405
408
 
406
- bash
409
+ bash
407
410
 
408
411
  ```sh
409
412
  $ pulumi import newrelic:synthetics/stepMonitor:StepMonitor monitor <guid>
@@ -434,6 +437,7 @@ class StepMonitor(pulumi.CustomResource):
434
437
 
435
438
  ## Example Usage
436
439
 
440
+ <!--Start PulumiCodeChooser -->
437
441
  ```python
438
442
  import pulumi
439
443
  import pulumi_newrelic as newrelic
@@ -456,14 +460,16 @@ class StepMonitor(pulumi.CustomResource):
456
460
  values=["some_value"],
457
461
  )])
458
462
  ```
463
+ <!--End PulumiCodeChooser -->
459
464
  See additional examples.
465
+
460
466
  ## Additional Examples
461
467
 
462
468
  ## Import
463
469
 
464
470
  Synthetics step monitor scripts can be imported using the `guid`, e.g.
465
471
 
466
- bash
472
+ bash
467
473
 
468
474
  ```sh
469
475
  $ pulumi import newrelic:synthetics/stepMonitor:StepMonitor monitor <guid>
pulumi_newrelic/user.py CHANGED
@@ -184,6 +184,7 @@ class User(pulumi.CustomResource):
184
184
 
185
185
  ## Example Usage
186
186
 
187
+ <!--Start PulumiCodeChooser -->
187
188
  ```python
188
189
  import pulumi
189
190
  import pulumi_newrelic as newrelic
@@ -194,6 +195,7 @@ class User(pulumi.CustomResource):
194
195
  authentication_domain_id=foo_authentication_domain.id,
195
196
  user_type="CORE_USER_TIER")
196
197
  ```
198
+ <!--End PulumiCodeChooser -->
197
199
 
198
200
  ## Import
199
201
 
@@ -225,6 +227,7 @@ class User(pulumi.CustomResource):
225
227
 
226
228
  ## Example Usage
227
229
 
230
+ <!--Start PulumiCodeChooser -->
228
231
  ```python
229
232
  import pulumi
230
233
  import pulumi_newrelic as newrelic
@@ -235,6 +238,7 @@ class User(pulumi.CustomResource):
235
238
  authentication_domain_id=foo_authentication_domain.id,
236
239
  user_type="CORE_USER_TIER")
237
240
  ```
241
+ <!--End PulumiCodeChooser -->
238
242
 
239
243
  ## Import
240
244