pulumi-newrelic 5.20.0a1709643785__py3-none-any.whl → 5.21.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 (70) hide show
  1. pulumi_newrelic/_inputs.py +69 -29
  2. pulumi_newrelic/account_management.py +6 -2
  3. pulumi_newrelic/alert_channel.py +34 -2
  4. pulumi_newrelic/alert_condition.py +26 -2
  5. pulumi_newrelic/alert_muting_rule.py +6 -2
  6. pulumi_newrelic/alert_policy.py +22 -4
  7. pulumi_newrelic/alert_policy_channel.py +8 -4
  8. pulumi_newrelic/api_access_key.py +6 -26
  9. pulumi_newrelic/browser_application.py +6 -2
  10. pulumi_newrelic/cloud/aws_govcloud_integrations.py +2 -2
  11. pulumi_newrelic/cloud/aws_govcloud_link_account.py +6 -2
  12. pulumi_newrelic/cloud/aws_integrations.py +6 -2
  13. pulumi_newrelic/cloud/aws_link_account.py +6 -2
  14. pulumi_newrelic/cloud/azure_integrations.py +6 -2
  15. pulumi_newrelic/cloud/azure_link_account.py +6 -2
  16. pulumi_newrelic/cloud/gcp_integrations.py +6 -2
  17. pulumi_newrelic/cloud/gcp_link_account.py +6 -2
  18. pulumi_newrelic/data_partition_rule.py +8 -2
  19. pulumi_newrelic/entity_tags.py +8 -4
  20. pulumi_newrelic/events_to_metrics_rule.py +8 -4
  21. pulumi_newrelic/get_account.py +4 -0
  22. pulumi_newrelic/get_application.py +4 -0
  23. pulumi_newrelic/get_authentication_domain.py +4 -0
  24. pulumi_newrelic/get_cloud_account.py +4 -0
  25. pulumi_newrelic/get_entity.py +66 -4
  26. pulumi_newrelic/get_group.py +4 -0
  27. pulumi_newrelic/get_key_transaction.py +4 -0
  28. pulumi_newrelic/get_notification_destination.py +14 -1
  29. pulumi_newrelic/get_obfuscation_expression.py +4 -0
  30. pulumi_newrelic/get_service_level_alert_helper.py +12 -0
  31. pulumi_newrelic/get_test_grok_pattern.py +4 -0
  32. pulumi_newrelic/get_user.py +4 -0
  33. pulumi_newrelic/group.py +14 -0
  34. pulumi_newrelic/infra_alert_condition.py +33 -9
  35. pulumi_newrelic/insights/event.py +6 -0
  36. pulumi_newrelic/log_parsing_rule.py +12 -2
  37. pulumi_newrelic/monitor_downtime.py +28 -2
  38. pulumi_newrelic/notification_channel.py +50 -4
  39. pulumi_newrelic/notification_destination.py +92 -72
  40. pulumi_newrelic/nrql_alert_condition.py +28 -4
  41. pulumi_newrelic/nrql_drop_rule.py +30 -4
  42. pulumi_newrelic/obfuscation_expression.py +6 -2
  43. pulumi_newrelic/obfuscation_rule.py +6 -2
  44. pulumi_newrelic/one_dashboard.py +2 -2
  45. pulumi_newrelic/one_dashboard_json.py +2 -2
  46. pulumi_newrelic/one_dashboard_raw.py +6 -0
  47. pulumi_newrelic/outputs.py +78 -29
  48. pulumi_newrelic/plugins/_inputs.py +2 -2
  49. pulumi_newrelic/plugins/application_settings.py +22 -2
  50. pulumi_newrelic/plugins/outputs.py +2 -2
  51. pulumi_newrelic/plugins/workload.py +112 -4
  52. pulumi_newrelic/service_level.py +20 -6
  53. pulumi_newrelic/synthetics/alert_condition.py +26 -2
  54. pulumi_newrelic/synthetics/broken_links_monitor.py +19 -23
  55. pulumi_newrelic/synthetics/cert_check_monitor.py +19 -23
  56. pulumi_newrelic/synthetics/get_private_location.py +8 -0
  57. pulumi_newrelic/synthetics/get_secure_credential.py +4 -0
  58. pulumi_newrelic/synthetics/monitor.py +27 -23
  59. pulumi_newrelic/synthetics/multi_location_alert_condition.py +12 -4
  60. pulumi_newrelic/synthetics/private_location.py +6 -2
  61. pulumi_newrelic/synthetics/script_monitor.py +27 -23
  62. pulumi_newrelic/synthetics/secure_credential.py +6 -2
  63. pulumi_newrelic/synthetics/step_monitor.py +15 -23
  64. pulumi_newrelic/user.py +4 -0
  65. pulumi_newrelic/workflow.py +22 -4
  66. {pulumi_newrelic-5.20.0a1709643785.dist-info → pulumi_newrelic-5.21.0.dist-info}/METADATA +1 -1
  67. pulumi_newrelic-5.21.0.dist-info/RECORD +89 -0
  68. {pulumi_newrelic-5.20.0a1709643785.dist-info → pulumi_newrelic-5.21.0.dist-info}/WHEEL +1 -1
  69. pulumi_newrelic-5.20.0a1709643785.dist-info/RECORD +0 -89
  70. {pulumi_newrelic-5.20.0a1709643785.dist-info → pulumi_newrelic-5.21.0.dist-info}/top_level.txt +0 -0
@@ -30,9 +30,7 @@ class CertCheckMonitorArgs:
30
30
  :param pulumi.Input[int] certificate_expiration: The desired number of remaining days until the certificate expires to trigger a monitor failure.
31
31
  :param pulumi.Input[str] domain: The domain of the host that will have its certificate checked.
32
32
  :param pulumi.Input[str] period: The interval at which this monitor should run. Valid values are EVERY_MINUTE, EVERY_5_MINUTES, EVERY_10_MINUTES, EVERY_15_MINUTES, EVERY_30_MINUTES, EVERY_HOUR, EVERY_6_HOURS, EVERY_12_HOURS, or EVERY_DAY.
33
- :param pulumi.Input[str] status: The monitor status (i.e. ENABLED, MUTED, DISABLED). Note: The 'MUTED' status is now deprecated, and support for this
34
- value will soon be removed from the Terraform Provider in an upcoming release. It is highly recommended for users to
35
- refrain from using this value and shift to alternatives.
33
+ :param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
36
34
  :param pulumi.Input[int] account_id: The account in which the Synthetics monitor will be created.
37
35
  :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.
38
36
  :param pulumi.Input[Sequence[pulumi.Input[str]]] locations_publics: The location the monitor will run from. Valid public locations are https://docs.newrelic.com/docs/synthetics/synthetic-monitoring/administration/synthetic-public-minion-ips/. You don't need the `AWS_` prefix as the provider uses NerdGraph. At least one of either `locations_public` or `location_private` is required.
@@ -94,9 +92,7 @@ class CertCheckMonitorArgs:
94
92
  @pulumi.getter
95
93
  def status(self) -> pulumi.Input[str]:
96
94
  """
97
- The monitor status (i.e. ENABLED, MUTED, DISABLED). Note: The 'MUTED' status is now deprecated, and support for this
98
- value will soon be removed from the Terraform Provider in an upcoming release. It is highly recommended for users to
99
- refrain from using this value and shift to alternatives.
95
+ The monitor status (ENABLED or DISABLED).
100
96
  """
101
97
  return pulumi.get(self, "status")
102
98
 
@@ -188,9 +184,7 @@ class _CertCheckMonitorState:
188
184
  :param pulumi.Input[str] name: The name for the monitor.
189
185
  :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.
190
186
  :param pulumi.Input[int] period_in_minutes: The interval in minutes at which Synthetic monitor should run.
191
- :param pulumi.Input[str] status: The monitor status (i.e. ENABLED, MUTED, DISABLED). Note: The 'MUTED' status is now deprecated, and support for this
192
- value will soon be removed from the Terraform Provider in an upcoming release. It is highly recommended for users to
193
- refrain from using this value and shift to alternatives.
187
+ :param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
194
188
  :param pulumi.Input[Sequence[pulumi.Input['CertCheckMonitorTagArgs']]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details
195
189
  """
196
190
  if account_id is not None:
@@ -314,9 +308,7 @@ class _CertCheckMonitorState:
314
308
  @pulumi.getter
315
309
  def status(self) -> Optional[pulumi.Input[str]]:
316
310
  """
317
- The monitor status (i.e. ENABLED, MUTED, DISABLED). Note: The 'MUTED' status is now deprecated, and support for this
318
- value will soon be removed from the Terraform Provider in an upcoming release. It is highly recommended for users to
319
- refrain from using this value and shift to alternatives.
311
+ The monitor status (ENABLED or DISABLED).
320
312
  """
321
313
  return pulumi.get(self, "status")
322
314
 
@@ -357,6 +349,7 @@ class CertCheckMonitor(pulumi.CustomResource):
357
349
 
358
350
  ## Example Usage
359
351
 
352
+ <!--Start PulumiCodeChooser -->
360
353
  ```python
361
354
  import pulumi
362
355
  import pulumi_newrelic as newrelic
@@ -372,7 +365,9 @@ class CertCheckMonitor(pulumi.CustomResource):
372
365
  values=["some_value"],
373
366
  )])
374
367
  ```
368
+ <!--End PulumiCodeChooser -->
375
369
  See additional examples.
370
+
376
371
  ## Additional Examples
377
372
 
378
373
  ### Create a monitor with a private location
@@ -381,6 +376,7 @@ class CertCheckMonitor(pulumi.CustomResource):
381
376
 
382
377
  > **NOTE:** It can take up to 10 minutes for a private location to become available.
383
378
 
379
+ <!--Start PulumiCodeChooser -->
384
380
  ```python
385
381
  import pulumi
386
382
  import pulumi_newrelic as newrelic
@@ -398,12 +394,13 @@ class CertCheckMonitor(pulumi.CustomResource):
398
394
  values=["some_value"],
399
395
  )])
400
396
  ```
397
+ <!--End PulumiCodeChooser -->
401
398
 
402
399
  ## Import
403
400
 
404
401
  Synthetics certificate check monitor scripts can be imported using the `guid`, e.g.
405
402
 
406
- bash
403
+ bash
407
404
 
408
405
  ```sh
409
406
  $ pulumi import newrelic:synthetics/certCheckMonitor:CertCheckMonitor monitor <guid>
@@ -418,9 +415,7 @@ class CertCheckMonitor(pulumi.CustomResource):
418
415
  :param pulumi.Input[Sequence[pulumi.Input[str]]] locations_publics: The location the monitor will run from. Valid public locations are https://docs.newrelic.com/docs/synthetics/synthetic-monitoring/administration/synthetic-public-minion-ips/. You don't need the `AWS_` prefix as the provider uses NerdGraph. At least one of either `locations_public` or `location_private` is required.
419
416
  :param pulumi.Input[str] name: The name for the monitor.
420
417
  :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.
421
- :param pulumi.Input[str] status: The monitor status (i.e. ENABLED, MUTED, DISABLED). Note: The 'MUTED' status is now deprecated, and support for this
422
- value will soon be removed from the Terraform Provider in an upcoming release. It is highly recommended for users to
423
- refrain from using this value and shift to alternatives.
418
+ :param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
424
419
  :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CertCheckMonitorTagArgs']]]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details
425
420
  """
426
421
  ...
@@ -434,6 +429,7 @@ class CertCheckMonitor(pulumi.CustomResource):
434
429
 
435
430
  ## Example Usage
436
431
 
432
+ <!--Start PulumiCodeChooser -->
437
433
  ```python
438
434
  import pulumi
439
435
  import pulumi_newrelic as newrelic
@@ -449,7 +445,9 @@ class CertCheckMonitor(pulumi.CustomResource):
449
445
  values=["some_value"],
450
446
  )])
451
447
  ```
448
+ <!--End PulumiCodeChooser -->
452
449
  See additional examples.
450
+
453
451
  ## Additional Examples
454
452
 
455
453
  ### Create a monitor with a private location
@@ -458,6 +456,7 @@ class CertCheckMonitor(pulumi.CustomResource):
458
456
 
459
457
  > **NOTE:** It can take up to 10 minutes for a private location to become available.
460
458
 
459
+ <!--Start PulumiCodeChooser -->
461
460
  ```python
462
461
  import pulumi
463
462
  import pulumi_newrelic as newrelic
@@ -475,12 +474,13 @@ class CertCheckMonitor(pulumi.CustomResource):
475
474
  values=["some_value"],
476
475
  )])
477
476
  ```
477
+ <!--End PulumiCodeChooser -->
478
478
 
479
479
  ## Import
480
480
 
481
481
  Synthetics certificate check monitor scripts can be imported using the `guid`, e.g.
482
482
 
483
- bash
483
+ bash
484
484
 
485
485
  ```sh
486
486
  $ pulumi import newrelic:synthetics/certCheckMonitor:CertCheckMonitor monitor <guid>
@@ -572,9 +572,7 @@ class CertCheckMonitor(pulumi.CustomResource):
572
572
  :param pulumi.Input[str] name: The name for the monitor.
573
573
  :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.
574
574
  :param pulumi.Input[int] period_in_minutes: The interval in minutes at which Synthetic monitor should run.
575
- :param pulumi.Input[str] status: The monitor status (i.e. ENABLED, MUTED, DISABLED). Note: The 'MUTED' status is now deprecated, and support for this
576
- value will soon be removed from the Terraform Provider in an upcoming release. It is highly recommended for users to
577
- refrain from using this value and shift to alternatives.
575
+ :param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
578
576
  :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CertCheckMonitorTagArgs']]]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details
579
577
  """
580
578
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
@@ -661,9 +659,7 @@ class CertCheckMonitor(pulumi.CustomResource):
661
659
  @pulumi.getter
662
660
  def status(self) -> pulumi.Output[str]:
663
661
  """
664
- The monitor status (i.e. ENABLED, MUTED, DISABLED). Note: The 'MUTED' status is now deprecated, and support for this
665
- value will soon be removed from the Terraform Provider in an upcoming release. It is highly recommended for users to
666
- refrain from using this value and shift to alternatives.
662
+ The monitor status (ENABLED or DISABLED).
667
663
  """
668
664
  return pulumi.get(self, "status")
669
665
 
@@ -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.
@@ -38,9 +38,7 @@ class MonitorArgs:
38
38
  verify_ssl: Optional[pulumi.Input[bool]] = None):
39
39
  """
40
40
  The set of arguments for constructing a Monitor resource.
41
- :param pulumi.Input[str] status: The monitor status (i.e. ENABLED, MUTED, DISABLED). Note: The 'MUTED' status is now deprecated, and support for this
42
- value will soon be removed from the Terraform Provider in an upcoming release. It is highly recommended for users to
43
- refrain from using this value and shift to alternatives.
41
+ :param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
44
42
  :param pulumi.Input[str] type: The monitor type. Valid values are `SIMPLE` and `BROWSER`.
45
43
  :param pulumi.Input[int] account_id: The account in which the Synthetics monitor will be created.
46
44
  :param pulumi.Input[bool] bypass_head_request: Monitor should skip default HEAD request and instead use GET verb in check.
@@ -108,9 +106,7 @@ class MonitorArgs:
108
106
  @pulumi.getter
109
107
  def status(self) -> pulumi.Input[str]:
110
108
  """
111
- The monitor status (i.e. ENABLED, MUTED, DISABLED). Note: The 'MUTED' status is now deprecated, and support for this
112
- value will soon be removed from the Terraform Provider in an upcoming release. It is highly recommended for users to
113
- refrain from using this value and shift to alternatives.
109
+ The monitor status (ENABLED or DISABLED).
114
110
  """
115
111
  return pulumi.get(self, "status")
116
112
 
@@ -393,9 +389,7 @@ class _MonitorState:
393
389
  :param pulumi.Input[str] runtime_type: The runtime type that the monitor will run.
394
390
  :param pulumi.Input[str] runtime_type_version: The runtime type that the monitor will run.
395
391
  :param pulumi.Input[str] script_language: The programing language that should execute the script.
396
- :param pulumi.Input[str] status: The monitor status (i.e. ENABLED, MUTED, DISABLED). Note: The 'MUTED' status is now deprecated, and support for this
397
- value will soon be removed from the Terraform Provider in an upcoming release. It is highly recommended for users to
398
- refrain from using this value and shift to alternatives.
392
+ :param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
399
393
  :param pulumi.Input[Sequence[pulumi.Input['MonitorTagArgs']]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details.
400
394
 
401
395
  The `SIMPLE` monitor type supports the following additional arguments:
@@ -622,9 +616,7 @@ class _MonitorState:
622
616
  @pulumi.getter
623
617
  def status(self) -> Optional[pulumi.Input[str]]:
624
618
  """
625
- The monitor status (i.e. ENABLED, MUTED, DISABLED). Note: The 'MUTED' status is now deprecated, and support for this
626
- value will soon be removed from the Terraform Provider in an upcoming release. It is highly recommended for users to
627
- refrain from using this value and shift to alternatives.
619
+ The monitor status (ENABLED or DISABLED).
628
620
  """
629
621
  return pulumi.get(self, "status")
630
622
 
@@ -738,6 +730,7 @@ class Monitor(pulumi.CustomResource):
738
730
 
739
731
  ## Example Usage
740
732
 
733
+ <!--Start PulumiCodeChooser -->
741
734
  ```python
742
735
  import pulumi
743
736
  import pulumi_newrelic as newrelic
@@ -761,8 +754,10 @@ class Monitor(pulumi.CustomResource):
761
754
  validation_string="success",
762
755
  verify_ssl=True)
763
756
  ```
757
+ <!--End PulumiCodeChooser -->
764
758
  ##### Type: `SIMPLE BROWSER`
765
759
 
760
+ <!--Start PulumiCodeChooser -->
766
761
  ```python
767
762
  import pulumi
768
763
  import pulumi_newrelic as newrelic
@@ -785,7 +780,9 @@ class Monitor(pulumi.CustomResource):
785
780
  validation_string="success",
786
781
  verify_ssl=True)
787
782
  ```
783
+ <!--End PulumiCodeChooser -->
788
784
  See additional examples.
785
+
789
786
  ## Additional Examples
790
787
 
791
788
  ### Create a monitor with a private location
@@ -796,6 +793,7 @@ class Monitor(pulumi.CustomResource):
796
793
 
797
794
  ##### Type: `SIMPLE`
798
795
 
796
+ <!--Start PulumiCodeChooser -->
799
797
  ```python
800
798
  import pulumi
801
799
  import pulumi_newrelic as newrelic
@@ -822,8 +820,10 @@ class Monitor(pulumi.CustomResource):
822
820
  values=["some_value"],
823
821
  )])
824
822
  ```
823
+ <!--End PulumiCodeChooser -->
825
824
  ##### Type: `BROWSER`
826
825
 
826
+ <!--Start PulumiCodeChooser -->
827
827
  ```python
828
828
  import pulumi
829
829
  import pulumi_newrelic as newrelic
@@ -852,12 +852,13 @@ class Monitor(pulumi.CustomResource):
852
852
  values=["some_value"],
853
853
  )])
854
854
  ```
855
+ <!--End PulumiCodeChooser -->
855
856
 
856
857
  ## Import
857
858
 
858
859
  Synthetics monitor can be imported using the `guid`, e.g.
859
860
 
860
- bash
861
+ bash
861
862
 
862
863
  ```sh
863
864
  $ pulumi import newrelic:synthetics/monitor:Monitor monitor <guid>
@@ -880,9 +881,7 @@ class Monitor(pulumi.CustomResource):
880
881
  :param pulumi.Input[str] runtime_type: The runtime type that the monitor will run.
881
882
  :param pulumi.Input[str] runtime_type_version: The runtime type that the monitor will run.
882
883
  :param pulumi.Input[str] script_language: The programing language that should execute the script.
883
- :param pulumi.Input[str] status: The monitor status (i.e. ENABLED, MUTED, DISABLED). Note: The 'MUTED' status is now deprecated, and support for this
884
- value will soon be removed from the Terraform Provider in an upcoming release. It is highly recommended for users to
885
- refrain from using this value and shift to alternatives.
884
+ :param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
886
885
  :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MonitorTagArgs']]]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details.
887
886
 
888
887
  The `SIMPLE` monitor type supports the following additional arguments:
@@ -903,6 +902,7 @@ class Monitor(pulumi.CustomResource):
903
902
 
904
903
  ## Example Usage
905
904
 
905
+ <!--Start PulumiCodeChooser -->
906
906
  ```python
907
907
  import pulumi
908
908
  import pulumi_newrelic as newrelic
@@ -926,8 +926,10 @@ class Monitor(pulumi.CustomResource):
926
926
  validation_string="success",
927
927
  verify_ssl=True)
928
928
  ```
929
+ <!--End PulumiCodeChooser -->
929
930
  ##### Type: `SIMPLE BROWSER`
930
931
 
932
+ <!--Start PulumiCodeChooser -->
931
933
  ```python
932
934
  import pulumi
933
935
  import pulumi_newrelic as newrelic
@@ -950,7 +952,9 @@ class Monitor(pulumi.CustomResource):
950
952
  validation_string="success",
951
953
  verify_ssl=True)
952
954
  ```
955
+ <!--End PulumiCodeChooser -->
953
956
  See additional examples.
957
+
954
958
  ## Additional Examples
955
959
 
956
960
  ### Create a monitor with a private location
@@ -961,6 +965,7 @@ class Monitor(pulumi.CustomResource):
961
965
 
962
966
  ##### Type: `SIMPLE`
963
967
 
968
+ <!--Start PulumiCodeChooser -->
964
969
  ```python
965
970
  import pulumi
966
971
  import pulumi_newrelic as newrelic
@@ -987,8 +992,10 @@ class Monitor(pulumi.CustomResource):
987
992
  values=["some_value"],
988
993
  )])
989
994
  ```
995
+ <!--End PulumiCodeChooser -->
990
996
  ##### Type: `BROWSER`
991
997
 
998
+ <!--Start PulumiCodeChooser -->
992
999
  ```python
993
1000
  import pulumi
994
1001
  import pulumi_newrelic as newrelic
@@ -1017,12 +1024,13 @@ class Monitor(pulumi.CustomResource):
1017
1024
  values=["some_value"],
1018
1025
  )])
1019
1026
  ```
1027
+ <!--End PulumiCodeChooser -->
1020
1028
 
1021
1029
  ## Import
1022
1030
 
1023
1031
  Synthetics monitor can be imported using the `guid`, e.g.
1024
1032
 
1025
- bash
1033
+ bash
1026
1034
 
1027
1035
  ```sh
1028
1036
  $ pulumi import newrelic:synthetics/monitor:Monitor monitor <guid>
@@ -1151,9 +1159,7 @@ class Monitor(pulumi.CustomResource):
1151
1159
  :param pulumi.Input[str] runtime_type: The runtime type that the monitor will run.
1152
1160
  :param pulumi.Input[str] runtime_type_version: The runtime type that the monitor will run.
1153
1161
  :param pulumi.Input[str] script_language: The programing language that should execute the script.
1154
- :param pulumi.Input[str] status: The monitor status (i.e. ENABLED, MUTED, DISABLED). Note: The 'MUTED' status is now deprecated, and support for this
1155
- value will soon be removed from the Terraform Provider in an upcoming release. It is highly recommended for users to
1156
- refrain from using this value and shift to alternatives.
1162
+ :param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
1157
1163
  :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MonitorTagArgs']]]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details.
1158
1164
 
1159
1165
  The `SIMPLE` monitor type supports the following additional arguments:
@@ -1308,9 +1314,7 @@ class Monitor(pulumi.CustomResource):
1308
1314
  @pulumi.getter
1309
1315
  def status(self) -> pulumi.Output[str]:
1310
1316
  """
1311
- The monitor status (i.e. ENABLED, MUTED, DISABLED). Note: The 'MUTED' status is now deprecated, and support for this
1312
- value will soon be removed from the Terraform Provider in an upcoming release. It is highly recommended for users to
1313
- refrain from using this value and shift to alternatives.
1317
+ The monitor status (ENABLED or DISABLED).
1314
1318
  """
1315
1319
  return pulumi.get(self, "status")
1316
1320
 
@@ -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.