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