pulumi-newrelic 5.20.0a1709643785__py3-none-any.whl → 5.39.0a1736834464__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- pulumi_newrelic/__init__.py +9 -0
- pulumi_newrelic/_inputs.py +7153 -461
- pulumi_newrelic/_utilities.py +41 -5
- pulumi_newrelic/account_management.py +13 -4
- pulumi_newrelic/alert_channel.py +122 -101
- pulumi_newrelic/alert_condition.py +120 -109
- pulumi_newrelic/alert_muting_rule.py +130 -74
- pulumi_newrelic/alert_policy.py +88 -67
- pulumi_newrelic/alert_policy_channel.py +81 -68
- pulumi_newrelic/api_access_key.py +49 -52
- pulumi_newrelic/browser_application.py +79 -76
- pulumi_newrelic/cloud/_inputs.py +2527 -1082
- pulumi_newrelic/cloud/aws_govcloud_integrations.py +135 -130
- pulumi_newrelic/cloud/aws_govcloud_link_account.py +25 -18
- pulumi_newrelic/cloud/aws_integrations.py +300 -1324
- pulumi_newrelic/cloud/aws_link_account.py +25 -18
- pulumi_newrelic/cloud/azure_integrations.py +523 -481
- pulumi_newrelic/cloud/azure_link_account.py +36 -29
- pulumi_newrelic/cloud/gcp_integrations.py +343 -320
- pulumi_newrelic/cloud/gcp_link_account.py +25 -18
- pulumi_newrelic/cloud/outputs.py +327 -1072
- pulumi_newrelic/config/__init__.pyi +6 -1
- pulumi_newrelic/config/vars.py +7 -2
- pulumi_newrelic/data_partition_rule.py +23 -16
- pulumi_newrelic/entity_tags.py +36 -31
- pulumi_newrelic/events_to_metrics_rule.py +27 -20
- pulumi_newrelic/get_account.py +24 -12
- pulumi_newrelic/get_alert_channel.py +26 -13
- pulumi_newrelic/get_alert_policy.py +35 -12
- pulumi_newrelic/get_application.py +39 -27
- pulumi_newrelic/get_authentication_domain.py +17 -9
- pulumi_newrelic/get_cloud_account.py +26 -14
- pulumi_newrelic/get_entity.py +90 -85
- pulumi_newrelic/get_group.py +58 -9
- pulumi_newrelic/get_key_transaction.py +109 -30
- pulumi_newrelic/get_notification_destination.py +64 -14
- pulumi_newrelic/get_obfuscation_expression.py +36 -24
- pulumi_newrelic/get_service_level_alert_helper.py +135 -105
- pulumi_newrelic/get_test_grok_pattern.py +29 -14
- pulumi_newrelic/get_user.py +17 -5
- pulumi_newrelic/group.py +5 -132
- pulumi_newrelic/infra_alert_condition.py +157 -140
- pulumi_newrelic/insights/_inputs.py +43 -0
- pulumi_newrelic/insights/event.py +50 -43
- pulumi_newrelic/insights/outputs.py +5 -0
- pulumi_newrelic/key_transaction.py +464 -0
- pulumi_newrelic/log_parsing_rule.py +29 -18
- pulumi_newrelic/monitor_downtime.py +215 -203
- pulumi_newrelic/notification_channel.py +387 -326
- pulumi_newrelic/notification_destination.py +248 -118
- pulumi_newrelic/nrql_alert_condition.py +353 -246
- pulumi_newrelic/nrql_drop_rule.py +57 -30
- pulumi_newrelic/obfuscation_expression.py +25 -18
- pulumi_newrelic/obfuscation_rule.py +40 -31
- pulumi_newrelic/one_dashboard.py +31 -26
- pulumi_newrelic/one_dashboard_json.py +21 -16
- pulumi_newrelic/one_dashboard_raw.py +112 -101
- pulumi_newrelic/outputs.py +2446 -245
- pulumi_newrelic/plugins/_inputs.py +145 -10
- pulumi_newrelic/plugins/application_settings.py +29 -20
- pulumi_newrelic/plugins/outputs.py +15 -10
- pulumi_newrelic/plugins/workload.py +285 -54
- pulumi_newrelic/provider.py +27 -33
- pulumi_newrelic/pulumi-plugin.json +2 -1
- pulumi_newrelic/service_level.py +193 -180
- pulumi_newrelic/synthetics/_inputs.py +159 -2
- pulumi_newrelic/synthetics/alert_condition.py +91 -78
- pulumi_newrelic/synthetics/broken_links_monitor.py +220 -93
- pulumi_newrelic/synthetics/cert_check_monitor.py +223 -94
- pulumi_newrelic/synthetics/get_private_location.py +34 -22
- pulumi_newrelic/synthetics/get_secure_credential.py +24 -12
- pulumi_newrelic/synthetics/monitor.py +352 -179
- pulumi_newrelic/synthetics/multi_location_alert_condition.py +109 -96
- pulumi_newrelic/synthetics/outputs.py +7 -2
- pulumi_newrelic/synthetics/private_location.py +27 -18
- pulumi_newrelic/synthetics/script_monitor.py +321 -168
- pulumi_newrelic/synthetics/secure_credential.py +25 -20
- pulumi_newrelic/synthetics/step_monitor.py +409 -98
- pulumi_newrelic/user.py +13 -6
- pulumi_newrelic/workflow.py +215 -184
- {pulumi_newrelic-5.20.0a1709643785.dist-info → pulumi_newrelic-5.39.0a1736834464.dist-info}/METADATA +7 -6
- pulumi_newrelic-5.39.0a1736834464.dist-info/RECORD +90 -0
- {pulumi_newrelic-5.20.0a1709643785.dist-info → pulumi_newrelic-5.39.0a1736834464.dist-info}/WHEEL +1 -1
- pulumi_newrelic-5.20.0a1709643785.dist-info/RECORD +0 -89
- {pulumi_newrelic-5.20.0a1709643785.dist-info → pulumi_newrelic-5.39.0a1736834464.dist-info}/top_level.txt +0 -0
@@ -4,9 +4,14 @@
|
|
4
4
|
|
5
5
|
import copy
|
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
|
11
16
|
|
12
17
|
__all__ = ['BrowserApplicationArgs', 'BrowserApplication']
|
@@ -14,17 +19,17 @@ __all__ = ['BrowserApplicationArgs', 'BrowserApplication']
|
|
14
19
|
@pulumi.input_type
|
15
20
|
class BrowserApplicationArgs:
|
16
21
|
def __init__(__self__, *,
|
17
|
-
account_id: Optional[pulumi.Input[
|
22
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
18
23
|
cookies_enabled: Optional[pulumi.Input[bool]] = None,
|
19
24
|
distributed_tracing_enabled: Optional[pulumi.Input[bool]] = None,
|
20
25
|
loader_type: Optional[pulumi.Input[str]] = None,
|
21
26
|
name: Optional[pulumi.Input[str]] = None):
|
22
27
|
"""
|
23
28
|
The set of arguments for constructing a BrowserApplication resource.
|
24
|
-
:param pulumi.Input[
|
25
|
-
:param pulumi.Input[bool] cookies_enabled:
|
26
|
-
:param pulumi.Input[bool] distributed_tracing_enabled:
|
27
|
-
:param pulumi.Input[str] loader_type: Determines
|
29
|
+
:param pulumi.Input[str] account_id: The account ID of the New Relic account you wish to create the browser application in. Defaults to the value of the environment variable `NEW_RELIC_ACCOUNT_ID` if not specified.
|
30
|
+
:param pulumi.Input[bool] cookies_enabled: Configures cookies. Defaults to `true`, if not specified.
|
31
|
+
:param pulumi.Input[bool] distributed_tracing_enabled: Configures distributed tracing in browser apps. Defaults to `true`, if not specified.
|
32
|
+
:param pulumi.Input[str] loader_type: Determines the browser loader configured. Valid values are `SPA`, `PRO`, and `LITE`. The default is `SPA`. Refer to the [browser agent loader documentation](https://docs.newrelic.com/docs/browser/browser-monitoring/installation/install-browser-monitoring-agent/#agent-types) for more information on valid loader types.
|
28
33
|
:param pulumi.Input[str] name: The name of the browser application.
|
29
34
|
"""
|
30
35
|
if account_id is not None:
|
@@ -40,21 +45,21 @@ class BrowserApplicationArgs:
|
|
40
45
|
|
41
46
|
@property
|
42
47
|
@pulumi.getter(name="accountId")
|
43
|
-
def account_id(self) -> Optional[pulumi.Input[
|
48
|
+
def account_id(self) -> Optional[pulumi.Input[str]]:
|
44
49
|
"""
|
45
|
-
The
|
50
|
+
The account ID of the New Relic account you wish to create the browser application in. Defaults to the value of the environment variable `NEW_RELIC_ACCOUNT_ID` if not specified.
|
46
51
|
"""
|
47
52
|
return pulumi.get(self, "account_id")
|
48
53
|
|
49
54
|
@account_id.setter
|
50
|
-
def account_id(self, value: Optional[pulumi.Input[
|
55
|
+
def account_id(self, value: Optional[pulumi.Input[str]]):
|
51
56
|
pulumi.set(self, "account_id", value)
|
52
57
|
|
53
58
|
@property
|
54
59
|
@pulumi.getter(name="cookiesEnabled")
|
55
60
|
def cookies_enabled(self) -> Optional[pulumi.Input[bool]]:
|
56
61
|
"""
|
57
|
-
|
62
|
+
Configures cookies. Defaults to `true`, if not specified.
|
58
63
|
"""
|
59
64
|
return pulumi.get(self, "cookies_enabled")
|
60
65
|
|
@@ -66,7 +71,7 @@ class BrowserApplicationArgs:
|
|
66
71
|
@pulumi.getter(name="distributedTracingEnabled")
|
67
72
|
def distributed_tracing_enabled(self) -> Optional[pulumi.Input[bool]]:
|
68
73
|
"""
|
69
|
-
|
74
|
+
Configures distributed tracing in browser apps. Defaults to `true`, if not specified.
|
70
75
|
"""
|
71
76
|
return pulumi.get(self, "distributed_tracing_enabled")
|
72
77
|
|
@@ -78,7 +83,7 @@ class BrowserApplicationArgs:
|
|
78
83
|
@pulumi.getter(name="loaderType")
|
79
84
|
def loader_type(self) -> Optional[pulumi.Input[str]]:
|
80
85
|
"""
|
81
|
-
Determines
|
86
|
+
Determines the browser loader configured. Valid values are `SPA`, `PRO`, and `LITE`. The default is `SPA`. Refer to the [browser agent loader documentation](https://docs.newrelic.com/docs/browser/browser-monitoring/installation/install-browser-monitoring-agent/#agent-types) for more information on valid loader types.
|
82
87
|
"""
|
83
88
|
return pulumi.get(self, "loader_type")
|
84
89
|
|
@@ -102,7 +107,8 @@ class BrowserApplicationArgs:
|
|
102
107
|
@pulumi.input_type
|
103
108
|
class _BrowserApplicationState:
|
104
109
|
def __init__(__self__, *,
|
105
|
-
account_id: Optional[pulumi.Input[
|
110
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
111
|
+
application_id: Optional[pulumi.Input[str]] = None,
|
106
112
|
cookies_enabled: Optional[pulumi.Input[bool]] = None,
|
107
113
|
distributed_tracing_enabled: Optional[pulumi.Input[bool]] = None,
|
108
114
|
guid: Optional[pulumi.Input[str]] = None,
|
@@ -111,16 +117,19 @@ class _BrowserApplicationState:
|
|
111
117
|
name: Optional[pulumi.Input[str]] = None):
|
112
118
|
"""
|
113
119
|
Input properties used for looking up and filtering BrowserApplication resources.
|
114
|
-
:param pulumi.Input[
|
115
|
-
:param pulumi.Input[
|
116
|
-
:param pulumi.Input[bool]
|
120
|
+
:param pulumi.Input[str] account_id: The account ID of the New Relic account you wish to create the browser application in. Defaults to the value of the environment variable `NEW_RELIC_ACCOUNT_ID` if not specified.
|
121
|
+
:param pulumi.Input[str] application_id: The application ID of the browser application (not to be confused with GUID).
|
122
|
+
:param pulumi.Input[bool] cookies_enabled: Configures cookies. Defaults to `true`, if not specified.
|
123
|
+
:param pulumi.Input[bool] distributed_tracing_enabled: Configures distributed tracing in browser apps. Defaults to `true`, if not specified.
|
117
124
|
:param pulumi.Input[str] guid: The GUID of the browser application.
|
118
|
-
:param pulumi.Input[str] js_config: JavaScript configuration of the browser application encoded into a string.
|
119
|
-
:param pulumi.Input[str] loader_type: Determines
|
125
|
+
:param pulumi.Input[str] js_config: The JavaScript configuration of the browser application, encoded into a string.
|
126
|
+
:param pulumi.Input[str] loader_type: Determines the browser loader configured. Valid values are `SPA`, `PRO`, and `LITE`. The default is `SPA`. Refer to the [browser agent loader documentation](https://docs.newrelic.com/docs/browser/browser-monitoring/installation/install-browser-monitoring-agent/#agent-types) for more information on valid loader types.
|
120
127
|
:param pulumi.Input[str] name: The name of the browser application.
|
121
128
|
"""
|
122
129
|
if account_id is not None:
|
123
130
|
pulumi.set(__self__, "account_id", account_id)
|
131
|
+
if application_id is not None:
|
132
|
+
pulumi.set(__self__, "application_id", application_id)
|
124
133
|
if cookies_enabled is not None:
|
125
134
|
pulumi.set(__self__, "cookies_enabled", cookies_enabled)
|
126
135
|
if distributed_tracing_enabled is not None:
|
@@ -136,21 +145,33 @@ class _BrowserApplicationState:
|
|
136
145
|
|
137
146
|
@property
|
138
147
|
@pulumi.getter(name="accountId")
|
139
|
-
def account_id(self) -> Optional[pulumi.Input[
|
148
|
+
def account_id(self) -> Optional[pulumi.Input[str]]:
|
140
149
|
"""
|
141
|
-
The
|
150
|
+
The account ID of the New Relic account you wish to create the browser application in. Defaults to the value of the environment variable `NEW_RELIC_ACCOUNT_ID` if not specified.
|
142
151
|
"""
|
143
152
|
return pulumi.get(self, "account_id")
|
144
153
|
|
145
154
|
@account_id.setter
|
146
|
-
def account_id(self, value: Optional[pulumi.Input[
|
155
|
+
def account_id(self, value: Optional[pulumi.Input[str]]):
|
147
156
|
pulumi.set(self, "account_id", value)
|
148
157
|
|
158
|
+
@property
|
159
|
+
@pulumi.getter(name="applicationId")
|
160
|
+
def application_id(self) -> Optional[pulumi.Input[str]]:
|
161
|
+
"""
|
162
|
+
The application ID of the browser application (not to be confused with GUID).
|
163
|
+
"""
|
164
|
+
return pulumi.get(self, "application_id")
|
165
|
+
|
166
|
+
@application_id.setter
|
167
|
+
def application_id(self, value: Optional[pulumi.Input[str]]):
|
168
|
+
pulumi.set(self, "application_id", value)
|
169
|
+
|
149
170
|
@property
|
150
171
|
@pulumi.getter(name="cookiesEnabled")
|
151
172
|
def cookies_enabled(self) -> Optional[pulumi.Input[bool]]:
|
152
173
|
"""
|
153
|
-
|
174
|
+
Configures cookies. Defaults to `true`, if not specified.
|
154
175
|
"""
|
155
176
|
return pulumi.get(self, "cookies_enabled")
|
156
177
|
|
@@ -162,7 +183,7 @@ class _BrowserApplicationState:
|
|
162
183
|
@pulumi.getter(name="distributedTracingEnabled")
|
163
184
|
def distributed_tracing_enabled(self) -> Optional[pulumi.Input[bool]]:
|
164
185
|
"""
|
165
|
-
|
186
|
+
Configures distributed tracing in browser apps. Defaults to `true`, if not specified.
|
166
187
|
"""
|
167
188
|
return pulumi.get(self, "distributed_tracing_enabled")
|
168
189
|
|
@@ -186,7 +207,7 @@ class _BrowserApplicationState:
|
|
186
207
|
@pulumi.getter(name="jsConfig")
|
187
208
|
def js_config(self) -> Optional[pulumi.Input[str]]:
|
188
209
|
"""
|
189
|
-
JavaScript configuration of the browser application encoded into a string.
|
210
|
+
The JavaScript configuration of the browser application, encoded into a string.
|
190
211
|
"""
|
191
212
|
return pulumi.get(self, "js_config")
|
192
213
|
|
@@ -198,7 +219,7 @@ class _BrowserApplicationState:
|
|
198
219
|
@pulumi.getter(name="loaderType")
|
199
220
|
def loader_type(self) -> Optional[pulumi.Input[str]]:
|
200
221
|
"""
|
201
|
-
Determines
|
222
|
+
Determines the browser loader configured. Valid values are `SPA`, `PRO`, and `LITE`. The default is `SPA`. Refer to the [browser agent loader documentation](https://docs.newrelic.com/docs/browser/browser-monitoring/installation/install-browser-monitoring-agent/#agent-types) for more information on valid loader types.
|
202
223
|
"""
|
203
224
|
return pulumi.get(self, "loader_type")
|
204
225
|
|
@@ -224,33 +245,18 @@ class BrowserApplication(pulumi.CustomResource):
|
|
224
245
|
def __init__(__self__,
|
225
246
|
resource_name: str,
|
226
247
|
opts: Optional[pulumi.ResourceOptions] = None,
|
227
|
-
account_id: Optional[pulumi.Input[
|
248
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
228
249
|
cookies_enabled: Optional[pulumi.Input[bool]] = None,
|
229
250
|
distributed_tracing_enabled: Optional[pulumi.Input[bool]] = None,
|
230
251
|
loader_type: Optional[pulumi.Input[str]] = None,
|
231
252
|
name: Optional[pulumi.Input[str]] = None,
|
232
253
|
__props__=None):
|
233
254
|
"""
|
234
|
-
Use this resource to create, update, and delete a standalone New Relic browser application.
|
235
|
-
|
236
|
-
## Example Usage
|
237
|
-
|
238
|
-
Basic usage to create a standalone browser application.
|
239
|
-
```python
|
240
|
-
import pulumi
|
241
|
-
import pulumi_newrelic as newrelic
|
242
|
-
|
243
|
-
foo = newrelic.BrowserApplication("foo",
|
244
|
-
cookies_enabled=True,
|
245
|
-
distributed_tracing_enabled=True,
|
246
|
-
loader_type="SPA")
|
247
|
-
```
|
248
|
-
|
249
255
|
## Import
|
250
256
|
|
251
|
-
|
257
|
+
A browser application can be imported using its GUID, i.e.
|
252
258
|
|
253
|
-
|
259
|
+
bash
|
254
260
|
|
255
261
|
```sh
|
256
262
|
$ pulumi import newrelic:index/browserApplication:BrowserApplication foo <GUID>
|
@@ -258,10 +264,10 @@ class BrowserApplication(pulumi.CustomResource):
|
|
258
264
|
|
259
265
|
:param str resource_name: The name of the resource.
|
260
266
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
261
|
-
:param pulumi.Input[
|
262
|
-
:param pulumi.Input[bool] cookies_enabled:
|
263
|
-
:param pulumi.Input[bool] distributed_tracing_enabled:
|
264
|
-
:param pulumi.Input[str] loader_type: Determines
|
267
|
+
:param pulumi.Input[str] account_id: The account ID of the New Relic account you wish to create the browser application in. Defaults to the value of the environment variable `NEW_RELIC_ACCOUNT_ID` if not specified.
|
268
|
+
:param pulumi.Input[bool] cookies_enabled: Configures cookies. Defaults to `true`, if not specified.
|
269
|
+
:param pulumi.Input[bool] distributed_tracing_enabled: Configures distributed tracing in browser apps. Defaults to `true`, if not specified.
|
270
|
+
:param pulumi.Input[str] loader_type: Determines the browser loader configured. Valid values are `SPA`, `PRO`, and `LITE`. The default is `SPA`. Refer to the [browser agent loader documentation](https://docs.newrelic.com/docs/browser/browser-monitoring/installation/install-browser-monitoring-agent/#agent-types) for more information on valid loader types.
|
265
271
|
:param pulumi.Input[str] name: The name of the browser application.
|
266
272
|
"""
|
267
273
|
...
|
@@ -271,26 +277,11 @@ class BrowserApplication(pulumi.CustomResource):
|
|
271
277
|
args: Optional[BrowserApplicationArgs] = None,
|
272
278
|
opts: Optional[pulumi.ResourceOptions] = None):
|
273
279
|
"""
|
274
|
-
Use this resource to create, update, and delete a standalone New Relic browser application.
|
275
|
-
|
276
|
-
## Example Usage
|
277
|
-
|
278
|
-
Basic usage to create a standalone browser application.
|
279
|
-
```python
|
280
|
-
import pulumi
|
281
|
-
import pulumi_newrelic as newrelic
|
282
|
-
|
283
|
-
foo = newrelic.BrowserApplication("foo",
|
284
|
-
cookies_enabled=True,
|
285
|
-
distributed_tracing_enabled=True,
|
286
|
-
loader_type="SPA")
|
287
|
-
```
|
288
|
-
|
289
280
|
## Import
|
290
281
|
|
291
|
-
|
282
|
+
A browser application can be imported using its GUID, i.e.
|
292
283
|
|
293
|
-
|
284
|
+
bash
|
294
285
|
|
295
286
|
```sh
|
296
287
|
$ pulumi import newrelic:index/browserApplication:BrowserApplication foo <GUID>
|
@@ -311,7 +302,7 @@ class BrowserApplication(pulumi.CustomResource):
|
|
311
302
|
def _internal_init(__self__,
|
312
303
|
resource_name: str,
|
313
304
|
opts: Optional[pulumi.ResourceOptions] = None,
|
314
|
-
account_id: Optional[pulumi.Input[
|
305
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
315
306
|
cookies_enabled: Optional[pulumi.Input[bool]] = None,
|
316
307
|
distributed_tracing_enabled: Optional[pulumi.Input[bool]] = None,
|
317
308
|
loader_type: Optional[pulumi.Input[str]] = None,
|
@@ -330,6 +321,7 @@ class BrowserApplication(pulumi.CustomResource):
|
|
330
321
|
__props__.__dict__["distributed_tracing_enabled"] = distributed_tracing_enabled
|
331
322
|
__props__.__dict__["loader_type"] = loader_type
|
332
323
|
__props__.__dict__["name"] = name
|
324
|
+
__props__.__dict__["application_id"] = None
|
333
325
|
__props__.__dict__["guid"] = None
|
334
326
|
__props__.__dict__["js_config"] = None
|
335
327
|
super(BrowserApplication, __self__).__init__(
|
@@ -342,7 +334,8 @@ class BrowserApplication(pulumi.CustomResource):
|
|
342
334
|
def get(resource_name: str,
|
343
335
|
id: pulumi.Input[str],
|
344
336
|
opts: Optional[pulumi.ResourceOptions] = None,
|
345
|
-
account_id: Optional[pulumi.Input[
|
337
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
338
|
+
application_id: Optional[pulumi.Input[str]] = None,
|
346
339
|
cookies_enabled: Optional[pulumi.Input[bool]] = None,
|
347
340
|
distributed_tracing_enabled: Optional[pulumi.Input[bool]] = None,
|
348
341
|
guid: Optional[pulumi.Input[str]] = None,
|
@@ -356,12 +349,13 @@ class BrowserApplication(pulumi.CustomResource):
|
|
356
349
|
:param str resource_name: The unique name of the resulting resource.
|
357
350
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
358
351
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
359
|
-
:param pulumi.Input[
|
360
|
-
:param pulumi.Input[
|
361
|
-
:param pulumi.Input[bool]
|
352
|
+
:param pulumi.Input[str] account_id: The account ID of the New Relic account you wish to create the browser application in. Defaults to the value of the environment variable `NEW_RELIC_ACCOUNT_ID` if not specified.
|
353
|
+
:param pulumi.Input[str] application_id: The application ID of the browser application (not to be confused with GUID).
|
354
|
+
:param pulumi.Input[bool] cookies_enabled: Configures cookies. Defaults to `true`, if not specified.
|
355
|
+
:param pulumi.Input[bool] distributed_tracing_enabled: Configures distributed tracing in browser apps. Defaults to `true`, if not specified.
|
362
356
|
:param pulumi.Input[str] guid: The GUID of the browser application.
|
363
|
-
:param pulumi.Input[str] js_config: JavaScript configuration of the browser application encoded into a string.
|
364
|
-
:param pulumi.Input[str] loader_type: Determines
|
357
|
+
:param pulumi.Input[str] js_config: The JavaScript configuration of the browser application, encoded into a string.
|
358
|
+
:param pulumi.Input[str] loader_type: Determines the browser loader configured. Valid values are `SPA`, `PRO`, and `LITE`. The default is `SPA`. Refer to the [browser agent loader documentation](https://docs.newrelic.com/docs/browser/browser-monitoring/installation/install-browser-monitoring-agent/#agent-types) for more information on valid loader types.
|
365
359
|
:param pulumi.Input[str] name: The name of the browser application.
|
366
360
|
"""
|
367
361
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
@@ -369,6 +363,7 @@ class BrowserApplication(pulumi.CustomResource):
|
|
369
363
|
__props__ = _BrowserApplicationState.__new__(_BrowserApplicationState)
|
370
364
|
|
371
365
|
__props__.__dict__["account_id"] = account_id
|
366
|
+
__props__.__dict__["application_id"] = application_id
|
372
367
|
__props__.__dict__["cookies_enabled"] = cookies_enabled
|
373
368
|
__props__.__dict__["distributed_tracing_enabled"] = distributed_tracing_enabled
|
374
369
|
__props__.__dict__["guid"] = guid
|
@@ -379,17 +374,25 @@ class BrowserApplication(pulumi.CustomResource):
|
|
379
374
|
|
380
375
|
@property
|
381
376
|
@pulumi.getter(name="accountId")
|
382
|
-
def account_id(self) -> pulumi.Output[
|
377
|
+
def account_id(self) -> pulumi.Output[str]:
|
383
378
|
"""
|
384
|
-
The
|
379
|
+
The account ID of the New Relic account you wish to create the browser application in. Defaults to the value of the environment variable `NEW_RELIC_ACCOUNT_ID` if not specified.
|
385
380
|
"""
|
386
381
|
return pulumi.get(self, "account_id")
|
387
382
|
|
383
|
+
@property
|
384
|
+
@pulumi.getter(name="applicationId")
|
385
|
+
def application_id(self) -> pulumi.Output[str]:
|
386
|
+
"""
|
387
|
+
The application ID of the browser application (not to be confused with GUID).
|
388
|
+
"""
|
389
|
+
return pulumi.get(self, "application_id")
|
390
|
+
|
388
391
|
@property
|
389
392
|
@pulumi.getter(name="cookiesEnabled")
|
390
393
|
def cookies_enabled(self) -> pulumi.Output[Optional[bool]]:
|
391
394
|
"""
|
392
|
-
|
395
|
+
Configures cookies. Defaults to `true`, if not specified.
|
393
396
|
"""
|
394
397
|
return pulumi.get(self, "cookies_enabled")
|
395
398
|
|
@@ -397,7 +400,7 @@ class BrowserApplication(pulumi.CustomResource):
|
|
397
400
|
@pulumi.getter(name="distributedTracingEnabled")
|
398
401
|
def distributed_tracing_enabled(self) -> pulumi.Output[Optional[bool]]:
|
399
402
|
"""
|
400
|
-
|
403
|
+
Configures distributed tracing in browser apps. Defaults to `true`, if not specified.
|
401
404
|
"""
|
402
405
|
return pulumi.get(self, "distributed_tracing_enabled")
|
403
406
|
|
@@ -413,7 +416,7 @@ class BrowserApplication(pulumi.CustomResource):
|
|
413
416
|
@pulumi.getter(name="jsConfig")
|
414
417
|
def js_config(self) -> pulumi.Output[str]:
|
415
418
|
"""
|
416
|
-
JavaScript configuration of the browser application encoded into a string.
|
419
|
+
The JavaScript configuration of the browser application, encoded into a string.
|
417
420
|
"""
|
418
421
|
return pulumi.get(self, "js_config")
|
419
422
|
|
@@ -421,7 +424,7 @@ class BrowserApplication(pulumi.CustomResource):
|
|
421
424
|
@pulumi.getter(name="loaderType")
|
422
425
|
def loader_type(self) -> pulumi.Output[Optional[str]]:
|
423
426
|
"""
|
424
|
-
Determines
|
427
|
+
Determines the browser loader configured. Valid values are `SPA`, `PRO`, and `LITE`. The default is `SPA`. Refer to the [browser agent loader documentation](https://docs.newrelic.com/docs/browser/browser-monitoring/installation/install-browser-monitoring-agent/#agent-types) for more information on valid loader types.
|
425
428
|
"""
|
426
429
|
return pulumi.get(self, "loader_type")
|
427
430
|
|