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.
Files changed (85) hide show
  1. pulumi_newrelic/__init__.py +9 -0
  2. pulumi_newrelic/_inputs.py +7153 -461
  3. pulumi_newrelic/_utilities.py +41 -5
  4. pulumi_newrelic/account_management.py +13 -4
  5. pulumi_newrelic/alert_channel.py +122 -101
  6. pulumi_newrelic/alert_condition.py +120 -109
  7. pulumi_newrelic/alert_muting_rule.py +130 -74
  8. pulumi_newrelic/alert_policy.py +88 -67
  9. pulumi_newrelic/alert_policy_channel.py +81 -68
  10. pulumi_newrelic/api_access_key.py +49 -52
  11. pulumi_newrelic/browser_application.py +79 -76
  12. pulumi_newrelic/cloud/_inputs.py +2527 -1082
  13. pulumi_newrelic/cloud/aws_govcloud_integrations.py +135 -130
  14. pulumi_newrelic/cloud/aws_govcloud_link_account.py +25 -18
  15. pulumi_newrelic/cloud/aws_integrations.py +300 -1324
  16. pulumi_newrelic/cloud/aws_link_account.py +25 -18
  17. pulumi_newrelic/cloud/azure_integrations.py +523 -481
  18. pulumi_newrelic/cloud/azure_link_account.py +36 -29
  19. pulumi_newrelic/cloud/gcp_integrations.py +343 -320
  20. pulumi_newrelic/cloud/gcp_link_account.py +25 -18
  21. pulumi_newrelic/cloud/outputs.py +327 -1072
  22. pulumi_newrelic/config/__init__.pyi +6 -1
  23. pulumi_newrelic/config/vars.py +7 -2
  24. pulumi_newrelic/data_partition_rule.py +23 -16
  25. pulumi_newrelic/entity_tags.py +36 -31
  26. pulumi_newrelic/events_to_metrics_rule.py +27 -20
  27. pulumi_newrelic/get_account.py +24 -12
  28. pulumi_newrelic/get_alert_channel.py +26 -13
  29. pulumi_newrelic/get_alert_policy.py +35 -12
  30. pulumi_newrelic/get_application.py +39 -27
  31. pulumi_newrelic/get_authentication_domain.py +17 -9
  32. pulumi_newrelic/get_cloud_account.py +26 -14
  33. pulumi_newrelic/get_entity.py +90 -85
  34. pulumi_newrelic/get_group.py +58 -9
  35. pulumi_newrelic/get_key_transaction.py +109 -30
  36. pulumi_newrelic/get_notification_destination.py +64 -14
  37. pulumi_newrelic/get_obfuscation_expression.py +36 -24
  38. pulumi_newrelic/get_service_level_alert_helper.py +135 -105
  39. pulumi_newrelic/get_test_grok_pattern.py +29 -14
  40. pulumi_newrelic/get_user.py +17 -5
  41. pulumi_newrelic/group.py +5 -132
  42. pulumi_newrelic/infra_alert_condition.py +157 -140
  43. pulumi_newrelic/insights/_inputs.py +43 -0
  44. pulumi_newrelic/insights/event.py +50 -43
  45. pulumi_newrelic/insights/outputs.py +5 -0
  46. pulumi_newrelic/key_transaction.py +464 -0
  47. pulumi_newrelic/log_parsing_rule.py +29 -18
  48. pulumi_newrelic/monitor_downtime.py +215 -203
  49. pulumi_newrelic/notification_channel.py +387 -326
  50. pulumi_newrelic/notification_destination.py +248 -118
  51. pulumi_newrelic/nrql_alert_condition.py +353 -246
  52. pulumi_newrelic/nrql_drop_rule.py +57 -30
  53. pulumi_newrelic/obfuscation_expression.py +25 -18
  54. pulumi_newrelic/obfuscation_rule.py +40 -31
  55. pulumi_newrelic/one_dashboard.py +31 -26
  56. pulumi_newrelic/one_dashboard_json.py +21 -16
  57. pulumi_newrelic/one_dashboard_raw.py +112 -101
  58. pulumi_newrelic/outputs.py +2446 -245
  59. pulumi_newrelic/plugins/_inputs.py +145 -10
  60. pulumi_newrelic/plugins/application_settings.py +29 -20
  61. pulumi_newrelic/plugins/outputs.py +15 -10
  62. pulumi_newrelic/plugins/workload.py +285 -54
  63. pulumi_newrelic/provider.py +27 -33
  64. pulumi_newrelic/pulumi-plugin.json +2 -1
  65. pulumi_newrelic/service_level.py +193 -180
  66. pulumi_newrelic/synthetics/_inputs.py +159 -2
  67. pulumi_newrelic/synthetics/alert_condition.py +91 -78
  68. pulumi_newrelic/synthetics/broken_links_monitor.py +220 -93
  69. pulumi_newrelic/synthetics/cert_check_monitor.py +223 -94
  70. pulumi_newrelic/synthetics/get_private_location.py +34 -22
  71. pulumi_newrelic/synthetics/get_secure_credential.py +24 -12
  72. pulumi_newrelic/synthetics/monitor.py +352 -179
  73. pulumi_newrelic/synthetics/multi_location_alert_condition.py +109 -96
  74. pulumi_newrelic/synthetics/outputs.py +7 -2
  75. pulumi_newrelic/synthetics/private_location.py +27 -18
  76. pulumi_newrelic/synthetics/script_monitor.py +321 -168
  77. pulumi_newrelic/synthetics/secure_credential.py +25 -20
  78. pulumi_newrelic/synthetics/step_monitor.py +409 -98
  79. pulumi_newrelic/user.py +13 -6
  80. pulumi_newrelic/workflow.py +215 -184
  81. {pulumi_newrelic-5.20.0a1709643785.dist-info → pulumi_newrelic-5.39.0a1736834464.dist-info}/METADATA +7 -6
  82. pulumi_newrelic-5.39.0a1736834464.dist-info/RECORD +90 -0
  83. {pulumi_newrelic-5.20.0a1709643785.dist-info → pulumi_newrelic-5.39.0a1736834464.dist-info}/WHEEL +1 -1
  84. pulumi_newrelic-5.20.0a1709643785.dist-info/RECORD +0 -89
  85. {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[int]] = None,
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[int] account_id: The New Relic account ID of the account you wish to create the browser application. Defaults to the account ID set in your environment variable `NEW_RELIC_ACCOUNT_ID`.
25
- :param pulumi.Input[bool] cookies_enabled: Configure cookies. The default is enabled: true.
26
- :param pulumi.Input[bool] distributed_tracing_enabled: Configure distributed tracing in browser apps. The default is enabled: true.
27
- :param pulumi.Input[str] loader_type: Determines which browser loader is configured. Valid values are `SPA`, `PRO`, and `LITE`. The default is `SPA`. See the [browser agent loader documentation](https://docs.newrelic.com/docs/browser/browser-monitoring/installation/install-browser-monitoring-agent/#agent-types) for a for information on the valid loader types.
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[int]]:
48
+ def account_id(self) -> Optional[pulumi.Input[str]]:
44
49
  """
45
- The New Relic account ID of the account you wish to create the browser application. Defaults to the account ID set in your environment variable `NEW_RELIC_ACCOUNT_ID`.
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[int]]):
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
- Configure cookies. The default is enabled: true.
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
- Configure distributed tracing in browser apps. The default is enabled: true.
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 which browser loader is configured. Valid values are `SPA`, `PRO`, and `LITE`. The default is `SPA`. See the [browser agent loader documentation](https://docs.newrelic.com/docs/browser/browser-monitoring/installation/install-browser-monitoring-agent/#agent-types) for a for information on the valid loader types.
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[int]] = None,
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[int] account_id: The New Relic account ID of the account you wish to create the browser application. Defaults to the account ID set in your environment variable `NEW_RELIC_ACCOUNT_ID`.
115
- :param pulumi.Input[bool] cookies_enabled: Configure cookies. The default is enabled: true.
116
- :param pulumi.Input[bool] distributed_tracing_enabled: Configure distributed tracing in browser apps. The default is enabled: true.
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 which browser loader is configured. Valid values are `SPA`, `PRO`, and `LITE`. The default is `SPA`. See the [browser agent loader documentation](https://docs.newrelic.com/docs/browser/browser-monitoring/installation/install-browser-monitoring-agent/#agent-types) for a for information on the valid loader types.
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[int]]:
148
+ def account_id(self) -> Optional[pulumi.Input[str]]:
140
149
  """
141
- The New Relic account ID of the account you wish to create the browser application. Defaults to the account ID set in your environment variable `NEW_RELIC_ACCOUNT_ID`.
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[int]]):
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
- Configure cookies. The default is enabled: true.
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
- Configure distributed tracing in browser apps. The default is enabled: true.
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 which browser loader is configured. Valid values are `SPA`, `PRO`, and `LITE`. The default is `SPA`. See the [browser agent loader documentation](https://docs.newrelic.com/docs/browser/browser-monitoring/installation/install-browser-monitoring-agent/#agent-types) for a for information on the valid loader types.
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[int]] = None,
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
- Browser applications can be imported using the GUID of the browser application.
257
+ A browser application can be imported using its GUID, i.e.
252
258
 
253
- bash
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[int] account_id: The New Relic account ID of the account you wish to create the browser application. Defaults to the account ID set in your environment variable `NEW_RELIC_ACCOUNT_ID`.
262
- :param pulumi.Input[bool] cookies_enabled: Configure cookies. The default is enabled: true.
263
- :param pulumi.Input[bool] distributed_tracing_enabled: Configure distributed tracing in browser apps. The default is enabled: true.
264
- :param pulumi.Input[str] loader_type: Determines which browser loader is configured. Valid values are `SPA`, `PRO`, and `LITE`. The default is `SPA`. See the [browser agent loader documentation](https://docs.newrelic.com/docs/browser/browser-monitoring/installation/install-browser-monitoring-agent/#agent-types) for a for information on the valid loader types.
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
- Browser applications can be imported using the GUID of the browser application.
282
+ A browser application can be imported using its GUID, i.e.
292
283
 
293
- bash
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[int]] = None,
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[int]] = None,
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[int] account_id: The New Relic account ID of the account you wish to create the browser application. Defaults to the account ID set in your environment variable `NEW_RELIC_ACCOUNT_ID`.
360
- :param pulumi.Input[bool] cookies_enabled: Configure cookies. The default is enabled: true.
361
- :param pulumi.Input[bool] distributed_tracing_enabled: Configure distributed tracing in browser apps. The default is enabled: true.
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 which browser loader is configured. Valid values are `SPA`, `PRO`, and `LITE`. The default is `SPA`. See the [browser agent loader documentation](https://docs.newrelic.com/docs/browser/browser-monitoring/installation/install-browser-monitoring-agent/#agent-types) for a for information on the valid loader types.
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[int]:
377
+ def account_id(self) -> pulumi.Output[str]:
383
378
  """
384
- The New Relic account ID of the account you wish to create the browser application. Defaults to the account ID set in your environment variable `NEW_RELIC_ACCOUNT_ID`.
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
- Configure cookies. The default is enabled: true.
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
- Configure distributed tracing in browser apps. The default is enabled: true.
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 which browser loader is configured. Valid values are `SPA`, `PRO`, and `LITE`. The default is `SPA`. See the [browser agent loader documentation](https://docs.newrelic.com/docs/browser/browser-monitoring/installation/install-browser-monitoring-agent/#agent-types) for a for information on the valid loader types.
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