@cdktf-providers/newrelic 3.75.4 → 3.76.1
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.
- package/README.md +3 -3
- package/dist/account-management/index.d.ts +59 -6
- package/dist/account-management/index.js +168 -6
- package/dist/alert-channel/index.d.ts +30 -30
- package/dist/alert-channel/index.js +6 -6
- package/dist/alert-condition/index.d.ts +23 -23
- package/dist/alert-condition/index.js +6 -6
- package/dist/alert-muting-rule/index.d.ts +23 -23
- package/dist/alert-muting-rule/index.js +6 -6
- package/dist/alert-policy/index.d.ts +8 -8
- package/dist/alert-policy/index.js +6 -6
- package/dist/alert-policy-channel/index.d.ts +9 -9
- package/dist/alert-policy-channel/index.js +6 -6
- package/dist/api-access-key/index.d.ts +10 -10
- package/dist/api-access-key/index.js +6 -6
- package/dist/application-settings/index.d.ts +27 -27
- package/dist/application-settings/index.js +6 -6
- package/dist/browser-application/index.d.ts +9 -9
- package/dist/browser-application/index.js +6 -6
- package/dist/cloud-aws-govcloud-integrations/index.d.ts +110 -110
- package/dist/cloud-aws-govcloud-integrations/index.js +6 -6
- package/dist/cloud-aws-govcloud-link-account/index.d.ts +8 -8
- package/dist/cloud-aws-govcloud-link-account/index.js +6 -6
- package/dist/cloud-aws-integrations/index.d.ts +231 -231
- package/dist/cloud-aws-integrations/index.js +6 -6
- package/dist/cloud-aws-link-account/index.d.ts +8 -8
- package/dist/cloud-aws-link-account/index.js +6 -6
- package/dist/cloud-azure-integrations/index.d.ts +109 -109
- package/dist/cloud-azure-integrations/index.js +6 -6
- package/dist/cloud-azure-link-account/index.d.ts +10 -10
- package/dist/cloud-azure-link-account/index.js +6 -6
- package/dist/cloud-gcp-integrations/index.d.ts +62 -62
- package/dist/cloud-gcp-integrations/index.js +6 -6
- package/dist/cloud-gcp-link-account/index.d.ts +7 -7
- package/dist/cloud-gcp-link-account/index.js +6 -6
- package/dist/cloud-oci-link-account/index.d.ts +18 -18
- package/dist/cloud-oci-link-account/index.js +6 -6
- package/dist/data-newrelic-account/index.d.ts +8 -7
- package/dist/data-newrelic-account/index.js +10 -6
- package/dist/data-newrelic-alert-channel/index.d.ts +6 -6
- package/dist/data-newrelic-alert-channel/index.js +6 -6
- package/dist/data-newrelic-alert-policy/index.d.ts +7 -7
- package/dist/data-newrelic-alert-policy/index.js +6 -6
- package/dist/data-newrelic-application/index.d.ts +5 -5
- package/dist/data-newrelic-application/index.js +6 -6
- package/dist/data-newrelic-authentication-domain/index.d.ts +4 -4
- package/dist/data-newrelic-authentication-domain/index.js +6 -6
- package/dist/data-newrelic-cloud-account/index.d.ts +7 -7
- package/dist/data-newrelic-cloud-account/index.js +6 -6
- package/dist/data-newrelic-entity/index.d.ts +14 -14
- package/dist/data-newrelic-entity/index.js +6 -6
- package/dist/data-newrelic-group/index.d.ts +5 -5
- package/dist/data-newrelic-group/index.js +6 -6
- package/dist/data-newrelic-key-transaction/index.d.ts +7 -7
- package/dist/data-newrelic-key-transaction/index.js +6 -6
- package/dist/data-newrelic-notification-destination/index.d.ts +8 -8
- package/dist/data-newrelic-notification-destination/index.js +6 -6
- package/dist/data-newrelic-obfuscation-expression/index.d.ts +6 -6
- package/dist/data-newrelic-obfuscation-expression/index.js +6 -6
- package/dist/data-newrelic-service-level-alert-helper/index.d.ts +11 -11
- package/dist/data-newrelic-service-level-alert-helper/index.js +6 -6
- package/dist/data-newrelic-synthetics-private-location/index.d.ts +7 -7
- package/dist/data-newrelic-synthetics-private-location/index.js +6 -6
- package/dist/data-newrelic-synthetics-secure-credential/index.d.ts +6 -6
- package/dist/data-newrelic-synthetics-secure-credential/index.js +6 -6
- package/dist/data-newrelic-test-grok-pattern/index.d.ts +7 -7
- package/dist/data-newrelic-test-grok-pattern/index.js +6 -6
- package/dist/data-newrelic-user/index.d.ts +6 -6
- package/dist/data-newrelic-user/index.js +6 -6
- package/dist/data-partition-rule/index.d.ts +12 -12
- package/dist/data-partition-rule/index.js +6 -6
- package/dist/entity-tags/index.d.ts +10 -10
- package/dist/entity-tags/index.js +6 -6
- package/dist/events-to-metrics-rule/index.d.ts +9 -9
- package/dist/events-to-metrics-rule/index.js +6 -6
- package/dist/group/index.d.ts +7 -7
- package/dist/group/index.js +6 -6
- package/dist/infra-alert-condition/index.d.ts +25 -25
- package/dist/infra-alert-condition/index.js +6 -6
- package/dist/insights-event/index.d.ts +11 -11
- package/dist/insights-event/index.js +6 -6
- package/dist/key-transaction/index.d.ts +9 -9
- package/dist/key-transaction/index.js +6 -6
- package/dist/log-parsing-rule/index.d.ts +12 -12
- package/dist/log-parsing-rule/index.js +6 -6
- package/dist/monitor-downtime/index.d.ts +20 -20
- package/dist/monitor-downtime/index.js +6 -6
- package/dist/notification-channel/index.d.ts +18 -18
- package/dist/notification-channel/index.js +6 -6
- package/dist/notification-destination/index.d.ts +28 -28
- package/dist/notification-destination/index.js +6 -6
- package/dist/nrql-alert-condition/index.d.ts +151 -71
- package/dist/nrql-alert-condition/index.js +222 -6
- package/dist/nrql-drop-rule/index.d.ts +10 -10
- package/dist/nrql-drop-rule/index.js +6 -6
- package/dist/obfuscation-expression/index.d.ts +8 -8
- package/dist/obfuscation-expression/index.js +6 -6
- package/dist/obfuscation-rule/index.d.ts +13 -13
- package/dist/obfuscation-rule/index.js +6 -6
- package/dist/one-dashboard/index-structs/structs0.d.ts +382 -382
- package/dist/one-dashboard/index-structs/structs400.d.ts +212 -212
- package/dist/one-dashboard/index.d.ts +10 -10
- package/dist/one-dashboard/index.js +5 -5
- package/dist/one-dashboard-json/index.d.ts +9 -9
- package/dist/one-dashboard-json/index.js +6 -6
- package/dist/one-dashboard-raw/index.d.ts +20 -20
- package/dist/one-dashboard-raw/index.js +6 -6
- package/dist/pipeline-cloud-rule/index.d.ts +8 -8
- package/dist/pipeline-cloud-rule/index.js +6 -6
- package/dist/provider/index.d.ts +17 -17
- package/dist/provider/index.js +6 -6
- package/dist/service-level/index.d.ts +38 -38
- package/dist/service-level/index.js +6 -6
- package/dist/synthetics-alert-condition/index.d.ts +9 -9
- package/dist/synthetics-alert-condition/index.js +6 -6
- package/dist/synthetics-broken-links-monitor/index.d.ts +17 -17
- package/dist/synthetics-broken-links-monitor/index.js +6 -6
- package/dist/synthetics-cert-check-monitor/index.d.ts +18 -18
- package/dist/synthetics-cert-check-monitor/index.js +6 -6
- package/dist/synthetics-monitor/index.d.ts +31 -31
- package/dist/synthetics-monitor/index.js +6 -6
- package/dist/synthetics-multilocation-alert-condition/index.d.ts +14 -14
- package/dist/synthetics-multilocation-alert-condition/index.js +6 -6
- package/dist/synthetics-private-location/index.d.ts +8 -8
- package/dist/synthetics-private-location/index.js +6 -6
- package/dist/synthetics-script-monitor/index.d.ts +26 -26
- package/dist/synthetics-script-monitor/index.js +6 -6
- package/dist/synthetics-secure-credential/index.d.ts +11 -11
- package/dist/synthetics-secure-credential/index.js +6 -6
- package/dist/synthetics-step-monitor/index.d.ts +25 -25
- package/dist/synthetics-step-monitor/index.js +6 -6
- package/dist/user/index.d.ts +8 -8
- package/dist/user/index.js +6 -6
- package/dist/workflow/index.d.ts +26 -26
- package/dist/workflow/index.js +6 -6
- package/dist/workload/index.d.ts +32 -32
- package/dist/workload/index.js +6 -6
- package/package.json +2 -2
|
@@ -4,83 +4,83 @@ export interface NrqlAlertConditionConfig extends cdktf.TerraformMetaArguments {
|
|
|
4
4
|
/**
|
|
5
5
|
* The New Relic account ID for managing your NRQL alert conditions.
|
|
6
6
|
*
|
|
7
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
7
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_alert_condition#account_id NrqlAlertCondition#account_id}
|
|
8
8
|
*/
|
|
9
9
|
readonly accountId?: number;
|
|
10
10
|
/**
|
|
11
11
|
* 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.
|
|
12
12
|
*
|
|
13
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
13
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_alert_condition#aggregation_delay NrqlAlertCondition#aggregation_delay}
|
|
14
14
|
*/
|
|
15
15
|
readonly aggregationDelay?: string;
|
|
16
16
|
/**
|
|
17
17
|
* 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.
|
|
18
18
|
*
|
|
19
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
19
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_alert_condition#aggregation_method NrqlAlertCondition#aggregation_method}
|
|
20
20
|
*/
|
|
21
21
|
readonly aggregationMethod?: string;
|
|
22
22
|
/**
|
|
23
23
|
* 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.
|
|
24
24
|
*
|
|
25
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
25
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_alert_condition#aggregation_timer NrqlAlertCondition#aggregation_timer}
|
|
26
26
|
*/
|
|
27
27
|
readonly aggregationTimer?: string;
|
|
28
28
|
/**
|
|
29
29
|
* The duration of the time window used to evaluate the NRQL query, in seconds.
|
|
30
30
|
*
|
|
31
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
31
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_alert_condition#aggregation_window NrqlAlertCondition#aggregation_window}
|
|
32
32
|
*/
|
|
33
33
|
readonly aggregationWindow?: number;
|
|
34
34
|
/**
|
|
35
35
|
* The baseline direction of a baseline NRQL alert condition. Valid values are: 'LOWER_ONLY', 'UPPER_AND_LOWER', 'UPPER_ONLY' (case insensitive).
|
|
36
36
|
*
|
|
37
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
37
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_alert_condition#baseline_direction NrqlAlertCondition#baseline_direction}
|
|
38
38
|
*/
|
|
39
39
|
readonly baselineDirection?: string;
|
|
40
40
|
/**
|
|
41
41
|
* Whether to close all open incidents when the signal expires.
|
|
42
42
|
*
|
|
43
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
43
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_alert_condition#close_violations_on_expiration NrqlAlertCondition#close_violations_on_expiration}
|
|
44
44
|
*/
|
|
45
45
|
readonly closeViolationsOnExpiration?: boolean | cdktf.IResolvable;
|
|
46
46
|
/**
|
|
47
47
|
* The description of the NRQL alert condition.
|
|
48
48
|
*
|
|
49
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
49
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_alert_condition#description NrqlAlertCondition#description}
|
|
50
50
|
*/
|
|
51
51
|
readonly description?: string;
|
|
52
52
|
/**
|
|
53
53
|
* Whether or not to enable the alert condition.
|
|
54
54
|
*
|
|
55
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
55
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_alert_condition#enabled NrqlAlertCondition#enabled}
|
|
56
56
|
*/
|
|
57
57
|
readonly enabled?: boolean | cdktf.IResolvable;
|
|
58
58
|
/**
|
|
59
59
|
* How long we wait until the signal starts evaluating. The maximum delay is 7200 seconds (120 minutes)
|
|
60
60
|
*
|
|
61
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
61
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_alert_condition#evaluation_delay NrqlAlertCondition#evaluation_delay}
|
|
62
62
|
*/
|
|
63
63
|
readonly evaluationDelay?: number;
|
|
64
64
|
/**
|
|
65
65
|
* The amount of time (in seconds) to wait before considering the signal expired. Must be in the range of 30 to 172800 (inclusive)
|
|
66
66
|
*
|
|
67
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
67
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_alert_condition#expiration_duration NrqlAlertCondition#expiration_duration}
|
|
68
68
|
*/
|
|
69
69
|
readonly expirationDuration?: number;
|
|
70
70
|
/**
|
|
71
71
|
* 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).
|
|
72
72
|
*
|
|
73
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
73
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_alert_condition#fill_option NrqlAlertCondition#fill_option}
|
|
74
74
|
*/
|
|
75
75
|
readonly fillOption?: string;
|
|
76
76
|
/**
|
|
77
77
|
* If using the 'static' fill option, this value will be used for filling gaps in the signal.
|
|
78
78
|
*
|
|
79
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
79
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_alert_condition#fill_value NrqlAlertCondition#fill_value}
|
|
80
80
|
*/
|
|
81
81
|
readonly fillValue?: number;
|
|
82
82
|
/**
|
|
83
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
83
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_alert_condition#id NrqlAlertCondition#id}
|
|
84
84
|
*
|
|
85
85
|
* Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
86
86
|
* 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.
|
|
@@ -89,103 +89,109 @@ export interface NrqlAlertConditionConfig extends cdktf.TerraformMetaArguments {
|
|
|
89
89
|
/**
|
|
90
90
|
* Whether to ignore expected termination of a signal when considering whether to create a loss of signal incident
|
|
91
91
|
*
|
|
92
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
92
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_alert_condition#ignore_on_expected_termination NrqlAlertCondition#ignore_on_expected_termination}
|
|
93
93
|
*/
|
|
94
94
|
readonly ignoreOnExpectedTermination?: boolean | cdktf.IResolvable;
|
|
95
95
|
/**
|
|
96
96
|
* The title of the condition.
|
|
97
97
|
*
|
|
98
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
98
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_alert_condition#name NrqlAlertCondition#name}
|
|
99
99
|
*/
|
|
100
100
|
readonly name: string;
|
|
101
101
|
/**
|
|
102
102
|
* Whether to create a new incident to capture that the signal expired.
|
|
103
103
|
*
|
|
104
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
104
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_alert_condition#open_violation_on_expiration NrqlAlertCondition#open_violation_on_expiration}
|
|
105
105
|
*/
|
|
106
106
|
readonly openViolationOnExpiration?: boolean | cdktf.IResolvable;
|
|
107
107
|
/**
|
|
108
108
|
* The ID of the policy where this condition should be used.
|
|
109
109
|
*
|
|
110
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
110
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_alert_condition#policy_id NrqlAlertCondition#policy_id}
|
|
111
111
|
*/
|
|
112
112
|
readonly policyId: number;
|
|
113
113
|
/**
|
|
114
114
|
* Runbook URL to display in notifications.
|
|
115
115
|
*
|
|
116
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
116
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_alert_condition#runbook_url NrqlAlertCondition#runbook_url}
|
|
117
117
|
*/
|
|
118
118
|
readonly runbookUrl?: string;
|
|
119
119
|
/**
|
|
120
120
|
* 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'.
|
|
121
121
|
*
|
|
122
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
122
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_alert_condition#signal_seasonality NrqlAlertCondition#signal_seasonality}
|
|
123
123
|
*/
|
|
124
124
|
readonly signalSeasonality?: string;
|
|
125
125
|
/**
|
|
126
126
|
* 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
|
|
127
127
|
*
|
|
128
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
128
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_alert_condition#slide_by NrqlAlertCondition#slide_by}
|
|
129
129
|
*/
|
|
130
130
|
readonly slideBy?: number;
|
|
131
131
|
/**
|
|
132
132
|
* BETA PREVIEW: the `target_entity` field is in limited release and only enabled for preview on a per-account basis. - The GUID of the entity explicitly targeted by the condition. Issues triggered by this condition will affect the health status of this entity instead of having the affected entity detected automatically
|
|
133
133
|
*
|
|
134
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
134
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_alert_condition#target_entity NrqlAlertCondition#target_entity}
|
|
135
135
|
*/
|
|
136
136
|
readonly targetEntity?: string;
|
|
137
137
|
/**
|
|
138
138
|
* 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.
|
|
139
139
|
*
|
|
140
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
140
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_alert_condition#title_template NrqlAlertCondition#title_template}
|
|
141
141
|
*/
|
|
142
142
|
readonly titleTemplate?: string;
|
|
143
143
|
/**
|
|
144
|
-
* The type of NRQL alert condition to create. Valid values are: 'static', 'baseline'.
|
|
144
|
+
* The type of NRQL alert condition to create. Valid values are: 'static', 'baseline', 'outlier'.
|
|
145
145
|
*
|
|
146
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
146
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_alert_condition#type NrqlAlertCondition#type}
|
|
147
147
|
*/
|
|
148
148
|
readonly type?: string;
|
|
149
149
|
/**
|
|
150
150
|
* 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).
|
|
151
151
|
*
|
|
152
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
152
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_alert_condition#violation_time_limit NrqlAlertCondition#violation_time_limit}
|
|
153
153
|
*/
|
|
154
154
|
readonly violationTimeLimit?: string;
|
|
155
155
|
/**
|
|
156
156
|
* 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)
|
|
157
157
|
*
|
|
158
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
158
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_alert_condition#violation_time_limit_seconds NrqlAlertCondition#violation_time_limit_seconds}
|
|
159
159
|
*/
|
|
160
160
|
readonly violationTimeLimitSeconds?: number;
|
|
161
161
|
/**
|
|
162
162
|
* critical block
|
|
163
163
|
*
|
|
164
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
164
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_alert_condition#critical NrqlAlertCondition#critical}
|
|
165
165
|
*/
|
|
166
166
|
readonly critical?: NrqlAlertConditionCritical;
|
|
167
167
|
/**
|
|
168
168
|
* nrql block
|
|
169
169
|
*
|
|
170
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
170
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_alert_condition#nrql NrqlAlertCondition#nrql}
|
|
171
171
|
*/
|
|
172
172
|
readonly nrql: NrqlAlertConditionNrql;
|
|
173
173
|
/**
|
|
174
|
+
* outlier_configuration block
|
|
175
|
+
*
|
|
176
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_alert_condition#outlier_configuration NrqlAlertCondition#outlier_configuration}
|
|
177
|
+
*/
|
|
178
|
+
readonly outlierConfiguration?: NrqlAlertConditionOutlierConfiguration;
|
|
179
|
+
/**
|
|
174
180
|
* term block
|
|
175
181
|
*
|
|
176
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
182
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_alert_condition#term NrqlAlertCondition#term}
|
|
177
183
|
*/
|
|
178
184
|
readonly term?: NrqlAlertConditionTerm[] | cdktf.IResolvable;
|
|
179
185
|
/**
|
|
180
186
|
* timeouts block
|
|
181
187
|
*
|
|
182
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
188
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_alert_condition#timeouts NrqlAlertCondition#timeouts}
|
|
183
189
|
*/
|
|
184
190
|
readonly timeouts?: NrqlAlertConditionTimeouts;
|
|
185
191
|
/**
|
|
186
192
|
* warning block
|
|
187
193
|
*
|
|
188
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
194
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_alert_condition#warning NrqlAlertCondition#warning}
|
|
189
195
|
*/
|
|
190
196
|
readonly warning?: NrqlAlertConditionWarning;
|
|
191
197
|
}
|
|
@@ -193,13 +199,13 @@ export interface NrqlAlertConditionCriticalPrediction {
|
|
|
193
199
|
/**
|
|
194
200
|
* 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.
|
|
195
201
|
*
|
|
196
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
202
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_alert_condition#predict_by NrqlAlertCondition#predict_by}
|
|
197
203
|
*/
|
|
198
204
|
readonly predictBy?: number;
|
|
199
205
|
/**
|
|
200
206
|
* 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.
|
|
201
207
|
*
|
|
202
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
208
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_alert_condition#prefer_prediction_violation NrqlAlertCondition#prefer_prediction_violation}
|
|
203
209
|
*/
|
|
204
210
|
readonly preferPredictionViolation?: boolean | cdktf.IResolvable;
|
|
205
211
|
}
|
|
@@ -229,49 +235,49 @@ export interface NrqlAlertConditionCritical {
|
|
|
229
235
|
/**
|
|
230
236
|
* Violations will not change system health status for this term.
|
|
231
237
|
*
|
|
232
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
238
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_alert_condition#disable_health_status_reporting NrqlAlertCondition#disable_health_status_reporting}
|
|
233
239
|
*/
|
|
234
240
|
readonly disableHealthStatusReporting?: boolean | cdktf.IResolvable;
|
|
235
241
|
/**
|
|
236
242
|
* In minutes, must be in the range of 1 to 120 (inclusive).
|
|
237
243
|
*
|
|
238
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
244
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_alert_condition#duration NrqlAlertCondition#duration}
|
|
239
245
|
*/
|
|
240
246
|
readonly duration?: number;
|
|
241
247
|
/**
|
|
242
248
|
* One of (above, above_or_equals, below, below_or_equals, equals, not_equals). Defaults to 'equals'.
|
|
243
249
|
*
|
|
244
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
250
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_alert_condition#operator NrqlAlertCondition#operator}
|
|
245
251
|
*/
|
|
246
252
|
readonly operator?: string;
|
|
247
253
|
/**
|
|
248
254
|
* For baseline conditions must be in range [1, 1000].
|
|
249
255
|
*
|
|
250
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
256
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_alert_condition#threshold NrqlAlertCondition#threshold}
|
|
251
257
|
*/
|
|
252
258
|
readonly threshold: number;
|
|
253
259
|
/**
|
|
254
260
|
* 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
|
|
255
261
|
*
|
|
256
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
262
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_alert_condition#threshold_duration NrqlAlertCondition#threshold_duration}
|
|
257
263
|
*/
|
|
258
264
|
readonly thresholdDuration?: number;
|
|
259
265
|
/**
|
|
260
266
|
* 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).
|
|
261
267
|
*
|
|
262
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
268
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_alert_condition#threshold_occurrences NrqlAlertCondition#threshold_occurrences}
|
|
263
269
|
*/
|
|
264
270
|
readonly thresholdOccurrences?: string;
|
|
265
271
|
/**
|
|
266
272
|
* Valid values are: 'all' or 'any'
|
|
267
273
|
*
|
|
268
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
274
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_alert_condition#time_function NrqlAlertCondition#time_function}
|
|
269
275
|
*/
|
|
270
276
|
readonly timeFunction?: string;
|
|
271
277
|
/**
|
|
272
278
|
* prediction block
|
|
273
279
|
*
|
|
274
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
280
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_alert_condition#prediction NrqlAlertCondition#prediction}
|
|
275
281
|
*/
|
|
276
282
|
readonly prediction?: NrqlAlertConditionCriticalPrediction;
|
|
277
283
|
}
|
|
@@ -330,23 +336,23 @@ export interface NrqlAlertConditionNrql {
|
|
|
330
336
|
/**
|
|
331
337
|
* The New Relic account ID to use as the basis for the NRQL alert condition's `query`; will default to `account_id` if unspecified.
|
|
332
338
|
*
|
|
333
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
339
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_alert_condition#data_account_id NrqlAlertCondition#data_account_id}
|
|
334
340
|
*/
|
|
335
341
|
readonly dataAccountId?: number;
|
|
336
342
|
/**
|
|
337
343
|
* 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`.
|
|
338
344
|
*
|
|
339
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
345
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_alert_condition#evaluation_offset NrqlAlertCondition#evaluation_offset}
|
|
340
346
|
*/
|
|
341
347
|
readonly evaluationOffset?: number;
|
|
342
348
|
/**
|
|
343
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
349
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_alert_condition#query NrqlAlertCondition#query}
|
|
344
350
|
*/
|
|
345
351
|
readonly query: string;
|
|
346
352
|
/**
|
|
347
353
|
* 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`.
|
|
348
354
|
*
|
|
349
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
355
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_alert_condition#since_value NrqlAlertCondition#since_value}
|
|
350
356
|
*/
|
|
351
357
|
readonly sinceValue?: string;
|
|
352
358
|
}
|
|
@@ -381,17 +387,86 @@ export declare class NrqlAlertConditionNrqlOutputReference extends cdktf.Complex
|
|
|
381
387
|
resetSinceValue(): void;
|
|
382
388
|
get sinceValueInput(): string;
|
|
383
389
|
}
|
|
390
|
+
export interface NrqlAlertConditionOutlierConfigurationDbscan {
|
|
391
|
+
/**
|
|
392
|
+
* BETA PREVIEW: the `epsilon` field is in limited release and only enabled for preview on a per-account basis. - Radius (distance threshold) for DBSCAN in the units of the query result. Smaller values tighten clusters; larger values broaden them. Must be > 0.
|
|
393
|
+
*
|
|
394
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_alert_condition#epsilon NrqlAlertCondition#epsilon}
|
|
395
|
+
*/
|
|
396
|
+
readonly epsilon: number;
|
|
397
|
+
/**
|
|
398
|
+
* BETA PREVIEW: the `evaluation_group_facet` field is in limited release and only enabled for preview on a per-account basis. - Optional NRQL facet attribute used to segment data into groups (e.g. `host`, `region`) before running outlier detection. Omit to evaluate all results together.
|
|
399
|
+
*
|
|
400
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_alert_condition#evaluation_group_facet NrqlAlertCondition#evaluation_group_facet}
|
|
401
|
+
*/
|
|
402
|
+
readonly evaluationGroupFacet?: string;
|
|
403
|
+
/**
|
|
404
|
+
* BETA PREVIEW: the `minimum_points` field is in limited release and only enabled for preview on a per-account basis. - Minimum number of neighboring points needed to form a cluster. Must be >= 1.
|
|
405
|
+
*
|
|
406
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_alert_condition#minimum_points NrqlAlertCondition#minimum_points}
|
|
407
|
+
*/
|
|
408
|
+
readonly minimumPoints: number;
|
|
409
|
+
}
|
|
410
|
+
export declare function nrqlAlertConditionOutlierConfigurationDbscanToTerraform(struct?: NrqlAlertConditionOutlierConfigurationDbscanOutputReference | NrqlAlertConditionOutlierConfigurationDbscan): any;
|
|
411
|
+
export declare function nrqlAlertConditionOutlierConfigurationDbscanToHclTerraform(struct?: NrqlAlertConditionOutlierConfigurationDbscanOutputReference | NrqlAlertConditionOutlierConfigurationDbscan): any;
|
|
412
|
+
export declare class NrqlAlertConditionOutlierConfigurationDbscanOutputReference extends cdktf.ComplexObject {
|
|
413
|
+
private isEmptyObject;
|
|
414
|
+
/**
|
|
415
|
+
* @param terraformResource The parent resource
|
|
416
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
417
|
+
*/
|
|
418
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
|
|
419
|
+
get internalValue(): NrqlAlertConditionOutlierConfigurationDbscan | undefined;
|
|
420
|
+
set internalValue(value: NrqlAlertConditionOutlierConfigurationDbscan | undefined);
|
|
421
|
+
private _epsilon?;
|
|
422
|
+
get epsilon(): number;
|
|
423
|
+
set epsilon(value: number);
|
|
424
|
+
get epsilonInput(): number;
|
|
425
|
+
private _evaluationGroupFacet?;
|
|
426
|
+
get evaluationGroupFacet(): string;
|
|
427
|
+
set evaluationGroupFacet(value: string);
|
|
428
|
+
resetEvaluationGroupFacet(): void;
|
|
429
|
+
get evaluationGroupFacetInput(): string;
|
|
430
|
+
private _minimumPoints?;
|
|
431
|
+
get minimumPoints(): number;
|
|
432
|
+
set minimumPoints(value: number);
|
|
433
|
+
get minimumPointsInput(): number;
|
|
434
|
+
}
|
|
435
|
+
export interface NrqlAlertConditionOutlierConfiguration {
|
|
436
|
+
/**
|
|
437
|
+
* dbscan block
|
|
438
|
+
*
|
|
439
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_alert_condition#dbscan NrqlAlertCondition#dbscan}
|
|
440
|
+
*/
|
|
441
|
+
readonly dbscan: NrqlAlertConditionOutlierConfigurationDbscan;
|
|
442
|
+
}
|
|
443
|
+
export declare function nrqlAlertConditionOutlierConfigurationToTerraform(struct?: NrqlAlertConditionOutlierConfigurationOutputReference | NrqlAlertConditionOutlierConfiguration): any;
|
|
444
|
+
export declare function nrqlAlertConditionOutlierConfigurationToHclTerraform(struct?: NrqlAlertConditionOutlierConfigurationOutputReference | NrqlAlertConditionOutlierConfiguration): any;
|
|
445
|
+
export declare class NrqlAlertConditionOutlierConfigurationOutputReference extends cdktf.ComplexObject {
|
|
446
|
+
private isEmptyObject;
|
|
447
|
+
/**
|
|
448
|
+
* @param terraformResource The parent resource
|
|
449
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
450
|
+
*/
|
|
451
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
|
|
452
|
+
get internalValue(): NrqlAlertConditionOutlierConfiguration | undefined;
|
|
453
|
+
set internalValue(value: NrqlAlertConditionOutlierConfiguration | undefined);
|
|
454
|
+
private _dbscan;
|
|
455
|
+
get dbscan(): NrqlAlertConditionOutlierConfigurationDbscanOutputReference;
|
|
456
|
+
putDbscan(value: NrqlAlertConditionOutlierConfigurationDbscan): void;
|
|
457
|
+
get dbscanInput(): NrqlAlertConditionOutlierConfigurationDbscan;
|
|
458
|
+
}
|
|
384
459
|
export interface NrqlAlertConditionTermPrediction {
|
|
385
460
|
/**
|
|
386
461
|
* 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.
|
|
387
462
|
*
|
|
388
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
463
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_alert_condition#predict_by NrqlAlertCondition#predict_by}
|
|
389
464
|
*/
|
|
390
465
|
readonly predictBy?: number;
|
|
391
466
|
/**
|
|
392
467
|
* 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.
|
|
393
468
|
*
|
|
394
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
469
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_alert_condition#prefer_prediction_violation NrqlAlertCondition#prefer_prediction_violation}
|
|
395
470
|
*/
|
|
396
471
|
readonly preferPredictionViolation?: boolean | cdktf.IResolvable;
|
|
397
472
|
}
|
|
@@ -421,55 +496,55 @@ export interface NrqlAlertConditionTerm {
|
|
|
421
496
|
/**
|
|
422
497
|
* Violations will not change system health status for this term.
|
|
423
498
|
*
|
|
424
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
499
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_alert_condition#disable_health_status_reporting NrqlAlertCondition#disable_health_status_reporting}
|
|
425
500
|
*/
|
|
426
501
|
readonly disableHealthStatusReporting?: boolean | cdktf.IResolvable;
|
|
427
502
|
/**
|
|
428
503
|
* In minutes, must be in the range of 1 to 120 (inclusive).
|
|
429
504
|
*
|
|
430
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
505
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_alert_condition#duration NrqlAlertCondition#duration}
|
|
431
506
|
*/
|
|
432
507
|
readonly duration?: number;
|
|
433
508
|
/**
|
|
434
509
|
* One of (above, above_or_equals, below, below_or_equals, equals, not_equals). Defaults to 'equals'.
|
|
435
510
|
*
|
|
436
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
511
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_alert_condition#operator NrqlAlertCondition#operator}
|
|
437
512
|
*/
|
|
438
513
|
readonly operator?: string;
|
|
439
514
|
/**
|
|
440
515
|
* One of (critical, warning). Defaults to 'critical'. At least one condition term must have priority set to 'critical'.
|
|
441
516
|
*
|
|
442
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
517
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_alert_condition#priority NrqlAlertCondition#priority}
|
|
443
518
|
*/
|
|
444
519
|
readonly priority?: string;
|
|
445
520
|
/**
|
|
446
521
|
* For baseline conditions must be in range [1, 1000].
|
|
447
522
|
*
|
|
448
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
523
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_alert_condition#threshold NrqlAlertCondition#threshold}
|
|
449
524
|
*/
|
|
450
525
|
readonly threshold: number;
|
|
451
526
|
/**
|
|
452
527
|
* 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
|
|
453
528
|
*
|
|
454
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
529
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_alert_condition#threshold_duration NrqlAlertCondition#threshold_duration}
|
|
455
530
|
*/
|
|
456
531
|
readonly thresholdDuration?: number;
|
|
457
532
|
/**
|
|
458
533
|
* 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).
|
|
459
534
|
*
|
|
460
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
535
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_alert_condition#threshold_occurrences NrqlAlertCondition#threshold_occurrences}
|
|
461
536
|
*/
|
|
462
537
|
readonly thresholdOccurrences?: string;
|
|
463
538
|
/**
|
|
464
539
|
* Valid values are: 'all' or 'any'
|
|
465
540
|
*
|
|
466
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
541
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_alert_condition#time_function NrqlAlertCondition#time_function}
|
|
467
542
|
*/
|
|
468
543
|
readonly timeFunction?: string;
|
|
469
544
|
/**
|
|
470
545
|
* prediction block
|
|
471
546
|
*
|
|
472
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
547
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_alert_condition#prediction NrqlAlertCondition#prediction}
|
|
473
548
|
*/
|
|
474
549
|
readonly prediction?: NrqlAlertConditionTermPrediction;
|
|
475
550
|
}
|
|
@@ -550,7 +625,7 @@ export declare class NrqlAlertConditionTermList extends cdktf.ComplexList {
|
|
|
550
625
|
}
|
|
551
626
|
export interface NrqlAlertConditionTimeouts {
|
|
552
627
|
/**
|
|
553
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
628
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_alert_condition#create NrqlAlertCondition#create}
|
|
554
629
|
*/
|
|
555
630
|
readonly create?: string;
|
|
556
631
|
}
|
|
@@ -576,13 +651,13 @@ export interface NrqlAlertConditionWarningPrediction {
|
|
|
576
651
|
/**
|
|
577
652
|
* 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.
|
|
578
653
|
*
|
|
579
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
654
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_alert_condition#predict_by NrqlAlertCondition#predict_by}
|
|
580
655
|
*/
|
|
581
656
|
readonly predictBy?: number;
|
|
582
657
|
/**
|
|
583
658
|
* 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.
|
|
584
659
|
*
|
|
585
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
660
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_alert_condition#prefer_prediction_violation NrqlAlertCondition#prefer_prediction_violation}
|
|
586
661
|
*/
|
|
587
662
|
readonly preferPredictionViolation?: boolean | cdktf.IResolvable;
|
|
588
663
|
}
|
|
@@ -612,49 +687,49 @@ export interface NrqlAlertConditionWarning {
|
|
|
612
687
|
/**
|
|
613
688
|
* Violations will not change system health status for this term.
|
|
614
689
|
*
|
|
615
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
690
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_alert_condition#disable_health_status_reporting NrqlAlertCondition#disable_health_status_reporting}
|
|
616
691
|
*/
|
|
617
692
|
readonly disableHealthStatusReporting?: boolean | cdktf.IResolvable;
|
|
618
693
|
/**
|
|
619
694
|
* In minutes, must be in the range of 1 to 120 (inclusive).
|
|
620
695
|
*
|
|
621
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
696
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_alert_condition#duration NrqlAlertCondition#duration}
|
|
622
697
|
*/
|
|
623
698
|
readonly duration?: number;
|
|
624
699
|
/**
|
|
625
700
|
* One of (above, above_or_equals, below, below_or_equals, equals, not_equals). Defaults to 'equals'.
|
|
626
701
|
*
|
|
627
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
702
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_alert_condition#operator NrqlAlertCondition#operator}
|
|
628
703
|
*/
|
|
629
704
|
readonly operator?: string;
|
|
630
705
|
/**
|
|
631
706
|
* For baseline conditions must be in range [1, 1000].
|
|
632
707
|
*
|
|
633
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
708
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_alert_condition#threshold NrqlAlertCondition#threshold}
|
|
634
709
|
*/
|
|
635
710
|
readonly threshold: number;
|
|
636
711
|
/**
|
|
637
712
|
* 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
|
|
638
713
|
*
|
|
639
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
714
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_alert_condition#threshold_duration NrqlAlertCondition#threshold_duration}
|
|
640
715
|
*/
|
|
641
716
|
readonly thresholdDuration?: number;
|
|
642
717
|
/**
|
|
643
718
|
* 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).
|
|
644
719
|
*
|
|
645
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
720
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_alert_condition#threshold_occurrences NrqlAlertCondition#threshold_occurrences}
|
|
646
721
|
*/
|
|
647
722
|
readonly thresholdOccurrences?: string;
|
|
648
723
|
/**
|
|
649
724
|
* Valid values are: 'all' or 'any'
|
|
650
725
|
*
|
|
651
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
726
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_alert_condition#time_function NrqlAlertCondition#time_function}
|
|
652
727
|
*/
|
|
653
728
|
readonly timeFunction?: string;
|
|
654
729
|
/**
|
|
655
730
|
* prediction block
|
|
656
731
|
*
|
|
657
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
732
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_alert_condition#prediction NrqlAlertCondition#prediction}
|
|
658
733
|
*/
|
|
659
734
|
readonly prediction?: NrqlAlertConditionWarningPrediction;
|
|
660
735
|
}
|
|
@@ -710,7 +785,7 @@ export declare class NrqlAlertConditionWarningOutputReference extends cdktf.Comp
|
|
|
710
785
|
get predictionInput(): NrqlAlertConditionWarningPrediction;
|
|
711
786
|
}
|
|
712
787
|
/**
|
|
713
|
-
* Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
788
|
+
* Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_alert_condition newrelic_nrql_alert_condition}
|
|
714
789
|
*/
|
|
715
790
|
export declare class NrqlAlertCondition extends cdktf.TerraformResource {
|
|
716
791
|
static readonly tfResourceType = "newrelic_nrql_alert_condition";
|
|
@@ -718,12 +793,12 @@ export declare class NrqlAlertCondition extends cdktf.TerraformResource {
|
|
|
718
793
|
* Generates CDKTF code for importing a NrqlAlertCondition resource upon running "cdktf plan <stack-name>"
|
|
719
794
|
* @param scope The scope in which to define this construct
|
|
720
795
|
* @param importToId The construct id used in the generated config for the NrqlAlertCondition to import
|
|
721
|
-
* @param importFromId The id of the existing NrqlAlertCondition that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
796
|
+
* @param importFromId The id of the existing NrqlAlertCondition that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_alert_condition#import import section} in the documentation of this resource for the id to use
|
|
722
797
|
* @param provider? Optional instance of the provider where the NrqlAlertCondition to import is found
|
|
723
798
|
*/
|
|
724
799
|
static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any;
|
|
725
800
|
/**
|
|
726
|
-
* Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
801
|
+
* Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_alert_condition newrelic_nrql_alert_condition} Resource
|
|
727
802
|
*
|
|
728
803
|
* @param scope The scope in which to define this construct
|
|
729
804
|
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
@@ -868,6 +943,11 @@ export declare class NrqlAlertCondition extends cdktf.TerraformResource {
|
|
|
868
943
|
get nrql(): NrqlAlertConditionNrqlOutputReference;
|
|
869
944
|
putNrql(value: NrqlAlertConditionNrql): void;
|
|
870
945
|
get nrqlInput(): NrqlAlertConditionNrql;
|
|
946
|
+
private _outlierConfiguration;
|
|
947
|
+
get outlierConfiguration(): NrqlAlertConditionOutlierConfigurationOutputReference;
|
|
948
|
+
putOutlierConfiguration(value: NrqlAlertConditionOutlierConfiguration): void;
|
|
949
|
+
resetOutlierConfiguration(): void;
|
|
950
|
+
get outlierConfigurationInput(): NrqlAlertConditionOutlierConfiguration;
|
|
871
951
|
private _term;
|
|
872
952
|
get term(): NrqlAlertConditionTermList;
|
|
873
953
|
putTerm(value: NrqlAlertConditionTerm[] | cdktf.IResolvable): void;
|