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