pulumi-newrelic 5.23.0a1713561620__py3-none-any.whl → 5.23.0a1713984329__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 (68) hide show
  1. pulumi_newrelic/_inputs.py +183 -270
  2. pulumi_newrelic/account_management.py +14 -18
  3. pulumi_newrelic/alert_channel.py +28 -56
  4. pulumi_newrelic/alert_condition.py +84 -133
  5. pulumi_newrelic/alert_muting_rule.py +21 -25
  6. pulumi_newrelic/alert_policy.py +42 -33
  7. pulumi_newrelic/alert_policy_channel.py +0 -4
  8. pulumi_newrelic/cloud/_inputs.py +322 -1072
  9. pulumi_newrelic/cloud/aws_govcloud_link_account.py +0 -4
  10. pulumi_newrelic/cloud/aws_integrations.py +7 -11
  11. pulumi_newrelic/cloud/aws_link_account.py +0 -4
  12. pulumi_newrelic/cloud/azure_integrations.py +0 -4
  13. pulumi_newrelic/cloud/azure_link_account.py +0 -4
  14. pulumi_newrelic/cloud/gcp_integrations.py +0 -4
  15. pulumi_newrelic/cloud/gcp_link_account.py +0 -4
  16. pulumi_newrelic/cloud/outputs.py +322 -1072
  17. pulumi_newrelic/data_partition_rule.py +0 -4
  18. pulumi_newrelic/entity_tags.py +7 -11
  19. pulumi_newrelic/events_to_metrics_rule.py +0 -4
  20. pulumi_newrelic/get_account.py +0 -4
  21. pulumi_newrelic/get_application.py +0 -4
  22. pulumi_newrelic/get_authentication_domain.py +0 -4
  23. pulumi_newrelic/get_cloud_account.py +0 -4
  24. pulumi_newrelic/get_entity.py +0 -16
  25. pulumi_newrelic/get_group.py +0 -8
  26. pulumi_newrelic/get_key_transaction.py +0 -4
  27. pulumi_newrelic/get_notification_destination.py +20 -1
  28. pulumi_newrelic/get_obfuscation_expression.py +0 -4
  29. pulumi_newrelic/get_service_level_alert_helper.py +0 -30
  30. pulumi_newrelic/get_test_grok_pattern.py +0 -4
  31. pulumi_newrelic/get_user.py +0 -4
  32. pulumi_newrelic/group.py +0 -12
  33. pulumi_newrelic/infra_alert_condition.py +126 -113
  34. pulumi_newrelic/insights/event.py +0 -17
  35. pulumi_newrelic/log_parsing_rule.py +0 -8
  36. pulumi_newrelic/monitor_downtime.py +70 -101
  37. pulumi_newrelic/notification_channel.py +0 -44
  38. pulumi_newrelic/notification_destination.py +95 -1
  39. pulumi_newrelic/nrql_alert_condition.py +0 -20
  40. pulumi_newrelic/nrql_drop_rule.py +28 -32
  41. pulumi_newrelic/obfuscation_expression.py +0 -4
  42. pulumi_newrelic/obfuscation_rule.py +0 -4
  43. pulumi_newrelic/one_dashboard.py +42 -48
  44. pulumi_newrelic/one_dashboard_raw.py +0 -4
  45. pulumi_newrelic/outputs.py +180 -270
  46. pulumi_newrelic/plugins/_inputs.py +16 -16
  47. pulumi_newrelic/plugins/application_settings.py +0 -4
  48. pulumi_newrelic/plugins/outputs.py +16 -16
  49. pulumi_newrelic/plugins/workload.py +28 -48
  50. pulumi_newrelic/service_level.py +0 -91
  51. pulumi_newrelic/synthetics/alert_condition.py +14 -50
  52. pulumi_newrelic/synthetics/broken_links_monitor.py +0 -8
  53. pulumi_newrelic/synthetics/cert_check_monitor.py +0 -8
  54. pulumi_newrelic/synthetics/get_private_location.py +0 -8
  55. pulumi_newrelic/synthetics/get_secure_credential.py +0 -12
  56. pulumi_newrelic/synthetics/monitor.py +0 -16
  57. pulumi_newrelic/synthetics/multi_location_alert_condition.py +49 -71
  58. pulumi_newrelic/synthetics/private_location.py +0 -4
  59. pulumi_newrelic/synthetics/script_monitor.py +4 -20
  60. pulumi_newrelic/synthetics/secure_credential.py +21 -18
  61. pulumi_newrelic/synthetics/step_monitor.py +4 -12
  62. pulumi_newrelic/user.py +0 -4
  63. pulumi_newrelic/workflow.py +0 -16
  64. {pulumi_newrelic-5.23.0a1713561620.dist-info → pulumi_newrelic-5.23.0a1713984329.dist-info}/METADATA +1 -1
  65. pulumi_newrelic-5.23.0a1713984329.dist-info/RECORD +89 -0
  66. pulumi_newrelic-5.23.0a1713561620.dist-info/RECORD +0 -89
  67. {pulumi_newrelic-5.23.0a1713561620.dist-info → pulumi_newrelic-5.23.0a1713984329.dist-info}/WHEEL +0 -0
  68. {pulumi_newrelic-5.23.0a1713561620.dist-info → pulumi_newrelic-5.23.0a1713984329.dist-info}/top_level.txt +0 -0
@@ -23,13 +23,6 @@ class ServiceLevelArgs:
23
23
  name: Optional[pulumi.Input[str]] = None):
24
24
  """
25
25
  The set of arguments for constructing a ServiceLevel resource.
26
- :param pulumi.Input['ServiceLevelEventsArgs'] events: The events that define the NRDB data for the SLI/SLO calculations.
27
- See Events below for details.
28
- :param pulumi.Input[str] guid: The GUID of the entity (e.g, APM Service, Browser application, Workload, etc.) that you want to relate this SLI to. Note that changing the GUID will force a new resource.
29
- :param pulumi.Input['ServiceLevelObjectiveArgs'] objective: The objective of the SLI, only one can be defined.
30
- See Objective below for details.
31
- :param pulumi.Input[str] description: The description of the SLI.
32
- :param pulumi.Input[str] name: A short name for the SLI that will help anyone understand what it is about.
33
26
  """
34
27
  pulumi.set(__self__, "events", events)
35
28
  pulumi.set(__self__, "guid", guid)
@@ -42,10 +35,6 @@ class ServiceLevelArgs:
42
35
  @property
43
36
  @pulumi.getter
44
37
  def events(self) -> pulumi.Input['ServiceLevelEventsArgs']:
45
- """
46
- The events that define the NRDB data for the SLI/SLO calculations.
47
- See Events below for details.
48
- """
49
38
  return pulumi.get(self, "events")
50
39
 
51
40
  @events.setter
@@ -55,9 +44,6 @@ class ServiceLevelArgs:
55
44
  @property
56
45
  @pulumi.getter
57
46
  def guid(self) -> pulumi.Input[str]:
58
- """
59
- The GUID of the entity (e.g, APM Service, Browser application, Workload, etc.) that you want to relate this SLI to. Note that changing the GUID will force a new resource.
60
- """
61
47
  return pulumi.get(self, "guid")
62
48
 
63
49
  @guid.setter
@@ -67,10 +53,6 @@ class ServiceLevelArgs:
67
53
  @property
68
54
  @pulumi.getter
69
55
  def objective(self) -> pulumi.Input['ServiceLevelObjectiveArgs']:
70
- """
71
- The objective of the SLI, only one can be defined.
72
- See Objective below for details.
73
- """
74
56
  return pulumi.get(self, "objective")
75
57
 
76
58
  @objective.setter
@@ -80,9 +62,6 @@ class ServiceLevelArgs:
80
62
  @property
81
63
  @pulumi.getter
82
64
  def description(self) -> Optional[pulumi.Input[str]]:
83
- """
84
- The description of the SLI.
85
- """
86
65
  return pulumi.get(self, "description")
87
66
 
88
67
  @description.setter
@@ -92,9 +71,6 @@ class ServiceLevelArgs:
92
71
  @property
93
72
  @pulumi.getter
94
73
  def name(self) -> Optional[pulumi.Input[str]]:
95
- """
96
- A short name for the SLI that will help anyone understand what it is about.
97
- """
98
74
  return pulumi.get(self, "name")
99
75
 
100
76
  @name.setter
@@ -114,13 +90,6 @@ class _ServiceLevelState:
114
90
  sli_id: Optional[pulumi.Input[str]] = None):
115
91
  """
116
92
  Input properties used for looking up and filtering ServiceLevel resources.
117
- :param pulumi.Input[str] description: The description of the SLI.
118
- :param pulumi.Input['ServiceLevelEventsArgs'] events: The events that define the NRDB data for the SLI/SLO calculations.
119
- See Events below for details.
120
- :param pulumi.Input[str] guid: The GUID of the entity (e.g, APM Service, Browser application, Workload, etc.) that you want to relate this SLI to. Note that changing the GUID will force a new resource.
121
- :param pulumi.Input[str] name: A short name for the SLI that will help anyone understand what it is about.
122
- :param pulumi.Input['ServiceLevelObjectiveArgs'] objective: The objective of the SLI, only one can be defined.
123
- See Objective below for details.
124
93
  :param pulumi.Input[str] sli_guid: The unique entity identifier of the Service Level Indicator in New Relic.
125
94
  :param pulumi.Input[str] sli_id: The unique entity identifier of the Service Level Indicator.
126
95
  """
@@ -142,9 +111,6 @@ class _ServiceLevelState:
142
111
  @property
143
112
  @pulumi.getter
144
113
  def description(self) -> Optional[pulumi.Input[str]]:
145
- """
146
- The description of the SLI.
147
- """
148
114
  return pulumi.get(self, "description")
149
115
 
150
116
  @description.setter
@@ -154,10 +120,6 @@ class _ServiceLevelState:
154
120
  @property
155
121
  @pulumi.getter
156
122
  def events(self) -> Optional[pulumi.Input['ServiceLevelEventsArgs']]:
157
- """
158
- The events that define the NRDB data for the SLI/SLO calculations.
159
- See Events below for details.
160
- """
161
123
  return pulumi.get(self, "events")
162
124
 
163
125
  @events.setter
@@ -167,9 +129,6 @@ class _ServiceLevelState:
167
129
  @property
168
130
  @pulumi.getter
169
131
  def guid(self) -> Optional[pulumi.Input[str]]:
170
- """
171
- The GUID of the entity (e.g, APM Service, Browser application, Workload, etc.) that you want to relate this SLI to. Note that changing the GUID will force a new resource.
172
- """
173
132
  return pulumi.get(self, "guid")
174
133
 
175
134
  @guid.setter
@@ -179,9 +138,6 @@ class _ServiceLevelState:
179
138
  @property
180
139
  @pulumi.getter
181
140
  def name(self) -> Optional[pulumi.Input[str]]:
182
- """
183
- A short name for the SLI that will help anyone understand what it is about.
184
- """
185
141
  return pulumi.get(self, "name")
186
142
 
187
143
  @name.setter
@@ -191,10 +147,6 @@ class _ServiceLevelState:
191
147
  @property
192
148
  @pulumi.getter
193
149
  def objective(self) -> Optional[pulumi.Input['ServiceLevelObjectiveArgs']]:
194
- """
195
- The objective of the SLI, only one can be defined.
196
- See Objective below for details.
197
- """
198
150
  return pulumi.get(self, "objective")
199
151
 
200
152
  @objective.setter
@@ -250,7 +202,6 @@ class ServiceLevel(pulumi.CustomResource):
250
202
 
251
203
  ## Example Usage
252
204
 
253
- <!--Start PulumiCodeChooser -->
254
205
  ```python
255
206
  import pulumi
256
207
  import pulumi_newrelic as newrelic
@@ -280,13 +231,11 @@ class ServiceLevel(pulumi.CustomResource):
280
231
  ),
281
232
  ))
282
233
  ```
283
- <!--End PulumiCodeChooser -->
284
234
 
285
235
  ## Additional Example
286
236
 
287
237
  Service level with tags:
288
238
 
289
- <!--Start PulumiCodeChooser -->
290
239
  ```python
291
240
  import pulumi
292
241
  import pulumi_newrelic as newrelic
@@ -331,11 +280,9 @@ class ServiceLevel(pulumi.CustomResource):
331
280
  ),
332
281
  ])
333
282
  ```
334
- <!--End PulumiCodeChooser -->
335
283
 
336
284
  Using `select` for events
337
285
 
338
- <!--Start PulumiCodeChooser -->
339
286
  ```python
340
287
  import pulumi
341
288
  import pulumi_newrelic as newrelic
@@ -374,7 +321,6 @@ class ServiceLevel(pulumi.CustomResource):
374
321
  ),
375
322
  ))
376
323
  ```
377
- <!--End PulumiCodeChooser -->
378
324
 
379
325
  For up-to-date documentation about the tagging resource, please check EntityTags
380
326
 
@@ -394,13 +340,6 @@ class ServiceLevel(pulumi.CustomResource):
394
340
 
395
341
  :param str resource_name: The name of the resource.
396
342
  :param pulumi.ResourceOptions opts: Options for the resource.
397
- :param pulumi.Input[str] description: The description of the SLI.
398
- :param pulumi.Input[pulumi.InputType['ServiceLevelEventsArgs']] events: The events that define the NRDB data for the SLI/SLO calculations.
399
- See Events below for details.
400
- :param pulumi.Input[str] guid: The GUID of the entity (e.g, APM Service, Browser application, Workload, etc.) that you want to relate this SLI to. Note that changing the GUID will force a new resource.
401
- :param pulumi.Input[str] name: A short name for the SLI that will help anyone understand what it is about.
402
- :param pulumi.Input[pulumi.InputType['ServiceLevelObjectiveArgs']] objective: The objective of the SLI, only one can be defined.
403
- See Objective below for details.
404
343
  """
405
344
  ...
406
345
  @overload
@@ -421,7 +360,6 @@ class ServiceLevel(pulumi.CustomResource):
421
360
 
422
361
  ## Example Usage
423
362
 
424
- <!--Start PulumiCodeChooser -->
425
363
  ```python
426
364
  import pulumi
427
365
  import pulumi_newrelic as newrelic
@@ -451,13 +389,11 @@ class ServiceLevel(pulumi.CustomResource):
451
389
  ),
452
390
  ))
453
391
  ```
454
- <!--End PulumiCodeChooser -->
455
392
 
456
393
  ## Additional Example
457
394
 
458
395
  Service level with tags:
459
396
 
460
- <!--Start PulumiCodeChooser -->
461
397
  ```python
462
398
  import pulumi
463
399
  import pulumi_newrelic as newrelic
@@ -502,11 +438,9 @@ class ServiceLevel(pulumi.CustomResource):
502
438
  ),
503
439
  ])
504
440
  ```
505
- <!--End PulumiCodeChooser -->
506
441
 
507
442
  Using `select` for events
508
443
 
509
- <!--Start PulumiCodeChooser -->
510
444
  ```python
511
445
  import pulumi
512
446
  import pulumi_newrelic as newrelic
@@ -545,7 +479,6 @@ class ServiceLevel(pulumi.CustomResource):
545
479
  ),
546
480
  ))
547
481
  ```
548
- <!--End PulumiCodeChooser -->
549
482
 
550
483
  For up-to-date documentation about the tagging resource, please check EntityTags
551
484
 
@@ -629,13 +562,6 @@ class ServiceLevel(pulumi.CustomResource):
629
562
  :param str resource_name: The unique name of the resulting resource.
630
563
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
631
564
  :param pulumi.ResourceOptions opts: Options for the resource.
632
- :param pulumi.Input[str] description: The description of the SLI.
633
- :param pulumi.Input[pulumi.InputType['ServiceLevelEventsArgs']] events: The events that define the NRDB data for the SLI/SLO calculations.
634
- See Events below for details.
635
- :param pulumi.Input[str] guid: The GUID of the entity (e.g, APM Service, Browser application, Workload, etc.) that you want to relate this SLI to. Note that changing the GUID will force a new resource.
636
- :param pulumi.Input[str] name: A short name for the SLI that will help anyone understand what it is about.
637
- :param pulumi.Input[pulumi.InputType['ServiceLevelObjectiveArgs']] objective: The objective of the SLI, only one can be defined.
638
- See Objective below for details.
639
565
  :param pulumi.Input[str] sli_guid: The unique entity identifier of the Service Level Indicator in New Relic.
640
566
  :param pulumi.Input[str] sli_id: The unique entity identifier of the Service Level Indicator.
641
567
  """
@@ -655,43 +581,26 @@ class ServiceLevel(pulumi.CustomResource):
655
581
  @property
656
582
  @pulumi.getter
657
583
  def description(self) -> pulumi.Output[Optional[str]]:
658
- """
659
- The description of the SLI.
660
- """
661
584
  return pulumi.get(self, "description")
662
585
 
663
586
  @property
664
587
  @pulumi.getter
665
588
  def events(self) -> pulumi.Output['outputs.ServiceLevelEvents']:
666
- """
667
- The events that define the NRDB data for the SLI/SLO calculations.
668
- See Events below for details.
669
- """
670
589
  return pulumi.get(self, "events")
671
590
 
672
591
  @property
673
592
  @pulumi.getter
674
593
  def guid(self) -> pulumi.Output[str]:
675
- """
676
- The GUID of the entity (e.g, APM Service, Browser application, Workload, etc.) that you want to relate this SLI to. Note that changing the GUID will force a new resource.
677
- """
678
594
  return pulumi.get(self, "guid")
679
595
 
680
596
  @property
681
597
  @pulumi.getter
682
598
  def name(self) -> pulumi.Output[str]:
683
- """
684
- A short name for the SLI that will help anyone understand what it is about.
685
- """
686
599
  return pulumi.get(self, "name")
687
600
 
688
601
  @property
689
602
  @pulumi.getter
690
603
  def objective(self) -> pulumi.Output['outputs.ServiceLevelObjective']:
691
- """
692
- The objective of the SLI, only one can be defined.
693
- See Objective below for details.
694
- """
695
604
  return pulumi.get(self, "objective")
696
605
 
697
606
  @property
@@ -21,13 +21,9 @@ class AlertConditionArgs:
21
21
  runbook_url: Optional[pulumi.Input[str]] = None):
22
22
  """
23
23
  The set of arguments for constructing a AlertCondition resource.
24
- :param pulumi.Input[str] monitor_id: The GUID of the Synthetics monitor to be referenced in the alert condition.
24
+ :param pulumi.Input[str] monitor_id: The ID of the Synthetics monitor to be referenced in the alert condition.
25
25
  :param pulumi.Input[int] policy_id: The ID of the policy where this condition should be used.
26
- :param pulumi.Input[bool] enabled: Set whether to enable the alert condition. Defaults to `true`.
27
-
28
- ```
29
- 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.
30
- ```
26
+ :param pulumi.Input[bool] enabled: Set whether to enable the alert condition. Defaults to true.
31
27
  :param pulumi.Input[str] name: The title of this condition.
32
28
  :param pulumi.Input[str] runbook_url: Runbook URL to display in notifications.
33
29
  """
@@ -44,7 +40,7 @@ class AlertConditionArgs:
44
40
  @pulumi.getter(name="monitorId")
45
41
  def monitor_id(self) -> pulumi.Input[str]:
46
42
  """
47
- The GUID of the Synthetics monitor to be referenced in the alert condition.
43
+ The ID of the Synthetics monitor to be referenced in the alert condition.
48
44
  """
49
45
  return pulumi.get(self, "monitor_id")
50
46
 
@@ -68,11 +64,7 @@ class AlertConditionArgs:
68
64
  @pulumi.getter
69
65
  def enabled(self) -> Optional[pulumi.Input[bool]]:
70
66
  """
71
- Set whether to enable the alert condition. Defaults to `true`.
72
-
73
- ```
74
- 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.
75
- ```
67
+ Set whether to enable the alert condition. Defaults to true.
76
68
  """
77
69
  return pulumi.get(self, "enabled")
78
70
 
@@ -116,13 +108,9 @@ class _AlertConditionState:
116
108
  runbook_url: Optional[pulumi.Input[str]] = None):
117
109
  """
118
110
  Input properties used for looking up and filtering AlertCondition resources.
119
- :param pulumi.Input[bool] enabled: Set whether to enable the alert condition. Defaults to `true`.
120
-
121
- ```
122
- 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.
123
- ```
111
+ :param pulumi.Input[bool] enabled: Set whether to enable the alert condition. Defaults to true.
124
112
  :param pulumi.Input[str] entity_guid: The unique entity identifier of the condition in New Relic.
125
- :param pulumi.Input[str] monitor_id: The GUID of the Synthetics monitor to be referenced in the alert condition.
113
+ :param pulumi.Input[str] monitor_id: The ID of the Synthetics monitor to be referenced in the alert condition.
126
114
  :param pulumi.Input[str] name: The title of this condition.
127
115
  :param pulumi.Input[int] policy_id: The ID of the policy where this condition should be used.
128
116
  :param pulumi.Input[str] runbook_url: Runbook URL to display in notifications.
@@ -144,11 +132,7 @@ class _AlertConditionState:
144
132
  @pulumi.getter
145
133
  def enabled(self) -> Optional[pulumi.Input[bool]]:
146
134
  """
147
- Set whether to enable the alert condition. Defaults to `true`.
148
-
149
- ```
150
- 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.
151
- ```
135
+ Set whether to enable the alert condition. Defaults to true.
152
136
  """
153
137
  return pulumi.get(self, "enabled")
154
138
 
@@ -172,7 +156,7 @@ class _AlertConditionState:
172
156
  @pulumi.getter(name="monitorId")
173
157
  def monitor_id(self) -> Optional[pulumi.Input[str]]:
174
158
  """
175
- The GUID of the Synthetics monitor to be referenced in the alert condition.
159
+ The ID of the Synthetics monitor to be referenced in the alert condition.
176
160
  """
177
161
  return pulumi.get(self, "monitor_id")
178
162
 
@@ -235,7 +219,6 @@ class AlertCondition(pulumi.CustomResource):
235
219
 
236
220
  ## Example Usage
237
221
 
238
- <!--Start PulumiCodeChooser -->
239
222
  ```python
240
223
  import pulumi
241
224
  import pulumi_newrelic as newrelic
@@ -246,13 +229,11 @@ class AlertCondition(pulumi.CustomResource):
246
229
  monitor_id=foo_newrelic_synthetics_monitor["id"],
247
230
  runbook_url="https://www.example.com")
248
231
  ```
249
- <!--End PulumiCodeChooser -->
250
232
 
251
233
  ## Tags
252
234
 
253
235
  Manage synthetics alert condition tags with `EntityTags`. For up-to-date documentation about the tagging resource, please check EntityTags
254
236
 
255
- <!--Start PulumiCodeChooser -->
256
237
  ```python
257
238
  import pulumi
258
239
  import pulumi_newrelic as newrelic
@@ -298,7 +279,6 @@ class AlertCondition(pulumi.CustomResource):
298
279
  ),
299
280
  ])
300
281
  ```
301
- <!--End PulumiCodeChooser -->
302
282
 
303
283
  ## Import
304
284
 
@@ -310,12 +290,8 @@ class AlertCondition(pulumi.CustomResource):
310
290
 
311
291
  :param str resource_name: The name of the resource.
312
292
  :param pulumi.ResourceOptions opts: Options for the resource.
313
- :param pulumi.Input[bool] enabled: Set whether to enable the alert condition. Defaults to `true`.
314
-
315
- ```
316
- 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.
317
- ```
318
- :param pulumi.Input[str] monitor_id: The GUID of the Synthetics monitor to be referenced in the alert condition.
293
+ :param pulumi.Input[bool] enabled: Set whether to enable the alert condition. Defaults to true.
294
+ :param pulumi.Input[str] monitor_id: The ID of the Synthetics monitor to be referenced in the alert condition.
319
295
  :param pulumi.Input[str] name: The title of this condition.
320
296
  :param pulumi.Input[int] policy_id: The ID of the policy where this condition should be used.
321
297
  :param pulumi.Input[str] runbook_url: Runbook URL to display in notifications.
@@ -333,7 +309,6 @@ class AlertCondition(pulumi.CustomResource):
333
309
 
334
310
  ## Example Usage
335
311
 
336
- <!--Start PulumiCodeChooser -->
337
312
  ```python
338
313
  import pulumi
339
314
  import pulumi_newrelic as newrelic
@@ -344,13 +319,11 @@ class AlertCondition(pulumi.CustomResource):
344
319
  monitor_id=foo_newrelic_synthetics_monitor["id"],
345
320
  runbook_url="https://www.example.com")
346
321
  ```
347
- <!--End PulumiCodeChooser -->
348
322
 
349
323
  ## Tags
350
324
 
351
325
  Manage synthetics alert condition tags with `EntityTags`. For up-to-date documentation about the tagging resource, please check EntityTags
352
326
 
353
- <!--Start PulumiCodeChooser -->
354
327
  ```python
355
328
  import pulumi
356
329
  import pulumi_newrelic as newrelic
@@ -396,7 +369,6 @@ class AlertCondition(pulumi.CustomResource):
396
369
  ),
397
370
  ])
398
371
  ```
399
- <!--End PulumiCodeChooser -->
400
372
 
401
373
  ## Import
402
374
 
@@ -468,13 +440,9 @@ class AlertCondition(pulumi.CustomResource):
468
440
  :param str resource_name: The unique name of the resulting resource.
469
441
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
470
442
  :param pulumi.ResourceOptions opts: Options for the resource.
471
- :param pulumi.Input[bool] enabled: Set whether to enable the alert condition. Defaults to `true`.
472
-
473
- ```
474
- 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.
475
- ```
443
+ :param pulumi.Input[bool] enabled: Set whether to enable the alert condition. Defaults to true.
476
444
  :param pulumi.Input[str] entity_guid: The unique entity identifier of the condition in New Relic.
477
- :param pulumi.Input[str] monitor_id: The GUID of the Synthetics monitor to be referenced in the alert condition.
445
+ :param pulumi.Input[str] monitor_id: The ID of the Synthetics monitor to be referenced in the alert condition.
478
446
  :param pulumi.Input[str] name: The title of this condition.
479
447
  :param pulumi.Input[int] policy_id: The ID of the policy where this condition should be used.
480
448
  :param pulumi.Input[str] runbook_url: Runbook URL to display in notifications.
@@ -495,11 +463,7 @@ class AlertCondition(pulumi.CustomResource):
495
463
  @pulumi.getter
496
464
  def enabled(self) -> pulumi.Output[Optional[bool]]:
497
465
  """
498
- Set whether to enable the alert condition. Defaults to `true`.
499
-
500
- ```
501
- 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.
502
- ```
466
+ Set whether to enable the alert condition. Defaults to true.
503
467
  """
504
468
  return pulumi.get(self, "enabled")
505
469
 
@@ -515,7 +479,7 @@ class AlertCondition(pulumi.CustomResource):
515
479
  @pulumi.getter(name="monitorId")
516
480
  def monitor_id(self) -> pulumi.Output[str]:
517
481
  """
518
- The GUID of the Synthetics monitor to be referenced in the alert condition.
482
+ The ID of the Synthetics monitor to be referenced in the alert condition.
519
483
  """
520
484
  return pulumi.get(self, "monitor_id")
521
485
 
@@ -407,7 +407,6 @@ class BrokenLinksMonitor(pulumi.CustomResource):
407
407
 
408
408
  ## Example Usage
409
409
 
410
- <!--Start PulumiCodeChooser -->
411
410
  ```python
412
411
  import pulumi
413
412
  import pulumi_newrelic as newrelic
@@ -425,7 +424,6 @@ class BrokenLinksMonitor(pulumi.CustomResource):
425
424
  values=["some_value"],
426
425
  )])
427
426
  ```
428
- <!--End PulumiCodeChooser -->
429
427
  See additional examples.
430
428
 
431
429
  ## Additional Examples
@@ -436,7 +434,6 @@ class BrokenLinksMonitor(pulumi.CustomResource):
436
434
 
437
435
  > **NOTE:** It can take up to 10 minutes for a private location to become available.
438
436
 
439
- <!--Start PulumiCodeChooser -->
440
437
  ```python
441
438
  import pulumi
442
439
  import pulumi_newrelic as newrelic
@@ -456,7 +453,6 @@ class BrokenLinksMonitor(pulumi.CustomResource):
456
453
  values=["some_value"],
457
454
  )])
458
455
  ```
459
- <!--End PulumiCodeChooser -->
460
456
 
461
457
  ## Import
462
458
 
@@ -494,7 +490,6 @@ class BrokenLinksMonitor(pulumi.CustomResource):
494
490
 
495
491
  ## Example Usage
496
492
 
497
- <!--Start PulumiCodeChooser -->
498
493
  ```python
499
494
  import pulumi
500
495
  import pulumi_newrelic as newrelic
@@ -512,7 +507,6 @@ class BrokenLinksMonitor(pulumi.CustomResource):
512
507
  values=["some_value"],
513
508
  )])
514
509
  ```
515
- <!--End PulumiCodeChooser -->
516
510
  See additional examples.
517
511
 
518
512
  ## Additional Examples
@@ -523,7 +517,6 @@ class BrokenLinksMonitor(pulumi.CustomResource):
523
517
 
524
518
  > **NOTE:** It can take up to 10 minutes for a private location to become available.
525
519
 
526
- <!--Start PulumiCodeChooser -->
527
520
  ```python
528
521
  import pulumi
529
522
  import pulumi_newrelic as newrelic
@@ -543,7 +536,6 @@ class BrokenLinksMonitor(pulumi.CustomResource):
543
536
  values=["some_value"],
544
537
  )])
545
538
  ```
546
- <!--End PulumiCodeChooser -->
547
539
 
548
540
  ## Import
549
541
 
@@ -423,7 +423,6 @@ class CertCheckMonitor(pulumi.CustomResource):
423
423
 
424
424
  ## Example Usage
425
425
 
426
- <!--Start PulumiCodeChooser -->
427
426
  ```python
428
427
  import pulumi
429
428
  import pulumi_newrelic as newrelic
@@ -442,7 +441,6 @@ class CertCheckMonitor(pulumi.CustomResource):
442
441
  values=["some_value"],
443
442
  )])
444
443
  ```
445
- <!--End PulumiCodeChooser -->
446
444
  See additional examples.
447
445
 
448
446
  ## Additional Examples
@@ -453,7 +451,6 @@ class CertCheckMonitor(pulumi.CustomResource):
453
451
 
454
452
  > **NOTE:** It can take up to 10 minutes for a private location to become available.
455
453
 
456
- <!--Start PulumiCodeChooser -->
457
454
  ```python
458
455
  import pulumi
459
456
  import pulumi_newrelic as newrelic
@@ -474,7 +471,6 @@ class CertCheckMonitor(pulumi.CustomResource):
474
471
  values=["some_value"],
475
472
  )])
476
473
  ```
477
- <!--End PulumiCodeChooser -->
478
474
 
479
475
  ## Import
480
476
 
@@ -513,7 +509,6 @@ class CertCheckMonitor(pulumi.CustomResource):
513
509
 
514
510
  ## Example Usage
515
511
 
516
- <!--Start PulumiCodeChooser -->
517
512
  ```python
518
513
  import pulumi
519
514
  import pulumi_newrelic as newrelic
@@ -532,7 +527,6 @@ class CertCheckMonitor(pulumi.CustomResource):
532
527
  values=["some_value"],
533
528
  )])
534
529
  ```
535
- <!--End PulumiCodeChooser -->
536
530
  See additional examples.
537
531
 
538
532
  ## Additional Examples
@@ -543,7 +537,6 @@ class CertCheckMonitor(pulumi.CustomResource):
543
537
 
544
538
  > **NOTE:** It can take up to 10 minutes for a private location to become available.
545
539
 
546
- <!--Start PulumiCodeChooser -->
547
540
  ```python
548
541
  import pulumi
549
542
  import pulumi_newrelic as newrelic
@@ -564,7 +557,6 @@ class CertCheckMonitor(pulumi.CustomResource):
564
557
  values=["some_value"],
565
558
  )])
566
559
  ```
567
- <!--End PulumiCodeChooser -->
568
560
 
569
561
  ## Import
570
562
 
@@ -83,7 +83,6 @@ def get_private_location(account_id: Optional[int] = None,
83
83
 
84
84
  ## Example Usage
85
85
 
86
- <!--Start PulumiCodeChooser -->
87
86
  ```python
88
87
  import pulumi
89
88
  import pulumi_newrelic as newrelic
@@ -92,9 +91,7 @@ def get_private_location(account_id: Optional[int] = None,
92
91
  name="My private location")
93
92
  foo = newrelic.synthetics.Monitor("foo", locations_privates=[example.id])
94
93
  ```
95
- <!--End PulumiCodeChooser -->
96
94
 
97
- <!--Start PulumiCodeChooser -->
98
95
  ```python
99
96
  import pulumi
100
97
  import pulumi_newrelic as newrelic
@@ -105,7 +102,6 @@ def get_private_location(account_id: Optional[int] = None,
105
102
  guid=example.id,
106
103
  )])
107
104
  ```
108
- <!--End PulumiCodeChooser -->
109
105
 
110
106
 
111
107
  :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.
@@ -136,7 +132,6 @@ def get_private_location_output(account_id: Optional[pulumi.Input[Optional[int]]
136
132
 
137
133
  ## Example Usage
138
134
 
139
- <!--Start PulumiCodeChooser -->
140
135
  ```python
141
136
  import pulumi
142
137
  import pulumi_newrelic as newrelic
@@ -145,9 +140,7 @@ def get_private_location_output(account_id: Optional[pulumi.Input[Optional[int]]
145
140
  name="My private location")
146
141
  foo = newrelic.synthetics.Monitor("foo", locations_privates=[example.id])
147
142
  ```
148
- <!--End PulumiCodeChooser -->
149
143
 
150
- <!--Start PulumiCodeChooser -->
151
144
  ```python
152
145
  import pulumi
153
146
  import pulumi_newrelic as newrelic
@@ -158,7 +151,6 @@ def get_private_location_output(account_id: Optional[pulumi.Input[Optional[int]]
158
151
  guid=example.id,
159
152
  )])
160
153
  ```
161
- <!--End PulumiCodeChooser -->
162
154
 
163
155
 
164
156
  :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,18 +96,12 @@ def get_secure_credential(account_id: Optional[int] = None,
96
96
 
97
97
  ## Example Usage
98
98
 
99
- <!--Start PulumiCodeChooser -->
100
99
  ```python
101
100
  import pulumi
102
101
  import pulumi_newrelic as newrelic
103
102
 
104
103
  foo = newrelic.synthetics.get_secure_credential(key="MY_KEY")
105
104
  ```
106
- <!--End PulumiCodeChooser -->
107
-
108
-
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.
110
- :param str key: The secure credential's key name. Regardless of the case used in the configuration, the provider will provide an upcased key to the underlying API.
111
105
  """
112
106
  __args__ = dict()
113
107
  __args__['accountId'] = account_id
@@ -134,17 +128,11 @@ def get_secure_credential_output(account_id: Optional[pulumi.Input[Optional[int]
134
128
 
135
129
  ## Example Usage
136
130
 
137
- <!--Start PulumiCodeChooser -->
138
131
  ```python
139
132
  import pulumi
140
133
  import pulumi_newrelic as newrelic
141
134
 
142
135
  foo = newrelic.synthetics.get_secure_credential(key="MY_KEY")
143
136
  ```
144
- <!--End PulumiCodeChooser -->
145
-
146
-
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.
148
- :param str key: The secure credential's key name. Regardless of the case used in the configuration, the provider will provide an upcased key to the underlying API.
149
137
  """
150
138
  ...