cdktf-cdktf-provider-newrelic 13.6.2__py3-none-any.whl → 13.7.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.
- cdktf_cdktf_provider_newrelic/__init__.py +5 -3
- cdktf_cdktf_provider_newrelic/_jsii/__init__.py +2 -2
- cdktf_cdktf_provider_newrelic/_jsii/provider-newrelic@13.7.0.jsii.tgz +0 -0
- cdktf_cdktf_provider_newrelic/account_management/__init__.py +13 -13
- cdktf_cdktf_provider_newrelic/alert_channel/__init__.py +83 -83
- cdktf_cdktf_provider_newrelic/alert_condition/__init__.py +56 -56
- cdktf_cdktf_provider_newrelic/alert_muting_rule/__init__.py +61 -61
- cdktf_cdktf_provider_newrelic/alert_policy/__init__.py +19 -19
- cdktf_cdktf_provider_newrelic/alert_policy_channel/__init__.py +22 -22
- cdktf_cdktf_provider_newrelic/api_access_key/__init__.py +25 -25
- cdktf_cdktf_provider_newrelic/application_settings/__init__.py +65 -65
- cdktf_cdktf_provider_newrelic/browser_application/__init__.py +22 -22
- cdktf_cdktf_provider_newrelic/cloud_aws_govcloud_integrations/__init__.py +325 -325
- cdktf_cdktf_provider_newrelic/cloud_aws_govcloud_link_account/__init__.py +19 -19
- cdktf_cdktf_provider_newrelic/cloud_aws_integrations/__init__.py +688 -688
- cdktf_cdktf_provider_newrelic/cloud_aws_link_account/__init__.py +19 -19
- cdktf_cdktf_provider_newrelic/cloud_azure_integrations/__init__.py +313 -313
- cdktf_cdktf_provider_newrelic/cloud_azure_link_account/__init__.py +25 -25
- cdktf_cdktf_provider_newrelic/cloud_gcp_integrations/__init__.py +181 -181
- cdktf_cdktf_provider_newrelic/cloud_gcp_link_account/__init__.py +16 -16
- cdktf_cdktf_provider_newrelic/cloud_oci_link_account/__init__.py +1029 -0
- cdktf_cdktf_provider_newrelic/data_newrelic_account/__init__.py +16 -16
- cdktf_cdktf_provider_newrelic/data_newrelic_alert_channel/__init__.py +13 -13
- cdktf_cdktf_provider_newrelic/data_newrelic_alert_policy/__init__.py +16 -16
- cdktf_cdktf_provider_newrelic/data_newrelic_application/__init__.py +10 -10
- cdktf_cdktf_provider_newrelic/data_newrelic_authentication_domain/__init__.py +7 -7
- cdktf_cdktf_provider_newrelic/data_newrelic_cloud_account/__init__.py +16 -16
- cdktf_cdktf_provider_newrelic/data_newrelic_entity/__init__.py +35 -35
- cdktf_cdktf_provider_newrelic/data_newrelic_group/__init__.py +10 -10
- cdktf_cdktf_provider_newrelic/data_newrelic_key_transaction/__init__.py +16 -16
- cdktf_cdktf_provider_newrelic/data_newrelic_notification_destination/__init__.py +18 -18
- cdktf_cdktf_provider_newrelic/data_newrelic_obfuscation_expression/__init__.py +13 -13
- cdktf_cdktf_provider_newrelic/data_newrelic_service_level_alert_helper/__init__.py +28 -28
- cdktf_cdktf_provider_newrelic/data_newrelic_synthetics_private_location/__init__.py +16 -16
- cdktf_cdktf_provider_newrelic/data_newrelic_synthetics_secure_credential/__init__.py +13 -13
- cdktf_cdktf_provider_newrelic/data_newrelic_test_grok_pattern/__init__.py +16 -16
- cdktf_cdktf_provider_newrelic/data_newrelic_user/__init__.py +13 -13
- cdktf_cdktf_provider_newrelic/data_partition_rule/__init__.py +31 -31
- cdktf_cdktf_provider_newrelic/entity_tags/__init__.py +23 -23
- cdktf_cdktf_provider_newrelic/events_to_metrics_rule/__init__.py +22 -22
- cdktf_cdktf_provider_newrelic/group/__init__.py +16 -16
- cdktf_cdktf_provider_newrelic/infra_alert_condition/__init__.py +70 -70
- cdktf_cdktf_provider_newrelic/insights_event/__init__.py +22 -22
- cdktf_cdktf_provider_newrelic/key_transaction/__init__.py +22 -22
- cdktf_cdktf_provider_newrelic/log_parsing_rule/__init__.py +31 -31
- cdktf_cdktf_provider_newrelic/monitor_downtime/__init__.py +55 -55
- cdktf_cdktf_provider_newrelic/notification_channel/__init__.py +45 -45
- cdktf_cdktf_provider_newrelic/notification_destination/__init__.py +73 -73
- cdktf_cdktf_provider_newrelic/nrql_alert_condition/__init__.py +193 -193
- cdktf_cdktf_provider_newrelic/nrql_drop_rule/__init__.py +25 -25
- cdktf_cdktf_provider_newrelic/obfuscation_expression/__init__.py +19 -19
- cdktf_cdktf_provider_newrelic/obfuscation_rule/__init__.py +31 -31
- cdktf_cdktf_provider_newrelic/one_dashboard/__init__.py +1224 -1224
- cdktf_cdktf_provider_newrelic/one_dashboard_json/__init__.py +22 -22
- cdktf_cdktf_provider_newrelic/one_dashboard_raw/__init__.py +44 -44
- cdktf_cdktf_provider_newrelic/pipeline_cloud_rule/__init__.py +19 -19
- cdktf_cdktf_provider_newrelic/provider/__init__.py +46 -46
- cdktf_cdktf_provider_newrelic/service_level/__init__.py +109 -109
- cdktf_cdktf_provider_newrelic/synthetics_alert_condition/__init__.py +22 -22
- cdktf_cdktf_provider_newrelic/synthetics_broken_links_monitor/__init__.py +44 -44
- cdktf_cdktf_provider_newrelic/synthetics_cert_check_monitor/__init__.py +47 -47
- cdktf_cdktf_provider_newrelic/synthetics_monitor/__init__.py +84 -84
- cdktf_cdktf_provider_newrelic/synthetics_multilocation_alert_condition/__init__.py +37 -37
- cdktf_cdktf_provider_newrelic/synthetics_private_location/__init__.py +19 -19
- cdktf_cdktf_provider_newrelic/synthetics_script_monitor/__init__.py +69 -69
- cdktf_cdktf_provider_newrelic/synthetics_secure_credential/__init__.py +28 -28
- cdktf_cdktf_provider_newrelic/synthetics_step_monitor/__init__.py +63 -63
- cdktf_cdktf_provider_newrelic/user/__init__.py +19 -19
- cdktf_cdktf_provider_newrelic/workflow/__init__.py +64 -64
- cdktf_cdktf_provider_newrelic/workload/__init__.py +86 -86
- {cdktf_cdktf_provider_newrelic-13.6.2.dist-info → cdktf_cdktf_provider_newrelic-13.7.0.dist-info}/METADATA +4 -4
- cdktf_cdktf_provider_newrelic-13.7.0.dist-info/RECORD +76 -0
- cdktf_cdktf_provider_newrelic/_jsii/provider-newrelic@13.6.2.jsii.tgz +0 -0
- cdktf_cdktf_provider_newrelic-13.6.2.dist-info/RECORD +0 -75
- {cdktf_cdktf_provider_newrelic-13.6.2.dist-info → cdktf_cdktf_provider_newrelic-13.7.0.dist-info}/LICENSE +0 -0
- {cdktf_cdktf_provider_newrelic-13.6.2.dist-info → cdktf_cdktf_provider_newrelic-13.7.0.dist-info}/WHEEL +0 -0
- {cdktf_cdktf_provider_newrelic-13.6.2.dist-info → cdktf_cdktf_provider_newrelic-13.7.0.dist-info}/top_level.txt +0 -0
@@ -1,7 +1,7 @@
|
|
1
1
|
r'''
|
2
2
|
# `newrelic_nrql_alert_condition`
|
3
3
|
|
4
|
-
Refer to the Terraform Registry for docs: [`newrelic_nrql_alert_condition`](https://registry.terraform.io/providers/newrelic/newrelic/3.
|
4
|
+
Refer to the Terraform Registry for docs: [`newrelic_nrql_alert_condition`](https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition).
|
5
5
|
'''
|
6
6
|
from pkgutil import extend_path
|
7
7
|
__path__ = extend_path(__path__, __name__)
|
@@ -44,7 +44,7 @@ class NrqlAlertCondition(
|
|
44
44
|
metaclass=jsii.JSIIMeta,
|
45
45
|
jsii_type="@cdktf/provider-newrelic.nrqlAlertCondition.NrqlAlertCondition",
|
46
46
|
):
|
47
|
-
'''Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
47
|
+
'''Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition newrelic_nrql_alert_condition}.'''
|
48
48
|
|
49
49
|
def __init__(
|
50
50
|
self,
|
@@ -89,40 +89,40 @@ class NrqlAlertCondition(
|
|
89
89
|
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
90
90
|
provisioners: typing.Optional[typing.Sequence[typing.Union[typing.Union[_cdktf_9a9027ec.FileProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.LocalExecProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.RemoteExecProvisioner, typing.Dict[builtins.str, typing.Any]]]]] = None,
|
91
91
|
) -> None:
|
92
|
-
'''Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
92
|
+
'''Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition newrelic_nrql_alert_condition} Resource.
|
93
93
|
|
94
94
|
:param scope: The scope in which to define this construct.
|
95
95
|
:param id_: The scoped construct ID. Must be unique amongst siblings in the same scope
|
96
|
-
:param name: The title of the condition. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
97
|
-
:param nrql: nrql block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
98
|
-
:param policy_id: The ID of the policy where this condition should be used. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
99
|
-
:param account_id: The New Relic account ID for managing your NRQL alert conditions. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
100
|
-
:param aggregation_delay: How long we wait for data that belongs in each aggregation window. Depending on your data, a longer delay may increase accuracy but delay notifications. Use aggregationDelay with the EVENT_FLOW and CADENCE aggregation methods. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
101
|
-
:param aggregation_method: The method that determines when we consider an aggregation window to be complete so that we can evaluate the signal for incidents. Default is EVENT_FLOW. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
102
|
-
:param aggregation_timer: How long we wait after each data point arrives to make sure we've processed the whole batch. Use aggregationTimer with the EVENT_TIMER aggregation method. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
103
|
-
:param aggregation_window: The duration of the time window used to evaluate the NRQL query, in seconds. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
104
|
-
:param baseline_direction: The baseline direction of a baseline NRQL alert condition. Valid values are: 'LOWER_ONLY', 'UPPER_AND_LOWER', 'UPPER_ONLY' (case insensitive). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
105
|
-
:param close_violations_on_expiration: Whether to close all open incidents when the signal expires. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
106
|
-
:param critical: critical block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
107
|
-
:param description: The description of the NRQL alert condition. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
108
|
-
:param enabled: Whether or not to enable the alert condition. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
109
|
-
:param evaluation_delay: How long we wait until the signal starts evaluating. The maximum delay is 7200 seconds (120 minutes). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
110
|
-
:param expiration_duration: The amount of time (in seconds) to wait before considering the signal expired. Must be in the range of 30 to 172800 (inclusive) Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
111
|
-
:param fill_option: Which strategy to use when filling gaps in the signal. If static, the 'fill value' will be used for filling gaps in the signal. Valid values are: 'NONE', 'LAST_VALUE', or 'STATIC' (case insensitive). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
112
|
-
:param fill_value: If using the 'static' fill option, this value will be used for filling gaps in the signal. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
113
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
114
|
-
:param ignore_on_expected_termination: Whether to ignore expected termination of a signal when considering whether to create a loss of signal incident. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
115
|
-
:param open_violation_on_expiration: Whether to create a new incident to capture that the signal expired. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
116
|
-
:param runbook_url: Runbook URL to display in notifications. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
117
|
-
:param signal_seasonality: Seasonality under which a condition's signal(s) are evaluated. Valid values are: 'NEW_RELIC_CALCULATION', 'HOURLY', 'DAILY', 'WEEKLY', or 'NONE'. To have New Relic calculate seasonality automatically, set to 'NEW_RELIC_CALCULATION' (default). To turn off seasonality completely, set to 'NONE'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
118
|
-
:param slide_by: The duration of overlapping time windows used to smooth the chart line, in seconds. Must be a factor of ``aggregation_window`` and less than the aggregation window. If ``aggregation_window`` is less than or equal to 3600 seconds, it should be greater or equal to 30 seconds. If ``aggregation_window`` is greater than 3600 seconds but less than 7200 seconds, it should be greater or equal to ``aggregation_window / 120``. If ``aggregation_window`` is greater than 7200 seconds, it should be greater or equal to `aggregation_window / 24 Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
119
|
-
:param term: term block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
120
|
-
:param timeouts: timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
121
|
-
:param title_template: This field allows you to create a custom title to be used when incidents are opened by the condition. Setting this field will override the default title. Must be Handlebars format. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
122
|
-
:param type: The type of NRQL alert condition to create. Valid values are: 'static', 'baseline'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
123
|
-
:param violation_time_limit: 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). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
124
|
-
:param violation_time_limit_seconds: Sets a time limit, in seconds, that will automatically force-close a long-lasting incident after the time limit you select. Must be in the range of 300 to 2592000 (inclusive) Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
125
|
-
:param warning: warning block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
96
|
+
:param name: The title of the condition. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#name NrqlAlertCondition#name}
|
97
|
+
:param nrql: nrql block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#nrql NrqlAlertCondition#nrql}
|
98
|
+
:param policy_id: The ID of the policy where this condition should be used. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#policy_id NrqlAlertCondition#policy_id}
|
99
|
+
:param account_id: The New Relic account ID for managing your NRQL alert conditions. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#account_id NrqlAlertCondition#account_id}
|
100
|
+
:param aggregation_delay: How long we wait for data that belongs in each aggregation window. Depending on your data, a longer delay may increase accuracy but delay notifications. Use aggregationDelay with the EVENT_FLOW and CADENCE aggregation methods. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#aggregation_delay NrqlAlertCondition#aggregation_delay}
|
101
|
+
:param aggregation_method: The method that determines when we consider an aggregation window to be complete so that we can evaluate the signal for incidents. Default is EVENT_FLOW. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#aggregation_method NrqlAlertCondition#aggregation_method}
|
102
|
+
:param aggregation_timer: How long we wait after each data point arrives to make sure we've processed the whole batch. Use aggregationTimer with the EVENT_TIMER aggregation method. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#aggregation_timer NrqlAlertCondition#aggregation_timer}
|
103
|
+
:param aggregation_window: The duration of the time window used to evaluate the NRQL query, in seconds. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#aggregation_window NrqlAlertCondition#aggregation_window}
|
104
|
+
:param baseline_direction: The baseline direction of a baseline NRQL alert condition. Valid values are: 'LOWER_ONLY', 'UPPER_AND_LOWER', 'UPPER_ONLY' (case insensitive). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#baseline_direction NrqlAlertCondition#baseline_direction}
|
105
|
+
:param close_violations_on_expiration: Whether to close all open incidents when the signal expires. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#close_violations_on_expiration NrqlAlertCondition#close_violations_on_expiration}
|
106
|
+
:param critical: critical block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#critical NrqlAlertCondition#critical}
|
107
|
+
:param description: The description of the NRQL alert condition. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#description NrqlAlertCondition#description}
|
108
|
+
:param enabled: Whether or not to enable the alert condition. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#enabled NrqlAlertCondition#enabled}
|
109
|
+
:param evaluation_delay: How long we wait until the signal starts evaluating. The maximum delay is 7200 seconds (120 minutes). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#evaluation_delay NrqlAlertCondition#evaluation_delay}
|
110
|
+
:param expiration_duration: The amount of time (in seconds) to wait before considering the signal expired. Must be in the range of 30 to 172800 (inclusive) Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#expiration_duration NrqlAlertCondition#expiration_duration}
|
111
|
+
:param fill_option: Which strategy to use when filling gaps in the signal. If static, the 'fill value' will be used for filling gaps in the signal. Valid values are: 'NONE', 'LAST_VALUE', or 'STATIC' (case insensitive). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#fill_option NrqlAlertCondition#fill_option}
|
112
|
+
:param fill_value: If using the 'static' fill option, this value will be used for filling gaps in the signal. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#fill_value NrqlAlertCondition#fill_value}
|
113
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#id NrqlAlertCondition#id}. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
|
114
|
+
:param ignore_on_expected_termination: Whether to ignore expected termination of a signal when considering whether to create a loss of signal incident. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#ignore_on_expected_termination NrqlAlertCondition#ignore_on_expected_termination}
|
115
|
+
:param open_violation_on_expiration: Whether to create a new incident to capture that the signal expired. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#open_violation_on_expiration NrqlAlertCondition#open_violation_on_expiration}
|
116
|
+
:param runbook_url: Runbook URL to display in notifications. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#runbook_url NrqlAlertCondition#runbook_url}
|
117
|
+
:param signal_seasonality: Seasonality under which a condition's signal(s) are evaluated. Valid values are: 'NEW_RELIC_CALCULATION', 'HOURLY', 'DAILY', 'WEEKLY', or 'NONE'. To have New Relic calculate seasonality automatically, set to 'NEW_RELIC_CALCULATION' (default). To turn off seasonality completely, set to 'NONE'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#signal_seasonality NrqlAlertCondition#signal_seasonality}
|
118
|
+
:param slide_by: The duration of overlapping time windows used to smooth the chart line, in seconds. Must be a factor of ``aggregation_window`` and less than the aggregation window. If ``aggregation_window`` is less than or equal to 3600 seconds, it should be greater or equal to 30 seconds. If ``aggregation_window`` is greater than 3600 seconds but less than 7200 seconds, it should be greater or equal to ``aggregation_window / 120``. If ``aggregation_window`` is greater than 7200 seconds, it should be greater or equal to `aggregation_window / 24 Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#slide_by NrqlAlertCondition#slide_by}
|
119
|
+
:param term: term block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#term NrqlAlertCondition#term}
|
120
|
+
:param timeouts: timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#timeouts NrqlAlertCondition#timeouts}
|
121
|
+
:param title_template: This field allows you to create a custom title to be used when incidents are opened by the condition. Setting this field will override the default title. Must be Handlebars format. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#title_template NrqlAlertCondition#title_template}
|
122
|
+
:param type: The type of NRQL alert condition to create. Valid values are: 'static', 'baseline'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#type NrqlAlertCondition#type}
|
123
|
+
:param violation_time_limit: 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). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#violation_time_limit NrqlAlertCondition#violation_time_limit}
|
124
|
+
:param violation_time_limit_seconds: Sets a time limit, in seconds, that will automatically force-close a long-lasting incident after the time limit you select. Must be in the range of 300 to 2592000 (inclusive) Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#violation_time_limit_seconds NrqlAlertCondition#violation_time_limit_seconds}
|
125
|
+
:param warning: warning block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#warning NrqlAlertCondition#warning}
|
126
126
|
:param connection:
|
127
127
|
:param count:
|
128
128
|
:param depends_on:
|
@@ -190,7 +190,7 @@ class NrqlAlertCondition(
|
|
190
190
|
|
191
191
|
:param scope: The scope in which to define this construct.
|
192
192
|
:param import_to_id: The construct id used in the generated config for the NrqlAlertCondition to import.
|
193
|
-
:param import_from_id: The id of the existing NrqlAlertCondition that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
193
|
+
:param import_from_id: The id of the existing NrqlAlertCondition that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#import import section} in the documentation of this resource for the id to use
|
194
194
|
:param provider: ? Optional instance of the provider where the NrqlAlertCondition to import is found.
|
195
195
|
'''
|
196
196
|
if __debug__:
|
@@ -215,14 +215,14 @@ class NrqlAlertCondition(
|
|
215
215
|
time_function: typing.Optional[builtins.str] = None,
|
216
216
|
) -> None:
|
217
217
|
'''
|
218
|
-
:param threshold: For baseline conditions must be in range [1, 1000]. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
219
|
-
:param disable_health_status_reporting: Violations will not change system health status for this term. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
220
|
-
:param duration: In minutes, must be in the range of 1 to 120 (inclusive). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
221
|
-
:param operator: One of (above, above_or_equals, below, below_or_equals, equals, not_equals). Defaults to 'equals'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
222
|
-
:param prediction: prediction block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
223
|
-
:param threshold_duration: The duration, in seconds, that the threshold must violate in order to create an incident. Value must be a multiple of the 'aggregation_window' (which has a default of 60 seconds). Value must be within 120-86400 seconds for baseline conditions, and within 60-86400 seconds for static conditions Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
224
|
-
:param threshold_occurrences: The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: 'ALL' or 'AT_LEAST_ONCE' (case insensitive). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
225
|
-
:param time_function: Valid values are: 'all' or 'any'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
218
|
+
:param threshold: For baseline conditions must be in range [1, 1000]. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#threshold NrqlAlertCondition#threshold}
|
219
|
+
:param disable_health_status_reporting: Violations will not change system health status for this term. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#disable_health_status_reporting NrqlAlertCondition#disable_health_status_reporting}
|
220
|
+
:param duration: In minutes, must be in the range of 1 to 120 (inclusive). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#duration NrqlAlertCondition#duration}
|
221
|
+
:param operator: One of (above, above_or_equals, below, below_or_equals, equals, not_equals). Defaults to 'equals'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#operator NrqlAlertCondition#operator}
|
222
|
+
:param prediction: prediction block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#prediction NrqlAlertCondition#prediction}
|
223
|
+
:param threshold_duration: The duration, in seconds, that the threshold must violate in order to create an incident. Value must be a multiple of the 'aggregation_window' (which has a default of 60 seconds). Value must be within 120-86400 seconds for baseline conditions, and within 60-86400 seconds for static conditions Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#threshold_duration NrqlAlertCondition#threshold_duration}
|
224
|
+
:param threshold_occurrences: The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: 'ALL' or 'AT_LEAST_ONCE' (case insensitive). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#threshold_occurrences NrqlAlertCondition#threshold_occurrences}
|
225
|
+
:param time_function: Valid values are: 'all' or 'any'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#time_function NrqlAlertCondition#time_function}
|
226
226
|
'''
|
227
227
|
value = NrqlAlertConditionCritical(
|
228
228
|
threshold=threshold,
|
@@ -247,10 +247,10 @@ class NrqlAlertCondition(
|
|
247
247
|
since_value: typing.Optional[builtins.str] = None,
|
248
248
|
) -> None:
|
249
249
|
'''
|
250
|
-
:param query: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
251
|
-
:param data_account_id: The New Relic account ID to use as the basis for the NRQL alert condition's ``query``; will default to ``account_id`` if unspecified. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
252
|
-
:param evaluation_offset: NRQL queries are evaluated in one-minute time windows. The start time depends on the value you provide in the NRQL condition's ``evaluation_offset``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
253
|
-
:param since_value: NRQL queries are evaluated in one-minute time windows. The start time depends on the value you provide in the NRQL condition's ``since_value``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
250
|
+
:param query: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#query NrqlAlertCondition#query}.
|
251
|
+
:param data_account_id: The New Relic account ID to use as the basis for the NRQL alert condition's ``query``; will default to ``account_id`` if unspecified. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#data_account_id NrqlAlertCondition#data_account_id}
|
252
|
+
:param evaluation_offset: NRQL queries are evaluated in one-minute time windows. The start time depends on the value you provide in the NRQL condition's ``evaluation_offset``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#evaluation_offset NrqlAlertCondition#evaluation_offset}
|
253
|
+
:param since_value: NRQL queries are evaluated in one-minute time windows. The start time depends on the value you provide in the NRQL condition's ``since_value``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#since_value NrqlAlertCondition#since_value}
|
254
254
|
'''
|
255
255
|
value = NrqlAlertConditionNrql(
|
256
256
|
query=query,
|
@@ -277,7 +277,7 @@ class NrqlAlertCondition(
|
|
277
277
|
@jsii.member(jsii_name="putTimeouts")
|
278
278
|
def put_timeouts(self, *, create: typing.Optional[builtins.str] = None) -> None:
|
279
279
|
'''
|
280
|
-
:param create: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
280
|
+
:param create: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#create NrqlAlertCondition#create}.
|
281
281
|
'''
|
282
282
|
value = NrqlAlertConditionTimeouts(create=create)
|
283
283
|
|
@@ -297,14 +297,14 @@ class NrqlAlertCondition(
|
|
297
297
|
time_function: typing.Optional[builtins.str] = None,
|
298
298
|
) -> None:
|
299
299
|
'''
|
300
|
-
:param threshold: For baseline conditions must be in range [1, 1000]. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
301
|
-
:param disable_health_status_reporting: Violations will not change system health status for this term. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
302
|
-
:param duration: In minutes, must be in the range of 1 to 120 (inclusive). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
303
|
-
:param operator: One of (above, above_or_equals, below, below_or_equals, equals, not_equals). Defaults to 'equals'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
304
|
-
:param prediction: prediction block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
305
|
-
:param threshold_duration: The duration, in seconds, that the threshold must violate in order to create an incident. Value must be a multiple of the 'aggregation_window' (which has a default of 60 seconds). Value must be within 120-86400 seconds for baseline conditions, and within 60-86400 seconds for static conditions Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
306
|
-
:param threshold_occurrences: The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: 'ALL' or 'AT_LEAST_ONCE' (case insensitive). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
307
|
-
:param time_function: Valid values are: 'all' or 'any'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
300
|
+
:param threshold: For baseline conditions must be in range [1, 1000]. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#threshold NrqlAlertCondition#threshold}
|
301
|
+
:param disable_health_status_reporting: Violations will not change system health status for this term. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#disable_health_status_reporting NrqlAlertCondition#disable_health_status_reporting}
|
302
|
+
:param duration: In minutes, must be in the range of 1 to 120 (inclusive). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#duration NrqlAlertCondition#duration}
|
303
|
+
:param operator: One of (above, above_or_equals, below, below_or_equals, equals, not_equals). Defaults to 'equals'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#operator NrqlAlertCondition#operator}
|
304
|
+
:param prediction: prediction block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#prediction NrqlAlertCondition#prediction}
|
305
|
+
:param threshold_duration: The duration, in seconds, that the threshold must violate in order to create an incident. Value must be a multiple of the 'aggregation_window' (which has a default of 60 seconds). Value must be within 120-86400 seconds for baseline conditions, and within 60-86400 seconds for static conditions Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#threshold_duration NrqlAlertCondition#threshold_duration}
|
306
|
+
:param threshold_occurrences: The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: 'ALL' or 'AT_LEAST_ONCE' (case insensitive). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#threshold_occurrences NrqlAlertCondition#threshold_occurrences}
|
307
|
+
:param time_function: Valid values are: 'all' or 'any'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#time_function NrqlAlertCondition#time_function}
|
308
308
|
'''
|
309
309
|
value = NrqlAlertConditionWarning(
|
310
310
|
threshold=threshold,
|
@@ -1044,36 +1044,36 @@ class NrqlAlertConditionConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
1044
1044
|
:param lifecycle:
|
1045
1045
|
:param provider:
|
1046
1046
|
:param provisioners:
|
1047
|
-
:param name: The title of the condition. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1048
|
-
:param nrql: nrql block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1049
|
-
:param policy_id: The ID of the policy where this condition should be used. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1050
|
-
:param account_id: The New Relic account ID for managing your NRQL alert conditions. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1051
|
-
:param aggregation_delay: How long we wait for data that belongs in each aggregation window. Depending on your data, a longer delay may increase accuracy but delay notifications. Use aggregationDelay with the EVENT_FLOW and CADENCE aggregation methods. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1052
|
-
:param aggregation_method: The method that determines when we consider an aggregation window to be complete so that we can evaluate the signal for incidents. Default is EVENT_FLOW. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1053
|
-
:param aggregation_timer: How long we wait after each data point arrives to make sure we've processed the whole batch. Use aggregationTimer with the EVENT_TIMER aggregation method. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1054
|
-
:param aggregation_window: The duration of the time window used to evaluate the NRQL query, in seconds. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1055
|
-
:param baseline_direction: The baseline direction of a baseline NRQL alert condition. Valid values are: 'LOWER_ONLY', 'UPPER_AND_LOWER', 'UPPER_ONLY' (case insensitive). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1056
|
-
:param close_violations_on_expiration: Whether to close all open incidents when the signal expires. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1057
|
-
:param critical: critical block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1058
|
-
:param description: The description of the NRQL alert condition. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1059
|
-
:param enabled: Whether or not to enable the alert condition. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1060
|
-
:param evaluation_delay: How long we wait until the signal starts evaluating. The maximum delay is 7200 seconds (120 minutes). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1061
|
-
:param expiration_duration: The amount of time (in seconds) to wait before considering the signal expired. Must be in the range of 30 to 172800 (inclusive) Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1062
|
-
:param fill_option: Which strategy to use when filling gaps in the signal. If static, the 'fill value' will be used for filling gaps in the signal. Valid values are: 'NONE', 'LAST_VALUE', or 'STATIC' (case insensitive). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1063
|
-
:param fill_value: If using the 'static' fill option, this value will be used for filling gaps in the signal. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1064
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1065
|
-
:param ignore_on_expected_termination: Whether to ignore expected termination of a signal when considering whether to create a loss of signal incident. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1066
|
-
:param open_violation_on_expiration: Whether to create a new incident to capture that the signal expired. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1067
|
-
:param runbook_url: Runbook URL to display in notifications. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1068
|
-
:param signal_seasonality: Seasonality under which a condition's signal(s) are evaluated. Valid values are: 'NEW_RELIC_CALCULATION', 'HOURLY', 'DAILY', 'WEEKLY', or 'NONE'. To have New Relic calculate seasonality automatically, set to 'NEW_RELIC_CALCULATION' (default). To turn off seasonality completely, set to 'NONE'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1069
|
-
:param slide_by: The duration of overlapping time windows used to smooth the chart line, in seconds. Must be a factor of ``aggregation_window`` and less than the aggregation window. If ``aggregation_window`` is less than or equal to 3600 seconds, it should be greater or equal to 30 seconds. If ``aggregation_window`` is greater than 3600 seconds but less than 7200 seconds, it should be greater or equal to ``aggregation_window / 120``. If ``aggregation_window`` is greater than 7200 seconds, it should be greater or equal to `aggregation_window / 24 Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1070
|
-
:param term: term block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1071
|
-
:param timeouts: timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1072
|
-
:param title_template: This field allows you to create a custom title to be used when incidents are opened by the condition. Setting this field will override the default title. Must be Handlebars format. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1073
|
-
:param type: The type of NRQL alert condition to create. Valid values are: 'static', 'baseline'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1074
|
-
:param violation_time_limit: 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). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1075
|
-
:param violation_time_limit_seconds: Sets a time limit, in seconds, that will automatically force-close a long-lasting incident after the time limit you select. Must be in the range of 300 to 2592000 (inclusive) Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1076
|
-
:param warning: warning block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1047
|
+
:param name: The title of the condition. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#name NrqlAlertCondition#name}
|
1048
|
+
:param nrql: nrql block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#nrql NrqlAlertCondition#nrql}
|
1049
|
+
:param policy_id: The ID of the policy where this condition should be used. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#policy_id NrqlAlertCondition#policy_id}
|
1050
|
+
:param account_id: The New Relic account ID for managing your NRQL alert conditions. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#account_id NrqlAlertCondition#account_id}
|
1051
|
+
:param aggregation_delay: How long we wait for data that belongs in each aggregation window. Depending on your data, a longer delay may increase accuracy but delay notifications. Use aggregationDelay with the EVENT_FLOW and CADENCE aggregation methods. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#aggregation_delay NrqlAlertCondition#aggregation_delay}
|
1052
|
+
:param aggregation_method: The method that determines when we consider an aggregation window to be complete so that we can evaluate the signal for incidents. Default is EVENT_FLOW. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#aggregation_method NrqlAlertCondition#aggregation_method}
|
1053
|
+
:param aggregation_timer: How long we wait after each data point arrives to make sure we've processed the whole batch. Use aggregationTimer with the EVENT_TIMER aggregation method. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#aggregation_timer NrqlAlertCondition#aggregation_timer}
|
1054
|
+
:param aggregation_window: The duration of the time window used to evaluate the NRQL query, in seconds. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#aggregation_window NrqlAlertCondition#aggregation_window}
|
1055
|
+
:param baseline_direction: The baseline direction of a baseline NRQL alert condition. Valid values are: 'LOWER_ONLY', 'UPPER_AND_LOWER', 'UPPER_ONLY' (case insensitive). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#baseline_direction NrqlAlertCondition#baseline_direction}
|
1056
|
+
:param close_violations_on_expiration: Whether to close all open incidents when the signal expires. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#close_violations_on_expiration NrqlAlertCondition#close_violations_on_expiration}
|
1057
|
+
:param critical: critical block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#critical NrqlAlertCondition#critical}
|
1058
|
+
:param description: The description of the NRQL alert condition. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#description NrqlAlertCondition#description}
|
1059
|
+
:param enabled: Whether or not to enable the alert condition. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#enabled NrqlAlertCondition#enabled}
|
1060
|
+
:param evaluation_delay: How long we wait until the signal starts evaluating. The maximum delay is 7200 seconds (120 minutes). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#evaluation_delay NrqlAlertCondition#evaluation_delay}
|
1061
|
+
:param expiration_duration: The amount of time (in seconds) to wait before considering the signal expired. Must be in the range of 30 to 172800 (inclusive) Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#expiration_duration NrqlAlertCondition#expiration_duration}
|
1062
|
+
:param fill_option: Which strategy to use when filling gaps in the signal. If static, the 'fill value' will be used for filling gaps in the signal. Valid values are: 'NONE', 'LAST_VALUE', or 'STATIC' (case insensitive). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#fill_option NrqlAlertCondition#fill_option}
|
1063
|
+
:param fill_value: If using the 'static' fill option, this value will be used for filling gaps in the signal. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#fill_value NrqlAlertCondition#fill_value}
|
1064
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#id NrqlAlertCondition#id}. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
|
1065
|
+
:param ignore_on_expected_termination: Whether to ignore expected termination of a signal when considering whether to create a loss of signal incident. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#ignore_on_expected_termination NrqlAlertCondition#ignore_on_expected_termination}
|
1066
|
+
:param open_violation_on_expiration: Whether to create a new incident to capture that the signal expired. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#open_violation_on_expiration NrqlAlertCondition#open_violation_on_expiration}
|
1067
|
+
:param runbook_url: Runbook URL to display in notifications. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#runbook_url NrqlAlertCondition#runbook_url}
|
1068
|
+
:param signal_seasonality: Seasonality under which a condition's signal(s) are evaluated. Valid values are: 'NEW_RELIC_CALCULATION', 'HOURLY', 'DAILY', 'WEEKLY', or 'NONE'. To have New Relic calculate seasonality automatically, set to 'NEW_RELIC_CALCULATION' (default). To turn off seasonality completely, set to 'NONE'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#signal_seasonality NrqlAlertCondition#signal_seasonality}
|
1069
|
+
:param slide_by: The duration of overlapping time windows used to smooth the chart line, in seconds. Must be a factor of ``aggregation_window`` and less than the aggregation window. If ``aggregation_window`` is less than or equal to 3600 seconds, it should be greater or equal to 30 seconds. If ``aggregation_window`` is greater than 3600 seconds but less than 7200 seconds, it should be greater or equal to ``aggregation_window / 120``. If ``aggregation_window`` is greater than 7200 seconds, it should be greater or equal to `aggregation_window / 24 Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#slide_by NrqlAlertCondition#slide_by}
|
1070
|
+
:param term: term block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#term NrqlAlertCondition#term}
|
1071
|
+
:param timeouts: timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#timeouts NrqlAlertCondition#timeouts}
|
1072
|
+
:param title_template: This field allows you to create a custom title to be used when incidents are opened by the condition. Setting this field will override the default title. Must be Handlebars format. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#title_template NrqlAlertCondition#title_template}
|
1073
|
+
:param type: The type of NRQL alert condition to create. Valid values are: 'static', 'baseline'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#type NrqlAlertCondition#type}
|
1074
|
+
:param violation_time_limit: 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). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#violation_time_limit NrqlAlertCondition#violation_time_limit}
|
1075
|
+
:param violation_time_limit_seconds: Sets a time limit, in seconds, that will automatically force-close a long-lasting incident after the time limit you select. Must be in the range of 300 to 2592000 (inclusive) Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#violation_time_limit_seconds NrqlAlertCondition#violation_time_limit_seconds}
|
1076
|
+
:param warning: warning block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#warning NrqlAlertCondition#warning}
|
1077
1077
|
'''
|
1078
1078
|
if isinstance(lifecycle, dict):
|
1079
1079
|
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
@@ -1266,7 +1266,7 @@ class NrqlAlertConditionConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
1266
1266
|
def name(self) -> builtins.str:
|
1267
1267
|
'''The title of the condition.
|
1268
1268
|
|
1269
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1269
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#name NrqlAlertCondition#name}
|
1270
1270
|
'''
|
1271
1271
|
result = self._values.get("name")
|
1272
1272
|
assert result is not None, "Required property 'name' is missing"
|
@@ -1276,7 +1276,7 @@ class NrqlAlertConditionConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
1276
1276
|
def nrql(self) -> "NrqlAlertConditionNrql":
|
1277
1277
|
'''nrql block.
|
1278
1278
|
|
1279
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1279
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#nrql NrqlAlertCondition#nrql}
|
1280
1280
|
'''
|
1281
1281
|
result = self._values.get("nrql")
|
1282
1282
|
assert result is not None, "Required property 'nrql' is missing"
|
@@ -1286,7 +1286,7 @@ class NrqlAlertConditionConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
1286
1286
|
def policy_id(self) -> jsii.Number:
|
1287
1287
|
'''The ID of the policy where this condition should be used.
|
1288
1288
|
|
1289
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1289
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#policy_id NrqlAlertCondition#policy_id}
|
1290
1290
|
'''
|
1291
1291
|
result = self._values.get("policy_id")
|
1292
1292
|
assert result is not None, "Required property 'policy_id' is missing"
|
@@ -1296,7 +1296,7 @@ class NrqlAlertConditionConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
1296
1296
|
def account_id(self) -> typing.Optional[jsii.Number]:
|
1297
1297
|
'''The New Relic account ID for managing your NRQL alert conditions.
|
1298
1298
|
|
1299
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1299
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#account_id NrqlAlertCondition#account_id}
|
1300
1300
|
'''
|
1301
1301
|
result = self._values.get("account_id")
|
1302
1302
|
return typing.cast(typing.Optional[jsii.Number], result)
|
@@ -1307,7 +1307,7 @@ class NrqlAlertConditionConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
1307
1307
|
|
1308
1308
|
Depending on your data, a longer delay may increase accuracy but delay notifications. Use aggregationDelay with the EVENT_FLOW and CADENCE aggregation methods.
|
1309
1309
|
|
1310
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1310
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#aggregation_delay NrqlAlertCondition#aggregation_delay}
|
1311
1311
|
'''
|
1312
1312
|
result = self._values.get("aggregation_delay")
|
1313
1313
|
return typing.cast(typing.Optional[builtins.str], result)
|
@@ -1318,7 +1318,7 @@ class NrqlAlertConditionConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
1318
1318
|
|
1319
1319
|
Default is EVENT_FLOW.
|
1320
1320
|
|
1321
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1321
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#aggregation_method NrqlAlertCondition#aggregation_method}
|
1322
1322
|
'''
|
1323
1323
|
result = self._values.get("aggregation_method")
|
1324
1324
|
return typing.cast(typing.Optional[builtins.str], result)
|
@@ -1329,7 +1329,7 @@ class NrqlAlertConditionConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
1329
1329
|
|
1330
1330
|
Use aggregationTimer with the EVENT_TIMER aggregation method.
|
1331
1331
|
|
1332
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1332
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#aggregation_timer NrqlAlertCondition#aggregation_timer}
|
1333
1333
|
'''
|
1334
1334
|
result = self._values.get("aggregation_timer")
|
1335
1335
|
return typing.cast(typing.Optional[builtins.str], result)
|
@@ -1338,7 +1338,7 @@ class NrqlAlertConditionConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
1338
1338
|
def aggregation_window(self) -> typing.Optional[jsii.Number]:
|
1339
1339
|
'''The duration of the time window used to evaluate the NRQL query, in seconds.
|
1340
1340
|
|
1341
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1341
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#aggregation_window NrqlAlertCondition#aggregation_window}
|
1342
1342
|
'''
|
1343
1343
|
result = self._values.get("aggregation_window")
|
1344
1344
|
return typing.cast(typing.Optional[jsii.Number], result)
|
@@ -1347,7 +1347,7 @@ class NrqlAlertConditionConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
1347
1347
|
def baseline_direction(self) -> typing.Optional[builtins.str]:
|
1348
1348
|
'''The baseline direction of a baseline NRQL alert condition. Valid values are: 'LOWER_ONLY', 'UPPER_AND_LOWER', 'UPPER_ONLY' (case insensitive).
|
1349
1349
|
|
1350
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1350
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#baseline_direction NrqlAlertCondition#baseline_direction}
|
1351
1351
|
'''
|
1352
1352
|
result = self._values.get("baseline_direction")
|
1353
1353
|
return typing.cast(typing.Optional[builtins.str], result)
|
@@ -1358,7 +1358,7 @@ class NrqlAlertConditionConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
1358
1358
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
1359
1359
|
'''Whether to close all open incidents when the signal expires.
|
1360
1360
|
|
1361
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1361
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#close_violations_on_expiration NrqlAlertCondition#close_violations_on_expiration}
|
1362
1362
|
'''
|
1363
1363
|
result = self._values.get("close_violations_on_expiration")
|
1364
1364
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
@@ -1367,7 +1367,7 @@ class NrqlAlertConditionConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
1367
1367
|
def critical(self) -> typing.Optional["NrqlAlertConditionCritical"]:
|
1368
1368
|
'''critical block.
|
1369
1369
|
|
1370
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1370
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#critical NrqlAlertCondition#critical}
|
1371
1371
|
'''
|
1372
1372
|
result = self._values.get("critical")
|
1373
1373
|
return typing.cast(typing.Optional["NrqlAlertConditionCritical"], result)
|
@@ -1376,7 +1376,7 @@ class NrqlAlertConditionConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
1376
1376
|
def description(self) -> typing.Optional[builtins.str]:
|
1377
1377
|
'''The description of the NRQL alert condition.
|
1378
1378
|
|
1379
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1379
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#description NrqlAlertCondition#description}
|
1380
1380
|
'''
|
1381
1381
|
result = self._values.get("description")
|
1382
1382
|
return typing.cast(typing.Optional[builtins.str], result)
|
@@ -1387,7 +1387,7 @@ class NrqlAlertConditionConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
1387
1387
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
1388
1388
|
'''Whether or not to enable the alert condition.
|
1389
1389
|
|
1390
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1390
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#enabled NrqlAlertCondition#enabled}
|
1391
1391
|
'''
|
1392
1392
|
result = self._values.get("enabled")
|
1393
1393
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
@@ -1396,7 +1396,7 @@ class NrqlAlertConditionConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
1396
1396
|
def evaluation_delay(self) -> typing.Optional[jsii.Number]:
|
1397
1397
|
'''How long we wait until the signal starts evaluating. The maximum delay is 7200 seconds (120 minutes).
|
1398
1398
|
|
1399
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1399
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#evaluation_delay NrqlAlertCondition#evaluation_delay}
|
1400
1400
|
'''
|
1401
1401
|
result = self._values.get("evaluation_delay")
|
1402
1402
|
return typing.cast(typing.Optional[jsii.Number], result)
|
@@ -1407,7 +1407,7 @@ class NrqlAlertConditionConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
1407
1407
|
|
1408
1408
|
Must be in the range of 30 to 172800 (inclusive)
|
1409
1409
|
|
1410
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1410
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#expiration_duration NrqlAlertCondition#expiration_duration}
|
1411
1411
|
'''
|
1412
1412
|
result = self._values.get("expiration_duration")
|
1413
1413
|
return typing.cast(typing.Optional[jsii.Number], result)
|
@@ -1418,7 +1418,7 @@ class NrqlAlertConditionConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
1418
1418
|
|
1419
1419
|
If static, the 'fill value' will be used for filling gaps in the signal. Valid values are: 'NONE', 'LAST_VALUE', or 'STATIC' (case insensitive).
|
1420
1420
|
|
1421
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1421
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#fill_option NrqlAlertCondition#fill_option}
|
1422
1422
|
'''
|
1423
1423
|
result = self._values.get("fill_option")
|
1424
1424
|
return typing.cast(typing.Optional[builtins.str], result)
|
@@ -1427,14 +1427,14 @@ class NrqlAlertConditionConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
1427
1427
|
def fill_value(self) -> typing.Optional[jsii.Number]:
|
1428
1428
|
'''If using the 'static' fill option, this value will be used for filling gaps in the signal.
|
1429
1429
|
|
1430
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1430
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#fill_value NrqlAlertCondition#fill_value}
|
1431
1431
|
'''
|
1432
1432
|
result = self._values.get("fill_value")
|
1433
1433
|
return typing.cast(typing.Optional[jsii.Number], result)
|
1434
1434
|
|
1435
1435
|
@builtins.property
|
1436
1436
|
def id(self) -> typing.Optional[builtins.str]:
|
1437
|
-
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1437
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#id NrqlAlertCondition#id}.
|
1438
1438
|
|
1439
1439
|
Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
1440
1440
|
If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
|
@@ -1448,7 +1448,7 @@ class NrqlAlertConditionConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
1448
1448
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
1449
1449
|
'''Whether to ignore expected termination of a signal when considering whether to create a loss of signal incident.
|
1450
1450
|
|
1451
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1451
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#ignore_on_expected_termination NrqlAlertCondition#ignore_on_expected_termination}
|
1452
1452
|
'''
|
1453
1453
|
result = self._values.get("ignore_on_expected_termination")
|
1454
1454
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
@@ -1459,7 +1459,7 @@ class NrqlAlertConditionConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
1459
1459
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
1460
1460
|
'''Whether to create a new incident to capture that the signal expired.
|
1461
1461
|
|
1462
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1462
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#open_violation_on_expiration NrqlAlertCondition#open_violation_on_expiration}
|
1463
1463
|
'''
|
1464
1464
|
result = self._values.get("open_violation_on_expiration")
|
1465
1465
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
@@ -1468,7 +1468,7 @@ class NrqlAlertConditionConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
1468
1468
|
def runbook_url(self) -> typing.Optional[builtins.str]:
|
1469
1469
|
'''Runbook URL to display in notifications.
|
1470
1470
|
|
1471
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1471
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#runbook_url NrqlAlertCondition#runbook_url}
|
1472
1472
|
'''
|
1473
1473
|
result = self._values.get("runbook_url")
|
1474
1474
|
return typing.cast(typing.Optional[builtins.str], result)
|
@@ -1479,7 +1479,7 @@ class NrqlAlertConditionConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
1479
1479
|
|
1480
1480
|
Valid values are: 'NEW_RELIC_CALCULATION', 'HOURLY', 'DAILY', 'WEEKLY', or 'NONE'. To have New Relic calculate seasonality automatically, set to 'NEW_RELIC_CALCULATION' (default). To turn off seasonality completely, set to 'NONE'.
|
1481
1481
|
|
1482
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1482
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#signal_seasonality NrqlAlertCondition#signal_seasonality}
|
1483
1483
|
'''
|
1484
1484
|
result = self._values.get("signal_seasonality")
|
1485
1485
|
return typing.cast(typing.Optional[builtins.str], result)
|
@@ -1490,7 +1490,7 @@ class NrqlAlertConditionConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
1490
1490
|
|
1491
1491
|
Must be a factor of ``aggregation_window`` and less than the aggregation window. If ``aggregation_window`` is less than or equal to 3600 seconds, it should be greater or equal to 30 seconds. If ``aggregation_window`` is greater than 3600 seconds but less than 7200 seconds, it should be greater or equal to ``aggregation_window / 120``. If ``aggregation_window`` is greater than 7200 seconds, it should be greater or equal to `aggregation_window / 24
|
1492
1492
|
|
1493
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1493
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#slide_by NrqlAlertCondition#slide_by}
|
1494
1494
|
'''
|
1495
1495
|
result = self._values.get("slide_by")
|
1496
1496
|
return typing.cast(typing.Optional[jsii.Number], result)
|
@@ -1501,7 +1501,7 @@ class NrqlAlertConditionConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
1501
1501
|
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["NrqlAlertConditionTerm"]]]:
|
1502
1502
|
'''term block.
|
1503
1503
|
|
1504
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1504
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#term NrqlAlertCondition#term}
|
1505
1505
|
'''
|
1506
1506
|
result = self._values.get("term")
|
1507
1507
|
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["NrqlAlertConditionTerm"]]], result)
|
@@ -1510,7 +1510,7 @@ class NrqlAlertConditionConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
1510
1510
|
def timeouts(self) -> typing.Optional["NrqlAlertConditionTimeouts"]:
|
1511
1511
|
'''timeouts block.
|
1512
1512
|
|
1513
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1513
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#timeouts NrqlAlertCondition#timeouts}
|
1514
1514
|
'''
|
1515
1515
|
result = self._values.get("timeouts")
|
1516
1516
|
return typing.cast(typing.Optional["NrqlAlertConditionTimeouts"], result)
|
@@ -1521,7 +1521,7 @@ class NrqlAlertConditionConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
1521
1521
|
|
1522
1522
|
Setting this field will override the default title. Must be Handlebars format.
|
1523
1523
|
|
1524
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1524
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#title_template NrqlAlertCondition#title_template}
|
1525
1525
|
'''
|
1526
1526
|
result = self._values.get("title_template")
|
1527
1527
|
return typing.cast(typing.Optional[builtins.str], result)
|
@@ -1530,7 +1530,7 @@ class NrqlAlertConditionConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
1530
1530
|
def type(self) -> typing.Optional[builtins.str]:
|
1531
1531
|
'''The type of NRQL alert condition to create. Valid values are: 'static', 'baseline'.
|
1532
1532
|
|
1533
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1533
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#type NrqlAlertCondition#type}
|
1534
1534
|
'''
|
1535
1535
|
result = self._values.get("type")
|
1536
1536
|
return typing.cast(typing.Optional[builtins.str], result)
|
@@ -1541,7 +1541,7 @@ class NrqlAlertConditionConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
1541
1541
|
|
1542
1542
|
Possible values are 'ONE_HOUR', 'TWO_HOURS', 'FOUR_HOURS', 'EIGHT_HOURS', 'TWELVE_HOURS', 'TWENTY_FOUR_HOURS', 'THIRTY_DAYS' (case insensitive).
|
1543
1543
|
|
1544
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1544
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#violation_time_limit NrqlAlertCondition#violation_time_limit}
|
1545
1545
|
'''
|
1546
1546
|
result = self._values.get("violation_time_limit")
|
1547
1547
|
return typing.cast(typing.Optional[builtins.str], result)
|
@@ -1552,7 +1552,7 @@ class NrqlAlertConditionConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
1552
1552
|
|
1553
1553
|
Must be in the range of 300 to 2592000 (inclusive)
|
1554
1554
|
|
1555
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1555
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#violation_time_limit_seconds NrqlAlertCondition#violation_time_limit_seconds}
|
1556
1556
|
'''
|
1557
1557
|
result = self._values.get("violation_time_limit_seconds")
|
1558
1558
|
return typing.cast(typing.Optional[jsii.Number], result)
|
@@ -1561,7 +1561,7 @@ class NrqlAlertConditionConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
1561
1561
|
def warning(self) -> typing.Optional["NrqlAlertConditionWarning"]:
|
1562
1562
|
'''warning block.
|
1563
1563
|
|
1564
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1564
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#warning NrqlAlertCondition#warning}
|
1565
1565
|
'''
|
1566
1566
|
result = self._values.get("warning")
|
1567
1567
|
return typing.cast(typing.Optional["NrqlAlertConditionWarning"], result)
|
@@ -1606,14 +1606,14 @@ class NrqlAlertConditionCritical:
|
|
1606
1606
|
time_function: typing.Optional[builtins.str] = None,
|
1607
1607
|
) -> None:
|
1608
1608
|
'''
|
1609
|
-
:param threshold: For baseline conditions must be in range [1, 1000]. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1610
|
-
:param disable_health_status_reporting: Violations will not change system health status for this term. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1611
|
-
:param duration: In minutes, must be in the range of 1 to 120 (inclusive). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1612
|
-
:param operator: One of (above, above_or_equals, below, below_or_equals, equals, not_equals). Defaults to 'equals'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1613
|
-
:param prediction: prediction block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1614
|
-
:param threshold_duration: The duration, in seconds, that the threshold must violate in order to create an incident. Value must be a multiple of the 'aggregation_window' (which has a default of 60 seconds). Value must be within 120-86400 seconds for baseline conditions, and within 60-86400 seconds for static conditions Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1615
|
-
:param threshold_occurrences: The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: 'ALL' or 'AT_LEAST_ONCE' (case insensitive). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1616
|
-
:param time_function: Valid values are: 'all' or 'any'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1609
|
+
:param threshold: For baseline conditions must be in range [1, 1000]. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#threshold NrqlAlertCondition#threshold}
|
1610
|
+
:param disable_health_status_reporting: Violations will not change system health status for this term. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#disable_health_status_reporting NrqlAlertCondition#disable_health_status_reporting}
|
1611
|
+
:param duration: In minutes, must be in the range of 1 to 120 (inclusive). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#duration NrqlAlertCondition#duration}
|
1612
|
+
:param operator: One of (above, above_or_equals, below, below_or_equals, equals, not_equals). Defaults to 'equals'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#operator NrqlAlertCondition#operator}
|
1613
|
+
:param prediction: prediction block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#prediction NrqlAlertCondition#prediction}
|
1614
|
+
:param threshold_duration: The duration, in seconds, that the threshold must violate in order to create an incident. Value must be a multiple of the 'aggregation_window' (which has a default of 60 seconds). Value must be within 120-86400 seconds for baseline conditions, and within 60-86400 seconds for static conditions Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#threshold_duration NrqlAlertCondition#threshold_duration}
|
1615
|
+
:param threshold_occurrences: The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: 'ALL' or 'AT_LEAST_ONCE' (case insensitive). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#threshold_occurrences NrqlAlertCondition#threshold_occurrences}
|
1616
|
+
:param time_function: Valid values are: 'all' or 'any'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#time_function NrqlAlertCondition#time_function}
|
1617
1617
|
'''
|
1618
1618
|
if isinstance(prediction, dict):
|
1619
1619
|
prediction = NrqlAlertConditionCriticalPrediction(**prediction)
|
@@ -1649,7 +1649,7 @@ class NrqlAlertConditionCritical:
|
|
1649
1649
|
def threshold(self) -> jsii.Number:
|
1650
1650
|
'''For baseline conditions must be in range [1, 1000].
|
1651
1651
|
|
1652
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1652
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#threshold NrqlAlertCondition#threshold}
|
1653
1653
|
'''
|
1654
1654
|
result = self._values.get("threshold")
|
1655
1655
|
assert result is not None, "Required property 'threshold' is missing"
|
@@ -1661,7 +1661,7 @@ class NrqlAlertConditionCritical:
|
|
1661
1661
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
1662
1662
|
'''Violations will not change system health status for this term.
|
1663
1663
|
|
1664
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1664
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#disable_health_status_reporting NrqlAlertCondition#disable_health_status_reporting}
|
1665
1665
|
'''
|
1666
1666
|
result = self._values.get("disable_health_status_reporting")
|
1667
1667
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
@@ -1670,7 +1670,7 @@ class NrqlAlertConditionCritical:
|
|
1670
1670
|
def duration(self) -> typing.Optional[jsii.Number]:
|
1671
1671
|
'''In minutes, must be in the range of 1 to 120 (inclusive).
|
1672
1672
|
|
1673
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1673
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#duration NrqlAlertCondition#duration}
|
1674
1674
|
'''
|
1675
1675
|
result = self._values.get("duration")
|
1676
1676
|
return typing.cast(typing.Optional[jsii.Number], result)
|
@@ -1679,7 +1679,7 @@ class NrqlAlertConditionCritical:
|
|
1679
1679
|
def operator(self) -> typing.Optional[builtins.str]:
|
1680
1680
|
'''One of (above, above_or_equals, below, below_or_equals, equals, not_equals). Defaults to 'equals'.
|
1681
1681
|
|
1682
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1682
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#operator NrqlAlertCondition#operator}
|
1683
1683
|
'''
|
1684
1684
|
result = self._values.get("operator")
|
1685
1685
|
return typing.cast(typing.Optional[builtins.str], result)
|
@@ -1688,7 +1688,7 @@ class NrqlAlertConditionCritical:
|
|
1688
1688
|
def prediction(self) -> typing.Optional["NrqlAlertConditionCriticalPrediction"]:
|
1689
1689
|
'''prediction block.
|
1690
1690
|
|
1691
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1691
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#prediction NrqlAlertCondition#prediction}
|
1692
1692
|
'''
|
1693
1693
|
result = self._values.get("prediction")
|
1694
1694
|
return typing.cast(typing.Optional["NrqlAlertConditionCriticalPrediction"], result)
|
@@ -1699,7 +1699,7 @@ class NrqlAlertConditionCritical:
|
|
1699
1699
|
|
1700
1700
|
Value must be a multiple of the 'aggregation_window' (which has a default of 60 seconds). Value must be within 120-86400 seconds for baseline conditions, and within 60-86400 seconds for static conditions
|
1701
1701
|
|
1702
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1702
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#threshold_duration NrqlAlertCondition#threshold_duration}
|
1703
1703
|
'''
|
1704
1704
|
result = self._values.get("threshold_duration")
|
1705
1705
|
return typing.cast(typing.Optional[jsii.Number], result)
|
@@ -1710,7 +1710,7 @@ class NrqlAlertConditionCritical:
|
|
1710
1710
|
|
1711
1711
|
Valid values are: 'ALL' or 'AT_LEAST_ONCE' (case insensitive).
|
1712
1712
|
|
1713
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1713
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#threshold_occurrences NrqlAlertCondition#threshold_occurrences}
|
1714
1714
|
'''
|
1715
1715
|
result = self._values.get("threshold_occurrences")
|
1716
1716
|
return typing.cast(typing.Optional[builtins.str], result)
|
@@ -1719,7 +1719,7 @@ class NrqlAlertConditionCritical:
|
|
1719
1719
|
def time_function(self) -> typing.Optional[builtins.str]:
|
1720
1720
|
'''Valid values are: 'all' or 'any'.
|
1721
1721
|
|
1722
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1722
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#time_function NrqlAlertCondition#time_function}
|
1723
1723
|
'''
|
1724
1724
|
result = self._values.get("time_function")
|
1725
1725
|
return typing.cast(typing.Optional[builtins.str], result)
|
@@ -1764,8 +1764,8 @@ class NrqlAlertConditionCriticalOutputReference(
|
|
1764
1764
|
prefer_prediction_violation: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
|
1765
1765
|
) -> None:
|
1766
1766
|
'''
|
1767
|
-
:param predict_by: BETA PREVIEW: the ``predict_by`` field is in limited release and only enabled for preview on a per-account basis. - The duration, in seconds, that the prediction should look into the future. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1768
|
-
:param prefer_prediction_violation: BETA PREVIEW: the ``prefer_prediction_violation`` field is in limited release and only enabled for preview on a per-account basis. - If a prediction incident is open when a term's static threshold is breached by the actual signal, default behavior is to close the prediction incident and open a static incident. Setting ``prefer_prediction_violation`` to ``true`` overrides this behavior leaving the prediction incident open and preventing a static incident from opening. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1767
|
+
:param predict_by: BETA PREVIEW: the ``predict_by`` field is in limited release and only enabled for preview on a per-account basis. - The duration, in seconds, that the prediction should look into the future. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#predict_by NrqlAlertCondition#predict_by}
|
1768
|
+
:param prefer_prediction_violation: BETA PREVIEW: the ``prefer_prediction_violation`` field is in limited release and only enabled for preview on a per-account basis. - If a prediction incident is open when a term's static threshold is breached by the actual signal, default behavior is to close the prediction incident and open a static incident. Setting ``prefer_prediction_violation`` to ``true`` overrides this behavior leaving the prediction incident open and preventing a static incident from opening. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#prefer_prediction_violation NrqlAlertCondition#prefer_prediction_violation}
|
1769
1769
|
'''
|
1770
1770
|
value = NrqlAlertConditionCriticalPrediction(
|
1771
1771
|
predict_by=predict_by,
|
@@ -1972,8 +1972,8 @@ class NrqlAlertConditionCriticalPrediction:
|
|
1972
1972
|
prefer_prediction_violation: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
|
1973
1973
|
) -> None:
|
1974
1974
|
'''
|
1975
|
-
:param predict_by: BETA PREVIEW: the ``predict_by`` field is in limited release and only enabled for preview on a per-account basis. - The duration, in seconds, that the prediction should look into the future. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1976
|
-
:param prefer_prediction_violation: BETA PREVIEW: the ``prefer_prediction_violation`` field is in limited release and only enabled for preview on a per-account basis. - If a prediction incident is open when a term's static threshold is breached by the actual signal, default behavior is to close the prediction incident and open a static incident. Setting ``prefer_prediction_violation`` to ``true`` overrides this behavior leaving the prediction incident open and preventing a static incident from opening. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1975
|
+
:param predict_by: BETA PREVIEW: the ``predict_by`` field is in limited release and only enabled for preview on a per-account basis. - The duration, in seconds, that the prediction should look into the future. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#predict_by NrqlAlertCondition#predict_by}
|
1976
|
+
:param prefer_prediction_violation: BETA PREVIEW: the ``prefer_prediction_violation`` field is in limited release and only enabled for preview on a per-account basis. - If a prediction incident is open when a term's static threshold is breached by the actual signal, default behavior is to close the prediction incident and open a static incident. Setting ``prefer_prediction_violation`` to ``true`` overrides this behavior leaving the prediction incident open and preventing a static incident from opening. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#prefer_prediction_violation NrqlAlertCondition#prefer_prediction_violation}
|
1977
1977
|
'''
|
1978
1978
|
if __debug__:
|
1979
1979
|
type_hints = typing.get_type_hints(_typecheckingstub__f016c68996fe74893413497c1cd7939a04ea54e41746ce3a67c2d7859eaa893d)
|
@@ -1991,7 +1991,7 @@ class NrqlAlertConditionCriticalPrediction:
|
|
1991
1991
|
|
1992
1992
|
- The duration, in seconds, that the prediction should look into the future.
|
1993
1993
|
|
1994
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
1994
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#predict_by NrqlAlertCondition#predict_by}
|
1995
1995
|
'''
|
1996
1996
|
result = self._values.get("predict_by")
|
1997
1997
|
return typing.cast(typing.Optional[jsii.Number], result)
|
@@ -2004,7 +2004,7 @@ class NrqlAlertConditionCriticalPrediction:
|
|
2004
2004
|
|
2005
2005
|
- If a prediction incident is open when a term's static threshold is breached by the actual signal, default behavior is to close the prediction incident and open a static incident. Setting ``prefer_prediction_violation`` to ``true`` overrides this behavior leaving the prediction incident open and preventing a static incident from opening.
|
2006
2006
|
|
2007
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
2007
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#prefer_prediction_violation NrqlAlertCondition#prefer_prediction_violation}
|
2008
2008
|
'''
|
2009
2009
|
result = self._values.get("prefer_prediction_violation")
|
2010
2010
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
@@ -2126,10 +2126,10 @@ class NrqlAlertConditionNrql:
|
|
2126
2126
|
since_value: typing.Optional[builtins.str] = None,
|
2127
2127
|
) -> None:
|
2128
2128
|
'''
|
2129
|
-
:param query: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
2130
|
-
:param data_account_id: The New Relic account ID to use as the basis for the NRQL alert condition's ``query``; will default to ``account_id`` if unspecified. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
2131
|
-
:param evaluation_offset: NRQL queries are evaluated in one-minute time windows. The start time depends on the value you provide in the NRQL condition's ``evaluation_offset``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
2132
|
-
:param since_value: NRQL queries are evaluated in one-minute time windows. The start time depends on the value you provide in the NRQL condition's ``since_value``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
2129
|
+
:param query: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#query NrqlAlertCondition#query}.
|
2130
|
+
:param data_account_id: The New Relic account ID to use as the basis for the NRQL alert condition's ``query``; will default to ``account_id`` if unspecified. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#data_account_id NrqlAlertCondition#data_account_id}
|
2131
|
+
:param evaluation_offset: NRQL queries are evaluated in one-minute time windows. The start time depends on the value you provide in the NRQL condition's ``evaluation_offset``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#evaluation_offset NrqlAlertCondition#evaluation_offset}
|
2132
|
+
:param since_value: NRQL queries are evaluated in one-minute time windows. The start time depends on the value you provide in the NRQL condition's ``since_value``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#since_value NrqlAlertCondition#since_value}
|
2133
2133
|
'''
|
2134
2134
|
if __debug__:
|
2135
2135
|
type_hints = typing.get_type_hints(_typecheckingstub__9c62249076f8a1e95787e0bdf5c0c59b2f6e89562e4dfc241b121925caa3708d)
|
@@ -2149,7 +2149,7 @@ class NrqlAlertConditionNrql:
|
|
2149
2149
|
|
2150
2150
|
@builtins.property
|
2151
2151
|
def query(self) -> builtins.str:
|
2152
|
-
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
2152
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#query NrqlAlertCondition#query}.'''
|
2153
2153
|
result = self._values.get("query")
|
2154
2154
|
assert result is not None, "Required property 'query' is missing"
|
2155
2155
|
return typing.cast(builtins.str, result)
|
@@ -2160,7 +2160,7 @@ class NrqlAlertConditionNrql:
|
|
2160
2160
|
|
2161
2161
|
will default to ``account_id`` if unspecified.
|
2162
2162
|
|
2163
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
2163
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#data_account_id NrqlAlertCondition#data_account_id}
|
2164
2164
|
'''
|
2165
2165
|
result = self._values.get("data_account_id")
|
2166
2166
|
return typing.cast(typing.Optional[jsii.Number], result)
|
@@ -2171,7 +2171,7 @@ class NrqlAlertConditionNrql:
|
|
2171
2171
|
|
2172
2172
|
The start time depends on the value you provide in the NRQL condition's ``evaluation_offset``.
|
2173
2173
|
|
2174
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
2174
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#evaluation_offset NrqlAlertCondition#evaluation_offset}
|
2175
2175
|
'''
|
2176
2176
|
result = self._values.get("evaluation_offset")
|
2177
2177
|
return typing.cast(typing.Optional[jsii.Number], result)
|
@@ -2182,7 +2182,7 @@ class NrqlAlertConditionNrql:
|
|
2182
2182
|
|
2183
2183
|
The start time depends on the value you provide in the NRQL condition's ``since_value``.
|
2184
2184
|
|
2185
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
2185
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#since_value NrqlAlertCondition#since_value}
|
2186
2186
|
'''
|
2187
2187
|
result = self._values.get("since_value")
|
2188
2188
|
return typing.cast(typing.Optional[builtins.str], result)
|
@@ -2342,15 +2342,15 @@ class NrqlAlertConditionTerm:
|
|
2342
2342
|
time_function: typing.Optional[builtins.str] = None,
|
2343
2343
|
) -> None:
|
2344
2344
|
'''
|
2345
|
-
:param threshold: For baseline conditions must be in range [1, 1000]. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
2346
|
-
:param disable_health_status_reporting: Violations will not change system health status for this term. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
2347
|
-
:param duration: In minutes, must be in the range of 1 to 120 (inclusive). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
2348
|
-
:param operator: One of (above, above_or_equals, below, below_or_equals, equals, not_equals). Defaults to 'equals'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
2349
|
-
:param prediction: prediction block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
2350
|
-
:param priority: One of (critical, warning). Defaults to 'critical'. At least one condition term must have priority set to 'critical'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
2351
|
-
:param threshold_duration: The duration, in seconds, that the threshold must violate in order to create an incident. Value must be a multiple of the 'aggregation_window' (which has a default of 60 seconds). Value must be within 120-86400 seconds for baseline conditions, and within 60-86400 seconds for static conditions Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
2352
|
-
:param threshold_occurrences: The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: 'ALL' or 'AT_LEAST_ONCE' (case insensitive). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
2353
|
-
:param time_function: Valid values are: 'all' or 'any'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
2345
|
+
:param threshold: For baseline conditions must be in range [1, 1000]. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#threshold NrqlAlertCondition#threshold}
|
2346
|
+
:param disable_health_status_reporting: Violations will not change system health status for this term. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#disable_health_status_reporting NrqlAlertCondition#disable_health_status_reporting}
|
2347
|
+
:param duration: In minutes, must be in the range of 1 to 120 (inclusive). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#duration NrqlAlertCondition#duration}
|
2348
|
+
:param operator: One of (above, above_or_equals, below, below_or_equals, equals, not_equals). Defaults to 'equals'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#operator NrqlAlertCondition#operator}
|
2349
|
+
:param prediction: prediction block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#prediction NrqlAlertCondition#prediction}
|
2350
|
+
:param priority: One of (critical, warning). Defaults to 'critical'. At least one condition term must have priority set to 'critical'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#priority NrqlAlertCondition#priority}
|
2351
|
+
:param threshold_duration: The duration, in seconds, that the threshold must violate in order to create an incident. Value must be a multiple of the 'aggregation_window' (which has a default of 60 seconds). Value must be within 120-86400 seconds for baseline conditions, and within 60-86400 seconds for static conditions Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#threshold_duration NrqlAlertCondition#threshold_duration}
|
2352
|
+
:param threshold_occurrences: The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: 'ALL' or 'AT_LEAST_ONCE' (case insensitive). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#threshold_occurrences NrqlAlertCondition#threshold_occurrences}
|
2353
|
+
:param time_function: Valid values are: 'all' or 'any'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#time_function NrqlAlertCondition#time_function}
|
2354
2354
|
'''
|
2355
2355
|
if isinstance(prediction, dict):
|
2356
2356
|
prediction = NrqlAlertConditionTermPrediction(**prediction)
|
@@ -2389,7 +2389,7 @@ class NrqlAlertConditionTerm:
|
|
2389
2389
|
def threshold(self) -> jsii.Number:
|
2390
2390
|
'''For baseline conditions must be in range [1, 1000].
|
2391
2391
|
|
2392
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
2392
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#threshold NrqlAlertCondition#threshold}
|
2393
2393
|
'''
|
2394
2394
|
result = self._values.get("threshold")
|
2395
2395
|
assert result is not None, "Required property 'threshold' is missing"
|
@@ -2401,7 +2401,7 @@ class NrqlAlertConditionTerm:
|
|
2401
2401
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
2402
2402
|
'''Violations will not change system health status for this term.
|
2403
2403
|
|
2404
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
2404
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#disable_health_status_reporting NrqlAlertCondition#disable_health_status_reporting}
|
2405
2405
|
'''
|
2406
2406
|
result = self._values.get("disable_health_status_reporting")
|
2407
2407
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
@@ -2410,7 +2410,7 @@ class NrqlAlertConditionTerm:
|
|
2410
2410
|
def duration(self) -> typing.Optional[jsii.Number]:
|
2411
2411
|
'''In minutes, must be in the range of 1 to 120 (inclusive).
|
2412
2412
|
|
2413
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
2413
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#duration NrqlAlertCondition#duration}
|
2414
2414
|
'''
|
2415
2415
|
result = self._values.get("duration")
|
2416
2416
|
return typing.cast(typing.Optional[jsii.Number], result)
|
@@ -2419,7 +2419,7 @@ class NrqlAlertConditionTerm:
|
|
2419
2419
|
def operator(self) -> typing.Optional[builtins.str]:
|
2420
2420
|
'''One of (above, above_or_equals, below, below_or_equals, equals, not_equals). Defaults to 'equals'.
|
2421
2421
|
|
2422
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
2422
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#operator NrqlAlertCondition#operator}
|
2423
2423
|
'''
|
2424
2424
|
result = self._values.get("operator")
|
2425
2425
|
return typing.cast(typing.Optional[builtins.str], result)
|
@@ -2428,7 +2428,7 @@ class NrqlAlertConditionTerm:
|
|
2428
2428
|
def prediction(self) -> typing.Optional["NrqlAlertConditionTermPrediction"]:
|
2429
2429
|
'''prediction block.
|
2430
2430
|
|
2431
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
2431
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#prediction NrqlAlertCondition#prediction}
|
2432
2432
|
'''
|
2433
2433
|
result = self._values.get("prediction")
|
2434
2434
|
return typing.cast(typing.Optional["NrqlAlertConditionTermPrediction"], result)
|
@@ -2437,7 +2437,7 @@ class NrqlAlertConditionTerm:
|
|
2437
2437
|
def priority(self) -> typing.Optional[builtins.str]:
|
2438
2438
|
'''One of (critical, warning). Defaults to 'critical'. At least one condition term must have priority set to 'critical'.
|
2439
2439
|
|
2440
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
2440
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#priority NrqlAlertCondition#priority}
|
2441
2441
|
'''
|
2442
2442
|
result = self._values.get("priority")
|
2443
2443
|
return typing.cast(typing.Optional[builtins.str], result)
|
@@ -2448,7 +2448,7 @@ class NrqlAlertConditionTerm:
|
|
2448
2448
|
|
2449
2449
|
Value must be a multiple of the 'aggregation_window' (which has a default of 60 seconds). Value must be within 120-86400 seconds for baseline conditions, and within 60-86400 seconds for static conditions
|
2450
2450
|
|
2451
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
2451
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#threshold_duration NrqlAlertCondition#threshold_duration}
|
2452
2452
|
'''
|
2453
2453
|
result = self._values.get("threshold_duration")
|
2454
2454
|
return typing.cast(typing.Optional[jsii.Number], result)
|
@@ -2459,7 +2459,7 @@ class NrqlAlertConditionTerm:
|
|
2459
2459
|
|
2460
2460
|
Valid values are: 'ALL' or 'AT_LEAST_ONCE' (case insensitive).
|
2461
2461
|
|
2462
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
2462
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#threshold_occurrences NrqlAlertCondition#threshold_occurrences}
|
2463
2463
|
'''
|
2464
2464
|
result = self._values.get("threshold_occurrences")
|
2465
2465
|
return typing.cast(typing.Optional[builtins.str], result)
|
@@ -2468,7 +2468,7 @@ class NrqlAlertConditionTerm:
|
|
2468
2468
|
def time_function(self) -> typing.Optional[builtins.str]:
|
2469
2469
|
'''Valid values are: 'all' or 'any'.
|
2470
2470
|
|
2471
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
2471
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#time_function NrqlAlertCondition#time_function}
|
2472
2472
|
'''
|
2473
2473
|
result = self._values.get("time_function")
|
2474
2474
|
return typing.cast(typing.Optional[builtins.str], result)
|
@@ -2609,8 +2609,8 @@ class NrqlAlertConditionTermOutputReference(
|
|
2609
2609
|
prefer_prediction_violation: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
|
2610
2610
|
) -> None:
|
2611
2611
|
'''
|
2612
|
-
:param predict_by: BETA PREVIEW: the ``predict_by`` field is in limited release and only enabled for preview on a per-account basis. - The duration, in seconds, that the prediction should look into the future. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
2613
|
-
:param prefer_prediction_violation: BETA PREVIEW: the ``prefer_prediction_violation`` field is in limited release and only enabled for preview on a per-account basis. - If a prediction incident is open when a term's static threshold is breached by the actual signal, default behavior is to close the prediction incident and open a static incident. Setting ``prefer_prediction_violation`` to ``true`` overrides this behavior leaving the prediction incident open and preventing a static incident from opening. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
2612
|
+
:param predict_by: BETA PREVIEW: the ``predict_by`` field is in limited release and only enabled for preview on a per-account basis. - The duration, in seconds, that the prediction should look into the future. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#predict_by NrqlAlertCondition#predict_by}
|
2613
|
+
:param prefer_prediction_violation: BETA PREVIEW: the ``prefer_prediction_violation`` field is in limited release and only enabled for preview on a per-account basis. - If a prediction incident is open when a term's static threshold is breached by the actual signal, default behavior is to close the prediction incident and open a static incident. Setting ``prefer_prediction_violation`` to ``true`` overrides this behavior leaving the prediction incident open and preventing a static incident from opening. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#prefer_prediction_violation NrqlAlertCondition#prefer_prediction_violation}
|
2614
2614
|
'''
|
2615
2615
|
value = NrqlAlertConditionTermPrediction(
|
2616
2616
|
predict_by=predict_by,
|
@@ -2838,8 +2838,8 @@ class NrqlAlertConditionTermPrediction:
|
|
2838
2838
|
prefer_prediction_violation: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
|
2839
2839
|
) -> None:
|
2840
2840
|
'''
|
2841
|
-
:param predict_by: BETA PREVIEW: the ``predict_by`` field is in limited release and only enabled for preview on a per-account basis. - The duration, in seconds, that the prediction should look into the future. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
2842
|
-
:param prefer_prediction_violation: BETA PREVIEW: the ``prefer_prediction_violation`` field is in limited release and only enabled for preview on a per-account basis. - If a prediction incident is open when a term's static threshold is breached by the actual signal, default behavior is to close the prediction incident and open a static incident. Setting ``prefer_prediction_violation`` to ``true`` overrides this behavior leaving the prediction incident open and preventing a static incident from opening. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
2841
|
+
:param predict_by: BETA PREVIEW: the ``predict_by`` field is in limited release and only enabled for preview on a per-account basis. - The duration, in seconds, that the prediction should look into the future. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#predict_by NrqlAlertCondition#predict_by}
|
2842
|
+
:param prefer_prediction_violation: BETA PREVIEW: the ``prefer_prediction_violation`` field is in limited release and only enabled for preview on a per-account basis. - If a prediction incident is open when a term's static threshold is breached by the actual signal, default behavior is to close the prediction incident and open a static incident. Setting ``prefer_prediction_violation`` to ``true`` overrides this behavior leaving the prediction incident open and preventing a static incident from opening. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#prefer_prediction_violation NrqlAlertCondition#prefer_prediction_violation}
|
2843
2843
|
'''
|
2844
2844
|
if __debug__:
|
2845
2845
|
type_hints = typing.get_type_hints(_typecheckingstub__a9d8d626bf7989bbb243f3b8cc5d92cc286b2c5de6e1de6512d57aa529402bc4)
|
@@ -2857,7 +2857,7 @@ class NrqlAlertConditionTermPrediction:
|
|
2857
2857
|
|
2858
2858
|
- The duration, in seconds, that the prediction should look into the future.
|
2859
2859
|
|
2860
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
2860
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#predict_by NrqlAlertCondition#predict_by}
|
2861
2861
|
'''
|
2862
2862
|
result = self._values.get("predict_by")
|
2863
2863
|
return typing.cast(typing.Optional[jsii.Number], result)
|
@@ -2870,7 +2870,7 @@ class NrqlAlertConditionTermPrediction:
|
|
2870
2870
|
|
2871
2871
|
- If a prediction incident is open when a term's static threshold is breached by the actual signal, default behavior is to close the prediction incident and open a static incident. Setting ``prefer_prediction_violation`` to ``true`` overrides this behavior leaving the prediction incident open and preventing a static incident from opening.
|
2872
2872
|
|
2873
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
2873
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#prefer_prediction_violation NrqlAlertCondition#prefer_prediction_violation}
|
2874
2874
|
'''
|
2875
2875
|
result = self._values.get("prefer_prediction_violation")
|
2876
2876
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
@@ -2980,7 +2980,7 @@ class NrqlAlertConditionTermPredictionOutputReference(
|
|
2980
2980
|
class NrqlAlertConditionTimeouts:
|
2981
2981
|
def __init__(self, *, create: typing.Optional[builtins.str] = None) -> None:
|
2982
2982
|
'''
|
2983
|
-
:param create: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
2983
|
+
:param create: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#create NrqlAlertCondition#create}.
|
2984
2984
|
'''
|
2985
2985
|
if __debug__:
|
2986
2986
|
type_hints = typing.get_type_hints(_typecheckingstub__0ad557cdb849fcdabb8eb24917c404848f2760660e0b62e55ca1dad407aec562)
|
@@ -2991,7 +2991,7 @@ class NrqlAlertConditionTimeouts:
|
|
2991
2991
|
|
2992
2992
|
@builtins.property
|
2993
2993
|
def create(self) -> typing.Optional[builtins.str]:
|
2994
|
-
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
2994
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#create NrqlAlertCondition#create}.'''
|
2995
2995
|
result = self._values.get("create")
|
2996
2996
|
return typing.cast(typing.Optional[builtins.str], result)
|
2997
2997
|
|
@@ -3094,14 +3094,14 @@ class NrqlAlertConditionWarning:
|
|
3094
3094
|
time_function: typing.Optional[builtins.str] = None,
|
3095
3095
|
) -> None:
|
3096
3096
|
'''
|
3097
|
-
:param threshold: For baseline conditions must be in range [1, 1000]. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
3098
|
-
:param disable_health_status_reporting: Violations will not change system health status for this term. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
3099
|
-
:param duration: In minutes, must be in the range of 1 to 120 (inclusive). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
3100
|
-
:param operator: One of (above, above_or_equals, below, below_or_equals, equals, not_equals). Defaults to 'equals'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
3101
|
-
:param prediction: prediction block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
3102
|
-
:param threshold_duration: The duration, in seconds, that the threshold must violate in order to create an incident. Value must be a multiple of the 'aggregation_window' (which has a default of 60 seconds). Value must be within 120-86400 seconds for baseline conditions, and within 60-86400 seconds for static conditions Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
3103
|
-
:param threshold_occurrences: The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: 'ALL' or 'AT_LEAST_ONCE' (case insensitive). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
3104
|
-
:param time_function: Valid values are: 'all' or 'any'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
3097
|
+
:param threshold: For baseline conditions must be in range [1, 1000]. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#threshold NrqlAlertCondition#threshold}
|
3098
|
+
:param disable_health_status_reporting: Violations will not change system health status for this term. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#disable_health_status_reporting NrqlAlertCondition#disable_health_status_reporting}
|
3099
|
+
:param duration: In minutes, must be in the range of 1 to 120 (inclusive). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#duration NrqlAlertCondition#duration}
|
3100
|
+
:param operator: One of (above, above_or_equals, below, below_or_equals, equals, not_equals). Defaults to 'equals'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#operator NrqlAlertCondition#operator}
|
3101
|
+
:param prediction: prediction block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#prediction NrqlAlertCondition#prediction}
|
3102
|
+
:param threshold_duration: The duration, in seconds, that the threshold must violate in order to create an incident. Value must be a multiple of the 'aggregation_window' (which has a default of 60 seconds). Value must be within 120-86400 seconds for baseline conditions, and within 60-86400 seconds for static conditions Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#threshold_duration NrqlAlertCondition#threshold_duration}
|
3103
|
+
:param threshold_occurrences: The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: 'ALL' or 'AT_LEAST_ONCE' (case insensitive). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#threshold_occurrences NrqlAlertCondition#threshold_occurrences}
|
3104
|
+
:param time_function: Valid values are: 'all' or 'any'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#time_function NrqlAlertCondition#time_function}
|
3105
3105
|
'''
|
3106
3106
|
if isinstance(prediction, dict):
|
3107
3107
|
prediction = NrqlAlertConditionWarningPrediction(**prediction)
|
@@ -3137,7 +3137,7 @@ class NrqlAlertConditionWarning:
|
|
3137
3137
|
def threshold(self) -> jsii.Number:
|
3138
3138
|
'''For baseline conditions must be in range [1, 1000].
|
3139
3139
|
|
3140
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
3140
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#threshold NrqlAlertCondition#threshold}
|
3141
3141
|
'''
|
3142
3142
|
result = self._values.get("threshold")
|
3143
3143
|
assert result is not None, "Required property 'threshold' is missing"
|
@@ -3149,7 +3149,7 @@ class NrqlAlertConditionWarning:
|
|
3149
3149
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
3150
3150
|
'''Violations will not change system health status for this term.
|
3151
3151
|
|
3152
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
3152
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#disable_health_status_reporting NrqlAlertCondition#disable_health_status_reporting}
|
3153
3153
|
'''
|
3154
3154
|
result = self._values.get("disable_health_status_reporting")
|
3155
3155
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
@@ -3158,7 +3158,7 @@ class NrqlAlertConditionWarning:
|
|
3158
3158
|
def duration(self) -> typing.Optional[jsii.Number]:
|
3159
3159
|
'''In minutes, must be in the range of 1 to 120 (inclusive).
|
3160
3160
|
|
3161
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
3161
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#duration NrqlAlertCondition#duration}
|
3162
3162
|
'''
|
3163
3163
|
result = self._values.get("duration")
|
3164
3164
|
return typing.cast(typing.Optional[jsii.Number], result)
|
@@ -3167,7 +3167,7 @@ class NrqlAlertConditionWarning:
|
|
3167
3167
|
def operator(self) -> typing.Optional[builtins.str]:
|
3168
3168
|
'''One of (above, above_or_equals, below, below_or_equals, equals, not_equals). Defaults to 'equals'.
|
3169
3169
|
|
3170
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
3170
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#operator NrqlAlertCondition#operator}
|
3171
3171
|
'''
|
3172
3172
|
result = self._values.get("operator")
|
3173
3173
|
return typing.cast(typing.Optional[builtins.str], result)
|
@@ -3176,7 +3176,7 @@ class NrqlAlertConditionWarning:
|
|
3176
3176
|
def prediction(self) -> typing.Optional["NrqlAlertConditionWarningPrediction"]:
|
3177
3177
|
'''prediction block.
|
3178
3178
|
|
3179
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
3179
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#prediction NrqlAlertCondition#prediction}
|
3180
3180
|
'''
|
3181
3181
|
result = self._values.get("prediction")
|
3182
3182
|
return typing.cast(typing.Optional["NrqlAlertConditionWarningPrediction"], result)
|
@@ -3187,7 +3187,7 @@ class NrqlAlertConditionWarning:
|
|
3187
3187
|
|
3188
3188
|
Value must be a multiple of the 'aggregation_window' (which has a default of 60 seconds). Value must be within 120-86400 seconds for baseline conditions, and within 60-86400 seconds for static conditions
|
3189
3189
|
|
3190
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
3190
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#threshold_duration NrqlAlertCondition#threshold_duration}
|
3191
3191
|
'''
|
3192
3192
|
result = self._values.get("threshold_duration")
|
3193
3193
|
return typing.cast(typing.Optional[jsii.Number], result)
|
@@ -3198,7 +3198,7 @@ class NrqlAlertConditionWarning:
|
|
3198
3198
|
|
3199
3199
|
Valid values are: 'ALL' or 'AT_LEAST_ONCE' (case insensitive).
|
3200
3200
|
|
3201
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
3201
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#threshold_occurrences NrqlAlertCondition#threshold_occurrences}
|
3202
3202
|
'''
|
3203
3203
|
result = self._values.get("threshold_occurrences")
|
3204
3204
|
return typing.cast(typing.Optional[builtins.str], result)
|
@@ -3207,7 +3207,7 @@ class NrqlAlertConditionWarning:
|
|
3207
3207
|
def time_function(self) -> typing.Optional[builtins.str]:
|
3208
3208
|
'''Valid values are: 'all' or 'any'.
|
3209
3209
|
|
3210
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
3210
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#time_function NrqlAlertCondition#time_function}
|
3211
3211
|
'''
|
3212
3212
|
result = self._values.get("time_function")
|
3213
3213
|
return typing.cast(typing.Optional[builtins.str], result)
|
@@ -3252,8 +3252,8 @@ class NrqlAlertConditionWarningOutputReference(
|
|
3252
3252
|
prefer_prediction_violation: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
|
3253
3253
|
) -> None:
|
3254
3254
|
'''
|
3255
|
-
:param predict_by: BETA PREVIEW: the ``predict_by`` field is in limited release and only enabled for preview on a per-account basis. - The duration, in seconds, that the prediction should look into the future. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
3256
|
-
:param prefer_prediction_violation: BETA PREVIEW: the ``prefer_prediction_violation`` field is in limited release and only enabled for preview on a per-account basis. - If a prediction incident is open when a term's static threshold is breached by the actual signal, default behavior is to close the prediction incident and open a static incident. Setting ``prefer_prediction_violation`` to ``true`` overrides this behavior leaving the prediction incident open and preventing a static incident from opening. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
3255
|
+
:param predict_by: BETA PREVIEW: the ``predict_by`` field is in limited release and only enabled for preview on a per-account basis. - The duration, in seconds, that the prediction should look into the future. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#predict_by NrqlAlertCondition#predict_by}
|
3256
|
+
:param prefer_prediction_violation: BETA PREVIEW: the ``prefer_prediction_violation`` field is in limited release and only enabled for preview on a per-account basis. - If a prediction incident is open when a term's static threshold is breached by the actual signal, default behavior is to close the prediction incident and open a static incident. Setting ``prefer_prediction_violation`` to ``true`` overrides this behavior leaving the prediction incident open and preventing a static incident from opening. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#prefer_prediction_violation NrqlAlertCondition#prefer_prediction_violation}
|
3257
3257
|
'''
|
3258
3258
|
value = NrqlAlertConditionWarningPrediction(
|
3259
3259
|
predict_by=predict_by,
|
@@ -3457,8 +3457,8 @@ class NrqlAlertConditionWarningPrediction:
|
|
3457
3457
|
prefer_prediction_violation: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
|
3458
3458
|
) -> None:
|
3459
3459
|
'''
|
3460
|
-
:param predict_by: BETA PREVIEW: the ``predict_by`` field is in limited release and only enabled for preview on a per-account basis. - The duration, in seconds, that the prediction should look into the future. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
3461
|
-
:param prefer_prediction_violation: BETA PREVIEW: the ``prefer_prediction_violation`` field is in limited release and only enabled for preview on a per-account basis. - If a prediction incident is open when a term's static threshold is breached by the actual signal, default behavior is to close the prediction incident and open a static incident. Setting ``prefer_prediction_violation`` to ``true`` overrides this behavior leaving the prediction incident open and preventing a static incident from opening. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
3460
|
+
:param predict_by: BETA PREVIEW: the ``predict_by`` field is in limited release and only enabled for preview on a per-account basis. - The duration, in seconds, that the prediction should look into the future. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#predict_by NrqlAlertCondition#predict_by}
|
3461
|
+
:param prefer_prediction_violation: BETA PREVIEW: the ``prefer_prediction_violation`` field is in limited release and only enabled for preview on a per-account basis. - If a prediction incident is open when a term's static threshold is breached by the actual signal, default behavior is to close the prediction incident and open a static incident. Setting ``prefer_prediction_violation`` to ``true`` overrides this behavior leaving the prediction incident open and preventing a static incident from opening. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#prefer_prediction_violation NrqlAlertCondition#prefer_prediction_violation}
|
3462
3462
|
'''
|
3463
3463
|
if __debug__:
|
3464
3464
|
type_hints = typing.get_type_hints(_typecheckingstub__16cd67c82e668e9d0589af97fac34021db2897c7dde623d83be37e583afc80a8)
|
@@ -3476,7 +3476,7 @@ class NrqlAlertConditionWarningPrediction:
|
|
3476
3476
|
|
3477
3477
|
- The duration, in seconds, that the prediction should look into the future.
|
3478
3478
|
|
3479
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
3479
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#predict_by NrqlAlertCondition#predict_by}
|
3480
3480
|
'''
|
3481
3481
|
result = self._values.get("predict_by")
|
3482
3482
|
return typing.cast(typing.Optional[jsii.Number], result)
|
@@ -3489,7 +3489,7 @@ class NrqlAlertConditionWarningPrediction:
|
|
3489
3489
|
|
3490
3490
|
- If a prediction incident is open when a term's static threshold is breached by the actual signal, default behavior is to close the prediction incident and open a static incident. Setting ``prefer_prediction_violation`` to ``true`` overrides this behavior leaving the prediction incident open and preventing a static incident from opening.
|
3491
3491
|
|
3492
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
3492
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.70.0/docs/resources/nrql_alert_condition#prefer_prediction_violation NrqlAlertCondition#prefer_prediction_violation}
|
3493
3493
|
'''
|
3494
3494
|
result = self._values.get("prefer_prediction_violation")
|
3495
3495
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|