pulumi-newrelic 5.29.0a1723454189__py3-none-any.whl → 5.29.0a1723536931__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.
@@ -32,11 +32,13 @@ class NrqlAlertConditionArgs:
32
32
  expiration_duration: Optional[pulumi.Input[int]] = None,
33
33
  fill_option: Optional[pulumi.Input[str]] = None,
34
34
  fill_value: Optional[pulumi.Input[float]] = None,
35
+ ignore_on_expected_termination: Optional[pulumi.Input[bool]] = None,
35
36
  name: Optional[pulumi.Input[str]] = None,
36
37
  open_violation_on_expiration: Optional[pulumi.Input[bool]] = None,
37
38
  runbook_url: Optional[pulumi.Input[str]] = None,
38
39
  slide_by: Optional[pulumi.Input[int]] = None,
39
40
  terms: Optional[pulumi.Input[Sequence[pulumi.Input['NrqlAlertConditionTermArgs']]]] = None,
41
+ title_template: Optional[pulumi.Input[str]] = None,
40
42
  type: Optional[pulumi.Input[str]] = None,
41
43
  violation_time_limit: Optional[pulumi.Input[str]] = None,
42
44
  violation_time_limit_seconds: Optional[pulumi.Input[int]] = None,
@@ -59,11 +61,13 @@ class NrqlAlertConditionArgs:
59
61
  :param pulumi.Input[int] expiration_duration: The amount of time (in seconds) to wait before considering the signal expired. The value must be at least 30 seconds, and no more than 172800 seconds (48 hours).
60
62
  :param pulumi.Input[str] fill_option: Which strategy to use when filling gaps in the signal. Possible values are `none`, `last_value` or `static`. If `static`, the `fill_value` field will be used for filling gaps in the signal.
61
63
  :param pulumi.Input[float] fill_value: This value will be used for filling gaps in the signal.
64
+ :param pulumi.Input[bool] ignore_on_expected_termination: Whether an alert condition should ignore expected termination of a signal when considering whether to create a loss of signal incident. Defaults to false.
62
65
  :param pulumi.Input[str] name: The title of the condition.
63
66
  :param pulumi.Input[bool] open_violation_on_expiration: Whether to create a new incident to capture that the signal expired.
64
67
  :param pulumi.Input[str] runbook_url: Runbook URL to display in notifications.
65
68
  :param pulumi.Input[int] slide_by: Gathers data in overlapping time windows to smooth the chart line, making it easier to spot trends. The `slide_by` value is specified in seconds and must be smaller than and a factor of the `aggregation_window`.
66
69
  :param pulumi.Input[Sequence[pulumi.Input['NrqlAlertConditionTermArgs']]] terms: **DEPRECATED** Use `critical`, and `warning` instead. A list of terms for this condition. See Terms below for details.
70
+ :param pulumi.Input[str] title_template: The custom title to be used when incidents are opened by the condition. Setting this field will override the default title. Must be [Handlebars](https://handlebarsjs.com/) format.
67
71
  :param pulumi.Input[str] type: The type of the condition. Valid values are `static` or `baseline`. Defaults to `static`.
68
72
  :param pulumi.Input[str] violation_time_limit: **DEPRECATED:** Use `violation_time_limit_seconds` instead. Sets a time limit, in hours, that will automatically force-close a long-lasting incident after the time limit you select. Possible values are `ONE_HOUR`, `TWO_HOURS`, `FOUR_HOURS`, `EIGHT_HOURS`, `TWELVE_HOURS`, `TWENTY_FOUR_HOURS`, `THIRTY_DAYS` (case insensitive).<br>
69
73
  <small>\\***Note**: One of `violation_time_limit` _or_ `violation_time_limit_seconds` must be set, but not both.</small>
@@ -101,6 +105,8 @@ class NrqlAlertConditionArgs:
101
105
  pulumi.set(__self__, "fill_option", fill_option)
102
106
  if fill_value is not None:
103
107
  pulumi.set(__self__, "fill_value", fill_value)
108
+ if ignore_on_expected_termination is not None:
109
+ pulumi.set(__self__, "ignore_on_expected_termination", ignore_on_expected_termination)
104
110
  if name is not None:
105
111
  pulumi.set(__self__, "name", name)
106
112
  if open_violation_on_expiration is not None:
@@ -114,6 +120,8 @@ class NrqlAlertConditionArgs:
114
120
  pulumi.log.warn("""terms is deprecated: use `critical` and `warning` attributes instead""")
115
121
  if terms is not None:
116
122
  pulumi.set(__self__, "terms", terms)
123
+ if title_template is not None:
124
+ pulumi.set(__self__, "title_template", title_template)
117
125
  if type is not None:
118
126
  pulumi.set(__self__, "type", type)
119
127
  if violation_time_limit is not None:
@@ -318,6 +326,18 @@ class NrqlAlertConditionArgs:
318
326
  def fill_value(self, value: Optional[pulumi.Input[float]]):
319
327
  pulumi.set(self, "fill_value", value)
320
328
 
329
+ @property
330
+ @pulumi.getter(name="ignoreOnExpectedTermination")
331
+ def ignore_on_expected_termination(self) -> Optional[pulumi.Input[bool]]:
332
+ """
333
+ Whether an alert condition should ignore expected termination of a signal when considering whether to create a loss of signal incident. Defaults to false.
334
+ """
335
+ return pulumi.get(self, "ignore_on_expected_termination")
336
+
337
+ @ignore_on_expected_termination.setter
338
+ def ignore_on_expected_termination(self, value: Optional[pulumi.Input[bool]]):
339
+ pulumi.set(self, "ignore_on_expected_termination", value)
340
+
321
341
  @property
322
342
  @pulumi.getter
323
343
  def name(self) -> Optional[pulumi.Input[str]]:
@@ -379,6 +399,18 @@ class NrqlAlertConditionArgs:
379
399
  def terms(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['NrqlAlertConditionTermArgs']]]]):
380
400
  pulumi.set(self, "terms", value)
381
401
 
402
+ @property
403
+ @pulumi.getter(name="titleTemplate")
404
+ def title_template(self) -> Optional[pulumi.Input[str]]:
405
+ """
406
+ The custom title to be used when incidents are opened by the condition. Setting this field will override the default title. Must be [Handlebars](https://handlebarsjs.com/) format.
407
+ """
408
+ return pulumi.get(self, "title_template")
409
+
410
+ @title_template.setter
411
+ def title_template(self, value: Optional[pulumi.Input[str]]):
412
+ pulumi.set(self, "title_template", value)
413
+
382
414
  @property
383
415
  @pulumi.getter
384
416
  def type(self) -> Optional[pulumi.Input[str]]:
@@ -449,6 +481,7 @@ class _NrqlAlertConditionState:
449
481
  expiration_duration: Optional[pulumi.Input[int]] = None,
450
482
  fill_option: Optional[pulumi.Input[str]] = None,
451
483
  fill_value: Optional[pulumi.Input[float]] = None,
484
+ ignore_on_expected_termination: Optional[pulumi.Input[bool]] = None,
452
485
  name: Optional[pulumi.Input[str]] = None,
453
486
  nrql: Optional[pulumi.Input['NrqlAlertConditionNrqlArgs']] = None,
454
487
  open_violation_on_expiration: Optional[pulumi.Input[bool]] = None,
@@ -456,6 +489,7 @@ class _NrqlAlertConditionState:
456
489
  runbook_url: Optional[pulumi.Input[str]] = None,
457
490
  slide_by: Optional[pulumi.Input[int]] = None,
458
491
  terms: Optional[pulumi.Input[Sequence[pulumi.Input['NrqlAlertConditionTermArgs']]]] = None,
492
+ title_template: Optional[pulumi.Input[str]] = None,
459
493
  type: Optional[pulumi.Input[str]] = None,
460
494
  violation_time_limit: Optional[pulumi.Input[str]] = None,
461
495
  violation_time_limit_seconds: Optional[pulumi.Input[int]] = None,
@@ -477,6 +511,7 @@ class _NrqlAlertConditionState:
477
511
  :param pulumi.Input[int] expiration_duration: The amount of time (in seconds) to wait before considering the signal expired. The value must be at least 30 seconds, and no more than 172800 seconds (48 hours).
478
512
  :param pulumi.Input[str] fill_option: Which strategy to use when filling gaps in the signal. Possible values are `none`, `last_value` or `static`. If `static`, the `fill_value` field will be used for filling gaps in the signal.
479
513
  :param pulumi.Input[float] fill_value: This value will be used for filling gaps in the signal.
514
+ :param pulumi.Input[bool] ignore_on_expected_termination: Whether an alert condition should ignore expected termination of a signal when considering whether to create a loss of signal incident. Defaults to false.
480
515
  :param pulumi.Input[str] name: The title of the condition.
481
516
  :param pulumi.Input['NrqlAlertConditionNrqlArgs'] nrql: A NRQL query. See NRQL below for details.
482
517
  :param pulumi.Input[bool] open_violation_on_expiration: Whether to create a new incident to capture that the signal expired.
@@ -484,6 +519,7 @@ class _NrqlAlertConditionState:
484
519
  :param pulumi.Input[str] runbook_url: Runbook URL to display in notifications.
485
520
  :param pulumi.Input[int] slide_by: Gathers data in overlapping time windows to smooth the chart line, making it easier to spot trends. The `slide_by` value is specified in seconds and must be smaller than and a factor of the `aggregation_window`.
486
521
  :param pulumi.Input[Sequence[pulumi.Input['NrqlAlertConditionTermArgs']]] terms: **DEPRECATED** Use `critical`, and `warning` instead. A list of terms for this condition. See Terms below for details.
522
+ :param pulumi.Input[str] title_template: The custom title to be used when incidents are opened by the condition. Setting this field will override the default title. Must be [Handlebars](https://handlebarsjs.com/) format.
487
523
  :param pulumi.Input[str] type: The type of the condition. Valid values are `static` or `baseline`. Defaults to `static`.
488
524
  :param pulumi.Input[str] violation_time_limit: **DEPRECATED:** Use `violation_time_limit_seconds` instead. Sets a time limit, in hours, that will automatically force-close a long-lasting incident after the time limit you select. Possible values are `ONE_HOUR`, `TWO_HOURS`, `FOUR_HOURS`, `EIGHT_HOURS`, `TWELVE_HOURS`, `TWENTY_FOUR_HOURS`, `THIRTY_DAYS` (case insensitive).<br>
489
525
  <small>\\***Note**: One of `violation_time_limit` _or_ `violation_time_limit_seconds` must be set, but not both.</small>
@@ -521,6 +557,8 @@ class _NrqlAlertConditionState:
521
557
  pulumi.set(__self__, "fill_option", fill_option)
522
558
  if fill_value is not None:
523
559
  pulumi.set(__self__, "fill_value", fill_value)
560
+ if ignore_on_expected_termination is not None:
561
+ pulumi.set(__self__, "ignore_on_expected_termination", ignore_on_expected_termination)
524
562
  if name is not None:
525
563
  pulumi.set(__self__, "name", name)
526
564
  if nrql is not None:
@@ -538,6 +576,8 @@ class _NrqlAlertConditionState:
538
576
  pulumi.log.warn("""terms is deprecated: use `critical` and `warning` attributes instead""")
539
577
  if terms is not None:
540
578
  pulumi.set(__self__, "terms", terms)
579
+ if title_template is not None:
580
+ pulumi.set(__self__, "title_template", title_template)
541
581
  if type is not None:
542
582
  pulumi.set(__self__, "type", type)
543
583
  if violation_time_limit is not None:
@@ -730,6 +770,18 @@ class _NrqlAlertConditionState:
730
770
  def fill_value(self, value: Optional[pulumi.Input[float]]):
731
771
  pulumi.set(self, "fill_value", value)
732
772
 
773
+ @property
774
+ @pulumi.getter(name="ignoreOnExpectedTermination")
775
+ def ignore_on_expected_termination(self) -> Optional[pulumi.Input[bool]]:
776
+ """
777
+ Whether an alert condition should ignore expected termination of a signal when considering whether to create a loss of signal incident. Defaults to false.
778
+ """
779
+ return pulumi.get(self, "ignore_on_expected_termination")
780
+
781
+ @ignore_on_expected_termination.setter
782
+ def ignore_on_expected_termination(self, value: Optional[pulumi.Input[bool]]):
783
+ pulumi.set(self, "ignore_on_expected_termination", value)
784
+
733
785
  @property
734
786
  @pulumi.getter
735
787
  def name(self) -> Optional[pulumi.Input[str]]:
@@ -815,6 +867,18 @@ class _NrqlAlertConditionState:
815
867
  def terms(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['NrqlAlertConditionTermArgs']]]]):
816
868
  pulumi.set(self, "terms", value)
817
869
 
870
+ @property
871
+ @pulumi.getter(name="titleTemplate")
872
+ def title_template(self) -> Optional[pulumi.Input[str]]:
873
+ """
874
+ The custom title to be used when incidents are opened by the condition. Setting this field will override the default title. Must be [Handlebars](https://handlebarsjs.com/) format.
875
+ """
876
+ return pulumi.get(self, "title_template")
877
+
878
+ @title_template.setter
879
+ def title_template(self, value: Optional[pulumi.Input[str]]):
880
+ pulumi.set(self, "title_template", value)
881
+
818
882
  @property
819
883
  @pulumi.getter
820
884
  def type(self) -> Optional[pulumi.Input[str]]:
@@ -886,6 +950,7 @@ class NrqlAlertCondition(pulumi.CustomResource):
886
950
  expiration_duration: Optional[pulumi.Input[int]] = None,
887
951
  fill_option: Optional[pulumi.Input[str]] = None,
888
952
  fill_value: Optional[pulumi.Input[float]] = None,
953
+ ignore_on_expected_termination: Optional[pulumi.Input[bool]] = None,
889
954
  name: Optional[pulumi.Input[str]] = None,
890
955
  nrql: Optional[pulumi.Input[Union['NrqlAlertConditionNrqlArgs', 'NrqlAlertConditionNrqlArgsDict']]] = None,
891
956
  open_violation_on_expiration: Optional[pulumi.Input[bool]] = None,
@@ -893,6 +958,7 @@ class NrqlAlertCondition(pulumi.CustomResource):
893
958
  runbook_url: Optional[pulumi.Input[str]] = None,
894
959
  slide_by: Optional[pulumi.Input[int]] = None,
895
960
  terms: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NrqlAlertConditionTermArgs', 'NrqlAlertConditionTermArgsDict']]]]] = None,
961
+ title_template: Optional[pulumi.Input[str]] = None,
896
962
  type: Optional[pulumi.Input[str]] = None,
897
963
  violation_time_limit: Optional[pulumi.Input[str]] = None,
898
964
  violation_time_limit_seconds: Optional[pulumi.Input[int]] = None,
@@ -916,6 +982,7 @@ class NrqlAlertCondition(pulumi.CustomResource):
916
982
  type="static",
917
983
  name="foo",
918
984
  description="Alert when transactions are taking too long",
985
+ title_template="Issue in environment: {{ json accumulations.tag.environment }}",
919
986
  runbook_url="https://www.example.com",
920
987
  enabled=True,
921
988
  violation_time_limit_seconds=3600,
@@ -927,6 +994,7 @@ class NrqlAlertCondition(pulumi.CustomResource):
927
994
  expiration_duration=120,
928
995
  open_violation_on_expiration=True,
929
996
  close_violations_on_expiration=True,
997
+ ignore_on_expected_termination=True,
930
998
  slide_by=30,
931
999
  nrql={
932
1000
  "query": "SELECT average(duration) FROM Transaction where appName = 'Your App'",
@@ -1173,6 +1241,7 @@ class NrqlAlertCondition(pulumi.CustomResource):
1173
1241
  :param pulumi.Input[int] expiration_duration: The amount of time (in seconds) to wait before considering the signal expired. The value must be at least 30 seconds, and no more than 172800 seconds (48 hours).
1174
1242
  :param pulumi.Input[str] fill_option: Which strategy to use when filling gaps in the signal. Possible values are `none`, `last_value` or `static`. If `static`, the `fill_value` field will be used for filling gaps in the signal.
1175
1243
  :param pulumi.Input[float] fill_value: This value will be used for filling gaps in the signal.
1244
+ :param pulumi.Input[bool] ignore_on_expected_termination: Whether an alert condition should ignore expected termination of a signal when considering whether to create a loss of signal incident. Defaults to false.
1176
1245
  :param pulumi.Input[str] name: The title of the condition.
1177
1246
  :param pulumi.Input[Union['NrqlAlertConditionNrqlArgs', 'NrqlAlertConditionNrqlArgsDict']] nrql: A NRQL query. See NRQL below for details.
1178
1247
  :param pulumi.Input[bool] open_violation_on_expiration: Whether to create a new incident to capture that the signal expired.
@@ -1180,6 +1249,7 @@ class NrqlAlertCondition(pulumi.CustomResource):
1180
1249
  :param pulumi.Input[str] runbook_url: Runbook URL to display in notifications.
1181
1250
  :param pulumi.Input[int] slide_by: Gathers data in overlapping time windows to smooth the chart line, making it easier to spot trends. The `slide_by` value is specified in seconds and must be smaller than and a factor of the `aggregation_window`.
1182
1251
  :param pulumi.Input[Sequence[pulumi.Input[Union['NrqlAlertConditionTermArgs', 'NrqlAlertConditionTermArgsDict']]]] terms: **DEPRECATED** Use `critical`, and `warning` instead. A list of terms for this condition. See Terms below for details.
1252
+ :param pulumi.Input[str] title_template: The custom title to be used when incidents are opened by the condition. Setting this field will override the default title. Must be [Handlebars](https://handlebarsjs.com/) format.
1183
1253
  :param pulumi.Input[str] type: The type of the condition. Valid values are `static` or `baseline`. Defaults to `static`.
1184
1254
  :param pulumi.Input[str] violation_time_limit: **DEPRECATED:** Use `violation_time_limit_seconds` instead. Sets a time limit, in hours, that will automatically force-close a long-lasting incident after the time limit you select. Possible values are `ONE_HOUR`, `TWO_HOURS`, `FOUR_HOURS`, `EIGHT_HOURS`, `TWELVE_HOURS`, `TWENTY_FOUR_HOURS`, `THIRTY_DAYS` (case insensitive).<br>
1185
1255
  <small>\\***Note**: One of `violation_time_limit` _or_ `violation_time_limit_seconds` must be set, but not both.</small>
@@ -1211,6 +1281,7 @@ class NrqlAlertCondition(pulumi.CustomResource):
1211
1281
  type="static",
1212
1282
  name="foo",
1213
1283
  description="Alert when transactions are taking too long",
1284
+ title_template="Issue in environment: {{ json accumulations.tag.environment }}",
1214
1285
  runbook_url="https://www.example.com",
1215
1286
  enabled=True,
1216
1287
  violation_time_limit_seconds=3600,
@@ -1222,6 +1293,7 @@ class NrqlAlertCondition(pulumi.CustomResource):
1222
1293
  expiration_duration=120,
1223
1294
  open_violation_on_expiration=True,
1224
1295
  close_violations_on_expiration=True,
1296
+ ignore_on_expected_termination=True,
1225
1297
  slide_by=30,
1226
1298
  nrql={
1227
1299
  "query": "SELECT average(duration) FROM Transaction where appName = 'Your App'",
@@ -1481,6 +1553,7 @@ class NrqlAlertCondition(pulumi.CustomResource):
1481
1553
  expiration_duration: Optional[pulumi.Input[int]] = None,
1482
1554
  fill_option: Optional[pulumi.Input[str]] = None,
1483
1555
  fill_value: Optional[pulumi.Input[float]] = None,
1556
+ ignore_on_expected_termination: Optional[pulumi.Input[bool]] = None,
1484
1557
  name: Optional[pulumi.Input[str]] = None,
1485
1558
  nrql: Optional[pulumi.Input[Union['NrqlAlertConditionNrqlArgs', 'NrqlAlertConditionNrqlArgsDict']]] = None,
1486
1559
  open_violation_on_expiration: Optional[pulumi.Input[bool]] = None,
@@ -1488,6 +1561,7 @@ class NrqlAlertCondition(pulumi.CustomResource):
1488
1561
  runbook_url: Optional[pulumi.Input[str]] = None,
1489
1562
  slide_by: Optional[pulumi.Input[int]] = None,
1490
1563
  terms: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NrqlAlertConditionTermArgs', 'NrqlAlertConditionTermArgsDict']]]]] = None,
1564
+ title_template: Optional[pulumi.Input[str]] = None,
1491
1565
  type: Optional[pulumi.Input[str]] = None,
1492
1566
  violation_time_limit: Optional[pulumi.Input[str]] = None,
1493
1567
  violation_time_limit_seconds: Optional[pulumi.Input[int]] = None,
@@ -1515,6 +1589,7 @@ class NrqlAlertCondition(pulumi.CustomResource):
1515
1589
  __props__.__dict__["expiration_duration"] = expiration_duration
1516
1590
  __props__.__dict__["fill_option"] = fill_option
1517
1591
  __props__.__dict__["fill_value"] = fill_value
1592
+ __props__.__dict__["ignore_on_expected_termination"] = ignore_on_expected_termination
1518
1593
  __props__.__dict__["name"] = name
1519
1594
  if nrql is None and not opts.urn:
1520
1595
  raise TypeError("Missing required property 'nrql'")
@@ -1526,6 +1601,7 @@ class NrqlAlertCondition(pulumi.CustomResource):
1526
1601
  __props__.__dict__["runbook_url"] = runbook_url
1527
1602
  __props__.__dict__["slide_by"] = slide_by
1528
1603
  __props__.__dict__["terms"] = terms
1604
+ __props__.__dict__["title_template"] = title_template
1529
1605
  __props__.__dict__["type"] = type
1530
1606
  __props__.__dict__["violation_time_limit"] = violation_time_limit
1531
1607
  __props__.__dict__["violation_time_limit_seconds"] = violation_time_limit_seconds
@@ -1556,6 +1632,7 @@ class NrqlAlertCondition(pulumi.CustomResource):
1556
1632
  expiration_duration: Optional[pulumi.Input[int]] = None,
1557
1633
  fill_option: Optional[pulumi.Input[str]] = None,
1558
1634
  fill_value: Optional[pulumi.Input[float]] = None,
1635
+ ignore_on_expected_termination: Optional[pulumi.Input[bool]] = None,
1559
1636
  name: Optional[pulumi.Input[str]] = None,
1560
1637
  nrql: Optional[pulumi.Input[Union['NrqlAlertConditionNrqlArgs', 'NrqlAlertConditionNrqlArgsDict']]] = None,
1561
1638
  open_violation_on_expiration: Optional[pulumi.Input[bool]] = None,
@@ -1563,6 +1640,7 @@ class NrqlAlertCondition(pulumi.CustomResource):
1563
1640
  runbook_url: Optional[pulumi.Input[str]] = None,
1564
1641
  slide_by: Optional[pulumi.Input[int]] = None,
1565
1642
  terms: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NrqlAlertConditionTermArgs', 'NrqlAlertConditionTermArgsDict']]]]] = None,
1643
+ title_template: Optional[pulumi.Input[str]] = None,
1566
1644
  type: Optional[pulumi.Input[str]] = None,
1567
1645
  violation_time_limit: Optional[pulumi.Input[str]] = None,
1568
1646
  violation_time_limit_seconds: Optional[pulumi.Input[int]] = None,
@@ -1589,6 +1667,7 @@ class NrqlAlertCondition(pulumi.CustomResource):
1589
1667
  :param pulumi.Input[int] expiration_duration: The amount of time (in seconds) to wait before considering the signal expired. The value must be at least 30 seconds, and no more than 172800 seconds (48 hours).
1590
1668
  :param pulumi.Input[str] fill_option: Which strategy to use when filling gaps in the signal. Possible values are `none`, `last_value` or `static`. If `static`, the `fill_value` field will be used for filling gaps in the signal.
1591
1669
  :param pulumi.Input[float] fill_value: This value will be used for filling gaps in the signal.
1670
+ :param pulumi.Input[bool] ignore_on_expected_termination: Whether an alert condition should ignore expected termination of a signal when considering whether to create a loss of signal incident. Defaults to false.
1592
1671
  :param pulumi.Input[str] name: The title of the condition.
1593
1672
  :param pulumi.Input[Union['NrqlAlertConditionNrqlArgs', 'NrqlAlertConditionNrqlArgsDict']] nrql: A NRQL query. See NRQL below for details.
1594
1673
  :param pulumi.Input[bool] open_violation_on_expiration: Whether to create a new incident to capture that the signal expired.
@@ -1596,6 +1675,7 @@ class NrqlAlertCondition(pulumi.CustomResource):
1596
1675
  :param pulumi.Input[str] runbook_url: Runbook URL to display in notifications.
1597
1676
  :param pulumi.Input[int] slide_by: Gathers data in overlapping time windows to smooth the chart line, making it easier to spot trends. The `slide_by` value is specified in seconds and must be smaller than and a factor of the `aggregation_window`.
1598
1677
  :param pulumi.Input[Sequence[pulumi.Input[Union['NrqlAlertConditionTermArgs', 'NrqlAlertConditionTermArgsDict']]]] terms: **DEPRECATED** Use `critical`, and `warning` instead. A list of terms for this condition. See Terms below for details.
1678
+ :param pulumi.Input[str] title_template: The custom title to be used when incidents are opened by the condition. Setting this field will override the default title. Must be [Handlebars](https://handlebarsjs.com/) format.
1599
1679
  :param pulumi.Input[str] type: The type of the condition. Valid values are `static` or `baseline`. Defaults to `static`.
1600
1680
  :param pulumi.Input[str] violation_time_limit: **DEPRECATED:** Use `violation_time_limit_seconds` instead. Sets a time limit, in hours, that will automatically force-close a long-lasting incident after the time limit you select. Possible values are `ONE_HOUR`, `TWO_HOURS`, `FOUR_HOURS`, `EIGHT_HOURS`, `TWELVE_HOURS`, `TWENTY_FOUR_HOURS`, `THIRTY_DAYS` (case insensitive).<br>
1601
1681
  <small>\\***Note**: One of `violation_time_limit` _or_ `violation_time_limit_seconds` must be set, but not both.</small>
@@ -1622,6 +1702,7 @@ class NrqlAlertCondition(pulumi.CustomResource):
1622
1702
  __props__.__dict__["expiration_duration"] = expiration_duration
1623
1703
  __props__.__dict__["fill_option"] = fill_option
1624
1704
  __props__.__dict__["fill_value"] = fill_value
1705
+ __props__.__dict__["ignore_on_expected_termination"] = ignore_on_expected_termination
1625
1706
  __props__.__dict__["name"] = name
1626
1707
  __props__.__dict__["nrql"] = nrql
1627
1708
  __props__.__dict__["open_violation_on_expiration"] = open_violation_on_expiration
@@ -1629,6 +1710,7 @@ class NrqlAlertCondition(pulumi.CustomResource):
1629
1710
  __props__.__dict__["runbook_url"] = runbook_url
1630
1711
  __props__.__dict__["slide_by"] = slide_by
1631
1712
  __props__.__dict__["terms"] = terms
1713
+ __props__.__dict__["title_template"] = title_template
1632
1714
  __props__.__dict__["type"] = type
1633
1715
  __props__.__dict__["violation_time_limit"] = violation_time_limit
1634
1716
  __props__.__dict__["violation_time_limit_seconds"] = violation_time_limit_seconds
@@ -1755,6 +1837,14 @@ class NrqlAlertCondition(pulumi.CustomResource):
1755
1837
  """
1756
1838
  return pulumi.get(self, "fill_value")
1757
1839
 
1840
+ @property
1841
+ @pulumi.getter(name="ignoreOnExpectedTermination")
1842
+ def ignore_on_expected_termination(self) -> pulumi.Output[Optional[bool]]:
1843
+ """
1844
+ Whether an alert condition should ignore expected termination of a signal when considering whether to create a loss of signal incident. Defaults to false.
1845
+ """
1846
+ return pulumi.get(self, "ignore_on_expected_termination")
1847
+
1758
1848
  @property
1759
1849
  @pulumi.getter
1760
1850
  def name(self) -> pulumi.Output[str]:
@@ -1812,6 +1902,14 @@ class NrqlAlertCondition(pulumi.CustomResource):
1812
1902
  """
1813
1903
  return pulumi.get(self, "terms")
1814
1904
 
1905
+ @property
1906
+ @pulumi.getter(name="titleTemplate")
1907
+ def title_template(self) -> pulumi.Output[Optional[str]]:
1908
+ """
1909
+ The custom title to be used when incidents are opened by the condition. Setting this field will override the default title. Must be [Handlebars](https://handlebarsjs.com/) format.
1910
+ """
1911
+ return pulumi.get(self, "title_template")
1912
+
1815
1913
  @property
1816
1914
  @pulumi.getter
1817
1915
  def type(self) -> pulumi.Output[Optional[str]]:
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "resource": true,
3
3
  "name": "newrelic",
4
- "version": "5.29.0-alpha.1723454189"
4
+ "version": "5.29.0-alpha.1723536931"
5
5
  }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pulumi_newrelic
3
- Version: 5.29.0a1723454189
3
+ Version: 5.29.0a1723536931
4
4
  Summary: A Pulumi package for creating and managing New Relic resources.
5
5
  License: Apache-2.0
6
6
  Project-URL: Homepage, https://pulumi.io
@@ -32,7 +32,7 @@ pulumi_newrelic/log_parsing_rule.py,sha256=1NgUsL1PQNd5-5eMUiOA5fL0vT91DNQ6KqmcW
32
32
  pulumi_newrelic/monitor_downtime.py,sha256=xykQl049eRPdC65CMoJ8f2tDziQ_iz16zcGX79Wg1Tg,40688
33
33
  pulumi_newrelic/notification_channel.py,sha256=TSAkjYxJJZNSi6sy_2GyyDAg31E6pnjMohBON52yktU,46611
34
34
  pulumi_newrelic/notification_destination.py,sha256=hYOsSjKmY4wqk6KMpmVMrBMMvfIXchjQi-HA27_B4wA,39007
35
- pulumi_newrelic/nrql_alert_condition.py,sha256=l6Zh7caz-GDnh9FedaJLakM3atlSL5QKeSc2TfuzFa0,105330
35
+ pulumi_newrelic/nrql_alert_condition.py,sha256=AgaK5W9BEPnsr8jGPDFTh3SKi9_C_4qNcbBp-N8NH1A,112035
36
36
  pulumi_newrelic/nrql_drop_rule.py,sha256=PO9gtn6xHMEHjUdfZB_h5AWnWFFnfihRxwxEoGsS_tk,17538
37
37
  pulumi_newrelic/obfuscation_expression.py,sha256=ujOP16liz5adKssyTNmoSbKJsypZAejSi6eCsQtC54c,12343
38
38
  pulumi_newrelic/obfuscation_rule.py,sha256=Cz6dmdXb6JNf2_jiFjAEk4Nd0RSOwF9D9A1vWpKeMHE,17869
@@ -41,7 +41,7 @@ pulumi_newrelic/one_dashboard_json.py,sha256=u-JceUUU1oHvQ_QT5rSy5kWw17dGR4hk_X0
41
41
  pulumi_newrelic/one_dashboard_raw.py,sha256=_5CWA6p6_tCfI135mTysVo0qjQf1xnYBNEZBDNmKqsw,23502
42
42
  pulumi_newrelic/outputs.py,sha256=l-PV80TdUbyoWHCI0a6urYAo0BGQyA0AIcipGHyho34,489353
43
43
  pulumi_newrelic/provider.py,sha256=Bsa8btfylF9MK4dh4DF7RFTc8PaDI7qMeaFipQxwATw,18319
44
- pulumi_newrelic/pulumi-plugin.json,sha256=MmWlcftisoL8az8rnTgO2O48ISh8XUH4prPJJgOb4aI,85
44
+ pulumi_newrelic/pulumi-plugin.json,sha256=-4thudd-wklqaOgnWQ9CV3Oh9ddxgUuuIPHWeAHXxqY,85
45
45
  pulumi_newrelic/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
46
46
  pulumi_newrelic/service_level.py,sha256=1MA3qQw6Y6d-HA6TIckt0B7FLZIhNCH8GuWhn0f246M,28806
47
47
  pulumi_newrelic/user.py,sha256=kmrrs7yU396-mOZwigKQVS4iAyJHGZgevWJJkjU_CdI,18942
@@ -83,7 +83,7 @@ pulumi_newrelic/synthetics/private_location.py,sha256=Z6Pj1vjDif95ep7w4QhWu3jsQQ
83
83
  pulumi_newrelic/synthetics/script_monitor.py,sha256=ZiydwgET60EP-85SHUyghFr31RSBVAHbcRaEjPT8yxM,56960
84
84
  pulumi_newrelic/synthetics/secure_credential.py,sha256=VhiFz5VYzSoyndMhYJk-aoIIoVjechXClltZUThei_8,15602
85
85
  pulumi_newrelic/synthetics/step_monitor.py,sha256=7faCHLztiP64D-k2QRxJD8-SFYXs-qiUPXHk_CSsDe0,50696
86
- pulumi_newrelic-5.29.0a1723454189.dist-info/METADATA,sha256=YUVv05iqDfzYupwKF38Zg_5whOQi2HJQ_c-DAiC72ZI,3900
87
- pulumi_newrelic-5.29.0a1723454189.dist-info/WHEEL,sha256=R0nc6qTxuoLk7ShA2_Y-UWkN8ZdfDBG2B6Eqpz2WXbs,91
88
- pulumi_newrelic-5.29.0a1723454189.dist-info/top_level.txt,sha256=BjE1Wsu6Ah_A7k08uV5vRSZ2R_5uY3wFvSWJaa7ZoQk,16
89
- pulumi_newrelic-5.29.0a1723454189.dist-info/RECORD,,
86
+ pulumi_newrelic-5.29.0a1723536931.dist-info/METADATA,sha256=x0KhlDPoqDNJd-sBWnZV-wjrJ6RiVfXc9bAw5sHgLMw,3900
87
+ pulumi_newrelic-5.29.0a1723536931.dist-info/WHEEL,sha256=R0nc6qTxuoLk7ShA2_Y-UWkN8ZdfDBG2B6Eqpz2WXbs,91
88
+ pulumi_newrelic-5.29.0a1723536931.dist-info/top_level.txt,sha256=BjE1Wsu6Ah_A7k08uV5vRSZ2R_5uY3wFvSWJaa7ZoQk,16
89
+ pulumi_newrelic-5.29.0a1723536931.dist-info/RECORD,,