@cdktn/provider-newrelic 15.2.0 → 15.3.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/.jsii +2903 -2654
- package/README.md +3 -3
- package/lib/account-management/index.d.ts +10 -10
- package/lib/account-management/index.js +7 -7
- package/lib/alert-channel/index.d.ts +30 -30
- package/lib/alert-channel/index.js +7 -7
- package/lib/alert-compound-condition/index.d.ts +17 -17
- package/lib/alert-compound-condition/index.js +9 -9
- package/lib/alert-condition/index.d.ts +23 -23
- package/lib/alert-condition/index.js +8 -8
- package/lib/alert-muting-rule/index.d.ts +23 -23
- package/lib/alert-muting-rule/index.js +10 -10
- package/lib/alert-policy/index.d.ts +8 -8
- package/lib/alert-policy/index.js +6 -6
- package/lib/alert-policy-channel/index.d.ts +9 -9
- package/lib/alert-policy-channel/index.js +7 -7
- package/lib/api-access-key/index.d.ts +10 -10
- package/lib/api-access-key/index.js +6 -6
- package/lib/application-settings/index.d.ts +27 -27
- package/lib/application-settings/index.js +13 -13
- package/lib/aws-connection/index.d.ts +22 -22
- package/lib/aws-connection/index.js +12 -12
- package/lib/browser-application/index.d.ts +12 -12
- package/lib/browser-application/index.js +7 -7
- package/lib/cardinality-management/index.d.ts +9 -9
- package/lib/cardinality-management/index.js +8 -8
- package/lib/cloud-aws-eu-sovereign-integrations/index.d.ts +14 -14
- package/lib/cloud-aws-eu-sovereign-integrations/index.js +9 -9
- package/lib/cloud-aws-eu-sovereign-link-account/index.d.ts +8 -8
- package/lib/cloud-aws-eu-sovereign-link-account/index.js +6 -6
- package/lib/cloud-aws-govcloud-integrations/index.d.ts +110 -110
- package/lib/cloud-aws-govcloud-integrations/index.js +26 -26
- package/lib/cloud-aws-govcloud-link-account/index.d.ts +8 -8
- package/lib/cloud-aws-govcloud-link-account/index.js +6 -6
- package/lib/cloud-aws-integrations/index.d.ts +234 -234
- package/lib/cloud-aws-integrations/index.js +60 -60
- package/lib/cloud-aws-link-account/index.d.ts +8 -8
- package/lib/cloud-aws-link-account/index.js +6 -6
- package/lib/cloud-azure-integrations/index.d.ts +109 -109
- package/lib/cloud-azure-integrations/index.js +39 -39
- package/lib/cloud-azure-link-account/index.d.ts +10 -10
- package/lib/cloud-azure-link-account/index.js +6 -6
- package/lib/cloud-gcp-integrations/index.d.ts +62 -62
- package/lib/cloud-gcp-integrations/index.js +32 -32
- package/lib/cloud-gcp-link-account/index.d.ts +7 -7
- package/lib/cloud-gcp-link-account/index.js +6 -6
- package/lib/cloud-oci-link-account/index.d.ts +20 -20
- package/lib/cloud-oci-link-account/index.js +6 -6
- package/lib/data-newrelic-account/index.d.ts +7 -7
- package/lib/data-newrelic-account/index.js +6 -6
- package/lib/data-newrelic-alert-channel/index.d.ts +6 -6
- package/lib/data-newrelic-alert-channel/index.js +8 -8
- package/lib/data-newrelic-alert-policy/index.d.ts +7 -7
- package/lib/data-newrelic-alert-policy/index.js +6 -6
- package/lib/data-newrelic-application/index.d.ts +5 -5
- package/lib/data-newrelic-application/index.js +6 -6
- package/lib/data-newrelic-authentication-domain/index.d.ts +4 -4
- package/lib/data-newrelic-authentication-domain/index.js +6 -6
- package/lib/data-newrelic-cloud-account/index.d.ts +7 -7
- package/lib/data-newrelic-cloud-account/index.js +6 -6
- package/lib/data-newrelic-entity/index.d.ts +14 -14
- package/lib/data-newrelic-entity/index.js +8 -8
- package/lib/data-newrelic-fleet-configuration/index.d.ts +8 -8
- package/lib/data-newrelic-fleet-configuration/index.js +6 -6
- package/lib/data-newrelic-fleet-members/index.d.ts +6 -6
- package/lib/data-newrelic-fleet-members/index.js +8 -8
- package/lib/data-newrelic-group/index.d.ts +5 -5
- package/lib/data-newrelic-group/index.js +6 -6
- package/lib/data-newrelic-key-transaction/index.d.ts +7 -7
- package/lib/data-newrelic-key-transaction/index.js +6 -6
- package/lib/data-newrelic-notification-destination/index.d.ts +12 -12
- package/lib/data-newrelic-notification-destination/index.js +11 -11
- package/lib/data-newrelic-obfuscation-expression/index.d.ts +6 -6
- package/lib/data-newrelic-obfuscation-expression/index.js +6 -6
- package/lib/data-newrelic-service-level-alert-helper/index.d.ts +11 -11
- package/lib/data-newrelic-service-level-alert-helper/index.js +6 -6
- package/lib/data-newrelic-synthetics-private-location/index.d.ts +7 -7
- package/lib/data-newrelic-synthetics-private-location/index.js +6 -6
- package/lib/data-newrelic-synthetics-secure-credential/index.d.ts +6 -6
- package/lib/data-newrelic-synthetics-secure-credential/index.js +6 -6
- package/lib/data-newrelic-test-grok-pattern/index.d.ts +7 -7
- package/lib/data-newrelic-test-grok-pattern/index.js +10 -10
- package/lib/data-newrelic-user/index.d.ts +6 -6
- package/lib/data-newrelic-user/index.js +6 -6
- package/lib/data-partition-rule/index.d.ts +12 -12
- package/lib/data-partition-rule/index.js +7 -7
- package/lib/entity-tags/index.d.ts +10 -10
- package/lib/entity-tags/index.js +9 -9
- package/lib/events-to-metrics-rule/index.d.ts +9 -9
- package/lib/events-to-metrics-rule/index.js +6 -6
- package/lib/federated-logs-partition/index.d.ts +20 -20
- package/lib/federated-logs-partition/index.js +19 -19
- package/lib/federated-logs-setup/index.d.ts +29 -29
- package/lib/federated-logs-setup/index.js +22 -22
- package/lib/fleet/index.d.ts +10 -10
- package/lib/fleet/index.js +6 -6
- package/lib/fleet-configuration/index.d.ts +11 -11
- package/lib/fleet-configuration/index.js +8 -8
- package/lib/fleet-deployment/index.d.ts +13 -13
- package/lib/fleet-deployment/index.js +8 -8
- package/lib/fleet-members/index.d.ts +8 -8
- package/lib/fleet-members/index.js +8 -8
- package/lib/group/index.d.ts +7 -7
- package/lib/group/index.js +6 -6
- package/lib/infra-alert-condition/index.d.ts +25 -25
- package/lib/infra-alert-condition/index.js +8 -8
- package/lib/insights-event/index.d.ts +11 -11
- package/lib/insights-event/index.js +10 -10
- package/lib/key-transaction/index.d.ts +9 -9
- package/lib/key-transaction/index.js +6 -6
- package/lib/log-parsing-rule/index.d.ts +12 -12
- package/lib/log-parsing-rule/index.js +6 -6
- package/lib/metric-pruning-rule/index.d.ts +7 -7
- package/lib/metric-pruning-rule/index.js +6 -6
- package/lib/monitor-downtime/index.d.ts +20 -20
- package/lib/monitor-downtime/index.js +9 -9
- package/lib/notification-channel/index.d.ts +18 -18
- package/lib/notification-channel/index.js +9 -9
- package/lib/notification-destination/index.d.ts +31 -31
- package/lib/notification-destination/index.js +15 -15
- package/lib/nrql-alert-condition/index.d.ts +108 -75
- package/lib/nrql-alert-condition/index.js +95 -17
- package/lib/nrql-drop-rule/index.d.ts +10 -10
- package/lib/nrql-drop-rule/index.js +7 -7
- package/lib/obfuscation-expression/index.d.ts +8 -8
- package/lib/obfuscation-expression/index.js +6 -6
- package/lib/obfuscation-rule/index.d.ts +13 -13
- package/lib/obfuscation-rule/index.js +8 -8
- package/lib/one-dashboard/index-structs/structs0.d.ts +364 -364
- package/lib/one-dashboard/index-structs/structs0.js +185 -185
- package/lib/one-dashboard/index-structs/structs400.d.ts +286 -286
- package/lib/one-dashboard/index-structs/structs400.js +130 -130
- package/lib/one-dashboard/index.d.ts +10 -10
- package/lib/one-dashboard/index.js +6 -6
- package/lib/one-dashboard-json/index.d.ts +9 -9
- package/lib/one-dashboard-json/index.js +7 -7
- package/lib/one-dashboard-raw/index.d.ts +20 -20
- package/lib/one-dashboard-raw/index.js +10 -10
- package/lib/pipeline-cloud-rule/index.d.ts +8 -8
- package/lib/pipeline-cloud-rule/index.js +6 -6
- package/lib/provider/index.d.ts +17 -17
- package/lib/provider/index.js +6 -6
- package/lib/service-level/index.d.ts +38 -38
- package/lib/service-level/index.js +16 -16
- package/lib/synthetics-alert-condition/index.d.ts +9 -9
- package/lib/synthetics-alert-condition/index.js +6 -6
- package/lib/synthetics-broken-links-monitor/index.d.ts +17 -17
- package/lib/synthetics-broken-links-monitor/index.js +8 -8
- package/lib/synthetics-cert-check-monitor/index.d.ts +18 -18
- package/lib/synthetics-cert-check-monitor/index.js +8 -8
- package/lib/synthetics-monitor/index.d.ts +31 -31
- package/lib/synthetics-monitor/index.js +10 -10
- package/lib/synthetics-multilocation-alert-condition/index.d.ts +14 -14
- package/lib/synthetics-multilocation-alert-condition/index.js +8 -8
- package/lib/synthetics-private-location/index.d.ts +9 -9
- package/lib/synthetics-private-location/index.js +6 -6
- package/lib/synthetics-script-monitor/index.d.ts +26 -26
- package/lib/synthetics-script-monitor/index.js +10 -10
- package/lib/synthetics-secure-credential/index.d.ts +11 -11
- package/lib/synthetics-secure-credential/index.js +7 -7
- package/lib/synthetics-step-monitor/index.d.ts +25 -25
- package/lib/synthetics-step-monitor/index.js +12 -12
- package/lib/user/index.d.ts +8 -8
- package/lib/user/index.js +6 -6
- package/lib/workflow/index.d.ts +26 -26
- package/lib/workflow/index.js +16 -16
- package/lib/workflow-automation/index.d.ts +8 -8
- package/lib/workflow-automation/index.js +6 -6
- package/lib/workload/index.d.ts +32 -32
- package/lib/workload/index.js +17 -17
- package/package.json +6 -6
|
@@ -8,83 +8,83 @@ export interface NrqlAlertConditionConfig extends cdktn.TerraformMetaArguments {
|
|
|
8
8
|
/**
|
|
9
9
|
* The New Relic account ID for managing your NRQL alert conditions.
|
|
10
10
|
*
|
|
11
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
11
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#account_id NrqlAlertCondition#account_id}
|
|
12
12
|
*/
|
|
13
13
|
readonly accountId?: number;
|
|
14
14
|
/**
|
|
15
15
|
* 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.
|
|
16
16
|
*
|
|
17
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
17
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#aggregation_delay NrqlAlertCondition#aggregation_delay}
|
|
18
18
|
*/
|
|
19
19
|
readonly aggregationDelay?: string;
|
|
20
20
|
/**
|
|
21
21
|
* 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.
|
|
22
22
|
*
|
|
23
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
23
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#aggregation_method NrqlAlertCondition#aggregation_method}
|
|
24
24
|
*/
|
|
25
25
|
readonly aggregationMethod?: string;
|
|
26
26
|
/**
|
|
27
27
|
* 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.
|
|
28
28
|
*
|
|
29
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
29
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#aggregation_timer NrqlAlertCondition#aggregation_timer}
|
|
30
30
|
*/
|
|
31
31
|
readonly aggregationTimer?: string;
|
|
32
32
|
/**
|
|
33
33
|
* The duration of the time window used to evaluate the NRQL query, in seconds.
|
|
34
34
|
*
|
|
35
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
35
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#aggregation_window NrqlAlertCondition#aggregation_window}
|
|
36
36
|
*/
|
|
37
37
|
readonly aggregationWindow?: number;
|
|
38
38
|
/**
|
|
39
39
|
* The baseline direction of a baseline NRQL alert condition. Valid values are: 'LOWER_ONLY', 'UPPER_AND_LOWER', 'UPPER_ONLY' (case insensitive).
|
|
40
40
|
*
|
|
41
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
41
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#baseline_direction NrqlAlertCondition#baseline_direction}
|
|
42
42
|
*/
|
|
43
43
|
readonly baselineDirection?: string;
|
|
44
44
|
/**
|
|
45
45
|
* Whether to close all open incidents when the signal expires.
|
|
46
46
|
*
|
|
47
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
47
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#close_violations_on_expiration NrqlAlertCondition#close_violations_on_expiration}
|
|
48
48
|
*/
|
|
49
49
|
readonly closeViolationsOnExpiration?: boolean | cdktn.IResolvable;
|
|
50
50
|
/**
|
|
51
51
|
* The description of the NRQL alert condition.
|
|
52
52
|
*
|
|
53
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
53
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#description NrqlAlertCondition#description}
|
|
54
54
|
*/
|
|
55
55
|
readonly description?: string;
|
|
56
56
|
/**
|
|
57
57
|
* Whether or not to enable the alert condition.
|
|
58
58
|
*
|
|
59
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
59
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#enabled NrqlAlertCondition#enabled}
|
|
60
60
|
*/
|
|
61
61
|
readonly enabled?: boolean | cdktn.IResolvable;
|
|
62
62
|
/**
|
|
63
63
|
* How long we wait until the signal starts evaluating. The maximum delay is 7200 seconds (120 minutes)
|
|
64
64
|
*
|
|
65
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
65
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#evaluation_delay NrqlAlertCondition#evaluation_delay}
|
|
66
66
|
*/
|
|
67
67
|
readonly evaluationDelay?: number;
|
|
68
68
|
/**
|
|
69
69
|
* The amount of time (in seconds) to wait before considering the signal expired. Must be in the range of 30 to 172800 (inclusive)
|
|
70
70
|
*
|
|
71
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
71
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#expiration_duration NrqlAlertCondition#expiration_duration}
|
|
72
72
|
*/
|
|
73
73
|
readonly expirationDuration?: number;
|
|
74
74
|
/**
|
|
75
75
|
* 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).
|
|
76
76
|
*
|
|
77
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
77
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#fill_option NrqlAlertCondition#fill_option}
|
|
78
78
|
*/
|
|
79
79
|
readonly fillOption?: string;
|
|
80
80
|
/**
|
|
81
81
|
* If using the 'static' fill option, this value will be used for filling gaps in the signal.
|
|
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.93.1/docs/resources/nrql_alert_condition#fill_value NrqlAlertCondition#fill_value}
|
|
84
84
|
*/
|
|
85
85
|
readonly fillValue?: number;
|
|
86
86
|
/**
|
|
87
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
87
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#id NrqlAlertCondition#id}
|
|
88
88
|
*
|
|
89
89
|
* Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
90
90
|
* 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.
|
|
@@ -93,109 +93,109 @@ export interface NrqlAlertConditionConfig extends cdktn.TerraformMetaArguments {
|
|
|
93
93
|
/**
|
|
94
94
|
* Whether to ignore expected termination of a signal when considering whether to create a loss of signal incident
|
|
95
95
|
*
|
|
96
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
96
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#ignore_on_expected_termination NrqlAlertCondition#ignore_on_expected_termination}
|
|
97
97
|
*/
|
|
98
98
|
readonly ignoreOnExpectedTermination?: boolean | cdktn.IResolvable;
|
|
99
99
|
/**
|
|
100
100
|
* The title of the condition.
|
|
101
101
|
*
|
|
102
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
102
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#name NrqlAlertCondition#name}
|
|
103
103
|
*/
|
|
104
104
|
readonly name: string;
|
|
105
105
|
/**
|
|
106
106
|
* Whether to create a new incident to capture that the signal expired.
|
|
107
107
|
*
|
|
108
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
108
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#open_violation_on_expiration NrqlAlertCondition#open_violation_on_expiration}
|
|
109
109
|
*/
|
|
110
110
|
readonly openViolationOnExpiration?: boolean | cdktn.IResolvable;
|
|
111
111
|
/**
|
|
112
112
|
* The ID of the policy where this condition should be used.
|
|
113
113
|
*
|
|
114
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
114
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#policy_id NrqlAlertCondition#policy_id}
|
|
115
115
|
*/
|
|
116
116
|
readonly policyId: number;
|
|
117
117
|
/**
|
|
118
118
|
* Runbook URL to display in notifications.
|
|
119
119
|
*
|
|
120
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
120
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#runbook_url NrqlAlertCondition#runbook_url}
|
|
121
121
|
*/
|
|
122
122
|
readonly runbookUrl?: string;
|
|
123
123
|
/**
|
|
124
124
|
* 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'.
|
|
125
125
|
*
|
|
126
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
126
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#signal_seasonality NrqlAlertCondition#signal_seasonality}
|
|
127
127
|
*/
|
|
128
128
|
readonly signalSeasonality?: string;
|
|
129
129
|
/**
|
|
130
130
|
* 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
|
|
131
131
|
*
|
|
132
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
132
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#slide_by NrqlAlertCondition#slide_by}
|
|
133
133
|
*/
|
|
134
134
|
readonly slideBy?: number;
|
|
135
135
|
/**
|
|
136
136
|
* 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
|
|
137
137
|
*
|
|
138
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
138
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#target_entity NrqlAlertCondition#target_entity}
|
|
139
139
|
*/
|
|
140
140
|
readonly targetEntity?: string;
|
|
141
141
|
/**
|
|
142
142
|
* 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.
|
|
143
143
|
*
|
|
144
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
144
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#title_template NrqlAlertCondition#title_template}
|
|
145
145
|
*/
|
|
146
146
|
readonly titleTemplate?: string;
|
|
147
147
|
/**
|
|
148
148
|
* The type of NRQL alert condition to create. Valid values are: 'static', 'baseline', 'outlier'.
|
|
149
149
|
*
|
|
150
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
150
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#type NrqlAlertCondition#type}
|
|
151
151
|
*/
|
|
152
152
|
readonly type?: string;
|
|
153
153
|
/**
|
|
154
154
|
* 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).
|
|
155
155
|
*
|
|
156
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
156
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#violation_time_limit NrqlAlertCondition#violation_time_limit}
|
|
157
157
|
*/
|
|
158
158
|
readonly violationTimeLimit?: string;
|
|
159
159
|
/**
|
|
160
160
|
* 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)
|
|
161
161
|
*
|
|
162
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
162
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#violation_time_limit_seconds NrqlAlertCondition#violation_time_limit_seconds}
|
|
163
163
|
*/
|
|
164
164
|
readonly violationTimeLimitSeconds?: number;
|
|
165
165
|
/**
|
|
166
166
|
* critical block
|
|
167
167
|
*
|
|
168
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
168
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#critical NrqlAlertCondition#critical}
|
|
169
169
|
*/
|
|
170
170
|
readonly critical?: NrqlAlertConditionCritical;
|
|
171
171
|
/**
|
|
172
172
|
* nrql block
|
|
173
173
|
*
|
|
174
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
174
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#nrql NrqlAlertCondition#nrql}
|
|
175
175
|
*/
|
|
176
176
|
readonly nrql: NrqlAlertConditionNrql;
|
|
177
177
|
/**
|
|
178
178
|
* outlier_configuration block
|
|
179
179
|
*
|
|
180
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
180
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#outlier_configuration NrqlAlertCondition#outlier_configuration}
|
|
181
181
|
*/
|
|
182
182
|
readonly outlierConfiguration?: NrqlAlertConditionOutlierConfiguration;
|
|
183
183
|
/**
|
|
184
184
|
* term block
|
|
185
185
|
*
|
|
186
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
186
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#term NrqlAlertCondition#term}
|
|
187
187
|
*/
|
|
188
188
|
readonly term?: NrqlAlertConditionTerm[] | cdktn.IResolvable;
|
|
189
189
|
/**
|
|
190
190
|
* timeouts block
|
|
191
191
|
*
|
|
192
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
192
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#timeouts NrqlAlertCondition#timeouts}
|
|
193
193
|
*/
|
|
194
194
|
readonly timeouts?: NrqlAlertConditionTimeouts;
|
|
195
195
|
/**
|
|
196
196
|
* warning block
|
|
197
197
|
*
|
|
198
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
198
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#warning NrqlAlertCondition#warning}
|
|
199
199
|
*/
|
|
200
200
|
readonly warning?: NrqlAlertConditionWarning;
|
|
201
201
|
}
|
|
@@ -203,13 +203,13 @@ export interface NrqlAlertConditionCriticalPrediction {
|
|
|
203
203
|
/**
|
|
204
204
|
* 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.
|
|
205
205
|
*
|
|
206
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
206
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#predict_by NrqlAlertCondition#predict_by}
|
|
207
207
|
*/
|
|
208
208
|
readonly predictBy?: number;
|
|
209
209
|
/**
|
|
210
210
|
* 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.
|
|
211
211
|
*
|
|
212
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
212
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#prefer_prediction_violation NrqlAlertCondition#prefer_prediction_violation}
|
|
213
213
|
*/
|
|
214
214
|
readonly preferPredictionViolation?: boolean | cdktn.IResolvable;
|
|
215
215
|
}
|
|
@@ -236,52 +236,58 @@ export declare class NrqlAlertConditionCriticalPredictionOutputReference extends
|
|
|
236
236
|
get preferPredictionViolationInput(): boolean | cdktn.IResolvable | undefined;
|
|
237
237
|
}
|
|
238
238
|
export interface NrqlAlertConditionCritical {
|
|
239
|
+
/**
|
|
240
|
+
* BETA PREVIEW: the `disable_event_creation` field is in limited release and only enabled for preview on a per-account basis. When set to true, violations will not create events.
|
|
241
|
+
*
|
|
242
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#disable_event_creation NrqlAlertCondition#disable_event_creation}
|
|
243
|
+
*/
|
|
244
|
+
readonly disableEventCreation?: boolean | cdktn.IResolvable;
|
|
239
245
|
/**
|
|
240
246
|
* Violations will not change system health status for this term.
|
|
241
247
|
*
|
|
242
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
248
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#disable_health_status_reporting NrqlAlertCondition#disable_health_status_reporting}
|
|
243
249
|
*/
|
|
244
250
|
readonly disableHealthStatusReporting?: boolean | cdktn.IResolvable;
|
|
245
251
|
/**
|
|
246
252
|
* In minutes, must be in the range of 1 to 120 (inclusive).
|
|
247
253
|
*
|
|
248
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
254
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#duration NrqlAlertCondition#duration}
|
|
249
255
|
*/
|
|
250
256
|
readonly duration?: number;
|
|
251
257
|
/**
|
|
252
258
|
* One of (above, above_or_equals, below, below_or_equals, equals, not_equals). Defaults to 'equals'.
|
|
253
259
|
*
|
|
254
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
260
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#operator NrqlAlertCondition#operator}
|
|
255
261
|
*/
|
|
256
262
|
readonly operator?: string;
|
|
257
263
|
/**
|
|
258
264
|
* For baseline conditions must be in range [1, 1000].
|
|
259
265
|
*
|
|
260
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
266
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#threshold NrqlAlertCondition#threshold}
|
|
261
267
|
*/
|
|
262
268
|
readonly threshold: number;
|
|
263
269
|
/**
|
|
264
270
|
* 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
|
|
265
271
|
*
|
|
266
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
272
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#threshold_duration NrqlAlertCondition#threshold_duration}
|
|
267
273
|
*/
|
|
268
274
|
readonly thresholdDuration?: number;
|
|
269
275
|
/**
|
|
270
276
|
* 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).
|
|
271
277
|
*
|
|
272
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
278
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#threshold_occurrences NrqlAlertCondition#threshold_occurrences}
|
|
273
279
|
*/
|
|
274
280
|
readonly thresholdOccurrences?: string;
|
|
275
281
|
/**
|
|
276
282
|
* Valid values are: 'all' or 'any'
|
|
277
283
|
*
|
|
278
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
284
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#time_function NrqlAlertCondition#time_function}
|
|
279
285
|
*/
|
|
280
286
|
readonly timeFunction?: string;
|
|
281
287
|
/**
|
|
282
288
|
* prediction block
|
|
283
289
|
*
|
|
284
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
290
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#prediction NrqlAlertCondition#prediction}
|
|
285
291
|
*/
|
|
286
292
|
readonly prediction?: NrqlAlertConditionCriticalPrediction;
|
|
287
293
|
}
|
|
@@ -296,6 +302,11 @@ export declare class NrqlAlertConditionCriticalOutputReference extends cdktn.Com
|
|
|
296
302
|
constructor(terraformResource: cdktn.IInterpolatingParent, terraformAttribute: string);
|
|
297
303
|
get internalValue(): NrqlAlertConditionCritical | undefined;
|
|
298
304
|
set internalValue(value: NrqlAlertConditionCritical | undefined);
|
|
305
|
+
private _disableEventCreation?;
|
|
306
|
+
get disableEventCreation(): boolean | cdktn.IResolvable;
|
|
307
|
+
set disableEventCreation(value: boolean | cdktn.IResolvable);
|
|
308
|
+
resetDisableEventCreation(): void;
|
|
309
|
+
get disableEventCreationInput(): boolean | cdktn.IResolvable | undefined;
|
|
299
310
|
private _disableHealthStatusReporting?;
|
|
300
311
|
get disableHealthStatusReporting(): boolean | cdktn.IResolvable;
|
|
301
312
|
set disableHealthStatusReporting(value: boolean | cdktn.IResolvable);
|
|
@@ -340,23 +351,23 @@ export interface NrqlAlertConditionNrql {
|
|
|
340
351
|
/**
|
|
341
352
|
* The New Relic account ID to use as the basis for the NRQL alert condition's `query`; will default to `account_id` if unspecified.
|
|
342
353
|
*
|
|
343
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
354
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#data_account_id NrqlAlertCondition#data_account_id}
|
|
344
355
|
*/
|
|
345
356
|
readonly dataAccountId?: number;
|
|
346
357
|
/**
|
|
347
358
|
* 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`.
|
|
348
359
|
*
|
|
349
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
360
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#evaluation_offset NrqlAlertCondition#evaluation_offset}
|
|
350
361
|
*/
|
|
351
362
|
readonly evaluationOffset?: number;
|
|
352
363
|
/**
|
|
353
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
364
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#query NrqlAlertCondition#query}
|
|
354
365
|
*/
|
|
355
366
|
readonly query: string;
|
|
356
367
|
/**
|
|
357
368
|
* 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`.
|
|
358
369
|
*
|
|
359
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
370
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#since_value NrqlAlertCondition#since_value}
|
|
360
371
|
*/
|
|
361
372
|
readonly sinceValue?: string;
|
|
362
373
|
}
|
|
@@ -395,19 +406,19 @@ export interface NrqlAlertConditionOutlierConfigurationDbscan {
|
|
|
395
406
|
/**
|
|
396
407
|
* 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.
|
|
397
408
|
*
|
|
398
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
409
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#epsilon NrqlAlertCondition#epsilon}
|
|
399
410
|
*/
|
|
400
411
|
readonly epsilon: number;
|
|
401
412
|
/**
|
|
402
413
|
* 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.
|
|
403
414
|
*
|
|
404
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
415
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#evaluation_group_facet NrqlAlertCondition#evaluation_group_facet}
|
|
405
416
|
*/
|
|
406
417
|
readonly evaluationGroupFacet?: string;
|
|
407
418
|
/**
|
|
408
419
|
* 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.
|
|
409
420
|
*
|
|
410
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
421
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#minimum_points NrqlAlertCondition#minimum_points}
|
|
411
422
|
*/
|
|
412
423
|
readonly minimumPoints: number;
|
|
413
424
|
}
|
|
@@ -440,7 +451,7 @@ export interface NrqlAlertConditionOutlierConfiguration {
|
|
|
440
451
|
/**
|
|
441
452
|
* dbscan block
|
|
442
453
|
*
|
|
443
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
454
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#dbscan NrqlAlertCondition#dbscan}
|
|
444
455
|
*/
|
|
445
456
|
readonly dbscan: NrqlAlertConditionOutlierConfigurationDbscan;
|
|
446
457
|
}
|
|
@@ -464,13 +475,13 @@ export interface NrqlAlertConditionTermPrediction {
|
|
|
464
475
|
/**
|
|
465
476
|
* 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.
|
|
466
477
|
*
|
|
467
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
478
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#predict_by NrqlAlertCondition#predict_by}
|
|
468
479
|
*/
|
|
469
480
|
readonly predictBy?: number;
|
|
470
481
|
/**
|
|
471
482
|
* 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.
|
|
472
483
|
*
|
|
473
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
484
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#prefer_prediction_violation NrqlAlertCondition#prefer_prediction_violation}
|
|
474
485
|
*/
|
|
475
486
|
readonly preferPredictionViolation?: boolean | cdktn.IResolvable;
|
|
476
487
|
}
|
|
@@ -497,58 +508,64 @@ export declare class NrqlAlertConditionTermPredictionOutputReference extends cdk
|
|
|
497
508
|
get preferPredictionViolationInput(): boolean | cdktn.IResolvable | undefined;
|
|
498
509
|
}
|
|
499
510
|
export interface NrqlAlertConditionTerm {
|
|
511
|
+
/**
|
|
512
|
+
* BETA PREVIEW: the `disable_event_creation` field is in limited release and only enabled for preview on a per-account basis. When set to true, violations will not create events.
|
|
513
|
+
*
|
|
514
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#disable_event_creation NrqlAlertCondition#disable_event_creation}
|
|
515
|
+
*/
|
|
516
|
+
readonly disableEventCreation?: boolean | cdktn.IResolvable;
|
|
500
517
|
/**
|
|
501
518
|
* Violations will not change system health status for this term.
|
|
502
519
|
*
|
|
503
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
520
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#disable_health_status_reporting NrqlAlertCondition#disable_health_status_reporting}
|
|
504
521
|
*/
|
|
505
522
|
readonly disableHealthStatusReporting?: boolean | cdktn.IResolvable;
|
|
506
523
|
/**
|
|
507
524
|
* In minutes, must be in the range of 1 to 120 (inclusive).
|
|
508
525
|
*
|
|
509
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
526
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#duration NrqlAlertCondition#duration}
|
|
510
527
|
*/
|
|
511
528
|
readonly duration?: number;
|
|
512
529
|
/**
|
|
513
530
|
* One of (above, above_or_equals, below, below_or_equals, equals, not_equals). Defaults to 'equals'.
|
|
514
531
|
*
|
|
515
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
532
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#operator NrqlAlertCondition#operator}
|
|
516
533
|
*/
|
|
517
534
|
readonly operator?: string;
|
|
518
535
|
/**
|
|
519
536
|
* One of (critical, warning). Defaults to 'critical'. At least one condition term must have priority set to 'critical'.
|
|
520
537
|
*
|
|
521
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
538
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#priority NrqlAlertCondition#priority}
|
|
522
539
|
*/
|
|
523
540
|
readonly priority?: string;
|
|
524
541
|
/**
|
|
525
542
|
* For baseline conditions must be in range [1, 1000].
|
|
526
543
|
*
|
|
527
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
544
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#threshold NrqlAlertCondition#threshold}
|
|
528
545
|
*/
|
|
529
546
|
readonly threshold: number;
|
|
530
547
|
/**
|
|
531
548
|
* 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
|
|
532
549
|
*
|
|
533
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
550
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#threshold_duration NrqlAlertCondition#threshold_duration}
|
|
534
551
|
*/
|
|
535
552
|
readonly thresholdDuration?: number;
|
|
536
553
|
/**
|
|
537
554
|
* 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).
|
|
538
555
|
*
|
|
539
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
556
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#threshold_occurrences NrqlAlertCondition#threshold_occurrences}
|
|
540
557
|
*/
|
|
541
558
|
readonly thresholdOccurrences?: string;
|
|
542
559
|
/**
|
|
543
560
|
* Valid values are: 'all' or 'any'
|
|
544
561
|
*
|
|
545
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
562
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#time_function NrqlAlertCondition#time_function}
|
|
546
563
|
*/
|
|
547
564
|
readonly timeFunction?: string;
|
|
548
565
|
/**
|
|
549
566
|
* prediction block
|
|
550
567
|
*
|
|
551
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
568
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#prediction NrqlAlertCondition#prediction}
|
|
552
569
|
*/
|
|
553
570
|
readonly prediction?: NrqlAlertConditionTermPrediction;
|
|
554
571
|
}
|
|
@@ -566,6 +583,11 @@ export declare class NrqlAlertConditionTermOutputReference extends cdktn.Complex
|
|
|
566
583
|
constructor(terraformResource: cdktn.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
|
|
567
584
|
get internalValue(): NrqlAlertConditionTerm | cdktn.IResolvable | undefined;
|
|
568
585
|
set internalValue(value: NrqlAlertConditionTerm | cdktn.IResolvable | undefined);
|
|
586
|
+
private _disableEventCreation?;
|
|
587
|
+
get disableEventCreation(): boolean | cdktn.IResolvable;
|
|
588
|
+
set disableEventCreation(value: boolean | cdktn.IResolvable);
|
|
589
|
+
resetDisableEventCreation(): void;
|
|
590
|
+
get disableEventCreationInput(): boolean | cdktn.IResolvable | undefined;
|
|
569
591
|
private _disableHealthStatusReporting?;
|
|
570
592
|
get disableHealthStatusReporting(): boolean | cdktn.IResolvable;
|
|
571
593
|
set disableHealthStatusReporting(value: boolean | cdktn.IResolvable);
|
|
@@ -626,7 +648,7 @@ export declare class NrqlAlertConditionTermList extends cdktn.ComplexList {
|
|
|
626
648
|
}
|
|
627
649
|
export interface NrqlAlertConditionTimeouts {
|
|
628
650
|
/**
|
|
629
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
651
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#create NrqlAlertCondition#create}
|
|
630
652
|
*/
|
|
631
653
|
readonly create?: string;
|
|
632
654
|
}
|
|
@@ -652,13 +674,13 @@ export interface NrqlAlertConditionWarningPrediction {
|
|
|
652
674
|
/**
|
|
653
675
|
* 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.
|
|
654
676
|
*
|
|
655
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
677
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#predict_by NrqlAlertCondition#predict_by}
|
|
656
678
|
*/
|
|
657
679
|
readonly predictBy?: number;
|
|
658
680
|
/**
|
|
659
681
|
* 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.
|
|
660
682
|
*
|
|
661
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
683
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#prefer_prediction_violation NrqlAlertCondition#prefer_prediction_violation}
|
|
662
684
|
*/
|
|
663
685
|
readonly preferPredictionViolation?: boolean | cdktn.IResolvable;
|
|
664
686
|
}
|
|
@@ -685,52 +707,58 @@ export declare class NrqlAlertConditionWarningPredictionOutputReference extends
|
|
|
685
707
|
get preferPredictionViolationInput(): boolean | cdktn.IResolvable | undefined;
|
|
686
708
|
}
|
|
687
709
|
export interface NrqlAlertConditionWarning {
|
|
710
|
+
/**
|
|
711
|
+
* BETA PREVIEW: the `disable_event_creation` field is in limited release and only enabled for preview on a per-account basis. When set to true, violations will not create events.
|
|
712
|
+
*
|
|
713
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#disable_event_creation NrqlAlertCondition#disable_event_creation}
|
|
714
|
+
*/
|
|
715
|
+
readonly disableEventCreation?: boolean | cdktn.IResolvable;
|
|
688
716
|
/**
|
|
689
717
|
* Violations will not change system health status for this term.
|
|
690
718
|
*
|
|
691
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
719
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#disable_health_status_reporting NrqlAlertCondition#disable_health_status_reporting}
|
|
692
720
|
*/
|
|
693
721
|
readonly disableHealthStatusReporting?: boolean | cdktn.IResolvable;
|
|
694
722
|
/**
|
|
695
723
|
* In minutes, must be in the range of 1 to 120 (inclusive).
|
|
696
724
|
*
|
|
697
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
725
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#duration NrqlAlertCondition#duration}
|
|
698
726
|
*/
|
|
699
727
|
readonly duration?: number;
|
|
700
728
|
/**
|
|
701
729
|
* One of (above, above_or_equals, below, below_or_equals, equals, not_equals). Defaults to 'equals'.
|
|
702
730
|
*
|
|
703
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
731
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#operator NrqlAlertCondition#operator}
|
|
704
732
|
*/
|
|
705
733
|
readonly operator?: string;
|
|
706
734
|
/**
|
|
707
735
|
* For baseline conditions must be in range [1, 1000].
|
|
708
736
|
*
|
|
709
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
737
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#threshold NrqlAlertCondition#threshold}
|
|
710
738
|
*/
|
|
711
739
|
readonly threshold: number;
|
|
712
740
|
/**
|
|
713
741
|
* 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
|
|
714
742
|
*
|
|
715
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
743
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#threshold_duration NrqlAlertCondition#threshold_duration}
|
|
716
744
|
*/
|
|
717
745
|
readonly thresholdDuration?: number;
|
|
718
746
|
/**
|
|
719
747
|
* 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).
|
|
720
748
|
*
|
|
721
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
749
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#threshold_occurrences NrqlAlertCondition#threshold_occurrences}
|
|
722
750
|
*/
|
|
723
751
|
readonly thresholdOccurrences?: string;
|
|
724
752
|
/**
|
|
725
753
|
* Valid values are: 'all' or 'any'
|
|
726
754
|
*
|
|
727
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
755
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#time_function NrqlAlertCondition#time_function}
|
|
728
756
|
*/
|
|
729
757
|
readonly timeFunction?: string;
|
|
730
758
|
/**
|
|
731
759
|
* prediction block
|
|
732
760
|
*
|
|
733
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
761
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#prediction NrqlAlertCondition#prediction}
|
|
734
762
|
*/
|
|
735
763
|
readonly prediction?: NrqlAlertConditionWarningPrediction;
|
|
736
764
|
}
|
|
@@ -745,6 +773,11 @@ export declare class NrqlAlertConditionWarningOutputReference extends cdktn.Comp
|
|
|
745
773
|
constructor(terraformResource: cdktn.IInterpolatingParent, terraformAttribute: string);
|
|
746
774
|
get internalValue(): NrqlAlertConditionWarning | undefined;
|
|
747
775
|
set internalValue(value: NrqlAlertConditionWarning | undefined);
|
|
776
|
+
private _disableEventCreation?;
|
|
777
|
+
get disableEventCreation(): boolean | cdktn.IResolvable;
|
|
778
|
+
set disableEventCreation(value: boolean | cdktn.IResolvable);
|
|
779
|
+
resetDisableEventCreation(): void;
|
|
780
|
+
get disableEventCreationInput(): boolean | cdktn.IResolvable | undefined;
|
|
748
781
|
private _disableHealthStatusReporting?;
|
|
749
782
|
get disableHealthStatusReporting(): boolean | cdktn.IResolvable;
|
|
750
783
|
set disableHealthStatusReporting(value: boolean | cdktn.IResolvable);
|
|
@@ -786,7 +819,7 @@ export declare class NrqlAlertConditionWarningOutputReference extends cdktn.Comp
|
|
|
786
819
|
get predictionInput(): NrqlAlertConditionWarningPrediction | undefined;
|
|
787
820
|
}
|
|
788
821
|
/**
|
|
789
|
-
* Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
822
|
+
* Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition newrelic_nrql_alert_condition}
|
|
790
823
|
*/
|
|
791
824
|
export declare class NrqlAlertCondition extends cdktn.TerraformResource {
|
|
792
825
|
static readonly tfResourceType = "newrelic_nrql_alert_condition";
|
|
@@ -794,12 +827,12 @@ export declare class NrqlAlertCondition extends cdktn.TerraformResource {
|
|
|
794
827
|
* Generates CDKTN code for importing a NrqlAlertCondition resource upon running "cdktn plan <stack-name>"
|
|
795
828
|
* @param scope The scope in which to define this construct
|
|
796
829
|
* @param importToId The construct id used in the generated config for the NrqlAlertCondition to import
|
|
797
|
-
* @param importFromId The id of the existing NrqlAlertCondition that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
830
|
+
* @param importFromId The id of the existing NrqlAlertCondition that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition#import import section} in the documentation of this resource for the id to use
|
|
798
831
|
* @param provider? Optional instance of the provider where the NrqlAlertCondition to import is found
|
|
799
832
|
*/
|
|
800
833
|
static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktn.TerraformProvider): cdktn.ImportableResource;
|
|
801
834
|
/**
|
|
802
|
-
* Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
835
|
+
* Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.93.1/docs/resources/nrql_alert_condition newrelic_nrql_alert_condition} Resource
|
|
803
836
|
*
|
|
804
837
|
* @param scope The scope in which to define this construct
|
|
805
838
|
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|