pulumi-newrelic 5.16.0a1698964311__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.
- pulumi_newrelic/__init__.py +58 -1
- pulumi_newrelic/_inputs.py +10772 -2775
- pulumi_newrelic/_utilities.py +92 -11
- pulumi_newrelic/account_management.py +56 -42
- pulumi_newrelic/alert_channel.py +177 -151
- pulumi_newrelic/alert_condition.py +313 -301
- pulumi_newrelic/alert_muting_rule.py +195 -138
- pulumi_newrelic/alert_policy.py +157 -109
- pulumi_newrelic/alert_policy_channel.py +95 -81
- pulumi_newrelic/api_access_key.py +191 -209
- pulumi_newrelic/browser_application.py +161 -153
- pulumi_newrelic/cloud/__init__.py +3 -1
- pulumi_newrelic/cloud/_inputs.py +4267 -2710
- pulumi_newrelic/cloud/aws_govcloud_integrations.py +238 -200
- pulumi_newrelic/cloud/aws_govcloud_link_account.py +159 -212
- pulumi_newrelic/cloud/aws_integrations.py +518 -1490
- pulumi_newrelic/cloud/aws_link_account.py +88 -76
- pulumi_newrelic/cloud/azure_integrations.py +681 -587
- pulumi_newrelic/cloud/azure_link_account.py +129 -117
- pulumi_newrelic/cloud/gcp_integrations.py +436 -408
- pulumi_newrelic/cloud/gcp_link_account.py +71 -59
- pulumi_newrelic/cloud/oci_link_account.py +926 -0
- pulumi_newrelic/cloud/outputs.py +1678 -2317
- pulumi_newrelic/config/__init__.py +2 -1
- pulumi_newrelic/config/__init__.pyi +45 -0
- pulumi_newrelic/config/vars.py +22 -17
- pulumi_newrelic/data_partition_rule.py +129 -117
- pulumi_newrelic/entity_tags.py +153 -31
- pulumi_newrelic/events_to_metrics_rule.py +114 -102
- pulumi_newrelic/get_account.py +41 -29
- pulumi_newrelic/get_alert_channel.py +73 -28
- pulumi_newrelic/get_alert_policy.py +83 -34
- pulumi_newrelic/get_application.py +51 -39
- pulumi_newrelic/get_authentication_domain.py +111 -0
- pulumi_newrelic/get_cloud_account.py +43 -31
- pulumi_newrelic/get_entity.py +126 -121
- pulumi_newrelic/get_group.py +190 -0
- pulumi_newrelic/get_key_transaction.py +117 -38
- pulumi_newrelic/get_notification_destination.py +86 -36
- pulumi_newrelic/get_obfuscation_expression.py +47 -35
- pulumi_newrelic/get_service_level_alert_helper.py +237 -137
- pulumi_newrelic/get_test_grok_pattern.py +47 -32
- pulumi_newrelic/get_user.py +165 -0
- pulumi_newrelic/group.py +286 -0
- pulumi_newrelic/infra_alert_condition.py +400 -382
- pulumi_newrelic/insights/__init__.py +2 -1
- pulumi_newrelic/insights/_inputs.py +94 -23
- pulumi_newrelic/insights/event.py +56 -48
- pulumi_newrelic/insights/outputs.py +51 -18
- pulumi_newrelic/key_transaction.py +465 -0
- pulumi_newrelic/log_parsing_rule.py +169 -153
- pulumi_newrelic/monitor_downtime.py +914 -0
- pulumi_newrelic/notification_channel.py +560 -418
- pulumi_newrelic/notification_destination.py +379 -124
- pulumi_newrelic/nrql_alert_condition.py +945 -513
- pulumi_newrelic/nrql_drop_rule.py +121 -129
- pulumi_newrelic/obfuscation_expression.py +88 -76
- pulumi_newrelic/obfuscation_rule.py +123 -109
- pulumi_newrelic/one_dashboard.py +118 -108
- pulumi_newrelic/one_dashboard_json.py +77 -67
- pulumi_newrelic/one_dashboard_raw.py +214 -202
- pulumi_newrelic/outputs.py +5491 -2141
- pulumi_newrelic/pipeline_cloud_rule.py +335 -0
- pulumi_newrelic/plugins/__init__.py +2 -1
- pulumi_newrelic/plugins/_inputs.py +520 -90
- pulumi_newrelic/plugins/application_settings.py +463 -167
- pulumi_newrelic/plugins/outputs.py +337 -75
- pulumi_newrelic/plugins/workload.py +387 -151
- pulumi_newrelic/provider.py +156 -142
- pulumi_newrelic/pulumi-plugin.json +2 -1
- pulumi_newrelic/service_level.py +277 -255
- pulumi_newrelic/synthetics/__init__.py +2 -1
- pulumi_newrelic/synthetics/_inputs.py +275 -106
- pulumi_newrelic/synthetics/alert_condition.py +174 -160
- pulumi_newrelic/synthetics/broken_links_monitor.py +367 -207
- pulumi_newrelic/synthetics/cert_check_monitor.py +380 -218
- pulumi_newrelic/synthetics/get_private_location.py +51 -39
- pulumi_newrelic/synthetics/get_secure_credential.py +39 -27
- pulumi_newrelic/synthetics/monitor.py +668 -462
- pulumi_newrelic/synthetics/multi_location_alert_condition.py +219 -201
- pulumi_newrelic/synthetics/outputs.py +102 -85
- pulumi_newrelic/synthetics/private_location.py +120 -110
- pulumi_newrelic/synthetics/script_monitor.py +623 -375
- pulumi_newrelic/synthetics/secure_credential.py +99 -93
- pulumi_newrelic/synthetics/step_monitor.py +545 -201
- pulumi_newrelic/user.py +366 -0
- pulumi_newrelic/workflow.py +348 -312
- {pulumi_newrelic-5.16.0a1698964311.dist-info → pulumi_newrelic-5.58.0a1763707205.dist-info}/METADATA +8 -7
- pulumi_newrelic-5.58.0a1763707205.dist-info/RECORD +92 -0
- {pulumi_newrelic-5.16.0a1698964311.dist-info → pulumi_newrelic-5.58.0a1763707205.dist-info}/WHEEL +1 -1
- pulumi_newrelic-5.16.0a1698964311.dist-info/RECORD +0 -82
- {pulumi_newrelic-5.16.0a1698964311.dist-info → pulumi_newrelic-5.58.0a1763707205.dist-info}/top_level.txt +0 -0
|
@@ -1,260 +1,467 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by
|
|
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
|
|
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
|
-
|
|
20
|
-
|
|
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
|
|
24
|
-
:param pulumi.Input[bool] enable_real_user_monitoring:
|
|
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
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
:param pulumi.Input[
|
|
30
|
-
:param pulumi.Input[
|
|
31
|
-
"""
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
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)
|
|
35
65
|
if name is not None:
|
|
36
66
|
pulumi.set(__self__, "name", name)
|
|
37
|
-
|
|
38
|
-
|
|
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
|
|
39
75
|
@pulumi.getter(name="appApdexThreshold")
|
|
40
|
-
def app_apdex_threshold(self) -> pulumi.Input[float]:
|
|
76
|
+
def app_apdex_threshold(self) -> Optional[pulumi.Input[_builtins.float]]:
|
|
41
77
|
"""
|
|
42
|
-
The
|
|
78
|
+
The acceptable response time limit (Apdex threshold) for the application.
|
|
43
79
|
"""
|
|
44
80
|
return pulumi.get(self, "app_apdex_threshold")
|
|
45
81
|
|
|
46
82
|
@app_apdex_threshold.setter
|
|
47
|
-
def app_apdex_threshold(self, value: pulumi.Input[float]):
|
|
83
|
+
def app_apdex_threshold(self, value: Optional[pulumi.Input[_builtins.float]]):
|
|
48
84
|
pulumi.set(self, "app_apdex_threshold", value)
|
|
49
85
|
|
|
50
|
-
@property
|
|
86
|
+
@_builtins.property
|
|
51
87
|
@pulumi.getter(name="enableRealUserMonitoring")
|
|
52
|
-
def enable_real_user_monitoring(self) -> pulumi.Input[bool]:
|
|
88
|
+
def enable_real_user_monitoring(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
53
89
|
"""
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
```python
|
|
57
|
-
import pulumi
|
|
58
|
-
```
|
|
90
|
+
Dummy field to support backward compatibility of previous version.should be removed with next major version.
|
|
59
91
|
"""
|
|
60
92
|
return pulumi.get(self, "enable_real_user_monitoring")
|
|
61
93
|
|
|
62
94
|
@enable_real_user_monitoring.setter
|
|
63
|
-
def enable_real_user_monitoring(self, value: pulumi.Input[bool]):
|
|
95
|
+
def enable_real_user_monitoring(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
64
96
|
pulumi.set(self, "enable_real_user_monitoring", value)
|
|
65
97
|
|
|
66
|
-
@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
|
|
67
123
|
@pulumi.getter(name="endUserApdexThreshold")
|
|
68
|
-
def end_user_apdex_threshold(self) -> pulumi.Input[float]:
|
|
124
|
+
def end_user_apdex_threshold(self) -> Optional[pulumi.Input[_builtins.float]]:
|
|
69
125
|
"""
|
|
70
|
-
|
|
126
|
+
Dummy field to support backward compatibility of previous version.should be removed with next major version.
|
|
71
127
|
"""
|
|
72
128
|
return pulumi.get(self, "end_user_apdex_threshold")
|
|
73
129
|
|
|
74
130
|
@end_user_apdex_threshold.setter
|
|
75
|
-
def end_user_apdex_threshold(self, value: pulumi.Input[float]):
|
|
131
|
+
def end_user_apdex_threshold(self, value: Optional[pulumi.Input[_builtins.float]]):
|
|
76
132
|
pulumi.set(self, "end_user_apdex_threshold", value)
|
|
77
133
|
|
|
78
|
-
@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
|
|
79
147
|
@pulumi.getter
|
|
80
|
-
def
|
|
148
|
+
def guid(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
81
149
|
"""
|
|
82
|
-
The
|
|
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.
|
|
83
165
|
"""
|
|
84
166
|
return pulumi.get(self, "name")
|
|
85
167
|
|
|
86
168
|
@name.setter
|
|
87
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
169
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
88
170
|
pulumi.set(self, "name", value)
|
|
89
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
|
+
|
|
90
208
|
|
|
91
209
|
@pulumi.input_type
|
|
92
210
|
class _ApplicationSettingsState:
|
|
93
211
|
def __init__(__self__, *,
|
|
94
|
-
app_apdex_threshold: Optional[pulumi.Input[float]] = None,
|
|
95
|
-
enable_real_user_monitoring: Optional[pulumi.Input[bool]] = None,
|
|
96
|
-
|
|
97
|
-
|
|
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):
|
|
98
224
|
"""
|
|
99
225
|
Input properties used for looking up and filtering ApplicationSettings resources.
|
|
100
|
-
:param pulumi.Input[float] app_apdex_threshold: The
|
|
101
|
-
:param pulumi.Input[bool] enable_real_user_monitoring:
|
|
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.
|
|
102
233
|
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
:param pulumi.Input[
|
|
107
|
-
:param pulumi.Input[
|
|
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.
|
|
108
239
|
"""
|
|
109
240
|
if app_apdex_threshold is not None:
|
|
110
241
|
pulumi.set(__self__, "app_apdex_threshold", app_apdex_threshold)
|
|
111
242
|
if enable_real_user_monitoring is not None:
|
|
112
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)
|
|
113
248
|
if end_user_apdex_threshold is not None:
|
|
114
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)
|
|
115
256
|
if name is not None:
|
|
116
257
|
pulumi.set(__self__, "name", name)
|
|
117
|
-
|
|
118
|
-
|
|
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
|
|
119
266
|
@pulumi.getter(name="appApdexThreshold")
|
|
120
|
-
def app_apdex_threshold(self) -> Optional[pulumi.Input[float]]:
|
|
267
|
+
def app_apdex_threshold(self) -> Optional[pulumi.Input[_builtins.float]]:
|
|
121
268
|
"""
|
|
122
|
-
The
|
|
269
|
+
The acceptable response time limit (Apdex threshold) for the application.
|
|
123
270
|
"""
|
|
124
271
|
return pulumi.get(self, "app_apdex_threshold")
|
|
125
272
|
|
|
126
273
|
@app_apdex_threshold.setter
|
|
127
|
-
def app_apdex_threshold(self, value: Optional[pulumi.Input[float]]):
|
|
274
|
+
def app_apdex_threshold(self, value: Optional[pulumi.Input[_builtins.float]]):
|
|
128
275
|
pulumi.set(self, "app_apdex_threshold", value)
|
|
129
276
|
|
|
130
|
-
@property
|
|
277
|
+
@_builtins.property
|
|
131
278
|
@pulumi.getter(name="enableRealUserMonitoring")
|
|
132
|
-
def enable_real_user_monitoring(self) -> Optional[pulumi.Input[bool]]:
|
|
279
|
+
def enable_real_user_monitoring(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
133
280
|
"""
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
```python
|
|
137
|
-
import pulumi
|
|
138
|
-
```
|
|
281
|
+
Dummy field to support backward compatibility of previous version.should be removed with next major version.
|
|
139
282
|
"""
|
|
140
283
|
return pulumi.get(self, "enable_real_user_monitoring")
|
|
141
284
|
|
|
142
285
|
@enable_real_user_monitoring.setter
|
|
143
|
-
def enable_real_user_monitoring(self, value: Optional[pulumi.Input[bool]]):
|
|
286
|
+
def enable_real_user_monitoring(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
144
287
|
pulumi.set(self, "enable_real_user_monitoring", value)
|
|
145
288
|
|
|
146
|
-
@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
|
|
147
314
|
@pulumi.getter(name="endUserApdexThreshold")
|
|
148
|
-
def end_user_apdex_threshold(self) -> Optional[pulumi.Input[float]]:
|
|
315
|
+
def end_user_apdex_threshold(self) -> Optional[pulumi.Input[_builtins.float]]:
|
|
149
316
|
"""
|
|
150
|
-
|
|
317
|
+
Dummy field to support backward compatibility of previous version.should be removed with next major version.
|
|
151
318
|
"""
|
|
152
319
|
return pulumi.get(self, "end_user_apdex_threshold")
|
|
153
320
|
|
|
154
321
|
@end_user_apdex_threshold.setter
|
|
155
|
-
def end_user_apdex_threshold(self, value: Optional[pulumi.Input[float]]):
|
|
322
|
+
def end_user_apdex_threshold(self, value: Optional[pulumi.Input[_builtins.float]]):
|
|
156
323
|
pulumi.set(self, "end_user_apdex_threshold", value)
|
|
157
324
|
|
|
158
|
-
@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
|
|
159
338
|
@pulumi.getter
|
|
160
|
-
def
|
|
339
|
+
def guid(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
161
340
|
"""
|
|
162
|
-
The
|
|
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.
|
|
163
365
|
"""
|
|
164
366
|
return pulumi.get(self, "name")
|
|
165
367
|
|
|
166
368
|
@name.setter
|
|
167
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
369
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
168
370
|
pulumi.set(self, "name", value)
|
|
169
371
|
|
|
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`.
|
|
377
|
+
"""
|
|
378
|
+
return pulumi.get(self, "tracer_type")
|
|
379
|
+
|
|
380
|
+
@tracer_type.setter
|
|
381
|
+
def tracer_type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
382
|
+
pulumi.set(self, "tracer_type", value)
|
|
383
|
+
|
|
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")
|
|
391
|
+
|
|
392
|
+
@transaction_tracers.setter
|
|
393
|
+
def transaction_tracers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ApplicationSettingsTransactionTracerArgs']]]]):
|
|
394
|
+
pulumi.set(self, "transaction_tracers", value)
|
|
395
|
+
|
|
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")
|
|
170
403
|
|
|
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)
|
|
407
|
+
|
|
408
|
+
|
|
409
|
+
@pulumi.type_token("newrelic:plugins/applicationSettings:ApplicationSettings")
|
|
171
410
|
class ApplicationSettings(pulumi.CustomResource):
|
|
172
411
|
@overload
|
|
173
412
|
def __init__(__self__,
|
|
174
413
|
resource_name: str,
|
|
175
414
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
176
|
-
app_apdex_threshold: Optional[pulumi.Input[float]] = None,
|
|
177
|
-
enable_real_user_monitoring: Optional[pulumi.Input[bool]] = None,
|
|
178
|
-
|
|
179
|
-
|
|
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,
|
|
180
426
|
__props__=None):
|
|
181
427
|
"""
|
|
182
|
-
> **NOTE:** Applications are not created by this resource, but are created by
|
|
183
|
-
a reporting agent.
|
|
184
|
-
|
|
185
|
-
Use this resource to manage configuration for an application that already
|
|
186
|
-
exists in New Relic.
|
|
187
|
-
|
|
188
|
-
## Example Usage
|
|
189
|
-
|
|
190
|
-
```python
|
|
191
|
-
import pulumi
|
|
192
|
-
import pulumi_newrelic as newrelic
|
|
193
|
-
|
|
194
|
-
app = newrelic.plugins.ApplicationSettings("app",
|
|
195
|
-
app_apdex_threshold=0.7,
|
|
196
|
-
enable_real_user_monitoring=False,
|
|
197
|
-
end_user_apdex_threshold=0.8)
|
|
198
|
-
```
|
|
199
|
-
## Notes
|
|
200
|
-
|
|
201
|
-
> **NOTE:** Applications that have reported data in the last twelve hours
|
|
202
|
-
cannot be deleted.
|
|
203
|
-
|
|
204
428
|
## Import
|
|
205
429
|
|
|
206
|
-
Applications can be imported using notation `
|
|
430
|
+
Applications can be imported using notation `application_guid`, e.g.
|
|
207
431
|
|
|
208
432
|
```sh
|
|
209
|
-
|
|
433
|
+
$ pulumi import newrelic:plugins/applicationSettings:ApplicationSettings main Mzk1NzUyNHQVRJNTxBUE18QVBQTElDc4ODU1MzYx
|
|
210
434
|
```
|
|
211
435
|
|
|
212
436
|
:param str resource_name: The name of the resource.
|
|
213
437
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
214
|
-
:param pulumi.Input[float] app_apdex_threshold: The
|
|
215
|
-
:param pulumi.Input[bool] enable_real_user_monitoring:
|
|
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.
|
|
216
445
|
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
:param pulumi.Input[
|
|
221
|
-
:param pulumi.Input[
|
|
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.
|
|
222
451
|
"""
|
|
223
452
|
...
|
|
224
453
|
@overload
|
|
225
454
|
def __init__(__self__,
|
|
226
455
|
resource_name: str,
|
|
227
|
-
args: ApplicationSettingsArgs,
|
|
456
|
+
args: Optional[ApplicationSettingsArgs] = None,
|
|
228
457
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
229
458
|
"""
|
|
230
|
-
> **NOTE:** Applications are not created by this resource, but are created by
|
|
231
|
-
a reporting agent.
|
|
232
|
-
|
|
233
|
-
Use this resource to manage configuration for an application that already
|
|
234
|
-
exists in New Relic.
|
|
235
|
-
|
|
236
|
-
## Example Usage
|
|
237
|
-
|
|
238
|
-
```python
|
|
239
|
-
import pulumi
|
|
240
|
-
import pulumi_newrelic as newrelic
|
|
241
|
-
|
|
242
|
-
app = newrelic.plugins.ApplicationSettings("app",
|
|
243
|
-
app_apdex_threshold=0.7,
|
|
244
|
-
enable_real_user_monitoring=False,
|
|
245
|
-
end_user_apdex_threshold=0.8)
|
|
246
|
-
```
|
|
247
|
-
## Notes
|
|
248
|
-
|
|
249
|
-
> **NOTE:** Applications that have reported data in the last twelve hours
|
|
250
|
-
cannot be deleted.
|
|
251
|
-
|
|
252
459
|
## Import
|
|
253
460
|
|
|
254
|
-
Applications can be imported using notation `
|
|
461
|
+
Applications can be imported using notation `application_guid`, e.g.
|
|
255
462
|
|
|
256
463
|
```sh
|
|
257
|
-
|
|
464
|
+
$ pulumi import newrelic:plugins/applicationSettings:ApplicationSettings main Mzk1NzUyNHQVRJNTxBUE18QVBQTElDc4ODU1MzYx
|
|
258
465
|
```
|
|
259
466
|
|
|
260
467
|
:param str resource_name: The name of the resource.
|
|
@@ -272,10 +479,17 @@ class ApplicationSettings(pulumi.CustomResource):
|
|
|
272
479
|
def _internal_init(__self__,
|
|
273
480
|
resource_name: str,
|
|
274
481
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
275
|
-
app_apdex_threshold: Optional[pulumi.Input[float]] = None,
|
|
276
|
-
enable_real_user_monitoring: Optional[pulumi.Input[bool]] = None,
|
|
277
|
-
|
|
278
|
-
|
|
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,
|
|
279
493
|
__props__=None):
|
|
280
494
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
281
495
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -285,16 +499,18 @@ class ApplicationSettings(pulumi.CustomResource):
|
|
|
285
499
|
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
286
500
|
__props__ = ApplicationSettingsArgs.__new__(ApplicationSettingsArgs)
|
|
287
501
|
|
|
288
|
-
if app_apdex_threshold is None and not opts.urn:
|
|
289
|
-
raise TypeError("Missing required property 'app_apdex_threshold'")
|
|
290
502
|
__props__.__dict__["app_apdex_threshold"] = app_apdex_threshold
|
|
291
|
-
if enable_real_user_monitoring is None and not opts.urn:
|
|
292
|
-
raise TypeError("Missing required property 'enable_real_user_monitoring'")
|
|
293
503
|
__props__.__dict__["enable_real_user_monitoring"] = enable_real_user_monitoring
|
|
294
|
-
|
|
295
|
-
|
|
504
|
+
__props__.__dict__["enable_slow_sql"] = enable_slow_sql
|
|
505
|
+
__props__.__dict__["enable_thread_profiler"] = enable_thread_profiler
|
|
296
506
|
__props__.__dict__["end_user_apdex_threshold"] = end_user_apdex_threshold
|
|
507
|
+
__props__.__dict__["error_collectors"] = error_collectors
|
|
508
|
+
__props__.__dict__["guid"] = guid
|
|
297
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
|
|
298
514
|
super(ApplicationSettings, __self__).__init__(
|
|
299
515
|
'newrelic:plugins/applicationSettings:ApplicationSettings',
|
|
300
516
|
resource_name,
|
|
@@ -305,10 +521,18 @@ class ApplicationSettings(pulumi.CustomResource):
|
|
|
305
521
|
def get(resource_name: str,
|
|
306
522
|
id: pulumi.Input[str],
|
|
307
523
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
308
|
-
app_apdex_threshold: Optional[pulumi.Input[float]] = None,
|
|
309
|
-
enable_real_user_monitoring: Optional[pulumi.Input[bool]] = None,
|
|
310
|
-
|
|
311
|
-
|
|
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':
|
|
312
536
|
"""
|
|
313
537
|
Get an existing ApplicationSettings resource's state with the given name, id, and optional extra
|
|
314
538
|
properties used to qualify the lookup.
|
|
@@ -316,14 +540,19 @@ class ApplicationSettings(pulumi.CustomResource):
|
|
|
316
540
|
:param str resource_name: The unique name of the resulting resource.
|
|
317
541
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
318
542
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
319
|
-
:param pulumi.Input[float] app_apdex_threshold: The
|
|
320
|
-
:param pulumi.Input[bool] enable_real_user_monitoring:
|
|
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.
|
|
321
550
|
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
:param pulumi.Input[
|
|
326
|
-
:param pulumi.Input[
|
|
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.
|
|
327
556
|
"""
|
|
328
557
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
329
558
|
|
|
@@ -331,43 +560,110 @@ class ApplicationSettings(pulumi.CustomResource):
|
|
|
331
560
|
|
|
332
561
|
__props__.__dict__["app_apdex_threshold"] = app_apdex_threshold
|
|
333
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
|
|
334
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
|
|
335
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
|
|
336
573
|
return ApplicationSettings(resource_name, opts=opts, __props__=__props__)
|
|
337
574
|
|
|
338
|
-
@property
|
|
575
|
+
@_builtins.property
|
|
339
576
|
@pulumi.getter(name="appApdexThreshold")
|
|
340
|
-
def app_apdex_threshold(self) -> pulumi.Output[float]:
|
|
577
|
+
def app_apdex_threshold(self) -> pulumi.Output[Optional[_builtins.float]]:
|
|
341
578
|
"""
|
|
342
|
-
The
|
|
579
|
+
The acceptable response time limit (Apdex threshold) for the application.
|
|
343
580
|
"""
|
|
344
581
|
return pulumi.get(self, "app_apdex_threshold")
|
|
345
582
|
|
|
346
|
-
@property
|
|
583
|
+
@_builtins.property
|
|
347
584
|
@pulumi.getter(name="enableRealUserMonitoring")
|
|
348
|
-
def enable_real_user_monitoring(self) -> pulumi.Output[bool]:
|
|
585
|
+
def enable_real_user_monitoring(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
|
349
586
|
"""
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
```python
|
|
353
|
-
import pulumi
|
|
354
|
-
```
|
|
587
|
+
Dummy field to support backward compatibility of previous version.should be removed with next major version.
|
|
355
588
|
"""
|
|
356
589
|
return pulumi.get(self, "enable_real_user_monitoring")
|
|
357
590
|
|
|
358
|
-
@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
|
|
359
608
|
@pulumi.getter(name="endUserApdexThreshold")
|
|
360
|
-
def end_user_apdex_threshold(self) -> pulumi.Output[float]:
|
|
609
|
+
def end_user_apdex_threshold(self) -> pulumi.Output[Optional[_builtins.float]]:
|
|
361
610
|
"""
|
|
362
|
-
|
|
611
|
+
Dummy field to support backward compatibility of previous version.should be removed with next major version.
|
|
363
612
|
"""
|
|
364
613
|
return pulumi.get(self, "end_user_apdex_threshold")
|
|
365
614
|
|
|
366
|
-
@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
|
|
624
|
+
@pulumi.getter
|
|
625
|
+
def guid(self) -> pulumi.Output[_builtins.str]:
|
|
626
|
+
"""
|
|
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
|
|
367
639
|
@pulumi.getter
|
|
368
|
-
def name(self) -> pulumi.Output[str]:
|
|
640
|
+
def name(self) -> pulumi.Output[_builtins.str]:
|
|
369
641
|
"""
|
|
370
|
-
The name of the application in New Relic
|
|
642
|
+
The name of the application in New Relic.
|
|
371
643
|
"""
|
|
372
644
|
return pulumi.get(self, "name")
|
|
373
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
|
+
|