pulumi-newrelic 5.21.0a1710157101__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 +11 -6
  5. pulumi_newrelic/alert_channel.py +116 -127
  6. pulumi_newrelic/alert_condition.py +116 -129
  7. pulumi_newrelic/alert_muting_rule.py +128 -76
  8. pulumi_newrelic/alert_policy.py +78 -75
  9. pulumi_newrelic/alert_policy_channel.py +77 -68
  10. pulumi_newrelic/api_access_key.py +45 -28
  11. pulumi_newrelic/browser_application.py +77 -78
  12. pulumi_newrelic/cloud/_inputs.py +2527 -1082
  13. pulumi_newrelic/cloud/aws_govcloud_integrations.py +133 -128
  14. pulumi_newrelic/cloud/aws_govcloud_link_account.py +23 -20
  15. pulumi_newrelic/cloud/aws_integrations.py +298 -1326
  16. pulumi_newrelic/cloud/aws_link_account.py +23 -20
  17. pulumi_newrelic/cloud/azure_integrations.py +521 -483
  18. pulumi_newrelic/cloud/azure_link_account.py +34 -31
  19. pulumi_newrelic/cloud/gcp_integrations.py +341 -322
  20. pulumi_newrelic/cloud/gcp_link_account.py +23 -20
  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 +19 -18
  25. pulumi_newrelic/entity_tags.py +32 -31
  26. pulumi_newrelic/events_to_metrics_rule.py +23 -20
  27. pulumi_newrelic/get_account.py +24 -16
  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 -31
  31. pulumi_newrelic/get_authentication_domain.py +17 -13
  32. pulumi_newrelic/get_cloud_account.py +26 -18
  33. pulumi_newrelic/get_entity.py +90 -147
  34. pulumi_newrelic/get_group.py +58 -13
  35. pulumi_newrelic/get_key_transaction.py +109 -34
  36. pulumi_newrelic/get_notification_destination.py +64 -14
  37. pulumi_newrelic/get_obfuscation_expression.py +36 -28
  38. pulumi_newrelic/get_service_level_alert_helper.py +135 -117
  39. pulumi_newrelic/get_test_grok_pattern.py +29 -18
  40. pulumi_newrelic/get_user.py +17 -9
  41. pulumi_newrelic/group.py +5 -146
  42. pulumi_newrelic/infra_alert_condition.py +160 -167
  43. pulumi_newrelic/insights/_inputs.py +43 -0
  44. pulumi_newrelic/insights/event.py +48 -47
  45. pulumi_newrelic/insights/outputs.py +5 -0
  46. pulumi_newrelic/key_transaction.py +464 -0
  47. pulumi_newrelic/log_parsing_rule.py +25 -24
  48. pulumi_newrelic/monitor_downtime.py +211 -225
  49. pulumi_newrelic/notification_channel.py +381 -366
  50. pulumi_newrelic/notification_destination.py +192 -54
  51. pulumi_newrelic/nrql_alert_condition.py +345 -262
  52. pulumi_newrelic/nrql_drop_rule.py +31 -30
  53. pulumi_newrelic/obfuscation_expression.py +23 -20
  54. pulumi_newrelic/obfuscation_rule.py +38 -33
  55. pulumi_newrelic/one_dashboard.py +29 -24
  56. pulumi_newrelic/one_dashboard_json.py +19 -14
  57. pulumi_newrelic/one_dashboard_raw.py +110 -105
  58. pulumi_newrelic/outputs.py +2446 -245
  59. pulumi_newrelic/plugins/_inputs.py +145 -10
  60. pulumi_newrelic/plugins/application_settings.py +25 -36
  61. pulumi_newrelic/plugins/outputs.py +15 -10
  62. pulumi_newrelic/plugins/workload.py +215 -92
  63. pulumi_newrelic/provider.py +27 -33
  64. pulumi_newrelic/pulumi-plugin.json +2 -1
  65. pulumi_newrelic/service_level.py +185 -186
  66. pulumi_newrelic/synthetics/_inputs.py +159 -2
  67. pulumi_newrelic/synthetics/alert_condition.py +87 -98
  68. pulumi_newrelic/synthetics/broken_links_monitor.py +216 -99
  69. pulumi_newrelic/synthetics/cert_check_monitor.py +219 -100
  70. pulumi_newrelic/synthetics/get_private_location.py +34 -30
  71. pulumi_newrelic/synthetics/get_secure_credential.py +24 -16
  72. pulumi_newrelic/synthetics/monitor.py +348 -193
  73. pulumi_newrelic/synthetics/multi_location_alert_condition.py +105 -100
  74. pulumi_newrelic/synthetics/outputs.py +7 -2
  75. pulumi_newrelic/synthetics/private_location.py +25 -20
  76. pulumi_newrelic/synthetics/script_monitor.py +317 -182
  77. pulumi_newrelic/synthetics/secure_credential.py +23 -22
  78. pulumi_newrelic/synthetics/step_monitor.py +405 -100
  79. pulumi_newrelic/user.py +13 -10
  80. pulumi_newrelic/workflow.py +209 -196
  81. {pulumi_newrelic-5.21.0a1710157101.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.21.0a1710157101.dist-info → pulumi_newrelic-5.39.0a1736834464.dist-info}/WHEEL +1 -1
  84. pulumi_newrelic-5.21.0a1710157101.dist-info/RECORD +0 -89
  85. {pulumi_newrelic-5.21.0a1710157101.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,16 @@ 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
- <!--Start PulumiCodeChooser -->
240
- ```python
241
- import pulumi
242
- import pulumi_newrelic as newrelic
243
-
244
- foo = newrelic.BrowserApplication("foo",
245
- cookies_enabled=True,
246
- distributed_tracing_enabled=True,
247
- loader_type="SPA")
248
- ```
249
- <!--End PulumiCodeChooser -->
250
-
251
255
  ## Import
252
256
 
253
- Browser applications can be imported using the GUID of the browser application.
257
+ A browser application can be imported using its GUID, i.e.
254
258
 
255
259
  bash
256
260
 
@@ -260,10 +264,10 @@ class BrowserApplication(pulumi.CustomResource):
260
264
 
261
265
  :param str resource_name: The name of the resource.
262
266
  :param pulumi.ResourceOptions opts: Options for the resource.
263
- :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`.
264
- :param pulumi.Input[bool] cookies_enabled: Configure cookies. The default is enabled: true.
265
- :param pulumi.Input[bool] distributed_tracing_enabled: Configure distributed tracing in browser apps. The default is enabled: true.
266
- :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.
267
271
  :param pulumi.Input[str] name: The name of the browser application.
268
272
  """
269
273
  ...
@@ -273,26 +277,9 @@ class BrowserApplication(pulumi.CustomResource):
273
277
  args: Optional[BrowserApplicationArgs] = None,
274
278
  opts: Optional[pulumi.ResourceOptions] = None):
275
279
  """
276
- Use this resource to create, update, and delete a standalone New Relic browser application.
277
-
278
- ## Example Usage
279
-
280
- Basic usage to create a standalone browser application.
281
- <!--Start PulumiCodeChooser -->
282
- ```python
283
- import pulumi
284
- import pulumi_newrelic as newrelic
285
-
286
- foo = newrelic.BrowserApplication("foo",
287
- cookies_enabled=True,
288
- distributed_tracing_enabled=True,
289
- loader_type="SPA")
290
- ```
291
- <!--End PulumiCodeChooser -->
292
-
293
280
  ## Import
294
281
 
295
- Browser applications can be imported using the GUID of the browser application.
282
+ A browser application can be imported using its GUID, i.e.
296
283
 
297
284
  bash
298
285
 
@@ -315,7 +302,7 @@ class BrowserApplication(pulumi.CustomResource):
315
302
  def _internal_init(__self__,
316
303
  resource_name: str,
317
304
  opts: Optional[pulumi.ResourceOptions] = None,
318
- account_id: Optional[pulumi.Input[int]] = None,
305
+ account_id: Optional[pulumi.Input[str]] = None,
319
306
  cookies_enabled: Optional[pulumi.Input[bool]] = None,
320
307
  distributed_tracing_enabled: Optional[pulumi.Input[bool]] = None,
321
308
  loader_type: Optional[pulumi.Input[str]] = None,
@@ -334,6 +321,7 @@ class BrowserApplication(pulumi.CustomResource):
334
321
  __props__.__dict__["distributed_tracing_enabled"] = distributed_tracing_enabled
335
322
  __props__.__dict__["loader_type"] = loader_type
336
323
  __props__.__dict__["name"] = name
324
+ __props__.__dict__["application_id"] = None
337
325
  __props__.__dict__["guid"] = None
338
326
  __props__.__dict__["js_config"] = None
339
327
  super(BrowserApplication, __self__).__init__(
@@ -346,7 +334,8 @@ class BrowserApplication(pulumi.CustomResource):
346
334
  def get(resource_name: str,
347
335
  id: pulumi.Input[str],
348
336
  opts: Optional[pulumi.ResourceOptions] = None,
349
- account_id: Optional[pulumi.Input[int]] = None,
337
+ account_id: Optional[pulumi.Input[str]] = None,
338
+ application_id: Optional[pulumi.Input[str]] = None,
350
339
  cookies_enabled: Optional[pulumi.Input[bool]] = None,
351
340
  distributed_tracing_enabled: Optional[pulumi.Input[bool]] = None,
352
341
  guid: Optional[pulumi.Input[str]] = None,
@@ -360,12 +349,13 @@ class BrowserApplication(pulumi.CustomResource):
360
349
  :param str resource_name: The unique name of the resulting resource.
361
350
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
362
351
  :param pulumi.ResourceOptions opts: Options for the resource.
363
- :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`.
364
- :param pulumi.Input[bool] cookies_enabled: Configure cookies. The default is enabled: true.
365
- :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.
366
356
  :param pulumi.Input[str] guid: The GUID of the browser application.
367
- :param pulumi.Input[str] js_config: JavaScript configuration of the browser application encoded into a string.
368
- :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.
369
359
  :param pulumi.Input[str] name: The name of the browser application.
370
360
  """
371
361
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
@@ -373,6 +363,7 @@ class BrowserApplication(pulumi.CustomResource):
373
363
  __props__ = _BrowserApplicationState.__new__(_BrowserApplicationState)
374
364
 
375
365
  __props__.__dict__["account_id"] = account_id
366
+ __props__.__dict__["application_id"] = application_id
376
367
  __props__.__dict__["cookies_enabled"] = cookies_enabled
377
368
  __props__.__dict__["distributed_tracing_enabled"] = distributed_tracing_enabled
378
369
  __props__.__dict__["guid"] = guid
@@ -383,17 +374,25 @@ class BrowserApplication(pulumi.CustomResource):
383
374
 
384
375
  @property
385
376
  @pulumi.getter(name="accountId")
386
- def account_id(self) -> pulumi.Output[int]:
377
+ def account_id(self) -> pulumi.Output[str]:
387
378
  """
388
- 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.
389
380
  """
390
381
  return pulumi.get(self, "account_id")
391
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
+
392
391
  @property
393
392
  @pulumi.getter(name="cookiesEnabled")
394
393
  def cookies_enabled(self) -> pulumi.Output[Optional[bool]]:
395
394
  """
396
- Configure cookies. The default is enabled: true.
395
+ Configures cookies. Defaults to `true`, if not specified.
397
396
  """
398
397
  return pulumi.get(self, "cookies_enabled")
399
398
 
@@ -401,7 +400,7 @@ class BrowserApplication(pulumi.CustomResource):
401
400
  @pulumi.getter(name="distributedTracingEnabled")
402
401
  def distributed_tracing_enabled(self) -> pulumi.Output[Optional[bool]]:
403
402
  """
404
- Configure distributed tracing in browser apps. The default is enabled: true.
403
+ Configures distributed tracing in browser apps. Defaults to `true`, if not specified.
405
404
  """
406
405
  return pulumi.get(self, "distributed_tracing_enabled")
407
406
 
@@ -417,7 +416,7 @@ class BrowserApplication(pulumi.CustomResource):
417
416
  @pulumi.getter(name="jsConfig")
418
417
  def js_config(self) -> pulumi.Output[str]:
419
418
  """
420
- JavaScript configuration of the browser application encoded into a string.
419
+ The JavaScript configuration of the browser application, encoded into a string.
421
420
  """
422
421
  return pulumi.get(self, "js_config")
423
422
 
@@ -425,7 +424,7 @@ class BrowserApplication(pulumi.CustomResource):
425
424
  @pulumi.getter(name="loaderType")
426
425
  def loader_type(self) -> pulumi.Output[Optional[str]]:
427
426
  """
428
- 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.
429
428
  """
430
429
  return pulumi.get(self, "loader_type")
431
430