pulumi-newrelic 5.42.0a1741494516__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.
@@ -16,6 +16,10 @@ from .. import _utilities
16
16
  from . import outputs
17
17
 
18
18
  __all__ = [
19
+ 'ApplicationSettingsErrorCollector',
20
+ 'ApplicationSettingsTransactionTracer',
21
+ 'ApplicationSettingsTransactionTracerExplainQueryPlan',
22
+ 'ApplicationSettingsTransactionTracerSql',
19
23
  'WorkloadEntitySearchQuery',
20
24
  'WorkloadStatusConfigAutomatic',
21
25
  'WorkloadStatusConfigAutomaticRemainingEntitiesRule',
@@ -26,6 +30,259 @@ __all__ = [
26
30
  'WorkloadStatusConfigStatic',
27
31
  ]
28
32
 
33
+ @pulumi.output_type
34
+ class ApplicationSettingsErrorCollector(dict):
35
+ @staticmethod
36
+ def __key_warning(key: str):
37
+ suggest = None
38
+ if key == "expectedErrorClasses":
39
+ suggest = "expected_error_classes"
40
+ elif key == "expectedErrorCodes":
41
+ suggest = "expected_error_codes"
42
+ elif key == "ignoredErrorClasses":
43
+ suggest = "ignored_error_classes"
44
+ elif key == "ignoredErrorCodes":
45
+ suggest = "ignored_error_codes"
46
+
47
+ if suggest:
48
+ pulumi.log.warn(f"Key '{key}' not found in ApplicationSettingsErrorCollector. Access the value via the '{suggest}' property getter instead.")
49
+
50
+ def __getitem__(self, key: str) -> Any:
51
+ ApplicationSettingsErrorCollector.__key_warning(key)
52
+ return super().__getitem__(key)
53
+
54
+ def get(self, key: str, default = None) -> Any:
55
+ ApplicationSettingsErrorCollector.__key_warning(key)
56
+ return super().get(key, default)
57
+
58
+ def __init__(__self__, *,
59
+ expected_error_classes: Optional[Sequence[str]] = None,
60
+ expected_error_codes: Optional[Sequence[str]] = None,
61
+ ignored_error_classes: Optional[Sequence[str]] = None,
62
+ ignored_error_codes: Optional[Sequence[str]] = None):
63
+ """
64
+ :param Sequence[str] expected_error_classes: A list of expected error classes.
65
+ :param Sequence[str] expected_error_codes: A list of expected error codes(any status code between 100-900).
66
+ :param Sequence[str] ignored_error_classes: A list of ignored error classes.
67
+ :param Sequence[str] ignored_error_codes: A list of ignored error codes(any status code between 100-900).
68
+ """
69
+ if expected_error_classes is not None:
70
+ pulumi.set(__self__, "expected_error_classes", expected_error_classes)
71
+ if expected_error_codes is not None:
72
+ pulumi.set(__self__, "expected_error_codes", expected_error_codes)
73
+ if ignored_error_classes is not None:
74
+ pulumi.set(__self__, "ignored_error_classes", ignored_error_classes)
75
+ if ignored_error_codes is not None:
76
+ pulumi.set(__self__, "ignored_error_codes", ignored_error_codes)
77
+
78
+ @property
79
+ @pulumi.getter(name="expectedErrorClasses")
80
+ def expected_error_classes(self) -> Optional[Sequence[str]]:
81
+ """
82
+ A list of expected error classes.
83
+ """
84
+ return pulumi.get(self, "expected_error_classes")
85
+
86
+ @property
87
+ @pulumi.getter(name="expectedErrorCodes")
88
+ def expected_error_codes(self) -> Optional[Sequence[str]]:
89
+ """
90
+ A list of expected error codes(any status code between 100-900).
91
+ """
92
+ return pulumi.get(self, "expected_error_codes")
93
+
94
+ @property
95
+ @pulumi.getter(name="ignoredErrorClasses")
96
+ def ignored_error_classes(self) -> Optional[Sequence[str]]:
97
+ """
98
+ A list of ignored error classes.
99
+ """
100
+ return pulumi.get(self, "ignored_error_classes")
101
+
102
+ @property
103
+ @pulumi.getter(name="ignoredErrorCodes")
104
+ def ignored_error_codes(self) -> Optional[Sequence[str]]:
105
+ """
106
+ A list of ignored error codes(any status code between 100-900).
107
+ """
108
+ return pulumi.get(self, "ignored_error_codes")
109
+
110
+
111
+ @pulumi.output_type
112
+ class ApplicationSettingsTransactionTracer(dict):
113
+ @staticmethod
114
+ def __key_warning(key: str):
115
+ suggest = None
116
+ if key == "explainQueryPlans":
117
+ suggest = "explain_query_plans"
118
+ elif key == "stackTraceThresholdValue":
119
+ suggest = "stack_trace_threshold_value"
120
+ elif key == "transactionThresholdType":
121
+ suggest = "transaction_threshold_type"
122
+ elif key == "transactionThresholdValue":
123
+ suggest = "transaction_threshold_value"
124
+
125
+ if suggest:
126
+ pulumi.log.warn(f"Key '{key}' not found in ApplicationSettingsTransactionTracer. Access the value via the '{suggest}' property getter instead.")
127
+
128
+ def __getitem__(self, key: str) -> Any:
129
+ ApplicationSettingsTransactionTracer.__key_warning(key)
130
+ return super().__getitem__(key)
131
+
132
+ def get(self, key: str, default = None) -> Any:
133
+ ApplicationSettingsTransactionTracer.__key_warning(key)
134
+ return super().get(key, default)
135
+
136
+ def __init__(__self__, *,
137
+ explain_query_plans: Optional[Sequence['outputs.ApplicationSettingsTransactionTracerExplainQueryPlan']] = None,
138
+ sql: Optional['outputs.ApplicationSettingsTransactionTracerSql'] = None,
139
+ stack_trace_threshold_value: Optional[float] = None,
140
+ transaction_threshold_type: Optional[str] = None,
141
+ transaction_threshold_value: Optional[float] = None):
142
+ """
143
+ :param Sequence['ApplicationSettingsTransactionTracerExplainQueryPlanArgs'] explain_query_plans: Configuration block for query plans. Including this block enables the capture of query plans. The following arguments are supported:
144
+ :param 'ApplicationSettingsTransactionTracerSqlArgs' sql: Configuration block for SQL logging. Including this block enables SQL logging. The following arguments are supported:
145
+ :param float stack_trace_threshold_value: The response time threshold for collecting stack traces.
146
+ :param str transaction_threshold_type: The type of threshold for transactions. Valid values are `VALUE`,`APDEX_F`(4 times your apdex target)
147
+ :param float transaction_threshold_value: The threshold value for transactions(in seconds).
148
+ """
149
+ if explain_query_plans is not None:
150
+ pulumi.set(__self__, "explain_query_plans", explain_query_plans)
151
+ if sql is not None:
152
+ pulumi.set(__self__, "sql", sql)
153
+ if stack_trace_threshold_value is not None:
154
+ pulumi.set(__self__, "stack_trace_threshold_value", stack_trace_threshold_value)
155
+ if transaction_threshold_type is not None:
156
+ pulumi.set(__self__, "transaction_threshold_type", transaction_threshold_type)
157
+ if transaction_threshold_value is not None:
158
+ pulumi.set(__self__, "transaction_threshold_value", transaction_threshold_value)
159
+
160
+ @property
161
+ @pulumi.getter(name="explainQueryPlans")
162
+ def explain_query_plans(self) -> Optional[Sequence['outputs.ApplicationSettingsTransactionTracerExplainQueryPlan']]:
163
+ """
164
+ Configuration block for query plans. Including this block enables the capture of query plans. The following arguments are supported:
165
+ """
166
+ return pulumi.get(self, "explain_query_plans")
167
+
168
+ @property
169
+ @pulumi.getter
170
+ def sql(self) -> Optional['outputs.ApplicationSettingsTransactionTracerSql']:
171
+ """
172
+ Configuration block for SQL logging. Including this block enables SQL logging. The following arguments are supported:
173
+ """
174
+ return pulumi.get(self, "sql")
175
+
176
+ @property
177
+ @pulumi.getter(name="stackTraceThresholdValue")
178
+ def stack_trace_threshold_value(self) -> Optional[float]:
179
+ """
180
+ The response time threshold for collecting stack traces.
181
+ """
182
+ return pulumi.get(self, "stack_trace_threshold_value")
183
+
184
+ @property
185
+ @pulumi.getter(name="transactionThresholdType")
186
+ def transaction_threshold_type(self) -> Optional[str]:
187
+ """
188
+ The type of threshold for transactions. Valid values are `VALUE`,`APDEX_F`(4 times your apdex target)
189
+ """
190
+ return pulumi.get(self, "transaction_threshold_type")
191
+
192
+ @property
193
+ @pulumi.getter(name="transactionThresholdValue")
194
+ def transaction_threshold_value(self) -> Optional[float]:
195
+ """
196
+ The threshold value for transactions(in seconds).
197
+ """
198
+ return pulumi.get(self, "transaction_threshold_value")
199
+
200
+
201
+ @pulumi.output_type
202
+ class ApplicationSettingsTransactionTracerExplainQueryPlan(dict):
203
+ @staticmethod
204
+ def __key_warning(key: str):
205
+ suggest = None
206
+ if key == "queryPlanThresholdType":
207
+ suggest = "query_plan_threshold_type"
208
+ elif key == "queryPlanThresholdValue":
209
+ suggest = "query_plan_threshold_value"
210
+
211
+ if suggest:
212
+ pulumi.log.warn(f"Key '{key}' not found in ApplicationSettingsTransactionTracerExplainQueryPlan. Access the value via the '{suggest}' property getter instead.")
213
+
214
+ def __getitem__(self, key: str) -> Any:
215
+ ApplicationSettingsTransactionTracerExplainQueryPlan.__key_warning(key)
216
+ return super().__getitem__(key)
217
+
218
+ def get(self, key: str, default = None) -> Any:
219
+ ApplicationSettingsTransactionTracerExplainQueryPlan.__key_warning(key)
220
+ return super().get(key, default)
221
+
222
+ def __init__(__self__, *,
223
+ query_plan_threshold_type: Optional[str] = None,
224
+ query_plan_threshold_value: Optional[float] = None):
225
+ """
226
+ :param str query_plan_threshold_type: The type of threshold for query plans. Valid values are `VALUE`,`APDEX_F`(4 times your apdex target)
227
+ :param float query_plan_threshold_value: The response time threshold for capturing query plans(in seconds).
228
+ """
229
+ if query_plan_threshold_type is not None:
230
+ pulumi.set(__self__, "query_plan_threshold_type", query_plan_threshold_type)
231
+ if query_plan_threshold_value is not None:
232
+ pulumi.set(__self__, "query_plan_threshold_value", query_plan_threshold_value)
233
+
234
+ @property
235
+ @pulumi.getter(name="queryPlanThresholdType")
236
+ def query_plan_threshold_type(self) -> Optional[str]:
237
+ """
238
+ The type of threshold for query plans. Valid values are `VALUE`,`APDEX_F`(4 times your apdex target)
239
+ """
240
+ return pulumi.get(self, "query_plan_threshold_type")
241
+
242
+ @property
243
+ @pulumi.getter(name="queryPlanThresholdValue")
244
+ def query_plan_threshold_value(self) -> Optional[float]:
245
+ """
246
+ The response time threshold for capturing query plans(in seconds).
247
+ """
248
+ return pulumi.get(self, "query_plan_threshold_value")
249
+
250
+
251
+ @pulumi.output_type
252
+ class ApplicationSettingsTransactionTracerSql(dict):
253
+ @staticmethod
254
+ def __key_warning(key: str):
255
+ suggest = None
256
+ if key == "recordSql":
257
+ suggest = "record_sql"
258
+
259
+ if suggest:
260
+ pulumi.log.warn(f"Key '{key}' not found in ApplicationSettingsTransactionTracerSql. Access the value via the '{suggest}' property getter instead.")
261
+
262
+ def __getitem__(self, key: str) -> Any:
263
+ ApplicationSettingsTransactionTracerSql.__key_warning(key)
264
+ return super().__getitem__(key)
265
+
266
+ def get(self, key: str, default = None) -> Any:
267
+ ApplicationSettingsTransactionTracerSql.__key_warning(key)
268
+ return super().get(key, default)
269
+
270
+ def __init__(__self__, *,
271
+ record_sql: str):
272
+ """
273
+ :param str record_sql: The level of SQL recording. Valid values ar `OBFUSCATED`,`OFF`,`RAW` (Mandatory attribute when `sql` block is provided).
274
+ """
275
+ pulumi.set(__self__, "record_sql", record_sql)
276
+
277
+ @property
278
+ @pulumi.getter(name="recordSql")
279
+ def record_sql(self) -> str:
280
+ """
281
+ The level of SQL recording. Valid values ar `OBFUSCATED`,`OFF`,`RAW` (Mandatory attribute when `sql` block is provided).
282
+ """
283
+ return pulumi.get(self, "record_sql")
284
+
285
+
29
286
  @pulumi.output_type
30
287
  class WorkloadEntitySearchQuery(dict):
31
288
  def __init__(__self__, *,
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "resource": true,
3
3
  "name": "newrelic",
4
- "version": "5.42.0-alpha.1741494516"
4
+ "version": "5.42.0-alpha.1741663624"
5
5
  }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: pulumi_newrelic
3
- Version: 5.42.0a1741494516
3
+ Version: 5.42.0a1741663624
4
4
  Summary: A Pulumi package for creating and managing New Relic resources.
5
5
  License: Apache-2.0
6
6
  Project-URL: Homepage, https://pulumi.io
@@ -42,7 +42,7 @@ pulumi_newrelic/one_dashboard_json.py,sha256=EZqg6akwsh-SqsRjCmQzDjgsjvbIfKsX2zt
42
42
  pulumi_newrelic/one_dashboard_raw.py,sha256=__3ZuSPVubBaC5iPa9V6q1SG7lHFcpNdVsLXQie5c7U,23668
43
43
  pulumi_newrelic/outputs.py,sha256=1S09iXWXxMCrDIuG5-A4yWmYhp-cps-O3zMKak2Q1qc,588609
44
44
  pulumi_newrelic/provider.py,sha256=OjBqZT1L0Jt_1-c3zMSSGA03zIZjgif7RrThna-ojng,18493
45
- pulumi_newrelic/pulumi-plugin.json,sha256=v7PcCelarQVLWe8b7BlNDOlrQr68wrh1xJY7m4V_tOs,85
45
+ pulumi_newrelic/pulumi-plugin.json,sha256=AbT9waVKVkx-iw6B3jnyQfoaAy7LkF-bMJdc5hO5BQk,85
46
46
  pulumi_newrelic/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
47
47
  pulumi_newrelic/service_level.py,sha256=Dk_AoEFTmaJAg5v8SKBN4-a4T-MGXDbPubxsnB98sFk,28980
48
48
  pulumi_newrelic/user.py,sha256=guVvPGAeuR-mQ6_bA_MvBP7GY2grEmnbdNkc_5hs1us,19116
@@ -66,9 +66,9 @@ pulumi_newrelic/insights/_inputs.py,sha256=mKqwW-rpmGkCkFuDgBQj76gWYoRRiRAjIzRsh
66
66
  pulumi_newrelic/insights/event.py,sha256=9E5jAxUUnpp9GUU-fkcjMJHsZQZgoQulWdyzvALiG6E,10039
67
67
  pulumi_newrelic/insights/outputs.py,sha256=E2PdLcTq4z46w4QDZypG4p3yhFfQ2p_Ks-sQY4n2g00,3509
68
68
  pulumi_newrelic/plugins/__init__.py,sha256=UeoukmKyu6Xm6K4W4z5N_CzyB634ttFEcP7GH9nTyeA,374
69
- pulumi_newrelic/plugins/_inputs.py,sha256=hCHXjg8NQdBJqjvAfivuTxIZ_VAmqLxzHH8Dn148TyA,22660
70
- pulumi_newrelic/plugins/application_settings.py,sha256=pogODHop19ggU-1O0BNdFIQeUiyRJ6o13XV8TYNYcwM,16498
71
- pulumi_newrelic/plugins/outputs.py,sha256=aVkIaEn2xQ-L5-71HUZ1IMzBscIuAM7IyMA4xmDZO14,16725
69
+ pulumi_newrelic/plugins/_inputs.py,sha256=CjPJ34stMv1slDUp5kpcoEH3NV6Rfp_LmTx8wsi0Uc0,36948
70
+ pulumi_newrelic/plugins/application_settings.py,sha256=6Rn9gegGiWRYZFEWZgDLk3jHLO9fOqF4qTz-cV3Z8P4,34895
71
+ pulumi_newrelic/plugins/outputs.py,sha256=BO1Y2V_e7GtQJhW7cacTY5YGhIh9hwEZUugn1zhnuyk,28185
72
72
  pulumi_newrelic/plugins/workload.py,sha256=S6D58wz6CEUxuRsUMtPreKNJ3bX6QTFm9gFfZOwJuQ4,41335
73
73
  pulumi_newrelic/synthetics/__init__.py,sha256=8O5SCapCaxLPwCnTDb8XJ3w1Vw_1avXP4bCZ3bTXxMs,680
74
74
  pulumi_newrelic/synthetics/_inputs.py,sha256=t6rumXJVnRfRj093NNi1EXCh98YsXg0TvO-u-CEnMBg,18680
@@ -84,7 +84,7 @@ pulumi_newrelic/synthetics/private_location.py,sha256=-pj6W9dg9fB-jtnrTH8wnd7o_j
84
84
  pulumi_newrelic/synthetics/script_monitor.py,sha256=fwRaviLtkQ0ViK3V1W98npxcN_qBXFevwuHgHArl3m0,66220
85
85
  pulumi_newrelic/synthetics/secure_credential.py,sha256=EilBGvvvqmADHo1VPeWfQkCdc2GYRO8Dq9-lktE7Y3M,15776
86
86
  pulumi_newrelic/synthetics/step_monitor.py,sha256=7tqzQ9InEMRdfAr9K_vpLm-OCPHyIKEH4f8CT2BxaLQ,49116
87
- pulumi_newrelic-5.42.0a1741494516.dist-info/METADATA,sha256=VxEmpSxD6ouSY4J-dXho5TeGtWkcLWVmaFRu4EMaGug,3963
88
- pulumi_newrelic-5.42.0a1741494516.dist-info/WHEEL,sha256=EaM1zKIUYa7rQnxGiOCGhzJABRwy4WO57rWMR3_tj4I,91
89
- pulumi_newrelic-5.42.0a1741494516.dist-info/top_level.txt,sha256=BjE1Wsu6Ah_A7k08uV5vRSZ2R_5uY3wFvSWJaa7ZoQk,16
90
- pulumi_newrelic-5.42.0a1741494516.dist-info/RECORD,,
87
+ pulumi_newrelic-5.42.0a1741663624.dist-info/METADATA,sha256=SITdiPLu1NH2ND_RFuZjoltsrJX1kFISO5N5dJDl2Zg,3963
88
+ pulumi_newrelic-5.42.0a1741663624.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
89
+ pulumi_newrelic-5.42.0a1741663624.dist-info/top_level.txt,sha256=BjE1Wsu6Ah_A7k08uV5vRSZ2R_5uY3wFvSWJaa7ZoQk,16
90
+ pulumi_newrelic-5.42.0a1741663624.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.9.1)
2
+ Generator: setuptools (76.0.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5