@cdktf-providers/newrelic 3.75.4

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.
Files changed (147) hide show
  1. package/LICENSE +355 -0
  2. package/README.md +19 -0
  3. package/dist/account-management/index.d.ts +64 -0
  4. package/dist/account-management/index.js +131 -0
  5. package/dist/alert-channel/index.d.ts +347 -0
  6. package/dist/alert-channel/index.js +810 -0
  7. package/dist/alert-condition/index.d.ts +267 -0
  8. package/dist/alert-condition/index.js +587 -0
  9. package/dist/alert-muting-rule/index.d.ts +305 -0
  10. package/dist/alert-muting-rule/index.js +731 -0
  11. package/dist/alert-policy/index.d.ts +87 -0
  12. package/dist/alert-policy/index.js +180 -0
  13. package/dist/alert-policy-channel/index.d.ts +110 -0
  14. package/dist/alert-policy-channel/index.js +260 -0
  15. package/dist/api-access-key/index.d.ts +98 -0
  16. package/dist/api-access-key/index.js +230 -0
  17. package/dist/application-settings/index.d.ts +410 -0
  18. package/dist/application-settings/index.js +966 -0
  19. package/dist/browser-application/index.d.ts +101 -0
  20. package/dist/browser-application/index.js +215 -0
  21. package/dist/cloud-aws-govcloud-integrations/index.d.ts +1519 -0
  22. package/dist/cloud-aws-govcloud-integrations/index.js +3846 -0
  23. package/dist/cloud-aws-govcloud-link-account/index.d.ts +86 -0
  24. package/dist/cloud-aws-govcloud-link-account/index.js +177 -0
  25. package/dist/cloud-aws-integrations/index.d.ts +3294 -0
  26. package/dist/cloud-aws-integrations/index.js +8554 -0
  27. package/dist/cloud-aws-link-account/index.d.ts +86 -0
  28. package/dist/cloud-aws-link-account/index.js +177 -0
  29. package/dist/cloud-azure-integrations/index.d.ts +1662 -0
  30. package/dist/cloud-azure-integrations/index.js +4338 -0
  31. package/dist/cloud-azure-link-account/index.d.ts +105 -0
  32. package/dist/cloud-azure-link-account/index.js +214 -0
  33. package/dist/cloud-gcp-integrations/index.d.ts +1045 -0
  34. package/dist/cloud-gcp-integrations/index.js +2742 -0
  35. package/dist/cloud-gcp-link-account/index.d.ts +75 -0
  36. package/dist/cloud-gcp-link-account/index.js +154 -0
  37. package/dist/cloud-oci-link-account/index.d.ts +191 -0
  38. package/dist/cloud-oci-link-account/index.js +392 -0
  39. package/dist/data-newrelic-account/index.d.ts +77 -0
  40. package/dist/data-newrelic-account/index.js +160 -0
  41. package/dist/data-newrelic-alert-channel/index.d.ts +122 -0
  42. package/dist/data-newrelic-alert-channel/index.js +295 -0
  43. package/dist/data-newrelic-alert-policy/index.d.ts +78 -0
  44. package/dist/data-newrelic-alert-policy/index.js +165 -0
  45. package/dist/data-newrelic-application/index.d.ts +56 -0
  46. package/dist/data-newrelic-application/index.js +119 -0
  47. package/dist/data-newrelic-authentication-domain/index.d.ts +43 -0
  48. package/dist/data-newrelic-authentication-domain/index.js +92 -0
  49. package/dist/data-newrelic-cloud-account/index.d.ts +75 -0
  50. package/dist/data-newrelic-cloud-account/index.js +154 -0
  51. package/dist/data-newrelic-entity/index.d.ts +185 -0
  52. package/dist/data-newrelic-entity/index.js +414 -0
  53. package/dist/data-newrelic-group/index.d.ts +54 -0
  54. package/dist/data-newrelic-group/index.js +116 -0
  55. package/dist/data-newrelic-key-transaction/index.d.ts +78 -0
  56. package/dist/data-newrelic-key-transaction/index.js +165 -0
  57. package/dist/data-newrelic-notification-destination/index.d.ts +161 -0
  58. package/dist/data-newrelic-notification-destination/index.js +368 -0
  59. package/dist/data-newrelic-obfuscation-expression/index.d.ts +65 -0
  60. package/dist/data-newrelic-obfuscation-expression/index.js +134 -0
  61. package/dist/data-newrelic-service-level-alert-helper/index.d.ts +107 -0
  62. package/dist/data-newrelic-service-level-alert-helper/index.js +256 -0
  63. package/dist/data-newrelic-synthetics-private-location/index.d.ts +76 -0
  64. package/dist/data-newrelic-synthetics-private-location/index.js +157 -0
  65. package/dist/data-newrelic-synthetics-secure-credential/index.d.ts +67 -0
  66. package/dist/data-newrelic-synthetics-secure-credential/index.js +142 -0
  67. package/dist/data-newrelic-test-grok-pattern/index.d.ts +145 -0
  68. package/dist/data-newrelic-test-grok-pattern/index.js +312 -0
  69. package/dist/data-newrelic-user/index.d.ts +65 -0
  70. package/dist/data-newrelic-user/index.js +138 -0
  71. package/dist/data-partition-rule/index.d.ts +142 -0
  72. package/dist/data-partition-rule/index.js +327 -0
  73. package/dist/entity-tags/index.d.ts +152 -0
  74. package/dist/entity-tags/index.js +367 -0
  75. package/dist/events-to-metrics-rule/index.d.ts +98 -0
  76. package/dist/events-to-metrics-rule/index.js +204 -0
  77. package/dist/group/index.d.ts +75 -0
  78. package/dist/group/index.js +154 -0
  79. package/dist/index.d.ts +67 -0
  80. package/dist/index.js +68 -0
  81. package/dist/infra-alert-condition/index.d.ts +289 -0
  82. package/dist/infra-alert-condition/index.js +691 -0
  83. package/dist/insights-event/index.d.ts +182 -0
  84. package/dist/insights-event/index.js +427 -0
  85. package/dist/key-transaction/index.d.ts +96 -0
  86. package/dist/key-transaction/index.js +199 -0
  87. package/dist/lazy-index.d.ts +0 -0
  88. package/dist/lazy-index.js +68 -0
  89. package/dist/log-parsing-rule/index.d.ts +128 -0
  90. package/dist/log-parsing-rule/index.js +264 -0
  91. package/dist/monitor-downtime/index.d.ts +255 -0
  92. package/dist/monitor-downtime/index.js +603 -0
  93. package/dist/notification-channel/index.d.ts +236 -0
  94. package/dist/notification-channel/index.js +561 -0
  95. package/dist/notification-destination/index.d.ts +402 -0
  96. package/dist/notification-destination/index.js +1039 -0
  97. package/dist/nrql-alert-condition/index.d.ts +892 -0
  98. package/dist/nrql-alert-condition/index.js +2177 -0
  99. package/dist/nrql-drop-rule/index.d.ts +123 -0
  100. package/dist/nrql-drop-rule/index.js +291 -0
  101. package/dist/obfuscation-expression/index.d.ts +86 -0
  102. package/dist/obfuscation-expression/index.js +177 -0
  103. package/dist/obfuscation-rule/index.d.ts +169 -0
  104. package/dist/obfuscation-rule/index.js +372 -0
  105. package/dist/one-dashboard/index-structs/index.d.ts +2 -0
  106. package/dist/one-dashboard/index-structs/index.js +2 -0
  107. package/dist/one-dashboard/index-structs/structs0.d.ts +6996 -0
  108. package/dist/one-dashboard/index-structs/structs0.js +18191 -0
  109. package/dist/one-dashboard/index-structs/structs400.d.ts +3699 -0
  110. package/dist/one-dashboard/index-structs/structs400.js +9611 -0
  111. package/dist/one-dashboard/index.d.ts +112 -0
  112. package/dist/one-dashboard/index.js +232 -0
  113. package/dist/one-dashboard-json/index.d.ts +112 -0
  114. package/dist/one-dashboard-json/index.js +280 -0
  115. package/dist/one-dashboard-raw/index.d.ts +274 -0
  116. package/dist/one-dashboard-raw/index.js +666 -0
  117. package/dist/pipeline-cloud-rule/index.d.ts +86 -0
  118. package/dist/pipeline-cloud-rule/index.js +177 -0
  119. package/dist/provider/index.d.ts +160 -0
  120. package/dist/provider/index.js +378 -0
  121. package/dist/service-level/index.d.ts +501 -0
  122. package/dist/service-level/index.js +1425 -0
  123. package/dist/synthetics-alert-condition/index.d.ts +97 -0
  124. package/dist/synthetics-alert-condition/index.js +201 -0
  125. package/dist/synthetics-broken-links-monitor/index.d.ts +217 -0
  126. package/dist/synthetics-broken-links-monitor/index.js +474 -0
  127. package/dist/synthetics-cert-check-monitor/index.d.ts +222 -0
  128. package/dist/synthetics-cert-check-monitor/index.js +490 -0
  129. package/dist/synthetics-monitor/index.d.ts +404 -0
  130. package/dist/synthetics-monitor/index.js +885 -0
  131. package/dist/synthetics-multilocation-alert-condition/index.d.ts +177 -0
  132. package/dist/synthetics-multilocation-alert-condition/index.js +407 -0
  133. package/dist/synthetics-private-location/index.d.ts +90 -0
  134. package/dist/synthetics-private-location/index.js +193 -0
  135. package/dist/synthetics-script-monitor/index.d.ts +348 -0
  136. package/dist/synthetics-script-monitor/index.js +768 -0
  137. package/dist/synthetics-secure-credential/index.d.ts +132 -0
  138. package/dist/synthetics-secure-credential/index.js +306 -0
  139. package/dist/synthetics-step-monitor/index.d.ts +368 -0
  140. package/dist/synthetics-step-monitor/index.js +834 -0
  141. package/dist/user/index.d.ts +85 -0
  142. package/dist/user/index.js +174 -0
  143. package/dist/workflow/index.d.ts +441 -0
  144. package/dist/workflow/index.js +1066 -0
  145. package/dist/workload/index.d.ts +514 -0
  146. package/dist/workload/index.js +1283 -0
  147. package/package.json +50 -0
@@ -0,0 +1,514 @@
1
+ import { Construct } from 'constructs';
2
+ import * as cdktf from 'cdktf';
3
+ export interface WorkloadConfig extends cdktf.TerraformMetaArguments {
4
+ /**
5
+ * The New Relic account ID where you want to create the workload.
6
+ *
7
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/workload#account_id Workload#account_id}
8
+ */
9
+ readonly accountId?: number;
10
+ /**
11
+ * Relevant information about the workload.
12
+ *
13
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/workload#description Workload#description}
14
+ */
15
+ readonly description?: string;
16
+ /**
17
+ * A list of entity GUIDs manually assigned to this workload.
18
+ *
19
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/workload#entity_guids Workload#entity_guids}
20
+ */
21
+ readonly entityGuids?: string[];
22
+ /**
23
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/workload#id Workload#id}
24
+ *
25
+ * Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
26
+ * 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.
27
+ */
28
+ readonly id?: string;
29
+ /**
30
+ * The workload's name.
31
+ *
32
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/workload#name Workload#name}
33
+ */
34
+ readonly name: string;
35
+ /**
36
+ * A list of account IDs that will be used to get entities from.
37
+ *
38
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/workload#scope_account_ids Workload#scope_account_ids}
39
+ */
40
+ readonly scopeAccountIds?: number[];
41
+ /**
42
+ * entity_search_query block
43
+ *
44
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/workload#entity_search_query Workload#entity_search_query}
45
+ */
46
+ readonly entitySearchQuery?: WorkloadEntitySearchQuery[] | cdktf.IResolvable;
47
+ /**
48
+ * status_config_automatic block
49
+ *
50
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/workload#status_config_automatic Workload#status_config_automatic}
51
+ */
52
+ readonly statusConfigAutomatic?: WorkloadStatusConfigAutomatic;
53
+ /**
54
+ * status_config_static block
55
+ *
56
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/workload#status_config_static Workload#status_config_static}
57
+ */
58
+ readonly statusConfigStatic?: WorkloadStatusConfigStatic;
59
+ }
60
+ export interface WorkloadEntitySearchQuery {
61
+ /**
62
+ * A valid entity search query; empty, and null values are considered invalid.
63
+ *
64
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/workload#query Workload#query}
65
+ */
66
+ readonly query: string;
67
+ }
68
+ export declare function workloadEntitySearchQueryToTerraform(struct?: WorkloadEntitySearchQuery | cdktf.IResolvable): any;
69
+ export declare function workloadEntitySearchQueryToHclTerraform(struct?: WorkloadEntitySearchQuery | cdktf.IResolvable): any;
70
+ export declare class WorkloadEntitySearchQueryOutputReference extends cdktf.ComplexObject {
71
+ private isEmptyObject;
72
+ private resolvableValue?;
73
+ /**
74
+ * @param terraformResource The parent resource
75
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
76
+ * @param complexObjectIndex the index of this item in the list
77
+ * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
78
+ */
79
+ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
80
+ get internalValue(): WorkloadEntitySearchQuery | cdktf.IResolvable | undefined;
81
+ set internalValue(value: WorkloadEntitySearchQuery | cdktf.IResolvable | undefined);
82
+ private _query?;
83
+ get query(): string;
84
+ set query(value: string);
85
+ get queryInput(): string;
86
+ }
87
+ export declare class WorkloadEntitySearchQueryList extends cdktf.ComplexList {
88
+ protected terraformResource: cdktf.IInterpolatingParent;
89
+ protected terraformAttribute: string;
90
+ protected wrapsSet: boolean;
91
+ internalValue?: WorkloadEntitySearchQuery[] | cdktf.IResolvable;
92
+ /**
93
+ * @param terraformResource The parent resource
94
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
95
+ * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
96
+ */
97
+ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
98
+ /**
99
+ * @param index the index of the item to return
100
+ */
101
+ get(index: number): WorkloadEntitySearchQueryOutputReference;
102
+ }
103
+ export interface WorkloadStatusConfigAutomaticRemainingEntitiesRuleRemainingEntitiesRuleRollup {
104
+ /**
105
+ * The grouping to be applied to the remaining entities.
106
+ *
107
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/workload#group_by Workload#group_by}
108
+ */
109
+ readonly groupBy: string;
110
+ /**
111
+ * The rollup strategy that is applied to a group of entities.
112
+ *
113
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/workload#strategy Workload#strategy}
114
+ */
115
+ readonly strategy: string;
116
+ /**
117
+ * Type of threshold defined for the rule. This is an optional field that only applies when strategy is WORST_STATUS_WINS. Use a threshold to roll up the worst status only after a certain amount of entities are not operational.
118
+ *
119
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/workload#threshold_type Workload#threshold_type}
120
+ */
121
+ readonly thresholdType?: string;
122
+ /**
123
+ * Threshold value defined for the rule. This optional field is used in combination with thresholdType. If the threshold type is null, the threshold value will be ignored.
124
+ *
125
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/workload#threshold_value Workload#threshold_value}
126
+ */
127
+ readonly thresholdValue?: number;
128
+ }
129
+ export declare function workloadStatusConfigAutomaticRemainingEntitiesRuleRemainingEntitiesRuleRollupToTerraform(struct?: WorkloadStatusConfigAutomaticRemainingEntitiesRuleRemainingEntitiesRuleRollupOutputReference | WorkloadStatusConfigAutomaticRemainingEntitiesRuleRemainingEntitiesRuleRollup): any;
130
+ export declare function workloadStatusConfigAutomaticRemainingEntitiesRuleRemainingEntitiesRuleRollupToHclTerraform(struct?: WorkloadStatusConfigAutomaticRemainingEntitiesRuleRemainingEntitiesRuleRollupOutputReference | WorkloadStatusConfigAutomaticRemainingEntitiesRuleRemainingEntitiesRuleRollup): any;
131
+ export declare class WorkloadStatusConfigAutomaticRemainingEntitiesRuleRemainingEntitiesRuleRollupOutputReference extends cdktf.ComplexObject {
132
+ private isEmptyObject;
133
+ /**
134
+ * @param terraformResource The parent resource
135
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
136
+ */
137
+ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
138
+ get internalValue(): WorkloadStatusConfigAutomaticRemainingEntitiesRuleRemainingEntitiesRuleRollup | undefined;
139
+ set internalValue(value: WorkloadStatusConfigAutomaticRemainingEntitiesRuleRemainingEntitiesRuleRollup | undefined);
140
+ private _groupBy?;
141
+ get groupBy(): string;
142
+ set groupBy(value: string);
143
+ get groupByInput(): string;
144
+ private _strategy?;
145
+ get strategy(): string;
146
+ set strategy(value: string);
147
+ get strategyInput(): string;
148
+ private _thresholdType?;
149
+ get thresholdType(): string;
150
+ set thresholdType(value: string);
151
+ resetThresholdType(): void;
152
+ get thresholdTypeInput(): string;
153
+ private _thresholdValue?;
154
+ get thresholdValue(): number;
155
+ set thresholdValue(value: number);
156
+ resetThresholdValue(): void;
157
+ get thresholdValueInput(): number;
158
+ }
159
+ export interface WorkloadStatusConfigAutomaticRemainingEntitiesRule {
160
+ /**
161
+ * remaining_entities_rule_rollup block
162
+ *
163
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/workload#remaining_entities_rule_rollup Workload#remaining_entities_rule_rollup}
164
+ */
165
+ readonly remainingEntitiesRuleRollup: WorkloadStatusConfigAutomaticRemainingEntitiesRuleRemainingEntitiesRuleRollup;
166
+ }
167
+ export declare function workloadStatusConfigAutomaticRemainingEntitiesRuleToTerraform(struct?: WorkloadStatusConfigAutomaticRemainingEntitiesRuleOutputReference | WorkloadStatusConfigAutomaticRemainingEntitiesRule): any;
168
+ export declare function workloadStatusConfigAutomaticRemainingEntitiesRuleToHclTerraform(struct?: WorkloadStatusConfigAutomaticRemainingEntitiesRuleOutputReference | WorkloadStatusConfigAutomaticRemainingEntitiesRule): any;
169
+ export declare class WorkloadStatusConfigAutomaticRemainingEntitiesRuleOutputReference extends cdktf.ComplexObject {
170
+ private isEmptyObject;
171
+ /**
172
+ * @param terraformResource The parent resource
173
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
174
+ */
175
+ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
176
+ get internalValue(): WorkloadStatusConfigAutomaticRemainingEntitiesRule | undefined;
177
+ set internalValue(value: WorkloadStatusConfigAutomaticRemainingEntitiesRule | undefined);
178
+ private _remainingEntitiesRuleRollup;
179
+ get remainingEntitiesRuleRollup(): WorkloadStatusConfigAutomaticRemainingEntitiesRuleRemainingEntitiesRuleRollupOutputReference;
180
+ putRemainingEntitiesRuleRollup(value: WorkloadStatusConfigAutomaticRemainingEntitiesRuleRemainingEntitiesRuleRollup): void;
181
+ get remainingEntitiesRuleRollupInput(): WorkloadStatusConfigAutomaticRemainingEntitiesRuleRemainingEntitiesRuleRollup;
182
+ }
183
+ export interface WorkloadStatusConfigAutomaticRuleNrqlQuery {
184
+ /**
185
+ * The entity search query that is used to perform the search of a group of entities.
186
+ *
187
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/workload#query Workload#query}
188
+ */
189
+ readonly query: string;
190
+ }
191
+ export declare function workloadStatusConfigAutomaticRuleNrqlQueryToTerraform(struct?: WorkloadStatusConfigAutomaticRuleNrqlQuery | cdktf.IResolvable): any;
192
+ export declare function workloadStatusConfigAutomaticRuleNrqlQueryToHclTerraform(struct?: WorkloadStatusConfigAutomaticRuleNrqlQuery | cdktf.IResolvable): any;
193
+ export declare class WorkloadStatusConfigAutomaticRuleNrqlQueryOutputReference extends cdktf.ComplexObject {
194
+ private isEmptyObject;
195
+ private resolvableValue?;
196
+ /**
197
+ * @param terraformResource The parent resource
198
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
199
+ * @param complexObjectIndex the index of this item in the list
200
+ * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
201
+ */
202
+ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
203
+ get internalValue(): WorkloadStatusConfigAutomaticRuleNrqlQuery | cdktf.IResolvable | undefined;
204
+ set internalValue(value: WorkloadStatusConfigAutomaticRuleNrqlQuery | cdktf.IResolvable | undefined);
205
+ private _query?;
206
+ get query(): string;
207
+ set query(value: string);
208
+ get queryInput(): string;
209
+ }
210
+ export declare class WorkloadStatusConfigAutomaticRuleNrqlQueryList extends cdktf.ComplexList {
211
+ protected terraformResource: cdktf.IInterpolatingParent;
212
+ protected terraformAttribute: string;
213
+ protected wrapsSet: boolean;
214
+ internalValue?: WorkloadStatusConfigAutomaticRuleNrqlQuery[] | cdktf.IResolvable;
215
+ /**
216
+ * @param terraformResource The parent resource
217
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
218
+ * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
219
+ */
220
+ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
221
+ /**
222
+ * @param index the index of the item to return
223
+ */
224
+ get(index: number): WorkloadStatusConfigAutomaticRuleNrqlQueryOutputReference;
225
+ }
226
+ export interface WorkloadStatusConfigAutomaticRuleRollup {
227
+ /**
228
+ * The rollup strategy that is applied to a group of entities.
229
+ *
230
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/workload#strategy Workload#strategy}
231
+ */
232
+ readonly strategy: string;
233
+ /**
234
+ * Type of threshold defined for the rule. This is an optional field that only applies when strategy is WORST_STATUS_WINS. Use a threshold to roll up the worst status only after a certain amount of entities are not operational.
235
+ *
236
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/workload#threshold_type Workload#threshold_type}
237
+ */
238
+ readonly thresholdType?: string;
239
+ /**
240
+ * Threshold value defined for the rule. This optional field is used in combination with thresholdType. If the threshold type is null, the threshold value will be ignored.
241
+ *
242
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/workload#threshold_value Workload#threshold_value}
243
+ */
244
+ readonly thresholdValue?: number;
245
+ }
246
+ export declare function workloadStatusConfigAutomaticRuleRollupToTerraform(struct?: WorkloadStatusConfigAutomaticRuleRollupOutputReference | WorkloadStatusConfigAutomaticRuleRollup): any;
247
+ export declare function workloadStatusConfigAutomaticRuleRollupToHclTerraform(struct?: WorkloadStatusConfigAutomaticRuleRollupOutputReference | WorkloadStatusConfigAutomaticRuleRollup): any;
248
+ export declare class WorkloadStatusConfigAutomaticRuleRollupOutputReference extends cdktf.ComplexObject {
249
+ private isEmptyObject;
250
+ /**
251
+ * @param terraformResource The parent resource
252
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
253
+ */
254
+ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
255
+ get internalValue(): WorkloadStatusConfigAutomaticRuleRollup | undefined;
256
+ set internalValue(value: WorkloadStatusConfigAutomaticRuleRollup | undefined);
257
+ private _strategy?;
258
+ get strategy(): string;
259
+ set strategy(value: string);
260
+ get strategyInput(): string;
261
+ private _thresholdType?;
262
+ get thresholdType(): string;
263
+ set thresholdType(value: string);
264
+ resetThresholdType(): void;
265
+ get thresholdTypeInput(): string;
266
+ private _thresholdValue?;
267
+ get thresholdValue(): number;
268
+ set thresholdValue(value: number);
269
+ resetThresholdValue(): void;
270
+ get thresholdValueInput(): number;
271
+ }
272
+ export interface WorkloadStatusConfigAutomaticRule {
273
+ /**
274
+ * A list of entity GUIDs composing the rule.
275
+ *
276
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/workload#entity_guids Workload#entity_guids}
277
+ */
278
+ readonly entityGuids?: string[];
279
+ /**
280
+ * nrql_query block
281
+ *
282
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/workload#nrql_query Workload#nrql_query}
283
+ */
284
+ readonly nrqlQuery?: WorkloadStatusConfigAutomaticRuleNrqlQuery[] | cdktf.IResolvable;
285
+ /**
286
+ * rollup block
287
+ *
288
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/workload#rollup Workload#rollup}
289
+ */
290
+ readonly rollup: WorkloadStatusConfigAutomaticRuleRollup;
291
+ }
292
+ export declare function workloadStatusConfigAutomaticRuleToTerraform(struct?: WorkloadStatusConfigAutomaticRule | cdktf.IResolvable): any;
293
+ export declare function workloadStatusConfigAutomaticRuleToHclTerraform(struct?: WorkloadStatusConfigAutomaticRule | cdktf.IResolvable): any;
294
+ export declare class WorkloadStatusConfigAutomaticRuleOutputReference extends cdktf.ComplexObject {
295
+ private isEmptyObject;
296
+ private resolvableValue?;
297
+ /**
298
+ * @param terraformResource The parent resource
299
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
300
+ * @param complexObjectIndex the index of this item in the list
301
+ * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
302
+ */
303
+ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
304
+ get internalValue(): WorkloadStatusConfigAutomaticRule | cdktf.IResolvable | undefined;
305
+ set internalValue(value: WorkloadStatusConfigAutomaticRule | cdktf.IResolvable | undefined);
306
+ private _entityGuids?;
307
+ get entityGuids(): string[];
308
+ set entityGuids(value: string[]);
309
+ resetEntityGuids(): void;
310
+ get entityGuidsInput(): string[];
311
+ private _nrqlQuery;
312
+ get nrqlQuery(): WorkloadStatusConfigAutomaticRuleNrqlQueryList;
313
+ putNrqlQuery(value: WorkloadStatusConfigAutomaticRuleNrqlQuery[] | cdktf.IResolvable): void;
314
+ resetNrqlQuery(): void;
315
+ get nrqlQueryInput(): any;
316
+ private _rollup;
317
+ get rollup(): WorkloadStatusConfigAutomaticRuleRollupOutputReference;
318
+ putRollup(value: WorkloadStatusConfigAutomaticRuleRollup): void;
319
+ get rollupInput(): WorkloadStatusConfigAutomaticRuleRollup;
320
+ }
321
+ export declare class WorkloadStatusConfigAutomaticRuleList extends cdktf.ComplexList {
322
+ protected terraformResource: cdktf.IInterpolatingParent;
323
+ protected terraformAttribute: string;
324
+ protected wrapsSet: boolean;
325
+ internalValue?: WorkloadStatusConfigAutomaticRule[] | cdktf.IResolvable;
326
+ /**
327
+ * @param terraformResource The parent resource
328
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
329
+ * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
330
+ */
331
+ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
332
+ /**
333
+ * @param index the index of the item to return
334
+ */
335
+ get(index: number): WorkloadStatusConfigAutomaticRuleOutputReference;
336
+ }
337
+ export interface WorkloadStatusConfigAutomatic {
338
+ /**
339
+ * Whether the automatic status configuration is enabled or not.
340
+ *
341
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/workload#enabled Workload#enabled}
342
+ */
343
+ readonly enabled: boolean | cdktf.IResolvable;
344
+ /**
345
+ * remaining_entities_rule block
346
+ *
347
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/workload#remaining_entities_rule Workload#remaining_entities_rule}
348
+ */
349
+ readonly remainingEntitiesRule?: WorkloadStatusConfigAutomaticRemainingEntitiesRule;
350
+ /**
351
+ * rule block
352
+ *
353
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/workload#rule Workload#rule}
354
+ */
355
+ readonly rule?: WorkloadStatusConfigAutomaticRule[] | cdktf.IResolvable;
356
+ }
357
+ export declare function workloadStatusConfigAutomaticToTerraform(struct?: WorkloadStatusConfigAutomaticOutputReference | WorkloadStatusConfigAutomatic): any;
358
+ export declare function workloadStatusConfigAutomaticToHclTerraform(struct?: WorkloadStatusConfigAutomaticOutputReference | WorkloadStatusConfigAutomatic): any;
359
+ export declare class WorkloadStatusConfigAutomaticOutputReference extends cdktf.ComplexObject {
360
+ private isEmptyObject;
361
+ /**
362
+ * @param terraformResource The parent resource
363
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
364
+ */
365
+ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
366
+ get internalValue(): WorkloadStatusConfigAutomatic | undefined;
367
+ set internalValue(value: WorkloadStatusConfigAutomatic | undefined);
368
+ private _enabled?;
369
+ get enabled(): boolean | cdktf.IResolvable;
370
+ set enabled(value: boolean | cdktf.IResolvable);
371
+ get enabledInput(): any;
372
+ private _remainingEntitiesRule;
373
+ get remainingEntitiesRule(): WorkloadStatusConfigAutomaticRemainingEntitiesRuleOutputReference;
374
+ putRemainingEntitiesRule(value: WorkloadStatusConfigAutomaticRemainingEntitiesRule): void;
375
+ resetRemainingEntitiesRule(): void;
376
+ get remainingEntitiesRuleInput(): WorkloadStatusConfigAutomaticRemainingEntitiesRule;
377
+ private _rule;
378
+ get rule(): WorkloadStatusConfigAutomaticRuleList;
379
+ putRule(value: WorkloadStatusConfigAutomaticRule[] | cdktf.IResolvable): void;
380
+ resetRule(): void;
381
+ get ruleInput(): any;
382
+ }
383
+ export interface WorkloadStatusConfigStatic {
384
+ /**
385
+ * A description that provides additional details about the status of the workload.
386
+ *
387
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/workload#description Workload#description}
388
+ */
389
+ readonly description?: string;
390
+ /**
391
+ * Whether the static status configuration is enabled or not.
392
+ *
393
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/workload#enabled Workload#enabled}
394
+ */
395
+ readonly enabled: boolean | cdktf.IResolvable;
396
+ /**
397
+ * The status of the workload.
398
+ *
399
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/workload#status Workload#status}
400
+ */
401
+ readonly status: string;
402
+ /**
403
+ * A short description of the status of the workload.
404
+ *
405
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/workload#summary Workload#summary}
406
+ */
407
+ readonly summary?: string;
408
+ }
409
+ export declare function workloadStatusConfigStaticToTerraform(struct?: WorkloadStatusConfigStaticOutputReference | WorkloadStatusConfigStatic): any;
410
+ export declare function workloadStatusConfigStaticToHclTerraform(struct?: WorkloadStatusConfigStaticOutputReference | WorkloadStatusConfigStatic): any;
411
+ export declare class WorkloadStatusConfigStaticOutputReference extends cdktf.ComplexObject {
412
+ private isEmptyObject;
413
+ /**
414
+ * @param terraformResource The parent resource
415
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
416
+ */
417
+ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
418
+ get internalValue(): WorkloadStatusConfigStatic | undefined;
419
+ set internalValue(value: WorkloadStatusConfigStatic | undefined);
420
+ private _description?;
421
+ get description(): string;
422
+ set description(value: string);
423
+ resetDescription(): void;
424
+ get descriptionInput(): string;
425
+ private _enabled?;
426
+ get enabled(): boolean | cdktf.IResolvable;
427
+ set enabled(value: boolean | cdktf.IResolvable);
428
+ get enabledInput(): any;
429
+ private _status?;
430
+ get status(): string;
431
+ set status(value: string);
432
+ get statusInput(): string;
433
+ private _summary?;
434
+ get summary(): string;
435
+ set summary(value: string);
436
+ resetSummary(): void;
437
+ get summaryInput(): string;
438
+ }
439
+ /**
440
+ * Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/workload newrelic_workload}
441
+ */
442
+ export declare class Workload extends cdktf.TerraformResource {
443
+ static readonly tfResourceType = "newrelic_workload";
444
+ /**
445
+ * Generates CDKTF code for importing a Workload resource upon running "cdktf plan <stack-name>"
446
+ * @param scope The scope in which to define this construct
447
+ * @param importToId The construct id used in the generated config for the Workload to import
448
+ * @param importFromId The id of the existing Workload that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/workload#import import section} in the documentation of this resource for the id to use
449
+ * @param provider? Optional instance of the provider where the Workload to import is found
450
+ */
451
+ static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any;
452
+ /**
453
+ * Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/workload newrelic_workload} Resource
454
+ *
455
+ * @param scope The scope in which to define this construct
456
+ * @param id The scoped construct ID. Must be unique amongst siblings in the same scope
457
+ * @param options WorkloadConfig
458
+ */
459
+ constructor(scope: Construct, id: string, config: WorkloadConfig);
460
+ private _accountId?;
461
+ get accountId(): number;
462
+ set accountId(value: number);
463
+ resetAccountId(): void;
464
+ get accountIdInput(): number;
465
+ get compositeEntitySearchQuery(): any;
466
+ private _description?;
467
+ get description(): string;
468
+ set description(value: string);
469
+ resetDescription(): void;
470
+ get descriptionInput(): string;
471
+ private _entityGuids?;
472
+ get entityGuids(): string[];
473
+ set entityGuids(value: string[]);
474
+ resetEntityGuids(): void;
475
+ get entityGuidsInput(): string[];
476
+ get guid(): any;
477
+ private _id?;
478
+ get id(): string;
479
+ set id(value: string);
480
+ resetId(): void;
481
+ get idInput(): string;
482
+ private _name?;
483
+ get name(): string;
484
+ set name(value: string);
485
+ get nameInput(): string;
486
+ get permalink(): any;
487
+ private _scopeAccountIds?;
488
+ get scopeAccountIds(): number[];
489
+ set scopeAccountIds(value: number[]);
490
+ resetScopeAccountIds(): void;
491
+ get scopeAccountIdsInput(): number[];
492
+ get workloadId(): any;
493
+ private _entitySearchQuery;
494
+ get entitySearchQuery(): WorkloadEntitySearchQueryList;
495
+ putEntitySearchQuery(value: WorkloadEntitySearchQuery[] | cdktf.IResolvable): void;
496
+ resetEntitySearchQuery(): void;
497
+ get entitySearchQueryInput(): any;
498
+ private _statusConfigAutomatic;
499
+ get statusConfigAutomatic(): WorkloadStatusConfigAutomaticOutputReference;
500
+ putStatusConfigAutomatic(value: WorkloadStatusConfigAutomatic): void;
501
+ resetStatusConfigAutomatic(): void;
502
+ get statusConfigAutomaticInput(): WorkloadStatusConfigAutomatic;
503
+ private _statusConfigStatic;
504
+ get statusConfigStatic(): WorkloadStatusConfigStaticOutputReference;
505
+ putStatusConfigStatic(value: WorkloadStatusConfigStatic): void;
506
+ resetStatusConfigStatic(): void;
507
+ get statusConfigStaticInput(): WorkloadStatusConfigStatic;
508
+ protected synthesizeAttributes(): {
509
+ [name: string]: any;
510
+ };
511
+ protected synthesizeHclAttributes(): {
512
+ [name: string]: any;
513
+ };
514
+ }