pulumi-newrelic 5.23.0a1713333809__py3-none-any.whl → 5.23.0a1713975814__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.
- pulumi_newrelic/_inputs.py +110 -270
- pulumi_newrelic/account_management.py +20 -20
- pulumi_newrelic/alert_channel.py +76 -92
- pulumi_newrelic/alert_condition.py +104 -149
- pulumi_newrelic/alert_muting_rule.py +33 -35
- pulumi_newrelic/alert_policy.py +68 -43
- pulumi_newrelic/alert_policy_channel.py +12 -8
- pulumi_newrelic/cloud/_inputs.py +322 -1072
- pulumi_newrelic/cloud/aws_govcloud_link_account.py +4 -6
- pulumi_newrelic/cloud/aws_integrations.py +13 -15
- pulumi_newrelic/cloud/aws_link_account.py +4 -6
- pulumi_newrelic/cloud/azure_integrations.py +10 -12
- pulumi_newrelic/cloud/azure_link_account.py +4 -6
- pulumi_newrelic/cloud/gcp_integrations.py +6 -6
- pulumi_newrelic/cloud/gcp_link_account.py +4 -6
- pulumi_newrelic/cloud/outputs.py +322 -1072
- pulumi_newrelic/data_partition_rule.py +0 -4
- pulumi_newrelic/entity_tags.py +13 -17
- pulumi_newrelic/events_to_metrics_rule.py +2 -4
- pulumi_newrelic/get_account.py +0 -4
- pulumi_newrelic/get_application.py +8 -10
- pulumi_newrelic/get_authentication_domain.py +4 -8
- pulumi_newrelic/get_cloud_account.py +0 -4
- pulumi_newrelic/get_entity.py +28 -32
- pulumi_newrelic/get_group.py +42 -8
- pulumi_newrelic/get_key_transaction.py +8 -10
- pulumi_newrelic/get_obfuscation_expression.py +2 -4
- pulumi_newrelic/get_service_level_alert_helper.py +22 -46
- pulumi_newrelic/get_test_grok_pattern.py +4 -6
- pulumi_newrelic/get_user.py +0 -4
- pulumi_newrelic/group.py +40 -42
- pulumi_newrelic/infra_alert_condition.py +154 -131
- pulumi_newrelic/insights/event.py +8 -25
- pulumi_newrelic/log_parsing_rule.py +6 -10
- pulumi_newrelic/monitor_downtime.py +174 -193
- pulumi_newrelic/notification_channel.py +124 -150
- pulumi_newrelic/nrql_alert_condition.py +38 -48
- pulumi_newrelic/nrql_drop_rule.py +34 -38
- pulumi_newrelic/obfuscation_expression.py +2 -4
- pulumi_newrelic/obfuscation_rule.py +4 -4
- pulumi_newrelic/one_dashboard.py +42 -48
- pulumi_newrelic/one_dashboard_raw.py +86 -86
- pulumi_newrelic/outputs.py +110 -270
- pulumi_newrelic/plugins/_inputs.py +16 -16
- pulumi_newrelic/plugins/application_settings.py +6 -8
- pulumi_newrelic/plugins/outputs.py +16 -16
- pulumi_newrelic/plugins/workload.py +158 -40
- pulumi_newrelic/service_level.py +38 -123
- pulumi_newrelic/synthetics/alert_condition.py +34 -64
- pulumi_newrelic/synthetics/broken_links_monitor.py +18 -20
- pulumi_newrelic/synthetics/cert_check_monitor.py +16 -18
- pulumi_newrelic/synthetics/get_private_location.py +0 -8
- pulumi_newrelic/synthetics/get_secure_credential.py +0 -12
- pulumi_newrelic/synthetics/monitor.py +48 -52
- pulumi_newrelic/synthetics/multi_location_alert_condition.py +69 -83
- pulumi_newrelic/synthetics/private_location.py +6 -6
- pulumi_newrelic/synthetics/script_monitor.py +38 -42
- pulumi_newrelic/synthetics/secure_credential.py +25 -22
- pulumi_newrelic/synthetics/step_monitor.py +18 -20
- pulumi_newrelic/user.py +8 -10
- pulumi_newrelic/workflow.py +20 -24
- {pulumi_newrelic-5.23.0a1713333809.dist-info → pulumi_newrelic-5.23.0a1713975814.dist-info}/METADATA +1 -1
- pulumi_newrelic-5.23.0a1713975814.dist-info/RECORD +89 -0
- pulumi_newrelic-5.23.0a1713333809.dist-info/RECORD +0 -89
- {pulumi_newrelic-5.23.0a1713333809.dist-info → pulumi_newrelic-5.23.0a1713975814.dist-info}/WHEEL +0 -0
- {pulumi_newrelic-5.23.0a1713333809.dist-info → pulumi_newrelic-5.23.0a1713975814.dist-info}/top_level.txt +0 -0
@@ -34,24 +34,27 @@ class InfraAlertConditionArgs:
|
|
34
34
|
"""
|
35
35
|
The set of arguments for constructing a InfraAlertCondition resource.
|
36
36
|
:param pulumi.Input[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.
|
38
|
-
|
39
|
-
:param pulumi.Input[
|
37
|
+
:param pulumi.Input[str] type: The type of Infrastructure alert condition. Valid values are infra_process_running, infra_metric, and
|
38
|
+
infra_host_not_reporting.
|
39
|
+
:param pulumi.Input[str] comparison: The operator used to evaluate the threshold value. Valid values are above, below, and equal. Supported by the
|
40
|
+
infra_metric and infra_process_running condition types.
|
41
|
+
:param pulumi.Input['InfraAlertConditionCriticalArgs'] critical: Identifies the threshold parameters for opening a critical alert incident.
|
40
42
|
:param pulumi.Input[str] description: The description of the Infrastructure alert condition.
|
41
|
-
:param pulumi.Input[bool] enabled: Whether the condition is turned on or off.
|
42
|
-
:param pulumi.Input[str] event: The metric event; for example,
|
43
|
-
:param pulumi.Input[str] integration_provider: For alerts on integrations, use this instead of
|
43
|
+
:param pulumi.Input[bool] enabled: Whether the condition is turned on or off. Valid values are true and false. Defaults to true.
|
44
|
+
:param pulumi.Input[str] event: The metric event; for example, SystemSample or StorageSample. Supported by the infra_metric condition type.
|
45
|
+
:param pulumi.Input[str] integration_provider: For alerts on integrations, use this instead of event. Supported by the infra_metric condition type.
|
44
46
|
:param pulumi.Input[str] name: The Infrastructure alert condition's name.
|
45
|
-
:param pulumi.Input[str] process_where: Any filters applied to processes; for example:
|
47
|
+
:param pulumi.Input[str] process_where: Any filters applied to processes; for example: commandName = 'java'. Supported by the infra_process_running condition
|
48
|
+
type.
|
46
49
|
:param pulumi.Input[str] runbook_url: Runbook URL to display in notifications.
|
47
|
-
:param pulumi.Input[str] select: The attribute name to identify the metric being targeted; for example,
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
:param pulumi.Input['InfraAlertConditionWarningArgs'] warning: Identifies the threshold parameters for opening a warning alert incident.
|
54
|
-
:param pulumi.Input[str] where: If applicable, this identifies any Infrastructure host filters used; for example:
|
50
|
+
:param pulumi.Input[str] select: The attribute name to identify the metric being targeted; for example, cpuPercent, diskFreePercent, or
|
51
|
+
memoryResidentSizeBytes. The underlying API will automatically populate this value for Infrastructure integrations (for
|
52
|
+
example diskFreePercent), so make sure to explicitly include this value to avoid diff issues. Supported by the
|
53
|
+
infra_metric condition type.
|
54
|
+
:param pulumi.Input[int] violation_close_timer: Determines how much time, in hours, will pass before an incident is automatically closed. Valid values are 1, 2, 4, 8,
|
55
|
+
12, 24, 48, or 72
|
56
|
+
:param pulumi.Input['InfraAlertConditionWarningArgs'] warning: Identifies the threshold parameters for opening a warning alert incident.
|
57
|
+
:param pulumi.Input[str] where: If applicable, this identifies any Infrastructure host filters used; for example: hostname LIKE '%cassandra%'.
|
55
58
|
"""
|
56
59
|
pulumi.set(__self__, "policy_id", policy_id)
|
57
60
|
pulumi.set(__self__, "type", type)
|
@@ -98,7 +101,8 @@ class InfraAlertConditionArgs:
|
|
98
101
|
@pulumi.getter
|
99
102
|
def type(self) -> pulumi.Input[str]:
|
100
103
|
"""
|
101
|
-
The type of Infrastructure alert condition.
|
104
|
+
The type of Infrastructure alert condition. Valid values are infra_process_running, infra_metric, and
|
105
|
+
infra_host_not_reporting.
|
102
106
|
"""
|
103
107
|
return pulumi.get(self, "type")
|
104
108
|
|
@@ -110,7 +114,8 @@ class InfraAlertConditionArgs:
|
|
110
114
|
@pulumi.getter
|
111
115
|
def comparison(self) -> Optional[pulumi.Input[str]]:
|
112
116
|
"""
|
113
|
-
The operator used to evaluate the threshold value.
|
117
|
+
The operator used to evaluate the threshold value. Valid values are above, below, and equal. Supported by the
|
118
|
+
infra_metric and infra_process_running condition types.
|
114
119
|
"""
|
115
120
|
return pulumi.get(self, "comparison")
|
116
121
|
|
@@ -122,7 +127,7 @@ class InfraAlertConditionArgs:
|
|
122
127
|
@pulumi.getter
|
123
128
|
def critical(self) -> Optional[pulumi.Input['InfraAlertConditionCriticalArgs']]:
|
124
129
|
"""
|
125
|
-
Identifies the threshold parameters for opening a critical alert incident.
|
130
|
+
Identifies the threshold parameters for opening a critical alert incident.
|
126
131
|
"""
|
127
132
|
return pulumi.get(self, "critical")
|
128
133
|
|
@@ -146,7 +151,7 @@ class InfraAlertConditionArgs:
|
|
146
151
|
@pulumi.getter
|
147
152
|
def enabled(self) -> Optional[pulumi.Input[bool]]:
|
148
153
|
"""
|
149
|
-
Whether the condition is turned on or off.
|
154
|
+
Whether the condition is turned on or off. Valid values are true and false. Defaults to true.
|
150
155
|
"""
|
151
156
|
return pulumi.get(self, "enabled")
|
152
157
|
|
@@ -158,7 +163,7 @@ class InfraAlertConditionArgs:
|
|
158
163
|
@pulumi.getter
|
159
164
|
def event(self) -> Optional[pulumi.Input[str]]:
|
160
165
|
"""
|
161
|
-
The metric event; for example,
|
166
|
+
The metric event; for example, SystemSample or StorageSample. Supported by the infra_metric condition type.
|
162
167
|
"""
|
163
168
|
return pulumi.get(self, "event")
|
164
169
|
|
@@ -170,7 +175,7 @@ class InfraAlertConditionArgs:
|
|
170
175
|
@pulumi.getter(name="integrationProvider")
|
171
176
|
def integration_provider(self) -> Optional[pulumi.Input[str]]:
|
172
177
|
"""
|
173
|
-
For alerts on integrations, use this instead of
|
178
|
+
For alerts on integrations, use this instead of event. Supported by the infra_metric condition type.
|
174
179
|
"""
|
175
180
|
return pulumi.get(self, "integration_provider")
|
176
181
|
|
@@ -194,7 +199,8 @@ class InfraAlertConditionArgs:
|
|
194
199
|
@pulumi.getter(name="processWhere")
|
195
200
|
def process_where(self) -> Optional[pulumi.Input[str]]:
|
196
201
|
"""
|
197
|
-
Any filters applied to processes; for example:
|
202
|
+
Any filters applied to processes; for example: commandName = 'java'. Supported by the infra_process_running condition
|
203
|
+
type.
|
198
204
|
"""
|
199
205
|
return pulumi.get(self, "process_where")
|
200
206
|
|
@@ -218,7 +224,10 @@ class InfraAlertConditionArgs:
|
|
218
224
|
@pulumi.getter
|
219
225
|
def select(self) -> Optional[pulumi.Input[str]]:
|
220
226
|
"""
|
221
|
-
The attribute name to identify the metric being targeted; for example,
|
227
|
+
The attribute name to identify the metric being targeted; for example, cpuPercent, diskFreePercent, or
|
228
|
+
memoryResidentSizeBytes. The underlying API will automatically populate this value for Infrastructure integrations (for
|
229
|
+
example diskFreePercent), so make sure to explicitly include this value to avoid diff issues. Supported by the
|
230
|
+
infra_metric condition type.
|
222
231
|
"""
|
223
232
|
return pulumi.get(self, "select")
|
224
233
|
|
@@ -230,11 +239,8 @@ class InfraAlertConditionArgs:
|
|
230
239
|
@pulumi.getter(name="violationCloseTimer")
|
231
240
|
def violation_close_timer(self) -> Optional[pulumi.Input[int]]:
|
232
241
|
"""
|
233
|
-
Determines how much time will pass
|
234
|
-
|
235
|
-
```
|
236
|
-
Warning: This resource will use the account ID linked to your API key. At the moment it is not possible to dynamically set the account ID.
|
237
|
-
```
|
242
|
+
Determines how much time, in hours, will pass before an incident is automatically closed. Valid values are 1, 2, 4, 8,
|
243
|
+
12, 24, 48, or 72
|
238
244
|
"""
|
239
245
|
return pulumi.get(self, "violation_close_timer")
|
240
246
|
|
@@ -246,7 +252,7 @@ class InfraAlertConditionArgs:
|
|
246
252
|
@pulumi.getter
|
247
253
|
def warning(self) -> Optional[pulumi.Input['InfraAlertConditionWarningArgs']]:
|
248
254
|
"""
|
249
|
-
Identifies the threshold parameters for opening a warning alert incident.
|
255
|
+
Identifies the threshold parameters for opening a warning alert incident.
|
250
256
|
"""
|
251
257
|
return pulumi.get(self, "warning")
|
252
258
|
|
@@ -258,7 +264,7 @@ class InfraAlertConditionArgs:
|
|
258
264
|
@pulumi.getter
|
259
265
|
def where(self) -> Optional[pulumi.Input[str]]:
|
260
266
|
"""
|
261
|
-
If applicable, this identifies any Infrastructure host filters used; for example:
|
267
|
+
If applicable, this identifies any Infrastructure host filters used; for example: hostname LIKE '%cassandra%'.
|
262
268
|
"""
|
263
269
|
return pulumi.get(self, "where")
|
264
270
|
|
@@ -290,28 +296,31 @@ class _InfraAlertConditionState:
|
|
290
296
|
where: Optional[pulumi.Input[str]] = None):
|
291
297
|
"""
|
292
298
|
Input properties used for looking up and filtering InfraAlertCondition resources.
|
293
|
-
:param pulumi.Input[str] comparison: The operator used to evaluate the threshold value.
|
299
|
+
:param pulumi.Input[str] comparison: The operator used to evaluate the threshold value. Valid values are above, below, and equal. Supported by the
|
300
|
+
infra_metric and infra_process_running condition types.
|
294
301
|
:param pulumi.Input[int] created_at: The timestamp the alert condition was created.
|
295
|
-
:param pulumi.Input['InfraAlertConditionCriticalArgs'] critical: Identifies the threshold parameters for opening a critical alert incident.
|
302
|
+
:param pulumi.Input['InfraAlertConditionCriticalArgs'] critical: Identifies the threshold parameters for opening a critical alert incident.
|
296
303
|
:param pulumi.Input[str] description: The description of the Infrastructure alert condition.
|
297
|
-
:param pulumi.Input[bool] enabled: Whether the condition is turned on or off.
|
304
|
+
:param pulumi.Input[bool] enabled: Whether the condition is turned on or off. Valid values are true and false. Defaults to true.
|
298
305
|
:param pulumi.Input[str] entity_guid: The unique entity identifier of the condition in New Relic.
|
299
|
-
:param pulumi.Input[str] event: The metric event; for example,
|
300
|
-
:param pulumi.Input[str] integration_provider: For alerts on integrations, use this instead of
|
306
|
+
:param pulumi.Input[str] event: The metric event; for example, SystemSample or StorageSample. Supported by the infra_metric condition type.
|
307
|
+
:param pulumi.Input[str] integration_provider: For alerts on integrations, use this instead of event. Supported by the infra_metric condition type.
|
301
308
|
:param pulumi.Input[str] name: The Infrastructure alert condition's name.
|
302
309
|
:param pulumi.Input[int] policy_id: The ID of the alert policy where this condition should be used.
|
303
|
-
:param pulumi.Input[str] process_where: Any filters applied to processes; for example:
|
310
|
+
:param pulumi.Input[str] process_where: Any filters applied to processes; for example: commandName = 'java'. Supported by the infra_process_running condition
|
311
|
+
type.
|
304
312
|
:param pulumi.Input[str] runbook_url: Runbook URL to display in notifications.
|
305
|
-
:param pulumi.Input[str] select: The attribute name to identify the metric being targeted; for example,
|
306
|
-
|
313
|
+
:param pulumi.Input[str] select: The attribute name to identify the metric being targeted; for example, cpuPercent, diskFreePercent, or
|
314
|
+
memoryResidentSizeBytes. The underlying API will automatically populate this value for Infrastructure integrations (for
|
315
|
+
example diskFreePercent), so make sure to explicitly include this value to avoid diff issues. Supported by the
|
316
|
+
infra_metric condition type.
|
317
|
+
:param pulumi.Input[str] type: The type of Infrastructure alert condition. Valid values are infra_process_running, infra_metric, and
|
318
|
+
infra_host_not_reporting.
|
307
319
|
:param pulumi.Input[int] updated_at: The timestamp the alert condition was last updated.
|
308
|
-
:param pulumi.Input[int] violation_close_timer: Determines how much time will pass
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
```
|
313
|
-
:param pulumi.Input['InfraAlertConditionWarningArgs'] warning: Identifies the threshold parameters for opening a warning alert incident. See Thresholds below for details.
|
314
|
-
:param pulumi.Input[str] where: If applicable, this identifies any Infrastructure host filters used; for example: `hostname LIKE '%cassandra%'`.
|
320
|
+
:param pulumi.Input[int] violation_close_timer: Determines how much time, in hours, will pass before an incident is automatically closed. Valid values are 1, 2, 4, 8,
|
321
|
+
12, 24, 48, or 72
|
322
|
+
:param pulumi.Input['InfraAlertConditionWarningArgs'] warning: Identifies the threshold parameters for opening a warning alert incident.
|
323
|
+
:param pulumi.Input[str] where: If applicable, this identifies any Infrastructure host filters used; for example: hostname LIKE '%cassandra%'.
|
315
324
|
"""
|
316
325
|
if comparison is not None:
|
317
326
|
pulumi.set(__self__, "comparison", comparison)
|
@@ -354,7 +363,8 @@ class _InfraAlertConditionState:
|
|
354
363
|
@pulumi.getter
|
355
364
|
def comparison(self) -> Optional[pulumi.Input[str]]:
|
356
365
|
"""
|
357
|
-
The operator used to evaluate the threshold value.
|
366
|
+
The operator used to evaluate the threshold value. Valid values are above, below, and equal. Supported by the
|
367
|
+
infra_metric and infra_process_running condition types.
|
358
368
|
"""
|
359
369
|
return pulumi.get(self, "comparison")
|
360
370
|
|
@@ -378,7 +388,7 @@ class _InfraAlertConditionState:
|
|
378
388
|
@pulumi.getter
|
379
389
|
def critical(self) -> Optional[pulumi.Input['InfraAlertConditionCriticalArgs']]:
|
380
390
|
"""
|
381
|
-
Identifies the threshold parameters for opening a critical alert incident.
|
391
|
+
Identifies the threshold parameters for opening a critical alert incident.
|
382
392
|
"""
|
383
393
|
return pulumi.get(self, "critical")
|
384
394
|
|
@@ -402,7 +412,7 @@ class _InfraAlertConditionState:
|
|
402
412
|
@pulumi.getter
|
403
413
|
def enabled(self) -> Optional[pulumi.Input[bool]]:
|
404
414
|
"""
|
405
|
-
Whether the condition is turned on or off.
|
415
|
+
Whether the condition is turned on or off. Valid values are true and false. Defaults to true.
|
406
416
|
"""
|
407
417
|
return pulumi.get(self, "enabled")
|
408
418
|
|
@@ -426,7 +436,7 @@ class _InfraAlertConditionState:
|
|
426
436
|
@pulumi.getter
|
427
437
|
def event(self) -> Optional[pulumi.Input[str]]:
|
428
438
|
"""
|
429
|
-
The metric event; for example,
|
439
|
+
The metric event; for example, SystemSample or StorageSample. Supported by the infra_metric condition type.
|
430
440
|
"""
|
431
441
|
return pulumi.get(self, "event")
|
432
442
|
|
@@ -438,7 +448,7 @@ class _InfraAlertConditionState:
|
|
438
448
|
@pulumi.getter(name="integrationProvider")
|
439
449
|
def integration_provider(self) -> Optional[pulumi.Input[str]]:
|
440
450
|
"""
|
441
|
-
For alerts on integrations, use this instead of
|
451
|
+
For alerts on integrations, use this instead of event. Supported by the infra_metric condition type.
|
442
452
|
"""
|
443
453
|
return pulumi.get(self, "integration_provider")
|
444
454
|
|
@@ -474,7 +484,8 @@ class _InfraAlertConditionState:
|
|
474
484
|
@pulumi.getter(name="processWhere")
|
475
485
|
def process_where(self) -> Optional[pulumi.Input[str]]:
|
476
486
|
"""
|
477
|
-
Any filters applied to processes; for example:
|
487
|
+
Any filters applied to processes; for example: commandName = 'java'. Supported by the infra_process_running condition
|
488
|
+
type.
|
478
489
|
"""
|
479
490
|
return pulumi.get(self, "process_where")
|
480
491
|
|
@@ -498,7 +509,10 @@ class _InfraAlertConditionState:
|
|
498
509
|
@pulumi.getter
|
499
510
|
def select(self) -> Optional[pulumi.Input[str]]:
|
500
511
|
"""
|
501
|
-
The attribute name to identify the metric being targeted; for example,
|
512
|
+
The attribute name to identify the metric being targeted; for example, cpuPercent, diskFreePercent, or
|
513
|
+
memoryResidentSizeBytes. The underlying API will automatically populate this value for Infrastructure integrations (for
|
514
|
+
example diskFreePercent), so make sure to explicitly include this value to avoid diff issues. Supported by the
|
515
|
+
infra_metric condition type.
|
502
516
|
"""
|
503
517
|
return pulumi.get(self, "select")
|
504
518
|
|
@@ -510,7 +524,8 @@ class _InfraAlertConditionState:
|
|
510
524
|
@pulumi.getter
|
511
525
|
def type(self) -> Optional[pulumi.Input[str]]:
|
512
526
|
"""
|
513
|
-
The type of Infrastructure alert condition.
|
527
|
+
The type of Infrastructure alert condition. Valid values are infra_process_running, infra_metric, and
|
528
|
+
infra_host_not_reporting.
|
514
529
|
"""
|
515
530
|
return pulumi.get(self, "type")
|
516
531
|
|
@@ -534,11 +549,8 @@ class _InfraAlertConditionState:
|
|
534
549
|
@pulumi.getter(name="violationCloseTimer")
|
535
550
|
def violation_close_timer(self) -> Optional[pulumi.Input[int]]:
|
536
551
|
"""
|
537
|
-
Determines how much time will pass
|
538
|
-
|
539
|
-
```
|
540
|
-
Warning: This resource will use the account ID linked to your API key. At the moment it is not possible to dynamically set the account ID.
|
541
|
-
```
|
552
|
+
Determines how much time, in hours, will pass before an incident is automatically closed. Valid values are 1, 2, 4, 8,
|
553
|
+
12, 24, 48, or 72
|
542
554
|
"""
|
543
555
|
return pulumi.get(self, "violation_close_timer")
|
544
556
|
|
@@ -550,7 +562,7 @@ class _InfraAlertConditionState:
|
|
550
562
|
@pulumi.getter
|
551
563
|
def warning(self) -> Optional[pulumi.Input['InfraAlertConditionWarningArgs']]:
|
552
564
|
"""
|
553
|
-
Identifies the threshold parameters for opening a warning alert incident.
|
565
|
+
Identifies the threshold parameters for opening a warning alert incident.
|
554
566
|
"""
|
555
567
|
return pulumi.get(self, "warning")
|
556
568
|
|
@@ -562,7 +574,7 @@ class _InfraAlertConditionState:
|
|
562
574
|
@pulumi.getter
|
563
575
|
def where(self) -> Optional[pulumi.Input[str]]:
|
564
576
|
"""
|
565
|
-
If applicable, this identifies any Infrastructure host filters used; for example:
|
577
|
+
If applicable, this identifies any Infrastructure host filters used; for example: hostname LIKE '%cassandra%'.
|
566
578
|
"""
|
567
579
|
return pulumi.get(self, "where")
|
568
580
|
|
@@ -599,14 +611,14 @@ class InfraAlertCondition(pulumi.CustomResource):
|
|
599
611
|
|
600
612
|
## Example Usage
|
601
613
|
|
602
|
-
<!--Start PulumiCodeChooser -->
|
603
614
|
```python
|
604
615
|
import pulumi
|
605
616
|
import pulumi_newrelic as newrelic
|
606
617
|
|
607
|
-
foo = newrelic.AlertPolicy("foo")
|
608
|
-
high_disk_usage = newrelic.InfraAlertCondition("
|
618
|
+
foo = newrelic.AlertPolicy("foo", name="foo")
|
619
|
+
high_disk_usage = newrelic.InfraAlertCondition("high_disk_usage",
|
609
620
|
policy_id=foo.id,
|
621
|
+
name="High disk usage",
|
610
622
|
description="Warning if disk usage goes above 80% and critical alert if goes above 90%",
|
611
623
|
type="infra_metric",
|
612
624
|
event="StorageSample",
|
@@ -623,8 +635,9 @@ class InfraAlertCondition(pulumi.CustomResource):
|
|
623
635
|
value=80,
|
624
636
|
time_function="all",
|
625
637
|
))
|
626
|
-
high_db_conn_count = newrelic.InfraAlertCondition("
|
638
|
+
high_db_conn_count = newrelic.InfraAlertCondition("high_db_conn_count",
|
627
639
|
policy_id=foo.id,
|
640
|
+
name="High database connection count",
|
628
641
|
description="Critical alert when the number of database connections goes above 90",
|
629
642
|
type="infra_metric",
|
630
643
|
event="DatastoreSample",
|
@@ -637,8 +650,9 @@ class InfraAlertCondition(pulumi.CustomResource):
|
|
637
650
|
value=90,
|
638
651
|
time_function="all",
|
639
652
|
))
|
640
|
-
process_not_running = newrelic.InfraAlertCondition("
|
653
|
+
process_not_running = newrelic.InfraAlertCondition("process_not_running",
|
641
654
|
policy_id=foo.id,
|
655
|
+
name="Process not running (/usr/bin/ruby)",
|
642
656
|
description="Critical alert when ruby isn't running",
|
643
657
|
type="infra_process_running",
|
644
658
|
comparison="equal",
|
@@ -648,8 +662,9 @@ class InfraAlertCondition(pulumi.CustomResource):
|
|
648
662
|
duration=5,
|
649
663
|
value=0,
|
650
664
|
))
|
651
|
-
host_not_reporting = newrelic.InfraAlertCondition("
|
665
|
+
host_not_reporting = newrelic.InfraAlertCondition("host_not_reporting",
|
652
666
|
policy_id=foo.id,
|
667
|
+
name="Host not reporting",
|
653
668
|
description="Critical alert when the host is not reporting",
|
654
669
|
type="infra_host_not_reporting",
|
655
670
|
where="(hostname LIKE '%frontend%')",
|
@@ -657,7 +672,6 @@ class InfraAlertCondition(pulumi.CustomResource):
|
|
657
672
|
duration=5,
|
658
673
|
))
|
659
674
|
```
|
660
|
-
<!--End PulumiCodeChooser -->
|
661
675
|
|
662
676
|
## Thresholds
|
663
677
|
|
@@ -671,14 +685,14 @@ class InfraAlertCondition(pulumi.CustomResource):
|
|
671
685
|
|
672
686
|
Manage infra alert condition tags with `EntityTags`. For up-to-date documentation about the tagging resource, please check EntityTags
|
673
687
|
|
674
|
-
<!--Start PulumiCodeChooser -->
|
675
688
|
```python
|
676
689
|
import pulumi
|
677
690
|
import pulumi_newrelic as newrelic
|
678
691
|
|
679
|
-
|
680
|
-
foo_infra_alert_condition = newrelic.InfraAlertCondition("
|
681
|
-
policy_id=
|
692
|
+
foo = newrelic.AlertPolicy("foo", name="foo policy")
|
693
|
+
foo_infra_alert_condition = newrelic.InfraAlertCondition("foo",
|
694
|
+
policy_id=foo.id,
|
695
|
+
name="foo infra condition",
|
682
696
|
description="Warning if disk usage goes above 80% and critical alert if goes above 90%",
|
683
697
|
type="infra_metric",
|
684
698
|
event="StorageSample",
|
@@ -695,7 +709,7 @@ class InfraAlertCondition(pulumi.CustomResource):
|
|
695
709
|
value=80,
|
696
710
|
time_function="all",
|
697
711
|
))
|
698
|
-
my_condition_entity_tags = newrelic.EntityTags("
|
712
|
+
my_condition_entity_tags = newrelic.EntityTags("my_condition_entity_tags",
|
699
713
|
guid=foo_infra_alert_condition.entity_guid,
|
700
714
|
tags=[
|
701
715
|
newrelic.EntityTagsTagArgs(
|
@@ -711,7 +725,6 @@ class InfraAlertCondition(pulumi.CustomResource):
|
|
711
725
|
),
|
712
726
|
])
|
713
727
|
```
|
714
|
-
<!--End PulumiCodeChooser -->
|
715
728
|
|
716
729
|
## Import
|
717
730
|
|
@@ -723,25 +736,28 @@ class InfraAlertCondition(pulumi.CustomResource):
|
|
723
736
|
|
724
737
|
:param str resource_name: The name of the resource.
|
725
738
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
726
|
-
:param pulumi.Input[str] comparison: The operator used to evaluate the threshold value.
|
727
|
-
|
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.
|
728
742
|
:param pulumi.Input[str] description: The description of the Infrastructure alert condition.
|
729
|
-
:param pulumi.Input[bool] enabled: Whether the condition is turned on or off.
|
730
|
-
:param pulumi.Input[str] event: The metric event; for example,
|
731
|
-
:param pulumi.Input[str] integration_provider: For alerts on integrations, use this instead of
|
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.
|
732
746
|
:param pulumi.Input[str] name: The Infrastructure alert condition's name.
|
733
747
|
:param pulumi.Input[int] policy_id: The ID of the alert policy where this condition should be used.
|
734
|
-
:param pulumi.Input[str] process_where: Any filters applied to processes; for example:
|
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
750
|
:param pulumi.Input[str] runbook_url: Runbook URL to display in notifications.
|
736
|
-
:param pulumi.Input[str] select: The attribute name to identify the metric being targeted; for example,
|
737
|
-
|
738
|
-
|
739
|
-
|
740
|
-
|
741
|
-
|
742
|
-
|
743
|
-
|
744
|
-
:param pulumi.Input[
|
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%'.
|
745
761
|
"""
|
746
762
|
...
|
747
763
|
@overload
|
@@ -756,14 +772,14 @@ class InfraAlertCondition(pulumi.CustomResource):
|
|
756
772
|
|
757
773
|
## Example Usage
|
758
774
|
|
759
|
-
<!--Start PulumiCodeChooser -->
|
760
775
|
```python
|
761
776
|
import pulumi
|
762
777
|
import pulumi_newrelic as newrelic
|
763
778
|
|
764
|
-
foo = newrelic.AlertPolicy("foo")
|
765
|
-
high_disk_usage = newrelic.InfraAlertCondition("
|
779
|
+
foo = newrelic.AlertPolicy("foo", name="foo")
|
780
|
+
high_disk_usage = newrelic.InfraAlertCondition("high_disk_usage",
|
766
781
|
policy_id=foo.id,
|
782
|
+
name="High disk usage",
|
767
783
|
description="Warning if disk usage goes above 80% and critical alert if goes above 90%",
|
768
784
|
type="infra_metric",
|
769
785
|
event="StorageSample",
|
@@ -780,8 +796,9 @@ class InfraAlertCondition(pulumi.CustomResource):
|
|
780
796
|
value=80,
|
781
797
|
time_function="all",
|
782
798
|
))
|
783
|
-
high_db_conn_count = newrelic.InfraAlertCondition("
|
799
|
+
high_db_conn_count = newrelic.InfraAlertCondition("high_db_conn_count",
|
784
800
|
policy_id=foo.id,
|
801
|
+
name="High database connection count",
|
785
802
|
description="Critical alert when the number of database connections goes above 90",
|
786
803
|
type="infra_metric",
|
787
804
|
event="DatastoreSample",
|
@@ -794,8 +811,9 @@ class InfraAlertCondition(pulumi.CustomResource):
|
|
794
811
|
value=90,
|
795
812
|
time_function="all",
|
796
813
|
))
|
797
|
-
process_not_running = newrelic.InfraAlertCondition("
|
814
|
+
process_not_running = newrelic.InfraAlertCondition("process_not_running",
|
798
815
|
policy_id=foo.id,
|
816
|
+
name="Process not running (/usr/bin/ruby)",
|
799
817
|
description="Critical alert when ruby isn't running",
|
800
818
|
type="infra_process_running",
|
801
819
|
comparison="equal",
|
@@ -805,8 +823,9 @@ class InfraAlertCondition(pulumi.CustomResource):
|
|
805
823
|
duration=5,
|
806
824
|
value=0,
|
807
825
|
))
|
808
|
-
host_not_reporting = newrelic.InfraAlertCondition("
|
826
|
+
host_not_reporting = newrelic.InfraAlertCondition("host_not_reporting",
|
809
827
|
policy_id=foo.id,
|
828
|
+
name="Host not reporting",
|
810
829
|
description="Critical alert when the host is not reporting",
|
811
830
|
type="infra_host_not_reporting",
|
812
831
|
where="(hostname LIKE '%frontend%')",
|
@@ -814,7 +833,6 @@ class InfraAlertCondition(pulumi.CustomResource):
|
|
814
833
|
duration=5,
|
815
834
|
))
|
816
835
|
```
|
817
|
-
<!--End PulumiCodeChooser -->
|
818
836
|
|
819
837
|
## Thresholds
|
820
838
|
|
@@ -828,14 +846,14 @@ class InfraAlertCondition(pulumi.CustomResource):
|
|
828
846
|
|
829
847
|
Manage infra alert condition tags with `EntityTags`. For up-to-date documentation about the tagging resource, please check EntityTags
|
830
848
|
|
831
|
-
<!--Start PulumiCodeChooser -->
|
832
849
|
```python
|
833
850
|
import pulumi
|
834
851
|
import pulumi_newrelic as newrelic
|
835
852
|
|
836
|
-
|
837
|
-
foo_infra_alert_condition = newrelic.InfraAlertCondition("
|
838
|
-
policy_id=
|
853
|
+
foo = newrelic.AlertPolicy("foo", name="foo policy")
|
854
|
+
foo_infra_alert_condition = newrelic.InfraAlertCondition("foo",
|
855
|
+
policy_id=foo.id,
|
856
|
+
name="foo infra condition",
|
839
857
|
description="Warning if disk usage goes above 80% and critical alert if goes above 90%",
|
840
858
|
type="infra_metric",
|
841
859
|
event="StorageSample",
|
@@ -852,7 +870,7 @@ class InfraAlertCondition(pulumi.CustomResource):
|
|
852
870
|
value=80,
|
853
871
|
time_function="all",
|
854
872
|
))
|
855
|
-
my_condition_entity_tags = newrelic.EntityTags("
|
873
|
+
my_condition_entity_tags = newrelic.EntityTags("my_condition_entity_tags",
|
856
874
|
guid=foo_infra_alert_condition.entity_guid,
|
857
875
|
tags=[
|
858
876
|
newrelic.EntityTagsTagArgs(
|
@@ -868,7 +886,6 @@ class InfraAlertCondition(pulumi.CustomResource):
|
|
868
886
|
),
|
869
887
|
])
|
870
888
|
```
|
871
|
-
<!--End PulumiCodeChooser -->
|
872
889
|
|
873
890
|
## Import
|
874
891
|
|
@@ -974,28 +991,31 @@ class InfraAlertCondition(pulumi.CustomResource):
|
|
974
991
|
:param str resource_name: The unique name of the resulting resource.
|
975
992
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
976
993
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
977
|
-
:param pulumi.Input[str] comparison: The operator used to evaluate the threshold value.
|
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.
|
978
996
|
:param pulumi.Input[int] created_at: The timestamp the alert condition was created.
|
979
|
-
:param pulumi.Input[pulumi.InputType['InfraAlertConditionCriticalArgs']] critical: Identifies the threshold parameters for opening a critical alert incident.
|
997
|
+
:param pulumi.Input[pulumi.InputType['InfraAlertConditionCriticalArgs']] critical: Identifies the threshold parameters for opening a critical alert incident.
|
980
998
|
:param pulumi.Input[str] description: The description of the Infrastructure alert condition.
|
981
|
-
:param pulumi.Input[bool] enabled: Whether the condition is turned on or off.
|
999
|
+
:param pulumi.Input[bool] enabled: Whether the condition is turned on or off. Valid values are true and false. Defaults to true.
|
982
1000
|
:param pulumi.Input[str] entity_guid: The unique entity identifier of the condition in New Relic.
|
983
|
-
:param pulumi.Input[str] event: The metric event; for example,
|
984
|
-
:param pulumi.Input[str] integration_provider: For alerts on integrations, use this instead of
|
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
1003
|
:param pulumi.Input[str] name: The Infrastructure alert condition's name.
|
986
1004
|
:param pulumi.Input[int] policy_id: The ID of the alert policy where this condition should be used.
|
987
|
-
:param pulumi.Input[str] process_where: Any filters applied to processes; for example:
|
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.
|
988
1007
|
:param pulumi.Input[str] runbook_url: Runbook URL to display in notifications.
|
989
|
-
:param pulumi.Input[str] select: The attribute name to identify the metric being targeted; for example,
|
990
|
-
|
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
1014
|
:param pulumi.Input[int] updated_at: The timestamp the alert condition was last updated.
|
992
|
-
:param pulumi.Input[int] violation_close_timer: Determines how much time will pass
|
993
|
-
|
994
|
-
|
995
|
-
|
996
|
-
```
|
997
|
-
:param pulumi.Input[pulumi.InputType['InfraAlertConditionWarningArgs']] warning: Identifies the threshold parameters for opening a warning alert incident. See Thresholds below for details.
|
998
|
-
:param pulumi.Input[str] where: If applicable, this identifies any Infrastructure host filters used; for example: `hostname LIKE '%cassandra%'`.
|
1015
|
+
:param pulumi.Input[int] violation_close_timer: Determines how much time, in hours, will pass before an incident is automatically closed. Valid values are 1, 2, 4, 8,
|
1016
|
+
12, 24, 48, or 72
|
1017
|
+
:param pulumi.Input[pulumi.InputType['InfraAlertConditionWarningArgs']] warning: Identifies the threshold parameters for opening a warning alert incident.
|
1018
|
+
:param pulumi.Input[str] where: If applicable, this identifies any Infrastructure host filters used; for example: hostname LIKE '%cassandra%'.
|
999
1019
|
"""
|
1000
1020
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
1001
1021
|
|
@@ -1025,7 +1045,8 @@ class InfraAlertCondition(pulumi.CustomResource):
|
|
1025
1045
|
@pulumi.getter
|
1026
1046
|
def comparison(self) -> pulumi.Output[Optional[str]]:
|
1027
1047
|
"""
|
1028
|
-
The operator used to evaluate the threshold value.
|
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.
|
1029
1050
|
"""
|
1030
1051
|
return pulumi.get(self, "comparison")
|
1031
1052
|
|
@@ -1041,7 +1062,7 @@ class InfraAlertCondition(pulumi.CustomResource):
|
|
1041
1062
|
@pulumi.getter
|
1042
1063
|
def critical(self) -> pulumi.Output[Optional['outputs.InfraAlertConditionCritical']]:
|
1043
1064
|
"""
|
1044
|
-
Identifies the threshold parameters for opening a critical alert incident.
|
1065
|
+
Identifies the threshold parameters for opening a critical alert incident.
|
1045
1066
|
"""
|
1046
1067
|
return pulumi.get(self, "critical")
|
1047
1068
|
|
@@ -1057,7 +1078,7 @@ class InfraAlertCondition(pulumi.CustomResource):
|
|
1057
1078
|
@pulumi.getter
|
1058
1079
|
def enabled(self) -> pulumi.Output[Optional[bool]]:
|
1059
1080
|
"""
|
1060
|
-
Whether the condition is turned on or off.
|
1081
|
+
Whether the condition is turned on or off. Valid values are true and false. Defaults to true.
|
1061
1082
|
"""
|
1062
1083
|
return pulumi.get(self, "enabled")
|
1063
1084
|
|
@@ -1073,7 +1094,7 @@ class InfraAlertCondition(pulumi.CustomResource):
|
|
1073
1094
|
@pulumi.getter
|
1074
1095
|
def event(self) -> pulumi.Output[str]:
|
1075
1096
|
"""
|
1076
|
-
The metric event; for example,
|
1097
|
+
The metric event; for example, SystemSample or StorageSample. Supported by the infra_metric condition type.
|
1077
1098
|
"""
|
1078
1099
|
return pulumi.get(self, "event")
|
1079
1100
|
|
@@ -1081,7 +1102,7 @@ class InfraAlertCondition(pulumi.CustomResource):
|
|
1081
1102
|
@pulumi.getter(name="integrationProvider")
|
1082
1103
|
def integration_provider(self) -> pulumi.Output[Optional[str]]:
|
1083
1104
|
"""
|
1084
|
-
For alerts on integrations, use this instead of
|
1105
|
+
For alerts on integrations, use this instead of event. Supported by the infra_metric condition type.
|
1085
1106
|
"""
|
1086
1107
|
return pulumi.get(self, "integration_provider")
|
1087
1108
|
|
@@ -1105,7 +1126,8 @@ class InfraAlertCondition(pulumi.CustomResource):
|
|
1105
1126
|
@pulumi.getter(name="processWhere")
|
1106
1127
|
def process_where(self) -> pulumi.Output[Optional[str]]:
|
1107
1128
|
"""
|
1108
|
-
Any filters applied to processes; for example:
|
1129
|
+
Any filters applied to processes; for example: commandName = 'java'. Supported by the infra_process_running condition
|
1130
|
+
type.
|
1109
1131
|
"""
|
1110
1132
|
return pulumi.get(self, "process_where")
|
1111
1133
|
|
@@ -1121,7 +1143,10 @@ class InfraAlertCondition(pulumi.CustomResource):
|
|
1121
1143
|
@pulumi.getter
|
1122
1144
|
def select(self) -> pulumi.Output[Optional[str]]:
|
1123
1145
|
"""
|
1124
|
-
The attribute name to identify the metric being targeted; for example,
|
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.
|
1125
1150
|
"""
|
1126
1151
|
return pulumi.get(self, "select")
|
1127
1152
|
|
@@ -1129,7 +1154,8 @@ class InfraAlertCondition(pulumi.CustomResource):
|
|
1129
1154
|
@pulumi.getter
|
1130
1155
|
def type(self) -> pulumi.Output[str]:
|
1131
1156
|
"""
|
1132
|
-
The type of Infrastructure alert condition.
|
1157
|
+
The type of Infrastructure alert condition. Valid values are infra_process_running, infra_metric, and
|
1158
|
+
infra_host_not_reporting.
|
1133
1159
|
"""
|
1134
1160
|
return pulumi.get(self, "type")
|
1135
1161
|
|
@@ -1145,11 +1171,8 @@ class InfraAlertCondition(pulumi.CustomResource):
|
|
1145
1171
|
@pulumi.getter(name="violationCloseTimer")
|
1146
1172
|
def violation_close_timer(self) -> pulumi.Output[Optional[int]]:
|
1147
1173
|
"""
|
1148
|
-
Determines how much time will pass
|
1149
|
-
|
1150
|
-
```
|
1151
|
-
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.
|
1152
|
-
```
|
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
|
1153
1176
|
"""
|
1154
1177
|
return pulumi.get(self, "violation_close_timer")
|
1155
1178
|
|
@@ -1157,7 +1180,7 @@ class InfraAlertCondition(pulumi.CustomResource):
|
|
1157
1180
|
@pulumi.getter
|
1158
1181
|
def warning(self) -> pulumi.Output[Optional['outputs.InfraAlertConditionWarning']]:
|
1159
1182
|
"""
|
1160
|
-
Identifies the threshold parameters for opening a warning alert incident.
|
1183
|
+
Identifies the threshold parameters for opening a warning alert incident.
|
1161
1184
|
"""
|
1162
1185
|
return pulumi.get(self, "warning")
|
1163
1186
|
|
@@ -1165,7 +1188,7 @@ class InfraAlertCondition(pulumi.CustomResource):
|
|
1165
1188
|
@pulumi.getter
|
1166
1189
|
def where(self) -> pulumi.Output[Optional[str]]:
|
1167
1190
|
"""
|
1168
|
-
If applicable, this identifies any Infrastructure host filters used; for example:
|
1191
|
+
If applicable, this identifies any Infrastructure host filters used; for example: hostname LIKE '%cassandra%'.
|
1169
1192
|
"""
|
1170
1193
|
return pulumi.get(self, "where")
|
1171
1194
|
|