pulumi-newrelic 5.22.0__py3-none-any.whl → 5.58.0a1763707205__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.

Potentially problematic release.


This version of pulumi-newrelic might be problematic. Click here for more details.

Files changed (92) hide show
  1. pulumi_newrelic/__init__.py +28 -1
  2. pulumi_newrelic/_inputs.py +10385 -2976
  3. pulumi_newrelic/_utilities.py +50 -10
  4. pulumi_newrelic/account_management.py +48 -42
  5. pulumi_newrelic/alert_channel.py +165 -175
  6. pulumi_newrelic/alert_condition.py +307 -319
  7. pulumi_newrelic/alert_muting_rule.py +193 -140
  8. pulumi_newrelic/alert_policy.py +121 -117
  9. pulumi_newrelic/alert_policy_channel.py +89 -79
  10. pulumi_newrelic/api_access_key.py +195 -193
  11. pulumi_newrelic/browser_application.py +120 -114
  12. pulumi_newrelic/cloud/__init__.py +3 -1
  13. pulumi_newrelic/cloud/_inputs.py +4267 -2714
  14. pulumi_newrelic/cloud/aws_govcloud_integrations.py +206 -196
  15. pulumi_newrelic/cloud/aws_govcloud_link_account.py +143 -228
  16. pulumi_newrelic/cloud/aws_integrations.py +510 -1490
  17. pulumi_newrelic/cloud/aws_link_account.py +80 -76
  18. pulumi_newrelic/cloud/azure_integrations.py +673 -587
  19. pulumi_newrelic/cloud/azure_link_account.py +121 -117
  20. pulumi_newrelic/cloud/gcp_integrations.py +428 -408
  21. pulumi_newrelic/cloud/gcp_link_account.py +65 -61
  22. pulumi_newrelic/cloud/oci_link_account.py +926 -0
  23. pulumi_newrelic/cloud/outputs.py +1678 -2321
  24. pulumi_newrelic/config/__init__.py +2 -1
  25. pulumi_newrelic/config/__init__.pyi +8 -3
  26. pulumi_newrelic/config/vars.py +22 -17
  27. pulumi_newrelic/data_partition_rule.py +119 -117
  28. pulumi_newrelic/entity_tags.py +111 -53
  29. pulumi_newrelic/events_to_metrics_rule.py +106 -102
  30. pulumi_newrelic/get_account.py +41 -33
  31. pulumi_newrelic/get_alert_channel.py +73 -28
  32. pulumi_newrelic/get_alert_policy.py +82 -33
  33. pulumi_newrelic/get_application.py +51 -43
  34. pulumi_newrelic/get_authentication_domain.py +27 -23
  35. pulumi_newrelic/get_cloud_account.py +43 -35
  36. pulumi_newrelic/get_entity.py +126 -183
  37. pulumi_newrelic/get_group.py +76 -31
  38. pulumi_newrelic/get_key_transaction.py +117 -42
  39. pulumi_newrelic/get_notification_destination.py +75 -38
  40. pulumi_newrelic/get_obfuscation_expression.py +47 -39
  41. pulumi_newrelic/get_service_level_alert_helper.py +189 -171
  42. pulumi_newrelic/get_test_grok_pattern.py +47 -36
  43. pulumi_newrelic/get_user.py +39 -31
  44. pulumi_newrelic/group.py +59 -199
  45. pulumi_newrelic/infra_alert_condition.py +399 -405
  46. pulumi_newrelic/insights/__init__.py +2 -1
  47. pulumi_newrelic/insights/_inputs.py +71 -28
  48. pulumi_newrelic/insights/event.py +54 -52
  49. pulumi_newrelic/insights/outputs.py +28 -23
  50. pulumi_newrelic/key_transaction.py +465 -0
  51. pulumi_newrelic/log_parsing_rule.py +159 -157
  52. pulumi_newrelic/monitor_downtime.py +311 -331
  53. pulumi_newrelic/notification_channel.py +534 -464
  54. pulumi_newrelic/notification_destination.py +238 -141
  55. pulumi_newrelic/nrql_alert_condition.py +820 -614
  56. pulumi_newrelic/nrql_drop_rule.py +113 -151
  57. pulumi_newrelic/obfuscation_expression.py +80 -76
  58. pulumi_newrelic/obfuscation_rule.py +115 -109
  59. pulumi_newrelic/one_dashboard.py +110 -104
  60. pulumi_newrelic/one_dashboard_json.py +69 -63
  61. pulumi_newrelic/one_dashboard_raw.py +212 -206
  62. pulumi_newrelic/outputs.py +4936 -2234
  63. pulumi_newrelic/pipeline_cloud_rule.py +335 -0
  64. pulumi_newrelic/plugins/__init__.py +2 -1
  65. pulumi_newrelic/plugins/_inputs.py +519 -89
  66. pulumi_newrelic/plugins/application_settings.py +463 -187
  67. pulumi_newrelic/plugins/outputs.py +336 -74
  68. pulumi_newrelic/plugins/workload.py +313 -189
  69. pulumi_newrelic/provider.py +156 -142
  70. pulumi_newrelic/pulumi-plugin.json +2 -1
  71. pulumi_newrelic/service_level.py +263 -263
  72. pulumi_newrelic/synthetics/__init__.py +2 -1
  73. pulumi_newrelic/synthetics/_inputs.py +265 -108
  74. pulumi_newrelic/synthetics/alert_condition.py +170 -180
  75. pulumi_newrelic/synthetics/broken_links_monitor.py +297 -249
  76. pulumi_newrelic/synthetics/cert_check_monitor.py +306 -258
  77. pulumi_newrelic/synthetics/get_private_location.py +51 -47
  78. pulumi_newrelic/synthetics/get_secure_credential.py +39 -31
  79. pulumi_newrelic/synthetics/monitor.py +658 -460
  80. pulumi_newrelic/synthetics/multi_location_alert_condition.py +211 -205
  81. pulumi_newrelic/synthetics/outputs.py +92 -87
  82. pulumi_newrelic/synthetics/private_location.py +118 -112
  83. pulumi_newrelic/synthetics/script_monitor.py +613 -373
  84. pulumi_newrelic/synthetics/secure_credential.py +97 -95
  85. pulumi_newrelic/synthetics/step_monitor.py +445 -275
  86. pulumi_newrelic/user.py +84 -80
  87. pulumi_newrelic/workflow.py +336 -322
  88. {pulumi_newrelic-5.22.0.dist-info → pulumi_newrelic-5.58.0a1763707205.dist-info}/METADATA +7 -6
  89. pulumi_newrelic-5.58.0a1763707205.dist-info/RECORD +92 -0
  90. {pulumi_newrelic-5.22.0.dist-info → pulumi_newrelic-5.58.0a1763707205.dist-info}/WHEEL +1 -1
  91. pulumi_newrelic-5.22.0.dist-info/RECORD +0 -89
  92. {pulumi_newrelic-5.22.0.dist-info → pulumi_newrelic-5.58.0a1763707205.dist-info}/top_level.txt +0 -0
@@ -1,276 +1,467 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
- import copy
5
+ import builtins as _builtins
6
6
  import warnings
7
+ import sys
7
8
  import pulumi
8
9
  import pulumi.runtime
9
10
  from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
10
15
  from .. import _utilities
16
+ from . import outputs
17
+ from ._inputs import *
11
18
 
12
19
  __all__ = ['ApplicationSettingsArgs', 'ApplicationSettings']
13
20
 
14
21
  @pulumi.input_type
15
22
  class ApplicationSettingsArgs:
16
23
  def __init__(__self__, *,
17
- app_apdex_threshold: pulumi.Input[float],
18
- enable_real_user_monitoring: pulumi.Input[bool],
19
- end_user_apdex_threshold: pulumi.Input[float],
20
- name: Optional[pulumi.Input[str]] = None):
24
+ app_apdex_threshold: Optional[pulumi.Input[_builtins.float]] = None,
25
+ enable_real_user_monitoring: Optional[pulumi.Input[_builtins.bool]] = None,
26
+ enable_slow_sql: Optional[pulumi.Input[_builtins.bool]] = None,
27
+ enable_thread_profiler: Optional[pulumi.Input[_builtins.bool]] = None,
28
+ end_user_apdex_threshold: Optional[pulumi.Input[_builtins.float]] = None,
29
+ error_collectors: Optional[pulumi.Input[Sequence[pulumi.Input['ApplicationSettingsErrorCollectorArgs']]]] = None,
30
+ guid: Optional[pulumi.Input[_builtins.str]] = None,
31
+ name: Optional[pulumi.Input[_builtins.str]] = None,
32
+ tracer_type: Optional[pulumi.Input[_builtins.str]] = None,
33
+ transaction_tracers: Optional[pulumi.Input[Sequence[pulumi.Input['ApplicationSettingsTransactionTracerArgs']]]] = None,
34
+ use_server_side_config: Optional[pulumi.Input[_builtins.bool]] = None):
21
35
  """
22
36
  The set of arguments for constructing a ApplicationSettings resource.
23
- :param pulumi.Input[float] app_apdex_threshold: The apdex threshold for the New Relic application.
24
- :param pulumi.Input[bool] enable_real_user_monitoring: Enable or disable real user monitoring for the New Relic application.
37
+ :param pulumi.Input[_builtins.float] app_apdex_threshold: The acceptable response time limit (Apdex threshold) for the application.
38
+ :param pulumi.Input[_builtins.bool] enable_real_user_monitoring: Dummy field to support backward compatibility of previous version.should be removed with next major version.
39
+ :param pulumi.Input[_builtins.bool] enable_slow_sql: Enable or disable the collection of slowest database queries in your traces.
40
+ :param pulumi.Input[_builtins.bool] enable_thread_profiler: Enable or disable the collection of thread profiling data.
41
+ :param pulumi.Input[_builtins.float] end_user_apdex_threshold: Dummy field to support backward compatibility of previous version.should be removed with next major version.
42
+ :param pulumi.Input[Sequence[pulumi.Input['ApplicationSettingsErrorCollectorArgs']]] error_collectors: Configuration block for error collection. Including this block enables the error collector. The following arguments are supported:
43
+ :param pulumi.Input[_builtins.str] guid: The GUID of the application in New Relic APM.
25
44
 
26
- <!--Start PulumiCodeChooser -->
27
- ```python
28
- import pulumi
29
- ```
30
- <!--End PulumiCodeChooser -->
31
- :param pulumi.Input[float] end_user_apdex_threshold: The user's apdex threshold for the New Relic application.
32
- :param pulumi.Input[str] name: The name of the application in New Relic APM.
33
- """
34
- pulumi.set(__self__, "app_apdex_threshold", app_apdex_threshold)
35
- pulumi.set(__self__, "enable_real_user_monitoring", enable_real_user_monitoring)
36
- pulumi.set(__self__, "end_user_apdex_threshold", end_user_apdex_threshold)
45
+ > **NOTE:** While the attribute `guid` is not mandatory at a schema level, it is recommended to use `guid` over `name`, as support for using `name` with this resource shall eventually be discontinued. Please see the note under `name` for more details.
46
+ :param pulumi.Input[_builtins.str] name: The name of the application in New Relic.
47
+ :param pulumi.Input[_builtins.str] tracer_type: Configures the type of tracer used. Valid values are `CROSS_APPLICATION_TRACER`, `DISTRIBUTED_TRACING`, `NONE`, `OPT_OUT`.
48
+ :param pulumi.Input[Sequence[pulumi.Input['ApplicationSettingsTransactionTracerArgs']]] transaction_tracers: Configuration block for transaction tracer. Providing this block enables transaction tracing. The following arguments are supported:
49
+ :param pulumi.Input[_builtins.bool] use_server_side_config: Enable or disable server side monitoring for the New Relic application.
50
+ """
51
+ if app_apdex_threshold is not None:
52
+ pulumi.set(__self__, "app_apdex_threshold", app_apdex_threshold)
53
+ if enable_real_user_monitoring is not None:
54
+ pulumi.set(__self__, "enable_real_user_monitoring", enable_real_user_monitoring)
55
+ if enable_slow_sql is not None:
56
+ pulumi.set(__self__, "enable_slow_sql", enable_slow_sql)
57
+ if enable_thread_profiler is not None:
58
+ pulumi.set(__self__, "enable_thread_profiler", enable_thread_profiler)
59
+ if end_user_apdex_threshold is not None:
60
+ pulumi.set(__self__, "end_user_apdex_threshold", end_user_apdex_threshold)
61
+ if error_collectors is not None:
62
+ pulumi.set(__self__, "error_collectors", error_collectors)
63
+ if guid is not None:
64
+ pulumi.set(__self__, "guid", guid)
37
65
  if name is not None:
38
66
  pulumi.set(__self__, "name", name)
39
-
40
- @property
67
+ if tracer_type is not None:
68
+ pulumi.set(__self__, "tracer_type", tracer_type)
69
+ if transaction_tracers is not None:
70
+ pulumi.set(__self__, "transaction_tracers", transaction_tracers)
71
+ if use_server_side_config is not None:
72
+ pulumi.set(__self__, "use_server_side_config", use_server_side_config)
73
+
74
+ @_builtins.property
41
75
  @pulumi.getter(name="appApdexThreshold")
42
- def app_apdex_threshold(self) -> pulumi.Input[float]:
76
+ def app_apdex_threshold(self) -> Optional[pulumi.Input[_builtins.float]]:
43
77
  """
44
- The apdex threshold for the New Relic application.
78
+ The acceptable response time limit (Apdex threshold) for the application.
45
79
  """
46
80
  return pulumi.get(self, "app_apdex_threshold")
47
81
 
48
82
  @app_apdex_threshold.setter
49
- def app_apdex_threshold(self, value: pulumi.Input[float]):
83
+ def app_apdex_threshold(self, value: Optional[pulumi.Input[_builtins.float]]):
50
84
  pulumi.set(self, "app_apdex_threshold", value)
51
85
 
52
- @property
86
+ @_builtins.property
53
87
  @pulumi.getter(name="enableRealUserMonitoring")
54
- def enable_real_user_monitoring(self) -> pulumi.Input[bool]:
88
+ def enable_real_user_monitoring(self) -> Optional[pulumi.Input[_builtins.bool]]:
55
89
  """
56
- Enable or disable real user monitoring for the New Relic application.
57
-
58
- <!--Start PulumiCodeChooser -->
59
- ```python
60
- import pulumi
61
- ```
62
- <!--End PulumiCodeChooser -->
90
+ Dummy field to support backward compatibility of previous version.should be removed with next major version.
63
91
  """
64
92
  return pulumi.get(self, "enable_real_user_monitoring")
65
93
 
66
94
  @enable_real_user_monitoring.setter
67
- def enable_real_user_monitoring(self, value: pulumi.Input[bool]):
95
+ def enable_real_user_monitoring(self, value: Optional[pulumi.Input[_builtins.bool]]):
68
96
  pulumi.set(self, "enable_real_user_monitoring", value)
69
97
 
70
- @property
98
+ @_builtins.property
99
+ @pulumi.getter(name="enableSlowSql")
100
+ def enable_slow_sql(self) -> Optional[pulumi.Input[_builtins.bool]]:
101
+ """
102
+ Enable or disable the collection of slowest database queries in your traces.
103
+ """
104
+ return pulumi.get(self, "enable_slow_sql")
105
+
106
+ @enable_slow_sql.setter
107
+ def enable_slow_sql(self, value: Optional[pulumi.Input[_builtins.bool]]):
108
+ pulumi.set(self, "enable_slow_sql", value)
109
+
110
+ @_builtins.property
111
+ @pulumi.getter(name="enableThreadProfiler")
112
+ def enable_thread_profiler(self) -> Optional[pulumi.Input[_builtins.bool]]:
113
+ """
114
+ Enable or disable the collection of thread profiling data.
115
+ """
116
+ return pulumi.get(self, "enable_thread_profiler")
117
+
118
+ @enable_thread_profiler.setter
119
+ def enable_thread_profiler(self, value: Optional[pulumi.Input[_builtins.bool]]):
120
+ pulumi.set(self, "enable_thread_profiler", value)
121
+
122
+ @_builtins.property
71
123
  @pulumi.getter(name="endUserApdexThreshold")
72
- def end_user_apdex_threshold(self) -> pulumi.Input[float]:
124
+ def end_user_apdex_threshold(self) -> Optional[pulumi.Input[_builtins.float]]:
73
125
  """
74
- The user's apdex threshold for the New Relic application.
126
+ Dummy field to support backward compatibility of previous version.should be removed with next major version.
75
127
  """
76
128
  return pulumi.get(self, "end_user_apdex_threshold")
77
129
 
78
130
  @end_user_apdex_threshold.setter
79
- def end_user_apdex_threshold(self, value: pulumi.Input[float]):
131
+ def end_user_apdex_threshold(self, value: Optional[pulumi.Input[_builtins.float]]):
80
132
  pulumi.set(self, "end_user_apdex_threshold", value)
81
133
 
82
- @property
134
+ @_builtins.property
135
+ @pulumi.getter(name="errorCollectors")
136
+ def error_collectors(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ApplicationSettingsErrorCollectorArgs']]]]:
137
+ """
138
+ Configuration block for error collection. Including this block enables the error collector. The following arguments are supported:
139
+ """
140
+ return pulumi.get(self, "error_collectors")
141
+
142
+ @error_collectors.setter
143
+ def error_collectors(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ApplicationSettingsErrorCollectorArgs']]]]):
144
+ pulumi.set(self, "error_collectors", value)
145
+
146
+ @_builtins.property
83
147
  @pulumi.getter
84
- def name(self) -> Optional[pulumi.Input[str]]:
148
+ def guid(self) -> Optional[pulumi.Input[_builtins.str]]:
85
149
  """
86
- The name of the application in New Relic APM.
150
+ The GUID of the application in New Relic APM.
151
+
152
+ > **NOTE:** While the attribute `guid` is not mandatory at a schema level, it is recommended to use `guid` over `name`, as support for using `name` with this resource shall eventually be discontinued. Please see the note under `name` for more details.
153
+ """
154
+ return pulumi.get(self, "guid")
155
+
156
+ @guid.setter
157
+ def guid(self, value: Optional[pulumi.Input[_builtins.str]]):
158
+ pulumi.set(self, "guid", value)
159
+
160
+ @_builtins.property
161
+ @pulumi.getter
162
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
163
+ """
164
+ The name of the application in New Relic.
87
165
  """
88
166
  return pulumi.get(self, "name")
89
167
 
90
168
  @name.setter
91
- def name(self, value: Optional[pulumi.Input[str]]):
169
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
92
170
  pulumi.set(self, "name", value)
93
171
 
172
+ @_builtins.property
173
+ @pulumi.getter(name="tracerType")
174
+ def tracer_type(self) -> Optional[pulumi.Input[_builtins.str]]:
175
+ """
176
+ Configures the type of tracer used. Valid values are `CROSS_APPLICATION_TRACER`, `DISTRIBUTED_TRACING`, `NONE`, `OPT_OUT`.
177
+ """
178
+ return pulumi.get(self, "tracer_type")
179
+
180
+ @tracer_type.setter
181
+ def tracer_type(self, value: Optional[pulumi.Input[_builtins.str]]):
182
+ pulumi.set(self, "tracer_type", value)
183
+
184
+ @_builtins.property
185
+ @pulumi.getter(name="transactionTracers")
186
+ def transaction_tracers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ApplicationSettingsTransactionTracerArgs']]]]:
187
+ """
188
+ Configuration block for transaction tracer. Providing this block enables transaction tracing. The following arguments are supported:
189
+ """
190
+ return pulumi.get(self, "transaction_tracers")
191
+
192
+ @transaction_tracers.setter
193
+ def transaction_tracers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ApplicationSettingsTransactionTracerArgs']]]]):
194
+ pulumi.set(self, "transaction_tracers", value)
195
+
196
+ @_builtins.property
197
+ @pulumi.getter(name="useServerSideConfig")
198
+ def use_server_side_config(self) -> Optional[pulumi.Input[_builtins.bool]]:
199
+ """
200
+ Enable or disable server side monitoring for the New Relic application.
201
+ """
202
+ return pulumi.get(self, "use_server_side_config")
203
+
204
+ @use_server_side_config.setter
205
+ def use_server_side_config(self, value: Optional[pulumi.Input[_builtins.bool]]):
206
+ pulumi.set(self, "use_server_side_config", value)
207
+
94
208
 
95
209
  @pulumi.input_type
96
210
  class _ApplicationSettingsState:
97
211
  def __init__(__self__, *,
98
- app_apdex_threshold: Optional[pulumi.Input[float]] = None,
99
- enable_real_user_monitoring: Optional[pulumi.Input[bool]] = None,
100
- end_user_apdex_threshold: Optional[pulumi.Input[float]] = None,
101
- name: Optional[pulumi.Input[str]] = None):
212
+ app_apdex_threshold: Optional[pulumi.Input[_builtins.float]] = None,
213
+ enable_real_user_monitoring: Optional[pulumi.Input[_builtins.bool]] = None,
214
+ enable_slow_sql: Optional[pulumi.Input[_builtins.bool]] = None,
215
+ enable_thread_profiler: Optional[pulumi.Input[_builtins.bool]] = None,
216
+ end_user_apdex_threshold: Optional[pulumi.Input[_builtins.float]] = None,
217
+ error_collectors: Optional[pulumi.Input[Sequence[pulumi.Input['ApplicationSettingsErrorCollectorArgs']]]] = None,
218
+ guid: Optional[pulumi.Input[_builtins.str]] = None,
219
+ is_imported: Optional[pulumi.Input[_builtins.bool]] = None,
220
+ name: Optional[pulumi.Input[_builtins.str]] = None,
221
+ tracer_type: Optional[pulumi.Input[_builtins.str]] = None,
222
+ transaction_tracers: Optional[pulumi.Input[Sequence[pulumi.Input['ApplicationSettingsTransactionTracerArgs']]]] = None,
223
+ use_server_side_config: Optional[pulumi.Input[_builtins.bool]] = None):
102
224
  """
103
225
  Input properties used for looking up and filtering ApplicationSettings resources.
104
- :param pulumi.Input[float] app_apdex_threshold: The apdex threshold for the New Relic application.
105
- :param pulumi.Input[bool] enable_real_user_monitoring: Enable or disable real user monitoring for the New Relic application.
226
+ :param pulumi.Input[_builtins.float] app_apdex_threshold: The acceptable response time limit (Apdex threshold) for the application.
227
+ :param pulumi.Input[_builtins.bool] enable_real_user_monitoring: Dummy field to support backward compatibility of previous version.should be removed with next major version.
228
+ :param pulumi.Input[_builtins.bool] enable_slow_sql: Enable or disable the collection of slowest database queries in your traces.
229
+ :param pulumi.Input[_builtins.bool] enable_thread_profiler: Enable or disable the collection of thread profiling data.
230
+ :param pulumi.Input[_builtins.float] end_user_apdex_threshold: Dummy field to support backward compatibility of previous version.should be removed with next major version.
231
+ :param pulumi.Input[Sequence[pulumi.Input['ApplicationSettingsErrorCollectorArgs']]] error_collectors: Configuration block for error collection. Including this block enables the error collector. The following arguments are supported:
232
+ :param pulumi.Input[_builtins.str] guid: The GUID of the application in New Relic APM.
106
233
 
107
- <!--Start PulumiCodeChooser -->
108
- ```python
109
- import pulumi
110
- ```
111
- <!--End PulumiCodeChooser -->
112
- :param pulumi.Input[float] end_user_apdex_threshold: The user's apdex threshold for the New Relic application.
113
- :param pulumi.Input[str] name: The name of the application in New Relic APM.
234
+ > **NOTE:** While the attribute `guid` is not mandatory at a schema level, it is recommended to use `guid` over `name`, as support for using `name` with this resource shall eventually be discontinued. Please see the note under `name` for more details.
235
+ :param pulumi.Input[_builtins.str] name: The name of the application in New Relic.
236
+ :param pulumi.Input[_builtins.str] tracer_type: Configures the type of tracer used. Valid values are `CROSS_APPLICATION_TRACER`, `DISTRIBUTED_TRACING`, `NONE`, `OPT_OUT`.
237
+ :param pulumi.Input[Sequence[pulumi.Input['ApplicationSettingsTransactionTracerArgs']]] transaction_tracers: Configuration block for transaction tracer. Providing this block enables transaction tracing. The following arguments are supported:
238
+ :param pulumi.Input[_builtins.bool] use_server_side_config: Enable or disable server side monitoring for the New Relic application.
114
239
  """
115
240
  if app_apdex_threshold is not None:
116
241
  pulumi.set(__self__, "app_apdex_threshold", app_apdex_threshold)
117
242
  if enable_real_user_monitoring is not None:
118
243
  pulumi.set(__self__, "enable_real_user_monitoring", enable_real_user_monitoring)
244
+ if enable_slow_sql is not None:
245
+ pulumi.set(__self__, "enable_slow_sql", enable_slow_sql)
246
+ if enable_thread_profiler is not None:
247
+ pulumi.set(__self__, "enable_thread_profiler", enable_thread_profiler)
119
248
  if end_user_apdex_threshold is not None:
120
249
  pulumi.set(__self__, "end_user_apdex_threshold", end_user_apdex_threshold)
250
+ if error_collectors is not None:
251
+ pulumi.set(__self__, "error_collectors", error_collectors)
252
+ if guid is not None:
253
+ pulumi.set(__self__, "guid", guid)
254
+ if is_imported is not None:
255
+ pulumi.set(__self__, "is_imported", is_imported)
121
256
  if name is not None:
122
257
  pulumi.set(__self__, "name", name)
123
-
124
- @property
258
+ if tracer_type is not None:
259
+ pulumi.set(__self__, "tracer_type", tracer_type)
260
+ if transaction_tracers is not None:
261
+ pulumi.set(__self__, "transaction_tracers", transaction_tracers)
262
+ if use_server_side_config is not None:
263
+ pulumi.set(__self__, "use_server_side_config", use_server_side_config)
264
+
265
+ @_builtins.property
125
266
  @pulumi.getter(name="appApdexThreshold")
126
- def app_apdex_threshold(self) -> Optional[pulumi.Input[float]]:
267
+ def app_apdex_threshold(self) -> Optional[pulumi.Input[_builtins.float]]:
127
268
  """
128
- The apdex threshold for the New Relic application.
269
+ The acceptable response time limit (Apdex threshold) for the application.
129
270
  """
130
271
  return pulumi.get(self, "app_apdex_threshold")
131
272
 
132
273
  @app_apdex_threshold.setter
133
- def app_apdex_threshold(self, value: Optional[pulumi.Input[float]]):
274
+ def app_apdex_threshold(self, value: Optional[pulumi.Input[_builtins.float]]):
134
275
  pulumi.set(self, "app_apdex_threshold", value)
135
276
 
136
- @property
277
+ @_builtins.property
137
278
  @pulumi.getter(name="enableRealUserMonitoring")
138
- def enable_real_user_monitoring(self) -> Optional[pulumi.Input[bool]]:
279
+ def enable_real_user_monitoring(self) -> Optional[pulumi.Input[_builtins.bool]]:
139
280
  """
140
- Enable or disable real user monitoring for the New Relic application.
141
-
142
- <!--Start PulumiCodeChooser -->
143
- ```python
144
- import pulumi
145
- ```
146
- <!--End PulumiCodeChooser -->
281
+ Dummy field to support backward compatibility of previous version.should be removed with next major version.
147
282
  """
148
283
  return pulumi.get(self, "enable_real_user_monitoring")
149
284
 
150
285
  @enable_real_user_monitoring.setter
151
- def enable_real_user_monitoring(self, value: Optional[pulumi.Input[bool]]):
286
+ def enable_real_user_monitoring(self, value: Optional[pulumi.Input[_builtins.bool]]):
152
287
  pulumi.set(self, "enable_real_user_monitoring", value)
153
288
 
154
- @property
289
+ @_builtins.property
290
+ @pulumi.getter(name="enableSlowSql")
291
+ def enable_slow_sql(self) -> Optional[pulumi.Input[_builtins.bool]]:
292
+ """
293
+ Enable or disable the collection of slowest database queries in your traces.
294
+ """
295
+ return pulumi.get(self, "enable_slow_sql")
296
+
297
+ @enable_slow_sql.setter
298
+ def enable_slow_sql(self, value: Optional[pulumi.Input[_builtins.bool]]):
299
+ pulumi.set(self, "enable_slow_sql", value)
300
+
301
+ @_builtins.property
302
+ @pulumi.getter(name="enableThreadProfiler")
303
+ def enable_thread_profiler(self) -> Optional[pulumi.Input[_builtins.bool]]:
304
+ """
305
+ Enable or disable the collection of thread profiling data.
306
+ """
307
+ return pulumi.get(self, "enable_thread_profiler")
308
+
309
+ @enable_thread_profiler.setter
310
+ def enable_thread_profiler(self, value: Optional[pulumi.Input[_builtins.bool]]):
311
+ pulumi.set(self, "enable_thread_profiler", value)
312
+
313
+ @_builtins.property
155
314
  @pulumi.getter(name="endUserApdexThreshold")
156
- def end_user_apdex_threshold(self) -> Optional[pulumi.Input[float]]:
315
+ def end_user_apdex_threshold(self) -> Optional[pulumi.Input[_builtins.float]]:
157
316
  """
158
- The user's apdex threshold for the New Relic application.
317
+ Dummy field to support backward compatibility of previous version.should be removed with next major version.
159
318
  """
160
319
  return pulumi.get(self, "end_user_apdex_threshold")
161
320
 
162
321
  @end_user_apdex_threshold.setter
163
- def end_user_apdex_threshold(self, value: Optional[pulumi.Input[float]]):
322
+ def end_user_apdex_threshold(self, value: Optional[pulumi.Input[_builtins.float]]):
164
323
  pulumi.set(self, "end_user_apdex_threshold", value)
165
324
 
166
- @property
325
+ @_builtins.property
326
+ @pulumi.getter(name="errorCollectors")
327
+ def error_collectors(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ApplicationSettingsErrorCollectorArgs']]]]:
328
+ """
329
+ Configuration block for error collection. Including this block enables the error collector. The following arguments are supported:
330
+ """
331
+ return pulumi.get(self, "error_collectors")
332
+
333
+ @error_collectors.setter
334
+ def error_collectors(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ApplicationSettingsErrorCollectorArgs']]]]):
335
+ pulumi.set(self, "error_collectors", value)
336
+
337
+ @_builtins.property
167
338
  @pulumi.getter
168
- def name(self) -> Optional[pulumi.Input[str]]:
339
+ def guid(self) -> Optional[pulumi.Input[_builtins.str]]:
169
340
  """
170
- The name of the application in New Relic APM.
341
+ The GUID of the application in New Relic APM.
342
+
343
+ > **NOTE:** While the attribute `guid` is not mandatory at a schema level, it is recommended to use `guid` over `name`, as support for using `name` with this resource shall eventually be discontinued. Please see the note under `name` for more details.
344
+ """
345
+ return pulumi.get(self, "guid")
346
+
347
+ @guid.setter
348
+ def guid(self, value: Optional[pulumi.Input[_builtins.str]]):
349
+ pulumi.set(self, "guid", value)
350
+
351
+ @_builtins.property
352
+ @pulumi.getter(name="isImported")
353
+ def is_imported(self) -> Optional[pulumi.Input[_builtins.bool]]:
354
+ return pulumi.get(self, "is_imported")
355
+
356
+ @is_imported.setter
357
+ def is_imported(self, value: Optional[pulumi.Input[_builtins.bool]]):
358
+ pulumi.set(self, "is_imported", value)
359
+
360
+ @_builtins.property
361
+ @pulumi.getter
362
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
363
+ """
364
+ The name of the application in New Relic.
171
365
  """
172
366
  return pulumi.get(self, "name")
173
367
 
174
368
  @name.setter
175
- def name(self, value: Optional[pulumi.Input[str]]):
369
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
176
370
  pulumi.set(self, "name", value)
177
371
 
178
-
179
- class ApplicationSettings(pulumi.CustomResource):
180
- @overload
181
- def __init__(__self__,
182
- resource_name: str,
183
- opts: Optional[pulumi.ResourceOptions] = None,
184
- app_apdex_threshold: Optional[pulumi.Input[float]] = None,
185
- enable_real_user_monitoring: Optional[pulumi.Input[bool]] = None,
186
- end_user_apdex_threshold: Optional[pulumi.Input[float]] = None,
187
- name: Optional[pulumi.Input[str]] = None,
188
- __props__=None):
372
+ @_builtins.property
373
+ @pulumi.getter(name="tracerType")
374
+ def tracer_type(self) -> Optional[pulumi.Input[_builtins.str]]:
375
+ """
376
+ Configures the type of tracer used. Valid values are `CROSS_APPLICATION_TRACER`, `DISTRIBUTED_TRACING`, `NONE`, `OPT_OUT`.
189
377
  """
190
- > **NOTE:** Applications are not created by this resource, but are created by
191
- a reporting agent.
378
+ return pulumi.get(self, "tracer_type")
192
379
 
193
- Use this resource to manage configuration for an application that already
194
- exists in New Relic.
380
+ @tracer_type.setter
381
+ def tracer_type(self, value: Optional[pulumi.Input[_builtins.str]]):
382
+ pulumi.set(self, "tracer_type", value)
195
383
 
196
- ## Example Usage
384
+ @_builtins.property
385
+ @pulumi.getter(name="transactionTracers")
386
+ def transaction_tracers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ApplicationSettingsTransactionTracerArgs']]]]:
387
+ """
388
+ Configuration block for transaction tracer. Providing this block enables transaction tracing. The following arguments are supported:
389
+ """
390
+ return pulumi.get(self, "transaction_tracers")
197
391
 
198
- <!--Start PulumiCodeChooser -->
199
- ```python
200
- import pulumi
201
- import pulumi_newrelic as newrelic
392
+ @transaction_tracers.setter
393
+ def transaction_tracers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ApplicationSettingsTransactionTracerArgs']]]]):
394
+ pulumi.set(self, "transaction_tracers", value)
202
395
 
203
- app = newrelic.plugins.ApplicationSettings("app",
204
- app_apdex_threshold=0.7,
205
- enable_real_user_monitoring=False,
206
- end_user_apdex_threshold=0.8)
207
- ```
208
- <!--End PulumiCodeChooser -->
396
+ @_builtins.property
397
+ @pulumi.getter(name="useServerSideConfig")
398
+ def use_server_side_config(self) -> Optional[pulumi.Input[_builtins.bool]]:
399
+ """
400
+ Enable or disable server side monitoring for the New Relic application.
401
+ """
402
+ return pulumi.get(self, "use_server_side_config")
209
403
 
210
- ## Notes
404
+ @use_server_side_config.setter
405
+ def use_server_side_config(self, value: Optional[pulumi.Input[_builtins.bool]]):
406
+ pulumi.set(self, "use_server_side_config", value)
211
407
 
212
- > **NOTE:** Applications that have reported data in the last twelve hours
213
- cannot be deleted.
214
408
 
409
+ @pulumi.type_token("newrelic:plugins/applicationSettings:ApplicationSettings")
410
+ class ApplicationSettings(pulumi.CustomResource):
411
+ @overload
412
+ def __init__(__self__,
413
+ resource_name: str,
414
+ opts: Optional[pulumi.ResourceOptions] = None,
415
+ app_apdex_threshold: Optional[pulumi.Input[_builtins.float]] = None,
416
+ enable_real_user_monitoring: Optional[pulumi.Input[_builtins.bool]] = None,
417
+ enable_slow_sql: Optional[pulumi.Input[_builtins.bool]] = None,
418
+ enable_thread_profiler: Optional[pulumi.Input[_builtins.bool]] = None,
419
+ end_user_apdex_threshold: Optional[pulumi.Input[_builtins.float]] = None,
420
+ error_collectors: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ApplicationSettingsErrorCollectorArgs', 'ApplicationSettingsErrorCollectorArgsDict']]]]] = None,
421
+ guid: Optional[pulumi.Input[_builtins.str]] = None,
422
+ name: Optional[pulumi.Input[_builtins.str]] = None,
423
+ tracer_type: Optional[pulumi.Input[_builtins.str]] = None,
424
+ transaction_tracers: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ApplicationSettingsTransactionTracerArgs', 'ApplicationSettingsTransactionTracerArgsDict']]]]] = None,
425
+ use_server_side_config: Optional[pulumi.Input[_builtins.bool]] = None,
426
+ __props__=None):
427
+ """
215
428
  ## Import
216
429
 
217
- Applications can be imported using notation `application_id`, e.g.
430
+ Applications can be imported using notation `application_guid`, e.g.
218
431
 
219
432
  ```sh
220
- $ pulumi import newrelic:plugins/applicationSettings:ApplicationSettings main 6789012345
433
+ $ pulumi import newrelic:plugins/applicationSettings:ApplicationSettings main Mzk1NzUyNHQVRJNTxBUE18QVBQTElDc4ODU1MzYx
221
434
  ```
222
435
 
223
436
  :param str resource_name: The name of the resource.
224
437
  :param pulumi.ResourceOptions opts: Options for the resource.
225
- :param pulumi.Input[float] app_apdex_threshold: The apdex threshold for the New Relic application.
226
- :param pulumi.Input[bool] enable_real_user_monitoring: Enable or disable real user monitoring for the New Relic application.
438
+ :param pulumi.Input[_builtins.float] app_apdex_threshold: The acceptable response time limit (Apdex threshold) for the application.
439
+ :param pulumi.Input[_builtins.bool] enable_real_user_monitoring: Dummy field to support backward compatibility of previous version.should be removed with next major version.
440
+ :param pulumi.Input[_builtins.bool] enable_slow_sql: Enable or disable the collection of slowest database queries in your traces.
441
+ :param pulumi.Input[_builtins.bool] enable_thread_profiler: Enable or disable the collection of thread profiling data.
442
+ :param pulumi.Input[_builtins.float] end_user_apdex_threshold: Dummy field to support backward compatibility of previous version.should be removed with next major version.
443
+ :param pulumi.Input[Sequence[pulumi.Input[Union['ApplicationSettingsErrorCollectorArgs', 'ApplicationSettingsErrorCollectorArgsDict']]]] error_collectors: Configuration block for error collection. Including this block enables the error collector. The following arguments are supported:
444
+ :param pulumi.Input[_builtins.str] guid: The GUID of the application in New Relic APM.
227
445
 
228
- <!--Start PulumiCodeChooser -->
229
- ```python
230
- import pulumi
231
- ```
232
- <!--End PulumiCodeChooser -->
233
- :param pulumi.Input[float] end_user_apdex_threshold: The user's apdex threshold for the New Relic application.
234
- :param pulumi.Input[str] name: The name of the application in New Relic APM.
446
+ > **NOTE:** While the attribute `guid` is not mandatory at a schema level, it is recommended to use `guid` over `name`, as support for using `name` with this resource shall eventually be discontinued. Please see the note under `name` for more details.
447
+ :param pulumi.Input[_builtins.str] name: The name of the application in New Relic.
448
+ :param pulumi.Input[_builtins.str] tracer_type: Configures the type of tracer used. Valid values are `CROSS_APPLICATION_TRACER`, `DISTRIBUTED_TRACING`, `NONE`, `OPT_OUT`.
449
+ :param pulumi.Input[Sequence[pulumi.Input[Union['ApplicationSettingsTransactionTracerArgs', 'ApplicationSettingsTransactionTracerArgsDict']]]] transaction_tracers: Configuration block for transaction tracer. Providing this block enables transaction tracing. The following arguments are supported:
450
+ :param pulumi.Input[_builtins.bool] use_server_side_config: Enable or disable server side monitoring for the New Relic application.
235
451
  """
236
452
  ...
237
453
  @overload
238
454
  def __init__(__self__,
239
455
  resource_name: str,
240
- args: ApplicationSettingsArgs,
456
+ args: Optional[ApplicationSettingsArgs] = None,
241
457
  opts: Optional[pulumi.ResourceOptions] = None):
242
458
  """
243
- > **NOTE:** Applications are not created by this resource, but are created by
244
- a reporting agent.
245
-
246
- Use this resource to manage configuration for an application that already
247
- exists in New Relic.
248
-
249
- ## Example Usage
250
-
251
- <!--Start PulumiCodeChooser -->
252
- ```python
253
- import pulumi
254
- import pulumi_newrelic as newrelic
255
-
256
- app = newrelic.plugins.ApplicationSettings("app",
257
- app_apdex_threshold=0.7,
258
- enable_real_user_monitoring=False,
259
- end_user_apdex_threshold=0.8)
260
- ```
261
- <!--End PulumiCodeChooser -->
262
-
263
- ## Notes
264
-
265
- > **NOTE:** Applications that have reported data in the last twelve hours
266
- cannot be deleted.
267
-
268
459
  ## Import
269
460
 
270
- Applications can be imported using notation `application_id`, e.g.
461
+ Applications can be imported using notation `application_guid`, e.g.
271
462
 
272
463
  ```sh
273
- $ pulumi import newrelic:plugins/applicationSettings:ApplicationSettings main 6789012345
464
+ $ pulumi import newrelic:plugins/applicationSettings:ApplicationSettings main Mzk1NzUyNHQVRJNTxBUE18QVBQTElDc4ODU1MzYx
274
465
  ```
275
466
 
276
467
  :param str resource_name: The name of the resource.
@@ -288,10 +479,17 @@ class ApplicationSettings(pulumi.CustomResource):
288
479
  def _internal_init(__self__,
289
480
  resource_name: str,
290
481
  opts: Optional[pulumi.ResourceOptions] = None,
291
- app_apdex_threshold: Optional[pulumi.Input[float]] = None,
292
- enable_real_user_monitoring: Optional[pulumi.Input[bool]] = None,
293
- end_user_apdex_threshold: Optional[pulumi.Input[float]] = None,
294
- name: Optional[pulumi.Input[str]] = None,
482
+ app_apdex_threshold: Optional[pulumi.Input[_builtins.float]] = None,
483
+ enable_real_user_monitoring: Optional[pulumi.Input[_builtins.bool]] = None,
484
+ enable_slow_sql: Optional[pulumi.Input[_builtins.bool]] = None,
485
+ enable_thread_profiler: Optional[pulumi.Input[_builtins.bool]] = None,
486
+ end_user_apdex_threshold: Optional[pulumi.Input[_builtins.float]] = None,
487
+ error_collectors: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ApplicationSettingsErrorCollectorArgs', 'ApplicationSettingsErrorCollectorArgsDict']]]]] = None,
488
+ guid: Optional[pulumi.Input[_builtins.str]] = None,
489
+ name: Optional[pulumi.Input[_builtins.str]] = None,
490
+ tracer_type: Optional[pulumi.Input[_builtins.str]] = None,
491
+ transaction_tracers: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ApplicationSettingsTransactionTracerArgs', 'ApplicationSettingsTransactionTracerArgsDict']]]]] = None,
492
+ use_server_side_config: Optional[pulumi.Input[_builtins.bool]] = None,
295
493
  __props__=None):
296
494
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
297
495
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -301,16 +499,18 @@ class ApplicationSettings(pulumi.CustomResource):
301
499
  raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
302
500
  __props__ = ApplicationSettingsArgs.__new__(ApplicationSettingsArgs)
303
501
 
304
- if app_apdex_threshold is None and not opts.urn:
305
- raise TypeError("Missing required property 'app_apdex_threshold'")
306
502
  __props__.__dict__["app_apdex_threshold"] = app_apdex_threshold
307
- if enable_real_user_monitoring is None and not opts.urn:
308
- raise TypeError("Missing required property 'enable_real_user_monitoring'")
309
503
  __props__.__dict__["enable_real_user_monitoring"] = enable_real_user_monitoring
310
- if end_user_apdex_threshold is None and not opts.urn:
311
- raise TypeError("Missing required property 'end_user_apdex_threshold'")
504
+ __props__.__dict__["enable_slow_sql"] = enable_slow_sql
505
+ __props__.__dict__["enable_thread_profiler"] = enable_thread_profiler
312
506
  __props__.__dict__["end_user_apdex_threshold"] = end_user_apdex_threshold
507
+ __props__.__dict__["error_collectors"] = error_collectors
508
+ __props__.__dict__["guid"] = guid
313
509
  __props__.__dict__["name"] = name
510
+ __props__.__dict__["tracer_type"] = tracer_type
511
+ __props__.__dict__["transaction_tracers"] = transaction_tracers
512
+ __props__.__dict__["use_server_side_config"] = use_server_side_config
513
+ __props__.__dict__["is_imported"] = None
314
514
  super(ApplicationSettings, __self__).__init__(
315
515
  'newrelic:plugins/applicationSettings:ApplicationSettings',
316
516
  resource_name,
@@ -321,10 +521,18 @@ class ApplicationSettings(pulumi.CustomResource):
321
521
  def get(resource_name: str,
322
522
  id: pulumi.Input[str],
323
523
  opts: Optional[pulumi.ResourceOptions] = None,
324
- app_apdex_threshold: Optional[pulumi.Input[float]] = None,
325
- enable_real_user_monitoring: Optional[pulumi.Input[bool]] = None,
326
- end_user_apdex_threshold: Optional[pulumi.Input[float]] = None,
327
- name: Optional[pulumi.Input[str]] = None) -> 'ApplicationSettings':
524
+ app_apdex_threshold: Optional[pulumi.Input[_builtins.float]] = None,
525
+ enable_real_user_monitoring: Optional[pulumi.Input[_builtins.bool]] = None,
526
+ enable_slow_sql: Optional[pulumi.Input[_builtins.bool]] = None,
527
+ enable_thread_profiler: Optional[pulumi.Input[_builtins.bool]] = None,
528
+ end_user_apdex_threshold: Optional[pulumi.Input[_builtins.float]] = None,
529
+ error_collectors: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ApplicationSettingsErrorCollectorArgs', 'ApplicationSettingsErrorCollectorArgsDict']]]]] = None,
530
+ guid: Optional[pulumi.Input[_builtins.str]] = None,
531
+ is_imported: Optional[pulumi.Input[_builtins.bool]] = None,
532
+ name: Optional[pulumi.Input[_builtins.str]] = None,
533
+ tracer_type: Optional[pulumi.Input[_builtins.str]] = None,
534
+ transaction_tracers: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ApplicationSettingsTransactionTracerArgs', 'ApplicationSettingsTransactionTracerArgsDict']]]]] = None,
535
+ use_server_side_config: Optional[pulumi.Input[_builtins.bool]] = None) -> 'ApplicationSettings':
328
536
  """
329
537
  Get an existing ApplicationSettings resource's state with the given name, id, and optional extra
330
538
  properties used to qualify the lookup.
@@ -332,16 +540,19 @@ class ApplicationSettings(pulumi.CustomResource):
332
540
  :param str resource_name: The unique name of the resulting resource.
333
541
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
334
542
  :param pulumi.ResourceOptions opts: Options for the resource.
335
- :param pulumi.Input[float] app_apdex_threshold: The apdex threshold for the New Relic application.
336
- :param pulumi.Input[bool] enable_real_user_monitoring: Enable or disable real user monitoring for the New Relic application.
543
+ :param pulumi.Input[_builtins.float] app_apdex_threshold: The acceptable response time limit (Apdex threshold) for the application.
544
+ :param pulumi.Input[_builtins.bool] enable_real_user_monitoring: Dummy field to support backward compatibility of previous version.should be removed with next major version.
545
+ :param pulumi.Input[_builtins.bool] enable_slow_sql: Enable or disable the collection of slowest database queries in your traces.
546
+ :param pulumi.Input[_builtins.bool] enable_thread_profiler: Enable or disable the collection of thread profiling data.
547
+ :param pulumi.Input[_builtins.float] end_user_apdex_threshold: Dummy field to support backward compatibility of previous version.should be removed with next major version.
548
+ :param pulumi.Input[Sequence[pulumi.Input[Union['ApplicationSettingsErrorCollectorArgs', 'ApplicationSettingsErrorCollectorArgsDict']]]] error_collectors: Configuration block for error collection. Including this block enables the error collector. The following arguments are supported:
549
+ :param pulumi.Input[_builtins.str] guid: The GUID of the application in New Relic APM.
337
550
 
338
- <!--Start PulumiCodeChooser -->
339
- ```python
340
- import pulumi
341
- ```
342
- <!--End PulumiCodeChooser -->
343
- :param pulumi.Input[float] end_user_apdex_threshold: The user's apdex threshold for the New Relic application.
344
- :param pulumi.Input[str] name: The name of the application in New Relic APM.
551
+ > **NOTE:** While the attribute `guid` is not mandatory at a schema level, it is recommended to use `guid` over `name`, as support for using `name` with this resource shall eventually be discontinued. Please see the note under `name` for more details.
552
+ :param pulumi.Input[_builtins.str] name: The name of the application in New Relic.
553
+ :param pulumi.Input[_builtins.str] tracer_type: Configures the type of tracer used. Valid values are `CROSS_APPLICATION_TRACER`, `DISTRIBUTED_TRACING`, `NONE`, `OPT_OUT`.
554
+ :param pulumi.Input[Sequence[pulumi.Input[Union['ApplicationSettingsTransactionTracerArgs', 'ApplicationSettingsTransactionTracerArgsDict']]]] transaction_tracers: Configuration block for transaction tracer. Providing this block enables transaction tracing. The following arguments are supported:
555
+ :param pulumi.Input[_builtins.bool] use_server_side_config: Enable or disable server side monitoring for the New Relic application.
345
556
  """
346
557
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
347
558
 
@@ -349,45 +560,110 @@ class ApplicationSettings(pulumi.CustomResource):
349
560
 
350
561
  __props__.__dict__["app_apdex_threshold"] = app_apdex_threshold
351
562
  __props__.__dict__["enable_real_user_monitoring"] = enable_real_user_monitoring
563
+ __props__.__dict__["enable_slow_sql"] = enable_slow_sql
564
+ __props__.__dict__["enable_thread_profiler"] = enable_thread_profiler
352
565
  __props__.__dict__["end_user_apdex_threshold"] = end_user_apdex_threshold
566
+ __props__.__dict__["error_collectors"] = error_collectors
567
+ __props__.__dict__["guid"] = guid
568
+ __props__.__dict__["is_imported"] = is_imported
353
569
  __props__.__dict__["name"] = name
570
+ __props__.__dict__["tracer_type"] = tracer_type
571
+ __props__.__dict__["transaction_tracers"] = transaction_tracers
572
+ __props__.__dict__["use_server_side_config"] = use_server_side_config
354
573
  return ApplicationSettings(resource_name, opts=opts, __props__=__props__)
355
574
 
356
- @property
575
+ @_builtins.property
357
576
  @pulumi.getter(name="appApdexThreshold")
358
- def app_apdex_threshold(self) -> pulumi.Output[float]:
577
+ def app_apdex_threshold(self) -> pulumi.Output[Optional[_builtins.float]]:
359
578
  """
360
- The apdex threshold for the New Relic application.
579
+ The acceptable response time limit (Apdex threshold) for the application.
361
580
  """
362
581
  return pulumi.get(self, "app_apdex_threshold")
363
582
 
364
- @property
583
+ @_builtins.property
365
584
  @pulumi.getter(name="enableRealUserMonitoring")
366
- def enable_real_user_monitoring(self) -> pulumi.Output[bool]:
585
+ def enable_real_user_monitoring(self) -> pulumi.Output[Optional[_builtins.bool]]:
367
586
  """
368
- Enable or disable real user monitoring for the New Relic application.
369
-
370
- <!--Start PulumiCodeChooser -->
371
- ```python
372
- import pulumi
373
- ```
374
- <!--End PulumiCodeChooser -->
587
+ Dummy field to support backward compatibility of previous version.should be removed with next major version.
375
588
  """
376
589
  return pulumi.get(self, "enable_real_user_monitoring")
377
590
 
378
- @property
591
+ @_builtins.property
592
+ @pulumi.getter(name="enableSlowSql")
593
+ def enable_slow_sql(self) -> pulumi.Output[Optional[_builtins.bool]]:
594
+ """
595
+ Enable or disable the collection of slowest database queries in your traces.
596
+ """
597
+ return pulumi.get(self, "enable_slow_sql")
598
+
599
+ @_builtins.property
600
+ @pulumi.getter(name="enableThreadProfiler")
601
+ def enable_thread_profiler(self) -> pulumi.Output[Optional[_builtins.bool]]:
602
+ """
603
+ Enable or disable the collection of thread profiling data.
604
+ """
605
+ return pulumi.get(self, "enable_thread_profiler")
606
+
607
+ @_builtins.property
379
608
  @pulumi.getter(name="endUserApdexThreshold")
380
- def end_user_apdex_threshold(self) -> pulumi.Output[float]:
609
+ def end_user_apdex_threshold(self) -> pulumi.Output[Optional[_builtins.float]]:
381
610
  """
382
- The user's apdex threshold for the New Relic application.
611
+ Dummy field to support backward compatibility of previous version.should be removed with next major version.
383
612
  """
384
613
  return pulumi.get(self, "end_user_apdex_threshold")
385
614
 
386
- @property
615
+ @_builtins.property
616
+ @pulumi.getter(name="errorCollectors")
617
+ def error_collectors(self) -> pulumi.Output[Optional[Sequence['outputs.ApplicationSettingsErrorCollector']]]:
618
+ """
619
+ Configuration block for error collection. Including this block enables the error collector. The following arguments are supported:
620
+ """
621
+ return pulumi.get(self, "error_collectors")
622
+
623
+ @_builtins.property
387
624
  @pulumi.getter
388
- def name(self) -> pulumi.Output[str]:
625
+ def guid(self) -> pulumi.Output[_builtins.str]:
389
626
  """
390
- The name of the application in New Relic APM.
627
+ The GUID of the application in New Relic APM.
628
+
629
+ > **NOTE:** While the attribute `guid` is not mandatory at a schema level, it is recommended to use `guid` over `name`, as support for using `name` with this resource shall eventually be discontinued. Please see the note under `name` for more details.
630
+ """
631
+ return pulumi.get(self, "guid")
632
+
633
+ @_builtins.property
634
+ @pulumi.getter(name="isImported")
635
+ def is_imported(self) -> pulumi.Output[_builtins.bool]:
636
+ return pulumi.get(self, "is_imported")
637
+
638
+ @_builtins.property
639
+ @pulumi.getter
640
+ def name(self) -> pulumi.Output[_builtins.str]:
641
+ """
642
+ The name of the application in New Relic.
391
643
  """
392
644
  return pulumi.get(self, "name")
393
645
 
646
+ @_builtins.property
647
+ @pulumi.getter(name="tracerType")
648
+ def tracer_type(self) -> pulumi.Output[Optional[_builtins.str]]:
649
+ """
650
+ Configures the type of tracer used. Valid values are `CROSS_APPLICATION_TRACER`, `DISTRIBUTED_TRACING`, `NONE`, `OPT_OUT`.
651
+ """
652
+ return pulumi.get(self, "tracer_type")
653
+
654
+ @_builtins.property
655
+ @pulumi.getter(name="transactionTracers")
656
+ def transaction_tracers(self) -> pulumi.Output[Optional[Sequence['outputs.ApplicationSettingsTransactionTracer']]]:
657
+ """
658
+ Configuration block for transaction tracer. Providing this block enables transaction tracing. The following arguments are supported:
659
+ """
660
+ return pulumi.get(self, "transaction_tracers")
661
+
662
+ @_builtins.property
663
+ @pulumi.getter(name="useServerSideConfig")
664
+ def use_server_side_config(self) -> pulumi.Output[Optional[_builtins.bool]]:
665
+ """
666
+ Enable or disable server side monitoring for the New Relic application.
667
+ """
668
+ return pulumi.get(self, "use_server_side_config")
669
+