pulumi-newrelic 5.25.0__py3-none-any.whl → 5.25.0a1715760714__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 (33) hide show
  1. pulumi_newrelic/_inputs.py +43 -449
  2. pulumi_newrelic/account_management.py +14 -14
  3. pulumi_newrelic/alert_channel.py +28 -28
  4. pulumi_newrelic/alert_condition.py +84 -125
  5. pulumi_newrelic/alert_muting_rule.py +21 -21
  6. pulumi_newrelic/alert_policy.py +21 -27
  7. pulumi_newrelic/entity_tags.py +7 -7
  8. pulumi_newrelic/get_alert_policy.py +0 -9
  9. pulumi_newrelic/get_service_level_alert_helper.py +0 -18
  10. pulumi_newrelic/infra_alert_condition.py +126 -105
  11. pulumi_newrelic/insights/event.py +0 -13
  12. pulumi_newrelic/notification_destination.py +10 -14
  13. pulumi_newrelic/nrql_drop_rule.py +28 -28
  14. pulumi_newrelic/one_dashboard.py +42 -48
  15. pulumi_newrelic/outputs.py +43 -448
  16. pulumi_newrelic/plugins/_inputs.py +8 -8
  17. pulumi_newrelic/plugins/outputs.py +8 -8
  18. pulumi_newrelic/plugins/workload.py +28 -28
  19. pulumi_newrelic/pulumi-plugin.json +1 -1
  20. pulumi_newrelic/service_level.py +0 -79
  21. pulumi_newrelic/synthetics/alert_condition.py +14 -42
  22. pulumi_newrelic/synthetics/broken_links_monitor.py +0 -18
  23. pulumi_newrelic/synthetics/cert_check_monitor.py +0 -18
  24. pulumi_newrelic/synthetics/get_secure_credential.py +0 -8
  25. pulumi_newrelic/synthetics/monitor.py +0 -4
  26. pulumi_newrelic/synthetics/multi_location_alert_condition.py +49 -63
  27. pulumi_newrelic/synthetics/script_monitor.py +0 -4
  28. pulumi_newrelic/synthetics/secure_credential.py +21 -14
  29. pulumi_newrelic/synthetics/step_monitor.py +0 -18
  30. {pulumi_newrelic-5.25.0.dist-info → pulumi_newrelic-5.25.0a1715760714.dist-info}/METADATA +1 -1
  31. {pulumi_newrelic-5.25.0.dist-info → pulumi_newrelic-5.25.0a1715760714.dist-info}/RECORD +33 -33
  32. {pulumi_newrelic-5.25.0.dist-info → pulumi_newrelic-5.25.0a1715760714.dist-info}/WHEEL +0 -0
  33. {pulumi_newrelic-5.25.0.dist-info → pulumi_newrelic-5.25.0a1715760714.dist-info}/top_level.txt +0 -0
@@ -34,24 +34,27 @@ class InfraAlertConditionArgs:
34
34
  """
35
35
  The set of arguments for constructing a InfraAlertCondition resource.
36
36
  :param pulumi.Input[str] policy_id: The ID of the alert policy where this condition should be used.
37
- :param pulumi.Input[str] type: The type of Infrastructure alert condition. Valid values are `infra_process_running`, `infra_metric`, and `infra_host_not_reporting`.
38
- :param pulumi.Input[str] comparison: The operator used to evaluate the threshold value. Valid values are `above`, `below`, and `equal`. Supported by the `infra_metric` and `infra_process_running` condition types.
39
- :param pulumi.Input['InfraAlertConditionCriticalArgs'] critical: Identifies the threshold parameters for opening a critical alert incident. See Thresholds below for details.
37
+ :param pulumi.Input[str] type: The type of Infrastructure alert condition. Valid values are infra_process_running, infra_metric, and
38
+ infra_host_not_reporting.
39
+ :param pulumi.Input[str] comparison: The operator used to evaluate the threshold value. Valid values are above, below, and equal. Supported by the
40
+ infra_metric and infra_process_running condition types.
41
+ :param pulumi.Input['InfraAlertConditionCriticalArgs'] critical: Identifies the threshold parameters for opening a critical alert incident.
40
42
  :param pulumi.Input[str] description: The description of the Infrastructure alert condition.
41
- :param pulumi.Input[bool] enabled: Whether the condition is turned on or off. Valid values are `true` and `false`. Defaults to `true`.
42
- :param pulumi.Input[str] event: The metric event; for example, `SystemSample` or `StorageSample`. Supported by the `infra_metric` condition type.
43
- :param pulumi.Input[str] integration_provider: For alerts on integrations, use this instead of `event`. Supported by the `infra_metric` condition type.
43
+ :param pulumi.Input[bool] enabled: Whether the condition is turned on or off. Valid values are true and false. Defaults to true.
44
+ :param pulumi.Input[str] event: The metric event; for example, SystemSample or StorageSample. Supported by the infra_metric condition type.
45
+ :param pulumi.Input[str] integration_provider: For alerts on integrations, use this instead of event. Supported by the infra_metric condition type.
44
46
  :param pulumi.Input[str] name: The Infrastructure alert condition's name.
45
- :param pulumi.Input[str] process_where: Any filters applied to processes; for example: `commandName = 'java'`. Required by the `infra_process_running` condition type.
47
+ :param pulumi.Input[str] process_where: Any filters applied to processes; for example: commandName = 'java'. Supported by the infra_process_running condition
48
+ type.
46
49
  :param pulumi.Input[str] runbook_url: Runbook URL to display in notifications.
47
- :param pulumi.Input[str] select: The attribute name to identify the metric being targeted; for example, `cpuPercent`, `diskFreePercent`, or `memoryResidentSizeBytes`. The underlying API will automatically populate this value for Infrastructure integrations (for example `diskFreePercent`), so make sure to explicitly include this value to avoid diff issues. Supported by the `infra_metric` condition type.
48
- :param pulumi.Input[int] violation_close_timer: Determines how much time will pass (in hours) before an incident is automatically closed. Valid values are `1 2 4 8 12 24 48 72`. Defaults to 24. If `0` is provided, default of `24` is used and will have configuration drift during the apply phase until a valid value is provided.
49
-
50
- ```
51
- 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.
52
- ```
53
- :param pulumi.Input['InfraAlertConditionWarningArgs'] warning: Identifies the threshold parameters for opening a warning alert incident. See Thresholds below for details.
54
- :param pulumi.Input[str] where: If applicable, this identifies any Infrastructure host filters used; for example: `hostname LIKE '%cassandra%'`.
50
+ :param pulumi.Input[str] select: The attribute name to identify the metric being targeted; for example, cpuPercent, diskFreePercent, or
51
+ memoryResidentSizeBytes. The underlying API will automatically populate this value for Infrastructure integrations (for
52
+ example diskFreePercent), so make sure to explicitly include this value to avoid diff issues. Supported by the
53
+ infra_metric condition type.
54
+ :param pulumi.Input[int] violation_close_timer: Determines how much time, in hours, will pass before an incident is automatically closed. Valid values are 1, 2, 4, 8,
55
+ 12, 24, 48, or 72
56
+ :param pulumi.Input['InfraAlertConditionWarningArgs'] warning: Identifies the threshold parameters for opening a warning alert incident.
57
+ :param pulumi.Input[str] where: If applicable, this identifies any Infrastructure host filters used; for example: hostname LIKE '%cassandra%'.
55
58
  """
56
59
  pulumi.set(__self__, "policy_id", policy_id)
57
60
  pulumi.set(__self__, "type", type)
@@ -98,7 +101,8 @@ class InfraAlertConditionArgs:
98
101
  @pulumi.getter
99
102
  def type(self) -> pulumi.Input[str]:
100
103
  """
101
- The type of Infrastructure alert condition. Valid values are `infra_process_running`, `infra_metric`, and `infra_host_not_reporting`.
104
+ The type of Infrastructure alert condition. Valid values are infra_process_running, infra_metric, and
105
+ infra_host_not_reporting.
102
106
  """
103
107
  return pulumi.get(self, "type")
104
108
 
@@ -110,7 +114,8 @@ class InfraAlertConditionArgs:
110
114
  @pulumi.getter
111
115
  def comparison(self) -> Optional[pulumi.Input[str]]:
112
116
  """
113
- The operator used to evaluate the threshold value. Valid values are `above`, `below`, and `equal`. Supported by the `infra_metric` and `infra_process_running` condition types.
117
+ The operator used to evaluate the threshold value. Valid values are above, below, and equal. Supported by the
118
+ infra_metric and infra_process_running condition types.
114
119
  """
115
120
  return pulumi.get(self, "comparison")
116
121
 
@@ -122,7 +127,7 @@ class InfraAlertConditionArgs:
122
127
  @pulumi.getter
123
128
  def critical(self) -> Optional[pulumi.Input['InfraAlertConditionCriticalArgs']]:
124
129
  """
125
- Identifies the threshold parameters for opening a critical alert incident. See Thresholds below for details.
130
+ Identifies the threshold parameters for opening a critical alert incident.
126
131
  """
127
132
  return pulumi.get(self, "critical")
128
133
 
@@ -146,7 +151,7 @@ class InfraAlertConditionArgs:
146
151
  @pulumi.getter
147
152
  def enabled(self) -> Optional[pulumi.Input[bool]]:
148
153
  """
149
- Whether the condition is turned on or off. Valid values are `true` and `false`. Defaults to `true`.
154
+ Whether the condition is turned on or off. Valid values are true and false. Defaults to true.
150
155
  """
151
156
  return pulumi.get(self, "enabled")
152
157
 
@@ -158,7 +163,7 @@ class InfraAlertConditionArgs:
158
163
  @pulumi.getter
159
164
  def event(self) -> Optional[pulumi.Input[str]]:
160
165
  """
161
- The metric event; for example, `SystemSample` or `StorageSample`. Supported by the `infra_metric` condition type.
166
+ The metric event; for example, SystemSample or StorageSample. Supported by the infra_metric condition type.
162
167
  """
163
168
  return pulumi.get(self, "event")
164
169
 
@@ -170,7 +175,7 @@ class InfraAlertConditionArgs:
170
175
  @pulumi.getter(name="integrationProvider")
171
176
  def integration_provider(self) -> Optional[pulumi.Input[str]]:
172
177
  """
173
- For alerts on integrations, use this instead of `event`. Supported by the `infra_metric` condition type.
178
+ For alerts on integrations, use this instead of event. Supported by the infra_metric condition type.
174
179
  """
175
180
  return pulumi.get(self, "integration_provider")
176
181
 
@@ -194,7 +199,8 @@ class InfraAlertConditionArgs:
194
199
  @pulumi.getter(name="processWhere")
195
200
  def process_where(self) -> Optional[pulumi.Input[str]]:
196
201
  """
197
- Any filters applied to processes; for example: `commandName = 'java'`. Required by the `infra_process_running` condition type.
202
+ Any filters applied to processes; for example: commandName = 'java'. Supported by the infra_process_running condition
203
+ type.
198
204
  """
199
205
  return pulumi.get(self, "process_where")
200
206
 
@@ -218,7 +224,10 @@ class InfraAlertConditionArgs:
218
224
  @pulumi.getter
219
225
  def select(self) -> Optional[pulumi.Input[str]]:
220
226
  """
221
- The attribute name to identify the metric being targeted; for example, `cpuPercent`, `diskFreePercent`, or `memoryResidentSizeBytes`. The underlying API will automatically populate this value for Infrastructure integrations (for example `diskFreePercent`), so make sure to explicitly include this value to avoid diff issues. Supported by the `infra_metric` condition type.
227
+ The attribute name to identify the metric being targeted; for example, cpuPercent, diskFreePercent, or
228
+ memoryResidentSizeBytes. The underlying API will automatically populate this value for Infrastructure integrations (for
229
+ example diskFreePercent), so make sure to explicitly include this value to avoid diff issues. Supported by the
230
+ infra_metric condition type.
222
231
  """
223
232
  return pulumi.get(self, "select")
224
233
 
@@ -230,11 +239,8 @@ class InfraAlertConditionArgs:
230
239
  @pulumi.getter(name="violationCloseTimer")
231
240
  def violation_close_timer(self) -> Optional[pulumi.Input[int]]:
232
241
  """
233
- Determines how much time will pass (in hours) before an incident is automatically closed. Valid values are `1 2 4 8 12 24 48 72`. Defaults to 24. If `0` is provided, default of `24` is used and will have configuration drift during the apply phase until a valid value is provided.
234
-
235
- ```
236
- 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.
237
- ```
242
+ Determines how much time, in hours, will pass before an incident is automatically closed. Valid values are 1, 2, 4, 8,
243
+ 12, 24, 48, or 72
238
244
  """
239
245
  return pulumi.get(self, "violation_close_timer")
240
246
 
@@ -246,7 +252,7 @@ class InfraAlertConditionArgs:
246
252
  @pulumi.getter
247
253
  def warning(self) -> Optional[pulumi.Input['InfraAlertConditionWarningArgs']]:
248
254
  """
249
- Identifies the threshold parameters for opening a warning alert incident. See Thresholds below for details.
255
+ Identifies the threshold parameters for opening a warning alert incident.
250
256
  """
251
257
  return pulumi.get(self, "warning")
252
258
 
@@ -258,7 +264,7 @@ class InfraAlertConditionArgs:
258
264
  @pulumi.getter
259
265
  def where(self) -> Optional[pulumi.Input[str]]:
260
266
  """
261
- If applicable, this identifies any Infrastructure host filters used; for example: `hostname LIKE '%cassandra%'`.
267
+ If applicable, this identifies any Infrastructure host filters used; for example: hostname LIKE '%cassandra%'.
262
268
  """
263
269
  return pulumi.get(self, "where")
264
270
 
@@ -290,28 +296,31 @@ class _InfraAlertConditionState:
290
296
  where: Optional[pulumi.Input[str]] = None):
291
297
  """
292
298
  Input properties used for looking up and filtering InfraAlertCondition resources.
293
- :param pulumi.Input[str] comparison: The operator used to evaluate the threshold value. Valid values are `above`, `below`, and `equal`. Supported by the `infra_metric` and `infra_process_running` condition types.
299
+ :param pulumi.Input[str] comparison: The operator used to evaluate the threshold value. Valid values are above, below, and equal. Supported by the
300
+ infra_metric and infra_process_running condition types.
294
301
  :param pulumi.Input[int] created_at: The timestamp the alert condition was created.
295
- :param pulumi.Input['InfraAlertConditionCriticalArgs'] critical: Identifies the threshold parameters for opening a critical alert incident. See Thresholds below for details.
302
+ :param pulumi.Input['InfraAlertConditionCriticalArgs'] critical: Identifies the threshold parameters for opening a critical alert incident.
296
303
  :param pulumi.Input[str] description: The description of the Infrastructure alert condition.
297
- :param pulumi.Input[bool] enabled: Whether the condition is turned on or off. Valid values are `true` and `false`. Defaults to `true`.
304
+ :param pulumi.Input[bool] enabled: Whether the condition is turned on or off. Valid values are true and false. Defaults to true.
298
305
  :param pulumi.Input[str] entity_guid: The unique entity identifier of the condition in New Relic.
299
- :param pulumi.Input[str] event: The metric event; for example, `SystemSample` or `StorageSample`. Supported by the `infra_metric` condition type.
300
- :param pulumi.Input[str] integration_provider: For alerts on integrations, use this instead of `event`. Supported by the `infra_metric` condition type.
306
+ :param pulumi.Input[str] event: The metric event; for example, SystemSample or StorageSample. Supported by the infra_metric condition type.
307
+ :param pulumi.Input[str] integration_provider: For alerts on integrations, use this instead of event. Supported by the infra_metric condition type.
301
308
  :param pulumi.Input[str] name: The Infrastructure alert condition's name.
302
309
  :param pulumi.Input[str] policy_id: The ID of the alert policy where this condition should be used.
303
- :param pulumi.Input[str] process_where: Any filters applied to processes; for example: `commandName = 'java'`. Required by the `infra_process_running` condition type.
310
+ :param pulumi.Input[str] process_where: Any filters applied to processes; for example: commandName = 'java'. Supported by the infra_process_running condition
311
+ type.
304
312
  :param pulumi.Input[str] runbook_url: Runbook URL to display in notifications.
305
- :param pulumi.Input[str] select: The attribute name to identify the metric being targeted; for example, `cpuPercent`, `diskFreePercent`, or `memoryResidentSizeBytes`. The underlying API will automatically populate this value for Infrastructure integrations (for example `diskFreePercent`), so make sure to explicitly include this value to avoid diff issues. Supported by the `infra_metric` condition type.
306
- :param pulumi.Input[str] type: The type of Infrastructure alert condition. Valid values are `infra_process_running`, `infra_metric`, and `infra_host_not_reporting`.
313
+ :param pulumi.Input[str] select: The attribute name to identify the metric being targeted; for example, cpuPercent, diskFreePercent, or
314
+ memoryResidentSizeBytes. The underlying API will automatically populate this value for Infrastructure integrations (for
315
+ example diskFreePercent), so make sure to explicitly include this value to avoid diff issues. Supported by the
316
+ infra_metric condition type.
317
+ :param pulumi.Input[str] type: The type of Infrastructure alert condition. Valid values are infra_process_running, infra_metric, and
318
+ infra_host_not_reporting.
307
319
  :param pulumi.Input[int] updated_at: The timestamp the alert condition was last updated.
308
- :param pulumi.Input[int] violation_close_timer: Determines how much time will pass (in hours) before an incident is automatically closed. Valid values are `1 2 4 8 12 24 48 72`. Defaults to 24. If `0` is provided, default of `24` is used and will have configuration drift during the apply phase until a valid value is provided.
309
-
310
- ```
311
- 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.
312
- ```
313
- :param pulumi.Input['InfraAlertConditionWarningArgs'] warning: Identifies the threshold parameters for opening a warning alert incident. See Thresholds below for details.
314
- :param pulumi.Input[str] where: If applicable, this identifies any Infrastructure host filters used; for example: `hostname LIKE '%cassandra%'`.
320
+ :param pulumi.Input[int] violation_close_timer: Determines how much time, in hours, will pass before an incident is automatically closed. Valid values are 1, 2, 4, 8,
321
+ 12, 24, 48, or 72
322
+ :param pulumi.Input['InfraAlertConditionWarningArgs'] warning: Identifies the threshold parameters for opening a warning alert incident.
323
+ :param pulumi.Input[str] where: If applicable, this identifies any Infrastructure host filters used; for example: hostname LIKE '%cassandra%'.
315
324
  """
316
325
  if comparison is not None:
317
326
  pulumi.set(__self__, "comparison", comparison)
@@ -354,7 +363,8 @@ class _InfraAlertConditionState:
354
363
  @pulumi.getter
355
364
  def comparison(self) -> Optional[pulumi.Input[str]]:
356
365
  """
357
- The operator used to evaluate the threshold value. Valid values are `above`, `below`, and `equal`. Supported by the `infra_metric` and `infra_process_running` condition types.
366
+ The operator used to evaluate the threshold value. Valid values are above, below, and equal. Supported by the
367
+ infra_metric and infra_process_running condition types.
358
368
  """
359
369
  return pulumi.get(self, "comparison")
360
370
 
@@ -378,7 +388,7 @@ class _InfraAlertConditionState:
378
388
  @pulumi.getter
379
389
  def critical(self) -> Optional[pulumi.Input['InfraAlertConditionCriticalArgs']]:
380
390
  """
381
- Identifies the threshold parameters for opening a critical alert incident. See Thresholds below for details.
391
+ Identifies the threshold parameters for opening a critical alert incident.
382
392
  """
383
393
  return pulumi.get(self, "critical")
384
394
 
@@ -402,7 +412,7 @@ class _InfraAlertConditionState:
402
412
  @pulumi.getter
403
413
  def enabled(self) -> Optional[pulumi.Input[bool]]:
404
414
  """
405
- Whether the condition is turned on or off. Valid values are `true` and `false`. Defaults to `true`.
415
+ Whether the condition is turned on or off. Valid values are true and false. Defaults to true.
406
416
  """
407
417
  return pulumi.get(self, "enabled")
408
418
 
@@ -426,7 +436,7 @@ class _InfraAlertConditionState:
426
436
  @pulumi.getter
427
437
  def event(self) -> Optional[pulumi.Input[str]]:
428
438
  """
429
- The metric event; for example, `SystemSample` or `StorageSample`. Supported by the `infra_metric` condition type.
439
+ The metric event; for example, SystemSample or StorageSample. Supported by the infra_metric condition type.
430
440
  """
431
441
  return pulumi.get(self, "event")
432
442
 
@@ -438,7 +448,7 @@ class _InfraAlertConditionState:
438
448
  @pulumi.getter(name="integrationProvider")
439
449
  def integration_provider(self) -> Optional[pulumi.Input[str]]:
440
450
  """
441
- For alerts on integrations, use this instead of `event`. Supported by the `infra_metric` condition type.
451
+ For alerts on integrations, use this instead of event. Supported by the infra_metric condition type.
442
452
  """
443
453
  return pulumi.get(self, "integration_provider")
444
454
 
@@ -474,7 +484,8 @@ class _InfraAlertConditionState:
474
484
  @pulumi.getter(name="processWhere")
475
485
  def process_where(self) -> Optional[pulumi.Input[str]]:
476
486
  """
477
- Any filters applied to processes; for example: `commandName = 'java'`. Required by the `infra_process_running` condition type.
487
+ Any filters applied to processes; for example: commandName = 'java'. Supported by the infra_process_running condition
488
+ type.
478
489
  """
479
490
  return pulumi.get(self, "process_where")
480
491
 
@@ -498,7 +509,10 @@ class _InfraAlertConditionState:
498
509
  @pulumi.getter
499
510
  def select(self) -> Optional[pulumi.Input[str]]:
500
511
  """
501
- The attribute name to identify the metric being targeted; for example, `cpuPercent`, `diskFreePercent`, or `memoryResidentSizeBytes`. The underlying API will automatically populate this value for Infrastructure integrations (for example `diskFreePercent`), so make sure to explicitly include this value to avoid diff issues. Supported by the `infra_metric` condition type.
512
+ The attribute name to identify the metric being targeted; for example, cpuPercent, diskFreePercent, or
513
+ memoryResidentSizeBytes. The underlying API will automatically populate this value for Infrastructure integrations (for
514
+ example diskFreePercent), so make sure to explicitly include this value to avoid diff issues. Supported by the
515
+ infra_metric condition type.
502
516
  """
503
517
  return pulumi.get(self, "select")
504
518
 
@@ -510,7 +524,8 @@ class _InfraAlertConditionState:
510
524
  @pulumi.getter
511
525
  def type(self) -> Optional[pulumi.Input[str]]:
512
526
  """
513
- The type of Infrastructure alert condition. Valid values are `infra_process_running`, `infra_metric`, and `infra_host_not_reporting`.
527
+ The type of Infrastructure alert condition. Valid values are infra_process_running, infra_metric, and
528
+ infra_host_not_reporting.
514
529
  """
515
530
  return pulumi.get(self, "type")
516
531
 
@@ -534,11 +549,8 @@ class _InfraAlertConditionState:
534
549
  @pulumi.getter(name="violationCloseTimer")
535
550
  def violation_close_timer(self) -> Optional[pulumi.Input[int]]:
536
551
  """
537
- Determines how much time will pass (in hours) before an incident is automatically closed. Valid values are `1 2 4 8 12 24 48 72`. Defaults to 24. If `0` is provided, default of `24` is used and will have configuration drift during the apply phase until a valid value is provided.
538
-
539
- ```
540
- 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.
541
- ```
552
+ Determines how much time, in hours, will pass before an incident is automatically closed. Valid values are 1, 2, 4, 8,
553
+ 12, 24, 48, or 72
542
554
  """
543
555
  return pulumi.get(self, "violation_close_timer")
544
556
 
@@ -550,7 +562,7 @@ class _InfraAlertConditionState:
550
562
  @pulumi.getter
551
563
  def warning(self) -> Optional[pulumi.Input['InfraAlertConditionWarningArgs']]:
552
564
  """
553
- Identifies the threshold parameters for opening a warning alert incident. See Thresholds below for details.
565
+ Identifies the threshold parameters for opening a warning alert incident.
554
566
  """
555
567
  return pulumi.get(self, "warning")
556
568
 
@@ -562,7 +574,7 @@ class _InfraAlertConditionState:
562
574
  @pulumi.getter
563
575
  def where(self) -> Optional[pulumi.Input[str]]:
564
576
  """
565
- If applicable, this identifies any Infrastructure host filters used; for example: `hostname LIKE '%cassandra%'`.
577
+ If applicable, this identifies any Infrastructure host filters used; for example: hostname LIKE '%cassandra%'.
566
578
  """
567
579
  return pulumi.get(self, "where")
568
580
 
@@ -724,25 +736,28 @@ class InfraAlertCondition(pulumi.CustomResource):
724
736
 
725
737
  :param str resource_name: The name of the resource.
726
738
  :param pulumi.ResourceOptions opts: Options for the resource.
727
- :param pulumi.Input[str] comparison: The operator used to evaluate the threshold value. Valid values are `above`, `below`, and `equal`. Supported by the `infra_metric` and `infra_process_running` condition types.
728
- :param pulumi.Input[pulumi.InputType['InfraAlertConditionCriticalArgs']] critical: Identifies the threshold parameters for opening a critical alert incident. See Thresholds below for details.
739
+ :param pulumi.Input[str] comparison: The operator used to evaluate the threshold value. Valid values are above, below, and equal. Supported by the
740
+ infra_metric and infra_process_running condition types.
741
+ :param pulumi.Input[pulumi.InputType['InfraAlertConditionCriticalArgs']] critical: Identifies the threshold parameters for opening a critical alert incident.
729
742
  :param pulumi.Input[str] description: The description of the Infrastructure alert condition.
730
- :param pulumi.Input[bool] enabled: Whether the condition is turned on or off. Valid values are `true` and `false`. Defaults to `true`.
731
- :param pulumi.Input[str] event: The metric event; for example, `SystemSample` or `StorageSample`. Supported by the `infra_metric` condition type.
732
- :param pulumi.Input[str] integration_provider: For alerts on integrations, use this instead of `event`. Supported by the `infra_metric` condition type.
743
+ :param pulumi.Input[bool] enabled: Whether the condition is turned on or off. Valid values are true and false. Defaults to true.
744
+ :param pulumi.Input[str] event: The metric event; for example, SystemSample or StorageSample. Supported by the infra_metric condition type.
745
+ :param pulumi.Input[str] integration_provider: For alerts on integrations, use this instead of event. Supported by the infra_metric condition type.
733
746
  :param pulumi.Input[str] name: The Infrastructure alert condition's name.
734
747
  :param pulumi.Input[str] policy_id: The ID of the alert policy where this condition should be used.
735
- :param pulumi.Input[str] process_where: Any filters applied to processes; for example: `commandName = 'java'`. Required by the `infra_process_running` condition type.
748
+ :param pulumi.Input[str] process_where: Any filters applied to processes; for example: commandName = 'java'. Supported by the infra_process_running condition
749
+ type.
736
750
  :param pulumi.Input[str] runbook_url: Runbook URL to display in notifications.
737
- :param pulumi.Input[str] select: The attribute name to identify the metric being targeted; for example, `cpuPercent`, `diskFreePercent`, or `memoryResidentSizeBytes`. The underlying API will automatically populate this value for Infrastructure integrations (for example `diskFreePercent`), so make sure to explicitly include this value to avoid diff issues. Supported by the `infra_metric` condition type.
738
- :param pulumi.Input[str] type: The type of Infrastructure alert condition. Valid values are `infra_process_running`, `infra_metric`, and `infra_host_not_reporting`.
739
- :param pulumi.Input[int] violation_close_timer: Determines how much time will pass (in hours) before an incident is automatically closed. Valid values are `1 2 4 8 12 24 48 72`. Defaults to 24. If `0` is provided, default of `24` is used and will have configuration drift during the apply phase until a valid value is provided.
740
-
741
- ```
742
- 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.
743
- ```
744
- :param pulumi.Input[pulumi.InputType['InfraAlertConditionWarningArgs']] warning: Identifies the threshold parameters for opening a warning alert incident. See Thresholds below for details.
745
- :param pulumi.Input[str] where: If applicable, this identifies any Infrastructure host filters used; for example: `hostname LIKE '%cassandra%'`.
751
+ :param pulumi.Input[str] select: The attribute name to identify the metric being targeted; for example, cpuPercent, diskFreePercent, or
752
+ memoryResidentSizeBytes. The underlying API will automatically populate this value for Infrastructure integrations (for
753
+ example diskFreePercent), so make sure to explicitly include this value to avoid diff issues. Supported by the
754
+ infra_metric condition type.
755
+ :param pulumi.Input[str] type: The type of Infrastructure alert condition. Valid values are infra_process_running, infra_metric, and
756
+ infra_host_not_reporting.
757
+ :param pulumi.Input[int] violation_close_timer: Determines how much time, in hours, will pass before an incident is automatically closed. Valid values are 1, 2, 4, 8,
758
+ 12, 24, 48, or 72
759
+ :param pulumi.Input[pulumi.InputType['InfraAlertConditionWarningArgs']] warning: Identifies the threshold parameters for opening a warning alert incident.
760
+ :param pulumi.Input[str] where: If applicable, this identifies any Infrastructure host filters used; for example: hostname LIKE '%cassandra%'.
746
761
  """
747
762
  ...
748
763
  @overload
@@ -976,28 +991,31 @@ class InfraAlertCondition(pulumi.CustomResource):
976
991
  :param str resource_name: The unique name of the resulting resource.
977
992
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
978
993
  :param pulumi.ResourceOptions opts: Options for the resource.
979
- :param pulumi.Input[str] comparison: The operator used to evaluate the threshold value. Valid values are `above`, `below`, and `equal`. Supported by the `infra_metric` and `infra_process_running` condition types.
994
+ :param pulumi.Input[str] comparison: The operator used to evaluate the threshold value. Valid values are above, below, and equal. Supported by the
995
+ infra_metric and infra_process_running condition types.
980
996
  :param pulumi.Input[int] created_at: The timestamp the alert condition was created.
981
- :param pulumi.Input[pulumi.InputType['InfraAlertConditionCriticalArgs']] critical: Identifies the threshold parameters for opening a critical alert incident. See Thresholds below for details.
997
+ :param pulumi.Input[pulumi.InputType['InfraAlertConditionCriticalArgs']] critical: Identifies the threshold parameters for opening a critical alert incident.
982
998
  :param pulumi.Input[str] description: The description of the Infrastructure alert condition.
983
- :param pulumi.Input[bool] enabled: Whether the condition is turned on or off. Valid values are `true` and `false`. Defaults to `true`.
999
+ :param pulumi.Input[bool] enabled: Whether the condition is turned on or off. Valid values are true and false. Defaults to true.
984
1000
  :param pulumi.Input[str] entity_guid: The unique entity identifier of the condition in New Relic.
985
- :param pulumi.Input[str] event: The metric event; for example, `SystemSample` or `StorageSample`. Supported by the `infra_metric` condition type.
986
- :param pulumi.Input[str] integration_provider: For alerts on integrations, use this instead of `event`. Supported by the `infra_metric` condition type.
1001
+ :param pulumi.Input[str] event: The metric event; for example, SystemSample or StorageSample. Supported by the infra_metric condition type.
1002
+ :param pulumi.Input[str] integration_provider: For alerts on integrations, use this instead of event. Supported by the infra_metric condition type.
987
1003
  :param pulumi.Input[str] name: The Infrastructure alert condition's name.
988
1004
  :param pulumi.Input[str] policy_id: The ID of the alert policy where this condition should be used.
989
- :param pulumi.Input[str] process_where: Any filters applied to processes; for example: `commandName = 'java'`. Required by the `infra_process_running` condition type.
1005
+ :param pulumi.Input[str] process_where: Any filters applied to processes; for example: commandName = 'java'. Supported by the infra_process_running condition
1006
+ type.
990
1007
  :param pulumi.Input[str] runbook_url: Runbook URL to display in notifications.
991
- :param pulumi.Input[str] select: The attribute name to identify the metric being targeted; for example, `cpuPercent`, `diskFreePercent`, or `memoryResidentSizeBytes`. The underlying API will automatically populate this value for Infrastructure integrations (for example `diskFreePercent`), so make sure to explicitly include this value to avoid diff issues. Supported by the `infra_metric` condition type.
992
- :param pulumi.Input[str] type: The type of Infrastructure alert condition. Valid values are `infra_process_running`, `infra_metric`, and `infra_host_not_reporting`.
1008
+ :param pulumi.Input[str] select: The attribute name to identify the metric being targeted; for example, cpuPercent, diskFreePercent, or
1009
+ memoryResidentSizeBytes. The underlying API will automatically populate this value for Infrastructure integrations (for
1010
+ example diskFreePercent), so make sure to explicitly include this value to avoid diff issues. Supported by the
1011
+ infra_metric condition type.
1012
+ :param pulumi.Input[str] type: The type of Infrastructure alert condition. Valid values are infra_process_running, infra_metric, and
1013
+ infra_host_not_reporting.
993
1014
  :param pulumi.Input[int] updated_at: The timestamp the alert condition was last updated.
994
- :param pulumi.Input[int] violation_close_timer: Determines how much time will pass (in hours) before an incident is automatically closed. Valid values are `1 2 4 8 12 24 48 72`. Defaults to 24. If `0` is provided, default of `24` is used and will have configuration drift during the apply phase until a valid value is provided.
995
-
996
- ```
997
- 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.
998
- ```
999
- :param pulumi.Input[pulumi.InputType['InfraAlertConditionWarningArgs']] warning: Identifies the threshold parameters for opening a warning alert incident. See Thresholds below for details.
1000
- :param pulumi.Input[str] where: If applicable, this identifies any Infrastructure host filters used; for example: `hostname LIKE '%cassandra%'`.
1015
+ :param pulumi.Input[int] violation_close_timer: Determines how much time, in hours, will pass before an incident is automatically closed. Valid values are 1, 2, 4, 8,
1016
+ 12, 24, 48, or 72
1017
+ :param pulumi.Input[pulumi.InputType['InfraAlertConditionWarningArgs']] warning: Identifies the threshold parameters for opening a warning alert incident.
1018
+ :param pulumi.Input[str] where: If applicable, this identifies any Infrastructure host filters used; for example: hostname LIKE '%cassandra%'.
1001
1019
  """
1002
1020
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
1003
1021
 
@@ -1027,7 +1045,8 @@ class InfraAlertCondition(pulumi.CustomResource):
1027
1045
  @pulumi.getter
1028
1046
  def comparison(self) -> pulumi.Output[Optional[str]]:
1029
1047
  """
1030
- The operator used to evaluate the threshold value. Valid values are `above`, `below`, and `equal`. Supported by the `infra_metric` and `infra_process_running` condition types.
1048
+ The operator used to evaluate the threshold value. Valid values are above, below, and equal. Supported by the
1049
+ infra_metric and infra_process_running condition types.
1031
1050
  """
1032
1051
  return pulumi.get(self, "comparison")
1033
1052
 
@@ -1043,7 +1062,7 @@ class InfraAlertCondition(pulumi.CustomResource):
1043
1062
  @pulumi.getter
1044
1063
  def critical(self) -> pulumi.Output[Optional['outputs.InfraAlertConditionCritical']]:
1045
1064
  """
1046
- Identifies the threshold parameters for opening a critical alert incident. See Thresholds below for details.
1065
+ Identifies the threshold parameters for opening a critical alert incident.
1047
1066
  """
1048
1067
  return pulumi.get(self, "critical")
1049
1068
 
@@ -1059,7 +1078,7 @@ class InfraAlertCondition(pulumi.CustomResource):
1059
1078
  @pulumi.getter
1060
1079
  def enabled(self) -> pulumi.Output[Optional[bool]]:
1061
1080
  """
1062
- Whether the condition is turned on or off. Valid values are `true` and `false`. Defaults to `true`.
1081
+ Whether the condition is turned on or off. Valid values are true and false. Defaults to true.
1063
1082
  """
1064
1083
  return pulumi.get(self, "enabled")
1065
1084
 
@@ -1075,7 +1094,7 @@ class InfraAlertCondition(pulumi.CustomResource):
1075
1094
  @pulumi.getter
1076
1095
  def event(self) -> pulumi.Output[str]:
1077
1096
  """
1078
- The metric event; for example, `SystemSample` or `StorageSample`. Supported by the `infra_metric` condition type.
1097
+ The metric event; for example, SystemSample or StorageSample. Supported by the infra_metric condition type.
1079
1098
  """
1080
1099
  return pulumi.get(self, "event")
1081
1100
 
@@ -1083,7 +1102,7 @@ class InfraAlertCondition(pulumi.CustomResource):
1083
1102
  @pulumi.getter(name="integrationProvider")
1084
1103
  def integration_provider(self) -> pulumi.Output[Optional[str]]:
1085
1104
  """
1086
- For alerts on integrations, use this instead of `event`. Supported by the `infra_metric` condition type.
1105
+ For alerts on integrations, use this instead of event. Supported by the infra_metric condition type.
1087
1106
  """
1088
1107
  return pulumi.get(self, "integration_provider")
1089
1108
 
@@ -1107,7 +1126,8 @@ class InfraAlertCondition(pulumi.CustomResource):
1107
1126
  @pulumi.getter(name="processWhere")
1108
1127
  def process_where(self) -> pulumi.Output[Optional[str]]:
1109
1128
  """
1110
- Any filters applied to processes; for example: `commandName = 'java'`. Required by the `infra_process_running` condition type.
1129
+ Any filters applied to processes; for example: commandName = 'java'. Supported by the infra_process_running condition
1130
+ type.
1111
1131
  """
1112
1132
  return pulumi.get(self, "process_where")
1113
1133
 
@@ -1123,7 +1143,10 @@ class InfraAlertCondition(pulumi.CustomResource):
1123
1143
  @pulumi.getter
1124
1144
  def select(self) -> pulumi.Output[Optional[str]]:
1125
1145
  """
1126
- The attribute name to identify the metric being targeted; for example, `cpuPercent`, `diskFreePercent`, or `memoryResidentSizeBytes`. The underlying API will automatically populate this value for Infrastructure integrations (for example `diskFreePercent`), so make sure to explicitly include this value to avoid diff issues. Supported by the `infra_metric` condition type.
1146
+ The attribute name to identify the metric being targeted; for example, cpuPercent, diskFreePercent, or
1147
+ memoryResidentSizeBytes. The underlying API will automatically populate this value for Infrastructure integrations (for
1148
+ example diskFreePercent), so make sure to explicitly include this value to avoid diff issues. Supported by the
1149
+ infra_metric condition type.
1127
1150
  """
1128
1151
  return pulumi.get(self, "select")
1129
1152
 
@@ -1131,7 +1154,8 @@ class InfraAlertCondition(pulumi.CustomResource):
1131
1154
  @pulumi.getter
1132
1155
  def type(self) -> pulumi.Output[str]:
1133
1156
  """
1134
- The type of Infrastructure alert condition. Valid values are `infra_process_running`, `infra_metric`, and `infra_host_not_reporting`.
1157
+ The type of Infrastructure alert condition. Valid values are infra_process_running, infra_metric, and
1158
+ infra_host_not_reporting.
1135
1159
  """
1136
1160
  return pulumi.get(self, "type")
1137
1161
 
@@ -1147,11 +1171,8 @@ class InfraAlertCondition(pulumi.CustomResource):
1147
1171
  @pulumi.getter(name="violationCloseTimer")
1148
1172
  def violation_close_timer(self) -> pulumi.Output[Optional[int]]:
1149
1173
  """
1150
- Determines how much time will pass (in hours) before an incident is automatically closed. Valid values are `1 2 4 8 12 24 48 72`. Defaults to 24. If `0` is provided, default of `24` is used and will have configuration drift during the apply phase until a valid value is provided.
1151
-
1152
- ```
1153
- 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.
1154
- ```
1174
+ Determines how much time, in hours, will pass before an incident is automatically closed. Valid values are 1, 2, 4, 8,
1175
+ 12, 24, 48, or 72
1155
1176
  """
1156
1177
  return pulumi.get(self, "violation_close_timer")
1157
1178
 
@@ -1159,7 +1180,7 @@ class InfraAlertCondition(pulumi.CustomResource):
1159
1180
  @pulumi.getter
1160
1181
  def warning(self) -> pulumi.Output[Optional['outputs.InfraAlertConditionWarning']]:
1161
1182
  """
1162
- Identifies the threshold parameters for opening a warning alert incident. See Thresholds below for details.
1183
+ Identifies the threshold parameters for opening a warning alert incident.
1163
1184
  """
1164
1185
  return pulumi.get(self, "warning")
1165
1186
 
@@ -1167,7 +1188,7 @@ class InfraAlertCondition(pulumi.CustomResource):
1167
1188
  @pulumi.getter
1168
1189
  def where(self) -> pulumi.Output[Optional[str]]:
1169
1190
  """
1170
- If applicable, this identifies any Infrastructure host filters used; for example: `hostname LIKE '%cassandra%'`.
1191
+ If applicable, this identifies any Infrastructure host filters used; for example: hostname LIKE '%cassandra%'.
1171
1192
  """
1172
1193
  return pulumi.get(self, "where")
1173
1194
 
@@ -19,16 +19,12 @@ class EventArgs:
19
19
  events: pulumi.Input[Sequence[pulumi.Input['EventEventArgs']]]):
20
20
  """
21
21
  The set of arguments for constructing a Event resource.
22
- :param pulumi.Input[Sequence[pulumi.Input['EventEventArgs']]] events: An event to insert into Insights. Multiple event blocks can be defined. See Events below for details.
23
22
  """
24
23
  pulumi.set(__self__, "events", events)
25
24
 
26
25
  @property
27
26
  @pulumi.getter
28
27
  def events(self) -> pulumi.Input[Sequence[pulumi.Input['EventEventArgs']]]:
29
- """
30
- An event to insert into Insights. Multiple event blocks can be defined. See Events below for details.
31
- """
32
28
  return pulumi.get(self, "events")
33
29
 
34
30
  @events.setter
@@ -42,7 +38,6 @@ class _EventState:
42
38
  events: Optional[pulumi.Input[Sequence[pulumi.Input['EventEventArgs']]]] = None):
43
39
  """
44
40
  Input properties used for looking up and filtering Event resources.
45
- :param pulumi.Input[Sequence[pulumi.Input['EventEventArgs']]] events: An event to insert into Insights. Multiple event blocks can be defined. See Events below for details.
46
41
  """
47
42
  if events is not None:
48
43
  pulumi.set(__self__, "events", events)
@@ -50,9 +45,6 @@ class _EventState:
50
45
  @property
51
46
  @pulumi.getter
52
47
  def events(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['EventEventArgs']]]]:
53
- """
54
- An event to insert into Insights. Multiple event blocks can be defined. See Events below for details.
55
- """
56
48
  return pulumi.get(self, "events")
57
49
 
58
50
  @events.setter
@@ -116,7 +108,6 @@ class Event(pulumi.CustomResource):
116
108
 
117
109
  :param str resource_name: The name of the resource.
118
110
  :param pulumi.ResourceOptions opts: Options for the resource.
119
- :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['EventEventArgs']]]] events: An event to insert into Insights. Multiple event blocks can be defined. See Events below for details.
120
111
  """
121
112
  ...
122
113
  @overload
@@ -217,7 +208,6 @@ class Event(pulumi.CustomResource):
217
208
  :param str resource_name: The unique name of the resulting resource.
218
209
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
219
210
  :param pulumi.ResourceOptions opts: Options for the resource.
220
- :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['EventEventArgs']]]] events: An event to insert into Insights. Multiple event blocks can be defined. See Events below for details.
221
211
  """
222
212
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
223
213
 
@@ -229,8 +219,5 @@ class Event(pulumi.CustomResource):
229
219
  @property
230
220
  @pulumi.getter
231
221
  def events(self) -> pulumi.Output[Sequence['outputs.EventEvent']]:
232
- """
233
- An event to insert into Insights. Multiple event blocks can be defined. See Events below for details.
234
- """
235
222
  return pulumi.get(self, "events")
236
223