pulumi-newrelic 5.22.0a1711544599__py3-none-any.whl → 5.23.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 (68) hide show
  1. pulumi_newrelic/_inputs.py +183 -270
  2. pulumi_newrelic/account_management.py +20 -20
  3. pulumi_newrelic/alert_channel.py +76 -92
  4. pulumi_newrelic/alert_condition.py +104 -163
  5. pulumi_newrelic/alert_muting_rule.py +33 -35
  6. pulumi_newrelic/alert_policy.py +68 -43
  7. pulumi_newrelic/alert_policy_channel.py +12 -8
  8. pulumi_newrelic/cloud/_inputs.py +322 -1072
  9. pulumi_newrelic/cloud/aws_govcloud_link_account.py +4 -6
  10. pulumi_newrelic/cloud/aws_integrations.py +13 -15
  11. pulumi_newrelic/cloud/aws_link_account.py +4 -6
  12. pulumi_newrelic/cloud/azure_integrations.py +10 -12
  13. pulumi_newrelic/cloud/azure_link_account.py +4 -6
  14. pulumi_newrelic/cloud/gcp_integrations.py +6 -6
  15. pulumi_newrelic/cloud/gcp_link_account.py +4 -6
  16. pulumi_newrelic/cloud/outputs.py +322 -1072
  17. pulumi_newrelic/data_partition_rule.py +0 -4
  18. pulumi_newrelic/entity_tags.py +13 -17
  19. pulumi_newrelic/events_to_metrics_rule.py +2 -4
  20. pulumi_newrelic/get_account.py +0 -4
  21. pulumi_newrelic/get_application.py +8 -10
  22. pulumi_newrelic/get_authentication_domain.py +4 -8
  23. pulumi_newrelic/get_cloud_account.py +0 -4
  24. pulumi_newrelic/get_entity.py +48 -33
  25. pulumi_newrelic/get_group.py +42 -8
  26. pulumi_newrelic/get_key_transaction.py +8 -10
  27. pulumi_newrelic/get_notification_destination.py +20 -1
  28. pulumi_newrelic/get_obfuscation_expression.py +2 -4
  29. pulumi_newrelic/get_service_level_alert_helper.py +22 -46
  30. pulumi_newrelic/get_test_grok_pattern.py +4 -6
  31. pulumi_newrelic/get_user.py +0 -4
  32. pulumi_newrelic/group.py +40 -42
  33. pulumi_newrelic/infra_alert_condition.py +154 -145
  34. pulumi_newrelic/insights/event.py +8 -25
  35. pulumi_newrelic/log_parsing_rule.py +6 -10
  36. pulumi_newrelic/monitor_downtime.py +174 -193
  37. pulumi_newrelic/notification_channel.py +124 -150
  38. pulumi_newrelic/notification_destination.py +95 -1
  39. pulumi_newrelic/nrql_alert_condition.py +38 -48
  40. pulumi_newrelic/nrql_drop_rule.py +34 -38
  41. pulumi_newrelic/obfuscation_expression.py +2 -4
  42. pulumi_newrelic/obfuscation_rule.py +4 -4
  43. pulumi_newrelic/one_dashboard.py +42 -48
  44. pulumi_newrelic/one_dashboard_raw.py +86 -86
  45. pulumi_newrelic/outputs.py +180 -270
  46. pulumi_newrelic/plugins/_inputs.py +16 -16
  47. pulumi_newrelic/plugins/application_settings.py +20 -36
  48. pulumi_newrelic/plugins/outputs.py +16 -16
  49. pulumi_newrelic/plugins/workload.py +158 -40
  50. pulumi_newrelic/service_level.py +38 -123
  51. pulumi_newrelic/synthetics/alert_condition.py +34 -78
  52. pulumi_newrelic/synthetics/broken_links_monitor.py +18 -20
  53. pulumi_newrelic/synthetics/cert_check_monitor.py +16 -18
  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 +48 -52
  57. pulumi_newrelic/synthetics/multi_location_alert_condition.py +69 -83
  58. pulumi_newrelic/synthetics/private_location.py +6 -6
  59. pulumi_newrelic/synthetics/script_monitor.py +38 -42
  60. pulumi_newrelic/synthetics/secure_credential.py +25 -22
  61. pulumi_newrelic/synthetics/step_monitor.py +18 -20
  62. pulumi_newrelic/user.py +8 -10
  63. pulumi_newrelic/workflow.py +20 -24
  64. {pulumi_newrelic-5.22.0a1711544599.dist-info → pulumi_newrelic-5.23.0.dist-info}/METADATA +1 -1
  65. pulumi_newrelic-5.23.0.dist-info/RECORD +89 -0
  66. pulumi_newrelic-5.22.0a1711544599.dist-info/RECORD +0 -89
  67. {pulumi_newrelic-5.22.0a1711544599.dist-info → pulumi_newrelic-5.23.0.dist-info}/WHEEL +0 -0
  68. {pulumi_newrelic-5.22.0a1711544599.dist-info → pulumi_newrelic-5.23.0.dist-info}/top_level.txt +0 -0
@@ -34,26 +34,27 @@ class InfraAlertConditionArgs:
34
34
  """
35
35
  The set of arguments for constructing a InfraAlertCondition resource.
36
36
  :param pulumi.Input[int] 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
- <!--Start PulumiCodeChooser -->
51
- ```python
52
- import pulumi
53
- ```
54
- <!--End PulumiCodeChooser -->
55
- :param pulumi.Input['InfraAlertConditionWarningArgs'] warning: Identifies the threshold parameters for opening a warning alert incident. See Thresholds below for details.
56
- :param pulumi.Input[str] where: If applicable, this identifies any Infrastructure host filters used; for example: `hostname LIKE '%!c(MISSING)assandra%!'(MISSING)`.
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%'.
57
58
  """
58
59
  pulumi.set(__self__, "policy_id", policy_id)
59
60
  pulumi.set(__self__, "type", type)
@@ -100,7 +101,8 @@ class InfraAlertConditionArgs:
100
101
  @pulumi.getter
101
102
  def type(self) -> pulumi.Input[str]:
102
103
  """
103
- 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.
104
106
  """
105
107
  return pulumi.get(self, "type")
106
108
 
@@ -112,7 +114,8 @@ class InfraAlertConditionArgs:
112
114
  @pulumi.getter
113
115
  def comparison(self) -> Optional[pulumi.Input[str]]:
114
116
  """
115
- 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.
116
119
  """
117
120
  return pulumi.get(self, "comparison")
118
121
 
@@ -124,7 +127,7 @@ class InfraAlertConditionArgs:
124
127
  @pulumi.getter
125
128
  def critical(self) -> Optional[pulumi.Input['InfraAlertConditionCriticalArgs']]:
126
129
  """
127
- 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.
128
131
  """
129
132
  return pulumi.get(self, "critical")
130
133
 
@@ -148,7 +151,7 @@ class InfraAlertConditionArgs:
148
151
  @pulumi.getter
149
152
  def enabled(self) -> Optional[pulumi.Input[bool]]:
150
153
  """
151
- 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.
152
155
  """
153
156
  return pulumi.get(self, "enabled")
154
157
 
@@ -160,7 +163,7 @@ class InfraAlertConditionArgs:
160
163
  @pulumi.getter
161
164
  def event(self) -> Optional[pulumi.Input[str]]:
162
165
  """
163
- 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.
164
167
  """
165
168
  return pulumi.get(self, "event")
166
169
 
@@ -172,7 +175,7 @@ class InfraAlertConditionArgs:
172
175
  @pulumi.getter(name="integrationProvider")
173
176
  def integration_provider(self) -> Optional[pulumi.Input[str]]:
174
177
  """
175
- 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.
176
179
  """
177
180
  return pulumi.get(self, "integration_provider")
178
181
 
@@ -196,7 +199,8 @@ class InfraAlertConditionArgs:
196
199
  @pulumi.getter(name="processWhere")
197
200
  def process_where(self) -> Optional[pulumi.Input[str]]:
198
201
  """
199
- 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.
200
204
  """
201
205
  return pulumi.get(self, "process_where")
202
206
 
@@ -220,7 +224,10 @@ class InfraAlertConditionArgs:
220
224
  @pulumi.getter
221
225
  def select(self) -> Optional[pulumi.Input[str]]:
222
226
  """
223
- 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.
224
231
  """
225
232
  return pulumi.get(self, "select")
226
233
 
@@ -232,13 +239,8 @@ class InfraAlertConditionArgs:
232
239
  @pulumi.getter(name="violationCloseTimer")
233
240
  def violation_close_timer(self) -> Optional[pulumi.Input[int]]:
234
241
  """
235
- 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.
236
-
237
- <!--Start PulumiCodeChooser -->
238
- ```python
239
- import pulumi
240
- ```
241
- <!--End PulumiCodeChooser -->
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
242
244
  """
243
245
  return pulumi.get(self, "violation_close_timer")
244
246
 
@@ -250,7 +252,7 @@ class InfraAlertConditionArgs:
250
252
  @pulumi.getter
251
253
  def warning(self) -> Optional[pulumi.Input['InfraAlertConditionWarningArgs']]:
252
254
  """
253
- 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.
254
256
  """
255
257
  return pulumi.get(self, "warning")
256
258
 
@@ -262,7 +264,7 @@ class InfraAlertConditionArgs:
262
264
  @pulumi.getter
263
265
  def where(self) -> Optional[pulumi.Input[str]]:
264
266
  """
265
- If applicable, this identifies any Infrastructure host filters used; for example: `hostname LIKE '%!c(MISSING)assandra%!'(MISSING)`.
267
+ If applicable, this identifies any Infrastructure host filters used; for example: hostname LIKE '%cassandra%'.
266
268
  """
267
269
  return pulumi.get(self, "where")
268
270
 
@@ -294,30 +296,31 @@ class _InfraAlertConditionState:
294
296
  where: Optional[pulumi.Input[str]] = None):
295
297
  """
296
298
  Input properties used for looking up and filtering InfraAlertCondition resources.
297
- :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.
298
301
  :param pulumi.Input[int] created_at: The timestamp the alert condition was created.
299
- :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.
300
303
  :param pulumi.Input[str] description: The description of the Infrastructure alert condition.
301
- :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.
302
305
  :param pulumi.Input[str] entity_guid: The unique entity identifier of the condition in New Relic.
303
- :param pulumi.Input[str] event: The metric event; for example, `SystemSample` or `StorageSample`. Supported by the `infra_metric` condition type.
304
- :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.
305
308
  :param pulumi.Input[str] name: The Infrastructure alert condition's name.
306
309
  :param pulumi.Input[int] policy_id: The ID of the alert policy where this condition should be used.
307
- :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.
308
312
  :param pulumi.Input[str] runbook_url: Runbook URL to display in notifications.
309
- :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.
310
- :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.
311
319
  :param pulumi.Input[int] updated_at: The timestamp the alert condition was last updated.
312
- :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.
313
-
314
- <!--Start PulumiCodeChooser -->
315
- ```python
316
- import pulumi
317
- ```
318
- <!--End PulumiCodeChooser -->
319
- :param pulumi.Input['InfraAlertConditionWarningArgs'] warning: Identifies the threshold parameters for opening a warning alert incident. See Thresholds below for details.
320
- :param pulumi.Input[str] where: If applicable, this identifies any Infrastructure host filters used; for example: `hostname LIKE '%!c(MISSING)assandra%!'(MISSING)`.
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%'.
321
324
  """
322
325
  if comparison is not None:
323
326
  pulumi.set(__self__, "comparison", comparison)
@@ -360,7 +363,8 @@ class _InfraAlertConditionState:
360
363
  @pulumi.getter
361
364
  def comparison(self) -> Optional[pulumi.Input[str]]:
362
365
  """
363
- 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.
364
368
  """
365
369
  return pulumi.get(self, "comparison")
366
370
 
@@ -384,7 +388,7 @@ class _InfraAlertConditionState:
384
388
  @pulumi.getter
385
389
  def critical(self) -> Optional[pulumi.Input['InfraAlertConditionCriticalArgs']]:
386
390
  """
387
- 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.
388
392
  """
389
393
  return pulumi.get(self, "critical")
390
394
 
@@ -408,7 +412,7 @@ class _InfraAlertConditionState:
408
412
  @pulumi.getter
409
413
  def enabled(self) -> Optional[pulumi.Input[bool]]:
410
414
  """
411
- 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.
412
416
  """
413
417
  return pulumi.get(self, "enabled")
414
418
 
@@ -432,7 +436,7 @@ class _InfraAlertConditionState:
432
436
  @pulumi.getter
433
437
  def event(self) -> Optional[pulumi.Input[str]]:
434
438
  """
435
- 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.
436
440
  """
437
441
  return pulumi.get(self, "event")
438
442
 
@@ -444,7 +448,7 @@ class _InfraAlertConditionState:
444
448
  @pulumi.getter(name="integrationProvider")
445
449
  def integration_provider(self) -> Optional[pulumi.Input[str]]:
446
450
  """
447
- 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.
448
452
  """
449
453
  return pulumi.get(self, "integration_provider")
450
454
 
@@ -480,7 +484,8 @@ class _InfraAlertConditionState:
480
484
  @pulumi.getter(name="processWhere")
481
485
  def process_where(self) -> Optional[pulumi.Input[str]]:
482
486
  """
483
- 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.
484
489
  """
485
490
  return pulumi.get(self, "process_where")
486
491
 
@@ -504,7 +509,10 @@ class _InfraAlertConditionState:
504
509
  @pulumi.getter
505
510
  def select(self) -> Optional[pulumi.Input[str]]:
506
511
  """
507
- 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.
508
516
  """
509
517
  return pulumi.get(self, "select")
510
518
 
@@ -516,7 +524,8 @@ class _InfraAlertConditionState:
516
524
  @pulumi.getter
517
525
  def type(self) -> Optional[pulumi.Input[str]]:
518
526
  """
519
- 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.
520
529
  """
521
530
  return pulumi.get(self, "type")
522
531
 
@@ -540,13 +549,8 @@ class _InfraAlertConditionState:
540
549
  @pulumi.getter(name="violationCloseTimer")
541
550
  def violation_close_timer(self) -> Optional[pulumi.Input[int]]:
542
551
  """
543
- 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.
544
-
545
- <!--Start PulumiCodeChooser -->
546
- ```python
547
- import pulumi
548
- ```
549
- <!--End PulumiCodeChooser -->
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
550
554
  """
551
555
  return pulumi.get(self, "violation_close_timer")
552
556
 
@@ -558,7 +562,7 @@ class _InfraAlertConditionState:
558
562
  @pulumi.getter
559
563
  def warning(self) -> Optional[pulumi.Input['InfraAlertConditionWarningArgs']]:
560
564
  """
561
- 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.
562
566
  """
563
567
  return pulumi.get(self, "warning")
564
568
 
@@ -570,7 +574,7 @@ class _InfraAlertConditionState:
570
574
  @pulumi.getter
571
575
  def where(self) -> Optional[pulumi.Input[str]]:
572
576
  """
573
- If applicable, this identifies any Infrastructure host filters used; for example: `hostname LIKE '%!c(MISSING)assandra%!'(MISSING)`.
577
+ If applicable, this identifies any Infrastructure host filters used; for example: hostname LIKE '%cassandra%'.
574
578
  """
575
579
  return pulumi.get(self, "where")
576
580
 
@@ -607,14 +611,14 @@ class InfraAlertCondition(pulumi.CustomResource):
607
611
 
608
612
  ## Example Usage
609
613
 
610
- <!--Start PulumiCodeChooser -->
611
614
  ```python
612
615
  import pulumi
613
616
  import pulumi_newrelic as newrelic
614
617
 
615
- foo = newrelic.AlertPolicy("foo")
616
- high_disk_usage = newrelic.InfraAlertCondition("highDiskUsage",
618
+ foo = newrelic.AlertPolicy("foo", name="foo")
619
+ high_disk_usage = newrelic.InfraAlertCondition("high_disk_usage",
617
620
  policy_id=foo.id,
621
+ name="High disk usage",
618
622
  description="Warning if disk usage goes above 80% and critical alert if goes above 90%",
619
623
  type="infra_metric",
620
624
  event="StorageSample",
@@ -631,8 +635,9 @@ class InfraAlertCondition(pulumi.CustomResource):
631
635
  value=80,
632
636
  time_function="all",
633
637
  ))
634
- high_db_conn_count = newrelic.InfraAlertCondition("highDbConnCount",
638
+ high_db_conn_count = newrelic.InfraAlertCondition("high_db_conn_count",
635
639
  policy_id=foo.id,
640
+ name="High database connection count",
636
641
  description="Critical alert when the number of database connections goes above 90",
637
642
  type="infra_metric",
638
643
  event="DatastoreSample",
@@ -645,8 +650,9 @@ class InfraAlertCondition(pulumi.CustomResource):
645
650
  value=90,
646
651
  time_function="all",
647
652
  ))
648
- process_not_running = newrelic.InfraAlertCondition("processNotRunning",
653
+ process_not_running = newrelic.InfraAlertCondition("process_not_running",
649
654
  policy_id=foo.id,
655
+ name="Process not running (/usr/bin/ruby)",
650
656
  description="Critical alert when ruby isn't running",
651
657
  type="infra_process_running",
652
658
  comparison="equal",
@@ -656,8 +662,9 @@ class InfraAlertCondition(pulumi.CustomResource):
656
662
  duration=5,
657
663
  value=0,
658
664
  ))
659
- host_not_reporting = newrelic.InfraAlertCondition("hostNotReporting",
665
+ host_not_reporting = newrelic.InfraAlertCondition("host_not_reporting",
660
666
  policy_id=foo.id,
667
+ name="Host not reporting",
661
668
  description="Critical alert when the host is not reporting",
662
669
  type="infra_host_not_reporting",
663
670
  where="(hostname LIKE '%frontend%')",
@@ -665,7 +672,6 @@ class InfraAlertCondition(pulumi.CustomResource):
665
672
  duration=5,
666
673
  ))
667
674
  ```
668
- <!--End PulumiCodeChooser -->
669
675
 
670
676
  ## Thresholds
671
677
 
@@ -679,14 +685,14 @@ class InfraAlertCondition(pulumi.CustomResource):
679
685
 
680
686
  Manage infra alert condition tags with `EntityTags`. For up-to-date documentation about the tagging resource, please check EntityTags
681
687
 
682
- <!--Start PulumiCodeChooser -->
683
688
  ```python
684
689
  import pulumi
685
690
  import pulumi_newrelic as newrelic
686
691
 
687
- foo_alert_policy = newrelic.AlertPolicy("fooAlertPolicy")
688
- foo_infra_alert_condition = newrelic.InfraAlertCondition("fooInfraAlertCondition",
689
- policy_id=foo_alert_policy.id,
692
+ foo = newrelic.AlertPolicy("foo", name="foo policy")
693
+ foo_infra_alert_condition = newrelic.InfraAlertCondition("foo",
694
+ policy_id=foo.id,
695
+ name="foo infra condition",
690
696
  description="Warning if disk usage goes above 80% and critical alert if goes above 90%",
691
697
  type="infra_metric",
692
698
  event="StorageSample",
@@ -703,7 +709,7 @@ class InfraAlertCondition(pulumi.CustomResource):
703
709
  value=80,
704
710
  time_function="all",
705
711
  ))
706
- my_condition_entity_tags = newrelic.EntityTags("myConditionEntityTags",
712
+ my_condition_entity_tags = newrelic.EntityTags("my_condition_entity_tags",
707
713
  guid=foo_infra_alert_condition.entity_guid,
708
714
  tags=[
709
715
  newrelic.EntityTagsTagArgs(
@@ -719,7 +725,6 @@ class InfraAlertCondition(pulumi.CustomResource):
719
725
  ),
720
726
  ])
721
727
  ```
722
- <!--End PulumiCodeChooser -->
723
728
 
724
729
  ## Import
725
730
 
@@ -731,27 +736,28 @@ class InfraAlertCondition(pulumi.CustomResource):
731
736
 
732
737
  :param str resource_name: The name of the resource.
733
738
  :param pulumi.ResourceOptions opts: Options for the resource.
734
- :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.
735
- :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.
736
742
  :param pulumi.Input[str] description: The description of the Infrastructure alert condition.
737
- :param pulumi.Input[bool] enabled: Whether the condition is turned on or off. Valid values are `true` and `false`. Defaults to `true`.
738
- :param pulumi.Input[str] event: The metric event; for example, `SystemSample` or `StorageSample`. Supported by the `infra_metric` condition type.
739
- :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.
740
746
  :param pulumi.Input[str] name: The Infrastructure alert condition's name.
741
747
  :param pulumi.Input[int] policy_id: The ID of the alert policy where this condition should be used.
742
- :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.
743
750
  :param pulumi.Input[str] runbook_url: Runbook URL to display in notifications.
744
- :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.
745
- :param pulumi.Input[str] type: The type of Infrastructure alert condition. Valid values are `infra_process_running`, `infra_metric`, and `infra_host_not_reporting`.
746
- :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.
747
-
748
- <!--Start PulumiCodeChooser -->
749
- ```python
750
- import pulumi
751
- ```
752
- <!--End PulumiCodeChooser -->
753
- :param pulumi.Input[pulumi.InputType['InfraAlertConditionWarningArgs']] warning: Identifies the threshold parameters for opening a warning alert incident. See Thresholds below for details.
754
- :param pulumi.Input[str] where: If applicable, this identifies any Infrastructure host filters used; for example: `hostname LIKE '%!c(MISSING)assandra%!'(MISSING)`.
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%'.
755
761
  """
756
762
  ...
757
763
  @overload
@@ -766,14 +772,14 @@ class InfraAlertCondition(pulumi.CustomResource):
766
772
 
767
773
  ## Example Usage
768
774
 
769
- <!--Start PulumiCodeChooser -->
770
775
  ```python
771
776
  import pulumi
772
777
  import pulumi_newrelic as newrelic
773
778
 
774
- foo = newrelic.AlertPolicy("foo")
775
- high_disk_usage = newrelic.InfraAlertCondition("highDiskUsage",
779
+ foo = newrelic.AlertPolicy("foo", name="foo")
780
+ high_disk_usage = newrelic.InfraAlertCondition("high_disk_usage",
776
781
  policy_id=foo.id,
782
+ name="High disk usage",
777
783
  description="Warning if disk usage goes above 80% and critical alert if goes above 90%",
778
784
  type="infra_metric",
779
785
  event="StorageSample",
@@ -790,8 +796,9 @@ class InfraAlertCondition(pulumi.CustomResource):
790
796
  value=80,
791
797
  time_function="all",
792
798
  ))
793
- high_db_conn_count = newrelic.InfraAlertCondition("highDbConnCount",
799
+ high_db_conn_count = newrelic.InfraAlertCondition("high_db_conn_count",
794
800
  policy_id=foo.id,
801
+ name="High database connection count",
795
802
  description="Critical alert when the number of database connections goes above 90",
796
803
  type="infra_metric",
797
804
  event="DatastoreSample",
@@ -804,8 +811,9 @@ class InfraAlertCondition(pulumi.CustomResource):
804
811
  value=90,
805
812
  time_function="all",
806
813
  ))
807
- process_not_running = newrelic.InfraAlertCondition("processNotRunning",
814
+ process_not_running = newrelic.InfraAlertCondition("process_not_running",
808
815
  policy_id=foo.id,
816
+ name="Process not running (/usr/bin/ruby)",
809
817
  description="Critical alert when ruby isn't running",
810
818
  type="infra_process_running",
811
819
  comparison="equal",
@@ -815,8 +823,9 @@ class InfraAlertCondition(pulumi.CustomResource):
815
823
  duration=5,
816
824
  value=0,
817
825
  ))
818
- host_not_reporting = newrelic.InfraAlertCondition("hostNotReporting",
826
+ host_not_reporting = newrelic.InfraAlertCondition("host_not_reporting",
819
827
  policy_id=foo.id,
828
+ name="Host not reporting",
820
829
  description="Critical alert when the host is not reporting",
821
830
  type="infra_host_not_reporting",
822
831
  where="(hostname LIKE '%frontend%')",
@@ -824,7 +833,6 @@ class InfraAlertCondition(pulumi.CustomResource):
824
833
  duration=5,
825
834
  ))
826
835
  ```
827
- <!--End PulumiCodeChooser -->
828
836
 
829
837
  ## Thresholds
830
838
 
@@ -838,14 +846,14 @@ class InfraAlertCondition(pulumi.CustomResource):
838
846
 
839
847
  Manage infra alert condition tags with `EntityTags`. For up-to-date documentation about the tagging resource, please check EntityTags
840
848
 
841
- <!--Start PulumiCodeChooser -->
842
849
  ```python
843
850
  import pulumi
844
851
  import pulumi_newrelic as newrelic
845
852
 
846
- foo_alert_policy = newrelic.AlertPolicy("fooAlertPolicy")
847
- foo_infra_alert_condition = newrelic.InfraAlertCondition("fooInfraAlertCondition",
848
- policy_id=foo_alert_policy.id,
853
+ foo = newrelic.AlertPolicy("foo", name="foo policy")
854
+ foo_infra_alert_condition = newrelic.InfraAlertCondition("foo",
855
+ policy_id=foo.id,
856
+ name="foo infra condition",
849
857
  description="Warning if disk usage goes above 80% and critical alert if goes above 90%",
850
858
  type="infra_metric",
851
859
  event="StorageSample",
@@ -862,7 +870,7 @@ class InfraAlertCondition(pulumi.CustomResource):
862
870
  value=80,
863
871
  time_function="all",
864
872
  ))
865
- my_condition_entity_tags = newrelic.EntityTags("myConditionEntityTags",
873
+ my_condition_entity_tags = newrelic.EntityTags("my_condition_entity_tags",
866
874
  guid=foo_infra_alert_condition.entity_guid,
867
875
  tags=[
868
876
  newrelic.EntityTagsTagArgs(
@@ -878,7 +886,6 @@ class InfraAlertCondition(pulumi.CustomResource):
878
886
  ),
879
887
  ])
880
888
  ```
881
- <!--End PulumiCodeChooser -->
882
889
 
883
890
  ## Import
884
891
 
@@ -984,30 +991,31 @@ class InfraAlertCondition(pulumi.CustomResource):
984
991
  :param str resource_name: The unique name of the resulting resource.
985
992
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
986
993
  :param pulumi.ResourceOptions opts: Options for the resource.
987
- :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.
988
996
  :param pulumi.Input[int] created_at: The timestamp the alert condition was created.
989
- :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.
990
998
  :param pulumi.Input[str] description: The description of the Infrastructure alert condition.
991
- :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.
992
1000
  :param pulumi.Input[str] entity_guid: The unique entity identifier of the condition in New Relic.
993
- :param pulumi.Input[str] event: The metric event; for example, `SystemSample` or `StorageSample`. Supported by the `infra_metric` condition type.
994
- :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.
995
1003
  :param pulumi.Input[str] name: The Infrastructure alert condition's name.
996
1004
  :param pulumi.Input[int] policy_id: The ID of the alert policy where this condition should be used.
997
- :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.
998
1007
  :param pulumi.Input[str] runbook_url: Runbook URL to display in notifications.
999
- :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.
1000
- :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.
1001
1014
  :param pulumi.Input[int] updated_at: The timestamp the alert condition was last updated.
1002
- :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.
1003
-
1004
- <!--Start PulumiCodeChooser -->
1005
- ```python
1006
- import pulumi
1007
- ```
1008
- <!--End PulumiCodeChooser -->
1009
- :param pulumi.Input[pulumi.InputType['InfraAlertConditionWarningArgs']] warning: Identifies the threshold parameters for opening a warning alert incident. See Thresholds below for details.
1010
- :param pulumi.Input[str] where: If applicable, this identifies any Infrastructure host filters used; for example: `hostname LIKE '%!c(MISSING)assandra%!'(MISSING)`.
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%'.
1011
1019
  """
1012
1020
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
1013
1021
 
@@ -1037,7 +1045,8 @@ class InfraAlertCondition(pulumi.CustomResource):
1037
1045
  @pulumi.getter
1038
1046
  def comparison(self) -> pulumi.Output[Optional[str]]:
1039
1047
  """
1040
- 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.
1041
1050
  """
1042
1051
  return pulumi.get(self, "comparison")
1043
1052
 
@@ -1053,7 +1062,7 @@ class InfraAlertCondition(pulumi.CustomResource):
1053
1062
  @pulumi.getter
1054
1063
  def critical(self) -> pulumi.Output[Optional['outputs.InfraAlertConditionCritical']]:
1055
1064
  """
1056
- 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.
1057
1066
  """
1058
1067
  return pulumi.get(self, "critical")
1059
1068
 
@@ -1069,7 +1078,7 @@ class InfraAlertCondition(pulumi.CustomResource):
1069
1078
  @pulumi.getter
1070
1079
  def enabled(self) -> pulumi.Output[Optional[bool]]:
1071
1080
  """
1072
- 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.
1073
1082
  """
1074
1083
  return pulumi.get(self, "enabled")
1075
1084
 
@@ -1085,7 +1094,7 @@ class InfraAlertCondition(pulumi.CustomResource):
1085
1094
  @pulumi.getter
1086
1095
  def event(self) -> pulumi.Output[str]:
1087
1096
  """
1088
- 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.
1089
1098
  """
1090
1099
  return pulumi.get(self, "event")
1091
1100
 
@@ -1093,7 +1102,7 @@ class InfraAlertCondition(pulumi.CustomResource):
1093
1102
  @pulumi.getter(name="integrationProvider")
1094
1103
  def integration_provider(self) -> pulumi.Output[Optional[str]]:
1095
1104
  """
1096
- 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.
1097
1106
  """
1098
1107
  return pulumi.get(self, "integration_provider")
1099
1108
 
@@ -1117,7 +1126,8 @@ class InfraAlertCondition(pulumi.CustomResource):
1117
1126
  @pulumi.getter(name="processWhere")
1118
1127
  def process_where(self) -> pulumi.Output[Optional[str]]:
1119
1128
  """
1120
- 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.
1121
1131
  """
1122
1132
  return pulumi.get(self, "process_where")
1123
1133
 
@@ -1133,7 +1143,10 @@ class InfraAlertCondition(pulumi.CustomResource):
1133
1143
  @pulumi.getter
1134
1144
  def select(self) -> pulumi.Output[Optional[str]]:
1135
1145
  """
1136
- 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.
1137
1150
  """
1138
1151
  return pulumi.get(self, "select")
1139
1152
 
@@ -1141,7 +1154,8 @@ class InfraAlertCondition(pulumi.CustomResource):
1141
1154
  @pulumi.getter
1142
1155
  def type(self) -> pulumi.Output[str]:
1143
1156
  """
1144
- 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.
1145
1159
  """
1146
1160
  return pulumi.get(self, "type")
1147
1161
 
@@ -1157,13 +1171,8 @@ class InfraAlertCondition(pulumi.CustomResource):
1157
1171
  @pulumi.getter(name="violationCloseTimer")
1158
1172
  def violation_close_timer(self) -> pulumi.Output[Optional[int]]:
1159
1173
  """
1160
- 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.
1161
-
1162
- <!--Start PulumiCodeChooser -->
1163
- ```python
1164
- import pulumi
1165
- ```
1166
- <!--End PulumiCodeChooser -->
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
1167
1176
  """
1168
1177
  return pulumi.get(self, "violation_close_timer")
1169
1178
 
@@ -1171,7 +1180,7 @@ class InfraAlertCondition(pulumi.CustomResource):
1171
1180
  @pulumi.getter
1172
1181
  def warning(self) -> pulumi.Output[Optional['outputs.InfraAlertConditionWarning']]:
1173
1182
  """
1174
- 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.
1175
1184
  """
1176
1185
  return pulumi.get(self, "warning")
1177
1186
 
@@ -1179,7 +1188,7 @@ class InfraAlertCondition(pulumi.CustomResource):
1179
1188
  @pulumi.getter
1180
1189
  def where(self) -> pulumi.Output[Optional[str]]:
1181
1190
  """
1182
- If applicable, this identifies any Infrastructure host filters used; for example: `hostname LIKE '%!c(MISSING)assandra%!'(MISSING)`.
1191
+ If applicable, this identifies any Infrastructure host filters used; for example: hostname LIKE '%cassandra%'.
1183
1192
  """
1184
1193
  return pulumi.get(self, "where")
1185
1194