pulumi-newrelic 5.42.0a1741414034__py3-none-any.whl → 5.42.0a1741663624__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -15,6 +15,14 @@ else:
15
15
  from .. import _utilities
16
16
 
17
17
  __all__ = [
18
+ 'ApplicationSettingsErrorCollectorArgs',
19
+ 'ApplicationSettingsErrorCollectorArgsDict',
20
+ 'ApplicationSettingsTransactionTracerArgs',
21
+ 'ApplicationSettingsTransactionTracerArgsDict',
22
+ 'ApplicationSettingsTransactionTracerExplainQueryPlanArgs',
23
+ 'ApplicationSettingsTransactionTracerExplainQueryPlanArgsDict',
24
+ 'ApplicationSettingsTransactionTracerSqlArgs',
25
+ 'ApplicationSettingsTransactionTracerSqlArgsDict',
18
26
  'WorkloadEntitySearchQueryArgs',
19
27
  'WorkloadEntitySearchQueryArgsDict',
20
28
  'WorkloadStatusConfigAutomaticArgs',
@@ -35,6 +43,293 @@ __all__ = [
35
43
 
36
44
  MYPY = False
37
45
 
46
+ if not MYPY:
47
+ class ApplicationSettingsErrorCollectorArgsDict(TypedDict):
48
+ expected_error_classes: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
49
+ """
50
+ A list of expected error classes.
51
+ """
52
+ expected_error_codes: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
53
+ """
54
+ A list of expected error codes(any status code between 100-900).
55
+ """
56
+ ignored_error_classes: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
57
+ """
58
+ A list of ignored error classes.
59
+ """
60
+ ignored_error_codes: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
61
+ """
62
+ A list of ignored error codes(any status code between 100-900).
63
+ """
64
+ elif False:
65
+ ApplicationSettingsErrorCollectorArgsDict: TypeAlias = Mapping[str, Any]
66
+
67
+ @pulumi.input_type
68
+ class ApplicationSettingsErrorCollectorArgs:
69
+ def __init__(__self__, *,
70
+ expected_error_classes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
71
+ expected_error_codes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
72
+ ignored_error_classes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
73
+ ignored_error_codes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
74
+ """
75
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] expected_error_classes: A list of expected error classes.
76
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] expected_error_codes: A list of expected error codes(any status code between 100-900).
77
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] ignored_error_classes: A list of ignored error classes.
78
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] ignored_error_codes: A list of ignored error codes(any status code between 100-900).
79
+ """
80
+ if expected_error_classes is not None:
81
+ pulumi.set(__self__, "expected_error_classes", expected_error_classes)
82
+ if expected_error_codes is not None:
83
+ pulumi.set(__self__, "expected_error_codes", expected_error_codes)
84
+ if ignored_error_classes is not None:
85
+ pulumi.set(__self__, "ignored_error_classes", ignored_error_classes)
86
+ if ignored_error_codes is not None:
87
+ pulumi.set(__self__, "ignored_error_codes", ignored_error_codes)
88
+
89
+ @property
90
+ @pulumi.getter(name="expectedErrorClasses")
91
+ def expected_error_classes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
92
+ """
93
+ A list of expected error classes.
94
+ """
95
+ return pulumi.get(self, "expected_error_classes")
96
+
97
+ @expected_error_classes.setter
98
+ def expected_error_classes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
99
+ pulumi.set(self, "expected_error_classes", value)
100
+
101
+ @property
102
+ @pulumi.getter(name="expectedErrorCodes")
103
+ def expected_error_codes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
104
+ """
105
+ A list of expected error codes(any status code between 100-900).
106
+ """
107
+ return pulumi.get(self, "expected_error_codes")
108
+
109
+ @expected_error_codes.setter
110
+ def expected_error_codes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
111
+ pulumi.set(self, "expected_error_codes", value)
112
+
113
+ @property
114
+ @pulumi.getter(name="ignoredErrorClasses")
115
+ def ignored_error_classes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
116
+ """
117
+ A list of ignored error classes.
118
+ """
119
+ return pulumi.get(self, "ignored_error_classes")
120
+
121
+ @ignored_error_classes.setter
122
+ def ignored_error_classes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
123
+ pulumi.set(self, "ignored_error_classes", value)
124
+
125
+ @property
126
+ @pulumi.getter(name="ignoredErrorCodes")
127
+ def ignored_error_codes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
128
+ """
129
+ A list of ignored error codes(any status code between 100-900).
130
+ """
131
+ return pulumi.get(self, "ignored_error_codes")
132
+
133
+ @ignored_error_codes.setter
134
+ def ignored_error_codes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
135
+ pulumi.set(self, "ignored_error_codes", value)
136
+
137
+
138
+ if not MYPY:
139
+ class ApplicationSettingsTransactionTracerArgsDict(TypedDict):
140
+ explain_query_plans: NotRequired[pulumi.Input[Sequence[pulumi.Input['ApplicationSettingsTransactionTracerExplainQueryPlanArgsDict']]]]
141
+ """
142
+ Configuration block for query plans. Including this block enables the capture of query plans. The following arguments are supported:
143
+ """
144
+ sql: NotRequired[pulumi.Input['ApplicationSettingsTransactionTracerSqlArgsDict']]
145
+ """
146
+ Configuration block for SQL logging. Including this block enables SQL logging. The following arguments are supported:
147
+ """
148
+ stack_trace_threshold_value: NotRequired[pulumi.Input[float]]
149
+ """
150
+ The response time threshold for collecting stack traces.
151
+ """
152
+ transaction_threshold_type: NotRequired[pulumi.Input[str]]
153
+ """
154
+ The type of threshold for transactions. Valid values are `VALUE`,`APDEX_F`(4 times your apdex target)
155
+ """
156
+ transaction_threshold_value: NotRequired[pulumi.Input[float]]
157
+ """
158
+ The threshold value for transactions(in seconds).
159
+ """
160
+ elif False:
161
+ ApplicationSettingsTransactionTracerArgsDict: TypeAlias = Mapping[str, Any]
162
+
163
+ @pulumi.input_type
164
+ class ApplicationSettingsTransactionTracerArgs:
165
+ def __init__(__self__, *,
166
+ explain_query_plans: Optional[pulumi.Input[Sequence[pulumi.Input['ApplicationSettingsTransactionTracerExplainQueryPlanArgs']]]] = None,
167
+ sql: Optional[pulumi.Input['ApplicationSettingsTransactionTracerSqlArgs']] = None,
168
+ stack_trace_threshold_value: Optional[pulumi.Input[float]] = None,
169
+ transaction_threshold_type: Optional[pulumi.Input[str]] = None,
170
+ transaction_threshold_value: Optional[pulumi.Input[float]] = None):
171
+ """
172
+ :param pulumi.Input[Sequence[pulumi.Input['ApplicationSettingsTransactionTracerExplainQueryPlanArgs']]] explain_query_plans: Configuration block for query plans. Including this block enables the capture of query plans. The following arguments are supported:
173
+ :param pulumi.Input['ApplicationSettingsTransactionTracerSqlArgs'] sql: Configuration block for SQL logging. Including this block enables SQL logging. The following arguments are supported:
174
+ :param pulumi.Input[float] stack_trace_threshold_value: The response time threshold for collecting stack traces.
175
+ :param pulumi.Input[str] transaction_threshold_type: The type of threshold for transactions. Valid values are `VALUE`,`APDEX_F`(4 times your apdex target)
176
+ :param pulumi.Input[float] transaction_threshold_value: The threshold value for transactions(in seconds).
177
+ """
178
+ if explain_query_plans is not None:
179
+ pulumi.set(__self__, "explain_query_plans", explain_query_plans)
180
+ if sql is not None:
181
+ pulumi.set(__self__, "sql", sql)
182
+ if stack_trace_threshold_value is not None:
183
+ pulumi.set(__self__, "stack_trace_threshold_value", stack_trace_threshold_value)
184
+ if transaction_threshold_type is not None:
185
+ pulumi.set(__self__, "transaction_threshold_type", transaction_threshold_type)
186
+ if transaction_threshold_value is not None:
187
+ pulumi.set(__self__, "transaction_threshold_value", transaction_threshold_value)
188
+
189
+ @property
190
+ @pulumi.getter(name="explainQueryPlans")
191
+ def explain_query_plans(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ApplicationSettingsTransactionTracerExplainQueryPlanArgs']]]]:
192
+ """
193
+ Configuration block for query plans. Including this block enables the capture of query plans. The following arguments are supported:
194
+ """
195
+ return pulumi.get(self, "explain_query_plans")
196
+
197
+ @explain_query_plans.setter
198
+ def explain_query_plans(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ApplicationSettingsTransactionTracerExplainQueryPlanArgs']]]]):
199
+ pulumi.set(self, "explain_query_plans", value)
200
+
201
+ @property
202
+ @pulumi.getter
203
+ def sql(self) -> Optional[pulumi.Input['ApplicationSettingsTransactionTracerSqlArgs']]:
204
+ """
205
+ Configuration block for SQL logging. Including this block enables SQL logging. The following arguments are supported:
206
+ """
207
+ return pulumi.get(self, "sql")
208
+
209
+ @sql.setter
210
+ def sql(self, value: Optional[pulumi.Input['ApplicationSettingsTransactionTracerSqlArgs']]):
211
+ pulumi.set(self, "sql", value)
212
+
213
+ @property
214
+ @pulumi.getter(name="stackTraceThresholdValue")
215
+ def stack_trace_threshold_value(self) -> Optional[pulumi.Input[float]]:
216
+ """
217
+ The response time threshold for collecting stack traces.
218
+ """
219
+ return pulumi.get(self, "stack_trace_threshold_value")
220
+
221
+ @stack_trace_threshold_value.setter
222
+ def stack_trace_threshold_value(self, value: Optional[pulumi.Input[float]]):
223
+ pulumi.set(self, "stack_trace_threshold_value", value)
224
+
225
+ @property
226
+ @pulumi.getter(name="transactionThresholdType")
227
+ def transaction_threshold_type(self) -> Optional[pulumi.Input[str]]:
228
+ """
229
+ The type of threshold for transactions. Valid values are `VALUE`,`APDEX_F`(4 times your apdex target)
230
+ """
231
+ return pulumi.get(self, "transaction_threshold_type")
232
+
233
+ @transaction_threshold_type.setter
234
+ def transaction_threshold_type(self, value: Optional[pulumi.Input[str]]):
235
+ pulumi.set(self, "transaction_threshold_type", value)
236
+
237
+ @property
238
+ @pulumi.getter(name="transactionThresholdValue")
239
+ def transaction_threshold_value(self) -> Optional[pulumi.Input[float]]:
240
+ """
241
+ The threshold value for transactions(in seconds).
242
+ """
243
+ return pulumi.get(self, "transaction_threshold_value")
244
+
245
+ @transaction_threshold_value.setter
246
+ def transaction_threshold_value(self, value: Optional[pulumi.Input[float]]):
247
+ pulumi.set(self, "transaction_threshold_value", value)
248
+
249
+
250
+ if not MYPY:
251
+ class ApplicationSettingsTransactionTracerExplainQueryPlanArgsDict(TypedDict):
252
+ query_plan_threshold_type: NotRequired[pulumi.Input[str]]
253
+ """
254
+ The type of threshold for query plans. Valid values are `VALUE`,`APDEX_F`(4 times your apdex target)
255
+ """
256
+ query_plan_threshold_value: NotRequired[pulumi.Input[float]]
257
+ """
258
+ The response time threshold for capturing query plans(in seconds).
259
+ """
260
+ elif False:
261
+ ApplicationSettingsTransactionTracerExplainQueryPlanArgsDict: TypeAlias = Mapping[str, Any]
262
+
263
+ @pulumi.input_type
264
+ class ApplicationSettingsTransactionTracerExplainQueryPlanArgs:
265
+ def __init__(__self__, *,
266
+ query_plan_threshold_type: Optional[pulumi.Input[str]] = None,
267
+ query_plan_threshold_value: Optional[pulumi.Input[float]] = None):
268
+ """
269
+ :param pulumi.Input[str] query_plan_threshold_type: The type of threshold for query plans. Valid values are `VALUE`,`APDEX_F`(4 times your apdex target)
270
+ :param pulumi.Input[float] query_plan_threshold_value: The response time threshold for capturing query plans(in seconds).
271
+ """
272
+ if query_plan_threshold_type is not None:
273
+ pulumi.set(__self__, "query_plan_threshold_type", query_plan_threshold_type)
274
+ if query_plan_threshold_value is not None:
275
+ pulumi.set(__self__, "query_plan_threshold_value", query_plan_threshold_value)
276
+
277
+ @property
278
+ @pulumi.getter(name="queryPlanThresholdType")
279
+ def query_plan_threshold_type(self) -> Optional[pulumi.Input[str]]:
280
+ """
281
+ The type of threshold for query plans. Valid values are `VALUE`,`APDEX_F`(4 times your apdex target)
282
+ """
283
+ return pulumi.get(self, "query_plan_threshold_type")
284
+
285
+ @query_plan_threshold_type.setter
286
+ def query_plan_threshold_type(self, value: Optional[pulumi.Input[str]]):
287
+ pulumi.set(self, "query_plan_threshold_type", value)
288
+
289
+ @property
290
+ @pulumi.getter(name="queryPlanThresholdValue")
291
+ def query_plan_threshold_value(self) -> Optional[pulumi.Input[float]]:
292
+ """
293
+ The response time threshold for capturing query plans(in seconds).
294
+ """
295
+ return pulumi.get(self, "query_plan_threshold_value")
296
+
297
+ @query_plan_threshold_value.setter
298
+ def query_plan_threshold_value(self, value: Optional[pulumi.Input[float]]):
299
+ pulumi.set(self, "query_plan_threshold_value", value)
300
+
301
+
302
+ if not MYPY:
303
+ class ApplicationSettingsTransactionTracerSqlArgsDict(TypedDict):
304
+ record_sql: pulumi.Input[str]
305
+ """
306
+ The level of SQL recording. Valid values ar `OBFUSCATED`,`OFF`,`RAW` (Mandatory attribute when `sql` block is provided).
307
+ """
308
+ elif False:
309
+ ApplicationSettingsTransactionTracerSqlArgsDict: TypeAlias = Mapping[str, Any]
310
+
311
+ @pulumi.input_type
312
+ class ApplicationSettingsTransactionTracerSqlArgs:
313
+ def __init__(__self__, *,
314
+ record_sql: pulumi.Input[str]):
315
+ """
316
+ :param pulumi.Input[str] record_sql: The level of SQL recording. Valid values ar `OBFUSCATED`,`OFF`,`RAW` (Mandatory attribute when `sql` block is provided).
317
+ """
318
+ pulumi.set(__self__, "record_sql", record_sql)
319
+
320
+ @property
321
+ @pulumi.getter(name="recordSql")
322
+ def record_sql(self) -> pulumi.Input[str]:
323
+ """
324
+ The level of SQL recording. Valid values ar `OBFUSCATED`,`OFF`,`RAW` (Mandatory attribute when `sql` block is provided).
325
+ """
326
+ return pulumi.get(self, "record_sql")
327
+
328
+ @record_sql.setter
329
+ def record_sql(self, value: pulumi.Input[str]):
330
+ pulumi.set(self, "record_sql", value)
331
+
332
+
38
333
  if not MYPY:
39
334
  class WorkloadEntitySearchQueryArgsDict(TypedDict):
40
335
  query: pulumi.Input[str]