pulumi-newrelic 5.5.0a1677786209__tar.gz → 5.6.0__tar.gz

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.
Files changed (86) hide show
  1. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/PKG-INFO +1 -1
  2. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic/__init__.py +18 -0
  3. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic/alert_condition.py +2 -2
  4. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic/alert_policy.py +9 -0
  5. pulumi_newrelic-5.6.0/pulumi_newrelic/browser_application.py +403 -0
  6. pulumi_newrelic-5.6.0/pulumi_newrelic/data_partition_rule.py +462 -0
  7. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic/get_alert_channel.py +4 -0
  8. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic/infra_alert_condition.py +2 -2
  9. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic/synthetics/alert_condition.py +2 -2
  10. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic/synthetics/multi_location_alert_condition.py +2 -2
  11. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic.egg-info/PKG-INFO +1 -1
  12. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic.egg-info/SOURCES.txt +2 -0
  13. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/setup.py +2 -2
  14. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/README.md +0 -0
  15. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic/_inputs.py +0 -0
  16. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic/_utilities.py +0 -0
  17. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic/alert_channel.py +0 -0
  18. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic/alert_muting_rule.py +0 -0
  19. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic/alert_policy_channel.py +0 -0
  20. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic/api_access_key.py +0 -0
  21. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic/cloud/__init__.py +0 -0
  22. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic/cloud/_inputs.py +0 -0
  23. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic/cloud/aws_govcloud_integrations.py +0 -0
  24. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic/cloud/aws_govcloud_link_account.py +0 -0
  25. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic/cloud/aws_integrations.py +0 -0
  26. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic/cloud/aws_link_account.py +0 -0
  27. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic/cloud/azure_integrations.py +0 -0
  28. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic/cloud/azure_link_account.py +0 -0
  29. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic/cloud/gcp_integrations.py +0 -0
  30. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic/cloud/gcp_link_account.py +0 -0
  31. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic/cloud/outputs.py +0 -0
  32. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic/config/__init__.py +0 -0
  33. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic/config/vars.py +0 -0
  34. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic/entity_tags.py +0 -0
  35. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic/events_to_metrics_rule.py +0 -0
  36. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic/get_account.py +0 -0
  37. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic/get_alert_policy.py +0 -0
  38. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic/get_application.py +0 -0
  39. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic/get_cloud_account.py +0 -0
  40. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic/get_entity.py +0 -0
  41. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic/get_key_transaction.py +0 -0
  42. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic/get_notification_destination.py +0 -0
  43. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic/get_obfuscation_expression.py +0 -0
  44. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic/get_test_grok_pattern.py +0 -0
  45. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic/insights/__init__.py +0 -0
  46. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic/insights/_inputs.py +0 -0
  47. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic/insights/event.py +0 -0
  48. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic/insights/outputs.py +0 -0
  49. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic/log_parsing_rule.py +0 -0
  50. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic/notification_channel.py +0 -0
  51. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic/notification_destination.py +0 -0
  52. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic/nrql_alert_condition.py +0 -0
  53. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic/nrql_drop_rule.py +0 -0
  54. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic/obfuscation_expression.py +0 -0
  55. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic/obfuscation_rule.py +0 -0
  56. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic/one_dashboard.py +0 -0
  57. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic/one_dashboard_json.py +0 -0
  58. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic/one_dashboard_raw.py +0 -0
  59. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic/outputs.py +0 -0
  60. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic/plugins/__init__.py +0 -0
  61. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic/plugins/_inputs.py +0 -0
  62. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic/plugins/application_settings.py +0 -0
  63. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic/plugins/outputs.py +0 -0
  64. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic/plugins/workload.py +0 -0
  65. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic/provider.py +0 -0
  66. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic/pulumi-plugin.json +0 -0
  67. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic/py.typed +0 -0
  68. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic/service_level.py +0 -0
  69. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic/synthetics/__init__.py +0 -0
  70. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic/synthetics/_inputs.py +0 -0
  71. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic/synthetics/broken_links_monitor.py +0 -0
  72. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic/synthetics/cert_check_monitor.py +0 -0
  73. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic/synthetics/get_private_location.py +0 -0
  74. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic/synthetics/get_secure_credential.py +0 -0
  75. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic/synthetics/monitor.py +0 -0
  76. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic/synthetics/outputs.py +0 -0
  77. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic/synthetics/private_location.py +0 -0
  78. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic/synthetics/script_monitor.py +0 -0
  79. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic/synthetics/secure_credential.py +0 -0
  80. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic/synthetics/step_monitor.py +0 -0
  81. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic/workflow.py +0 -0
  82. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic.egg-info/dependency_links.txt +0 -0
  83. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic.egg-info/not-zip-safe +0 -0
  84. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic.egg-info/requires.txt +0 -0
  85. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/pulumi_newrelic.egg-info/top_level.txt +0 -0
  86. {pulumi_newrelic-5.5.0a1677786209 → pulumi_newrelic-5.6.0}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pulumi_newrelic
3
- Version: 5.5.0a1677786209
3
+ Version: 5.6.0
4
4
  Summary: A Pulumi package for creating and managing New Relic resources.
5
5
  Home-page: https://pulumi.io
6
6
  License: Apache-2.0
@@ -11,6 +11,8 @@ from .alert_muting_rule import *
11
11
  from .alert_policy import *
12
12
  from .alert_policy_channel import *
13
13
  from .api_access_key import *
14
+ from .browser_application import *
15
+ from .data_partition_rule import *
14
16
  from .entity_tags import *
15
17
  from .events_to_metrics_rule import *
16
18
  from .get_account import *
@@ -174,6 +176,22 @@ _utilities.register(
174
176
  "newrelic:index/apiAccessKey:ApiAccessKey": "ApiAccessKey"
175
177
  }
176
178
  },
179
+ {
180
+ "pkg": "newrelic",
181
+ "mod": "index/browserApplication",
182
+ "fqn": "pulumi_newrelic",
183
+ "classes": {
184
+ "newrelic:index/browserApplication:BrowserApplication": "BrowserApplication"
185
+ }
186
+ },
187
+ {
188
+ "pkg": "newrelic",
189
+ "mod": "index/dataPartitionRule",
190
+ "fqn": "pulumi_newrelic",
191
+ "classes": {
192
+ "newrelic:index/dataPartitionRule:DataPartitionRule": "DataPartitionRule"
193
+ }
194
+ },
177
195
  {
178
196
  "pkg": "newrelic",
179
197
  "mod": "index/entityTags",
@@ -462,7 +462,7 @@ class AlertCondition(pulumi.CustomResource):
462
462
  """
463
463
  Use this resource to create and manage alert conditions for APM, Browser, and Mobile in New Relic.
464
464
 
465
- > **WARNING:** The AlertCondition resource will be deprecated in the near future and will no longer receive product updates. Please use the NrqlAlertCondition resource to avoid being impacted by these changes.
465
+ > **NOTE:** This is a legacy resource. The NrqlAlertCondition resource is preferred for configuring alerts conditions. In most cases feature parity can be achieved with a NRQL query. This condition type may be deprecated in the future.
466
466
 
467
467
  ## Example Usage
468
468
 
@@ -532,7 +532,7 @@ class AlertCondition(pulumi.CustomResource):
532
532
  """
533
533
  Use this resource to create and manage alert conditions for APM, Browser, and Mobile in New Relic.
534
534
 
535
- > **WARNING:** The AlertCondition resource will be deprecated in the near future and will no longer receive product updates. Please use the NrqlAlertCondition resource to avoid being impacted by these changes.
535
+ > **NOTE:** This is a legacy resource. The NrqlAlertCondition resource is preferred for configuring alerts conditions. In most cases feature parity can be achieved with a NRQL query. This condition type may be deprecated in the future.
536
536
 
537
537
  ## Example Usage
538
538
 
@@ -27,6 +27,9 @@ class AlertPolicyArgs:
27
27
  """
28
28
  if account_id is not None:
29
29
  pulumi.set(__self__, "account_id", account_id)
30
+ if channel_ids is not None:
31
+ warnings.warn("""The `channel_ids` attribute is deprecated and will be removed in the next major release of the provider.""", DeprecationWarning)
32
+ pulumi.log.warn("""channel_ids is deprecated: The `channel_ids` attribute is deprecated and will be removed in the next major release of the provider.""")
30
33
  if channel_ids is not None:
31
34
  pulumi.set(__self__, "channel_ids", channel_ids)
32
35
  if incident_preference is not None:
@@ -99,6 +102,9 @@ class _AlertPolicyState:
99
102
  """
100
103
  if account_id is not None:
101
104
  pulumi.set(__self__, "account_id", account_id)
105
+ if channel_ids is not None:
106
+ warnings.warn("""The `channel_ids` attribute is deprecated and will be removed in the next major release of the provider.""", DeprecationWarning)
107
+ pulumi.log.warn("""channel_ids is deprecated: The `channel_ids` attribute is deprecated and will be removed in the next major release of the provider.""")
102
108
  if channel_ids is not None:
103
109
  pulumi.set(__self__, "channel_ids", channel_ids)
104
110
  if incident_preference is not None:
@@ -339,6 +345,9 @@ class AlertPolicy(pulumi.CustomResource):
339
345
  __props__ = AlertPolicyArgs.__new__(AlertPolicyArgs)
340
346
 
341
347
  __props__.__dict__["account_id"] = account_id
348
+ if channel_ids is not None and not opts.urn:
349
+ warnings.warn("""The `channel_ids` attribute is deprecated and will be removed in the next major release of the provider.""", DeprecationWarning)
350
+ pulumi.log.warn("""channel_ids is deprecated: The `channel_ids` attribute is deprecated and will be removed in the next major release of the provider.""")
342
351
  __props__.__dict__["channel_ids"] = channel_ids
343
352
  __props__.__dict__["incident_preference"] = incident_preference
344
353
  __props__.__dict__["name"] = name
@@ -0,0 +1,403 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import copy
6
+ import warnings
7
+ import pulumi
8
+ import pulumi.runtime
9
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
10
+ from . import _utilities
11
+
12
+ __all__ = ['BrowserApplicationArgs', 'BrowserApplication']
13
+
14
+ @pulumi.input_type
15
+ class BrowserApplicationArgs:
16
+ def __init__(__self__, *,
17
+ account_id: Optional[pulumi.Input[int]] = None,
18
+ cookies_enabled: Optional[pulumi.Input[bool]] = None,
19
+ distributed_tracing_enabled: Optional[pulumi.Input[bool]] = None,
20
+ loader_type: Optional[pulumi.Input[str]] = None,
21
+ name: Optional[pulumi.Input[str]] = None):
22
+ """
23
+ 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.
28
+ :param pulumi.Input[str] name: The name of the browser application.
29
+ """
30
+ if account_id is not None:
31
+ pulumi.set(__self__, "account_id", account_id)
32
+ if cookies_enabled is not None:
33
+ pulumi.set(__self__, "cookies_enabled", cookies_enabled)
34
+ if distributed_tracing_enabled is not None:
35
+ pulumi.set(__self__, "distributed_tracing_enabled", distributed_tracing_enabled)
36
+ if loader_type is not None:
37
+ pulumi.set(__self__, "loader_type", loader_type)
38
+ if name is not None:
39
+ pulumi.set(__self__, "name", name)
40
+
41
+ @property
42
+ @pulumi.getter(name="accountId")
43
+ def account_id(self) -> Optional[pulumi.Input[int]]:
44
+ """
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`.
46
+ """
47
+ return pulumi.get(self, "account_id")
48
+
49
+ @account_id.setter
50
+ def account_id(self, value: Optional[pulumi.Input[int]]):
51
+ pulumi.set(self, "account_id", value)
52
+
53
+ @property
54
+ @pulumi.getter(name="cookiesEnabled")
55
+ def cookies_enabled(self) -> Optional[pulumi.Input[bool]]:
56
+ """
57
+ Configure cookies. The default is enabled: true.
58
+ """
59
+ return pulumi.get(self, "cookies_enabled")
60
+
61
+ @cookies_enabled.setter
62
+ def cookies_enabled(self, value: Optional[pulumi.Input[bool]]):
63
+ pulumi.set(self, "cookies_enabled", value)
64
+
65
+ @property
66
+ @pulumi.getter(name="distributedTracingEnabled")
67
+ def distributed_tracing_enabled(self) -> Optional[pulumi.Input[bool]]:
68
+ """
69
+ Configure distributed tracing in browser apps. The default is enabled: true.
70
+ """
71
+ return pulumi.get(self, "distributed_tracing_enabled")
72
+
73
+ @distributed_tracing_enabled.setter
74
+ def distributed_tracing_enabled(self, value: Optional[pulumi.Input[bool]]):
75
+ pulumi.set(self, "distributed_tracing_enabled", value)
76
+
77
+ @property
78
+ @pulumi.getter(name="loaderType")
79
+ def loader_type(self) -> Optional[pulumi.Input[str]]:
80
+ """
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.
82
+ """
83
+ return pulumi.get(self, "loader_type")
84
+
85
+ @loader_type.setter
86
+ def loader_type(self, value: Optional[pulumi.Input[str]]):
87
+ pulumi.set(self, "loader_type", value)
88
+
89
+ @property
90
+ @pulumi.getter
91
+ def name(self) -> Optional[pulumi.Input[str]]:
92
+ """
93
+ The name of the browser application.
94
+ """
95
+ return pulumi.get(self, "name")
96
+
97
+ @name.setter
98
+ def name(self, value: Optional[pulumi.Input[str]]):
99
+ pulumi.set(self, "name", value)
100
+
101
+
102
+ @pulumi.input_type
103
+ class _BrowserApplicationState:
104
+ def __init__(__self__, *,
105
+ account_id: Optional[pulumi.Input[int]] = None,
106
+ cookies_enabled: Optional[pulumi.Input[bool]] = None,
107
+ distributed_tracing_enabled: Optional[pulumi.Input[bool]] = None,
108
+ guid: Optional[pulumi.Input[str]] = None,
109
+ loader_type: Optional[pulumi.Input[str]] = None,
110
+ name: Optional[pulumi.Input[str]] = None):
111
+ """
112
+ Input properties used for looking up and filtering BrowserApplication resources.
113
+ :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`.
114
+ :param pulumi.Input[bool] cookies_enabled: Configure cookies. The default is enabled: true.
115
+ :param pulumi.Input[bool] distributed_tracing_enabled: Configure distributed tracing in browser apps. The default is enabled: true.
116
+ :param pulumi.Input[str] guid: The GUID of the browser application.
117
+ :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.
118
+ :param pulumi.Input[str] name: The name of the browser application.
119
+ """
120
+ if account_id is not None:
121
+ pulumi.set(__self__, "account_id", account_id)
122
+ if cookies_enabled is not None:
123
+ pulumi.set(__self__, "cookies_enabled", cookies_enabled)
124
+ if distributed_tracing_enabled is not None:
125
+ pulumi.set(__self__, "distributed_tracing_enabled", distributed_tracing_enabled)
126
+ if guid is not None:
127
+ pulumi.set(__self__, "guid", guid)
128
+ if loader_type is not None:
129
+ pulumi.set(__self__, "loader_type", loader_type)
130
+ if name is not None:
131
+ pulumi.set(__self__, "name", name)
132
+
133
+ @property
134
+ @pulumi.getter(name="accountId")
135
+ def account_id(self) -> Optional[pulumi.Input[int]]:
136
+ """
137
+ 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`.
138
+ """
139
+ return pulumi.get(self, "account_id")
140
+
141
+ @account_id.setter
142
+ def account_id(self, value: Optional[pulumi.Input[int]]):
143
+ pulumi.set(self, "account_id", value)
144
+
145
+ @property
146
+ @pulumi.getter(name="cookiesEnabled")
147
+ def cookies_enabled(self) -> Optional[pulumi.Input[bool]]:
148
+ """
149
+ Configure cookies. The default is enabled: true.
150
+ """
151
+ return pulumi.get(self, "cookies_enabled")
152
+
153
+ @cookies_enabled.setter
154
+ def cookies_enabled(self, value: Optional[pulumi.Input[bool]]):
155
+ pulumi.set(self, "cookies_enabled", value)
156
+
157
+ @property
158
+ @pulumi.getter(name="distributedTracingEnabled")
159
+ def distributed_tracing_enabled(self) -> Optional[pulumi.Input[bool]]:
160
+ """
161
+ Configure distributed tracing in browser apps. The default is enabled: true.
162
+ """
163
+ return pulumi.get(self, "distributed_tracing_enabled")
164
+
165
+ @distributed_tracing_enabled.setter
166
+ def distributed_tracing_enabled(self, value: Optional[pulumi.Input[bool]]):
167
+ pulumi.set(self, "distributed_tracing_enabled", value)
168
+
169
+ @property
170
+ @pulumi.getter
171
+ def guid(self) -> Optional[pulumi.Input[str]]:
172
+ """
173
+ The GUID of the browser application.
174
+ """
175
+ return pulumi.get(self, "guid")
176
+
177
+ @guid.setter
178
+ def guid(self, value: Optional[pulumi.Input[str]]):
179
+ pulumi.set(self, "guid", value)
180
+
181
+ @property
182
+ @pulumi.getter(name="loaderType")
183
+ def loader_type(self) -> Optional[pulumi.Input[str]]:
184
+ """
185
+ 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.
186
+ """
187
+ return pulumi.get(self, "loader_type")
188
+
189
+ @loader_type.setter
190
+ def loader_type(self, value: Optional[pulumi.Input[str]]):
191
+ pulumi.set(self, "loader_type", value)
192
+
193
+ @property
194
+ @pulumi.getter
195
+ def name(self) -> Optional[pulumi.Input[str]]:
196
+ """
197
+ The name of the browser application.
198
+ """
199
+ return pulumi.get(self, "name")
200
+
201
+ @name.setter
202
+ def name(self, value: Optional[pulumi.Input[str]]):
203
+ pulumi.set(self, "name", value)
204
+
205
+
206
+ class BrowserApplication(pulumi.CustomResource):
207
+ @overload
208
+ def __init__(__self__,
209
+ resource_name: str,
210
+ opts: Optional[pulumi.ResourceOptions] = None,
211
+ account_id: Optional[pulumi.Input[int]] = None,
212
+ cookies_enabled: Optional[pulumi.Input[bool]] = None,
213
+ distributed_tracing_enabled: Optional[pulumi.Input[bool]] = None,
214
+ loader_type: Optional[pulumi.Input[str]] = None,
215
+ name: Optional[pulumi.Input[str]] = None,
216
+ __props__=None):
217
+ """
218
+ Use this resource to create, update, and delete a standalone New Relic browser application.
219
+
220
+ ## Example Usage
221
+
222
+ Basic usage to create a standalone browser application.
223
+ ```python
224
+ import pulumi
225
+ import pulumi_newrelic as newrelic
226
+
227
+ foo = newrelic.BrowserApplication("foo",
228
+ cookies_enabled=True,
229
+ distributed_tracing_enabled=True,
230
+ loader_type="SPA")
231
+ ```
232
+
233
+ ## Import
234
+
235
+ Browser applications can be imported using the GUID of the browser application. bash
236
+
237
+ ```sh
238
+ $ pulumi import newrelic:index/browserApplication:BrowserApplication foo <GUID>
239
+ ```
240
+
241
+ :param str resource_name: The name of the resource.
242
+ :param pulumi.ResourceOptions opts: Options for the resource.
243
+ :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`.
244
+ :param pulumi.Input[bool] cookies_enabled: Configure cookies. The default is enabled: true.
245
+ :param pulumi.Input[bool] distributed_tracing_enabled: Configure distributed tracing in browser apps. The default is enabled: true.
246
+ :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.
247
+ :param pulumi.Input[str] name: The name of the browser application.
248
+ """
249
+ ...
250
+ @overload
251
+ def __init__(__self__,
252
+ resource_name: str,
253
+ args: Optional[BrowserApplicationArgs] = None,
254
+ opts: Optional[pulumi.ResourceOptions] = None):
255
+ """
256
+ Use this resource to create, update, and delete a standalone New Relic browser application.
257
+
258
+ ## Example Usage
259
+
260
+ Basic usage to create a standalone browser application.
261
+ ```python
262
+ import pulumi
263
+ import pulumi_newrelic as newrelic
264
+
265
+ foo = newrelic.BrowserApplication("foo",
266
+ cookies_enabled=True,
267
+ distributed_tracing_enabled=True,
268
+ loader_type="SPA")
269
+ ```
270
+
271
+ ## Import
272
+
273
+ Browser applications can be imported using the GUID of the browser application. bash
274
+
275
+ ```sh
276
+ $ pulumi import newrelic:index/browserApplication:BrowserApplication foo <GUID>
277
+ ```
278
+
279
+ :param str resource_name: The name of the resource.
280
+ :param BrowserApplicationArgs args: The arguments to use to populate this resource's properties.
281
+ :param pulumi.ResourceOptions opts: Options for the resource.
282
+ """
283
+ ...
284
+ def __init__(__self__, resource_name: str, *args, **kwargs):
285
+ resource_args, opts = _utilities.get_resource_args_opts(BrowserApplicationArgs, pulumi.ResourceOptions, *args, **kwargs)
286
+ if resource_args is not None:
287
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
288
+ else:
289
+ __self__._internal_init(resource_name, *args, **kwargs)
290
+
291
+ def _internal_init(__self__,
292
+ resource_name: str,
293
+ opts: Optional[pulumi.ResourceOptions] = None,
294
+ account_id: Optional[pulumi.Input[int]] = None,
295
+ cookies_enabled: Optional[pulumi.Input[bool]] = None,
296
+ distributed_tracing_enabled: Optional[pulumi.Input[bool]] = None,
297
+ loader_type: Optional[pulumi.Input[str]] = None,
298
+ name: Optional[pulumi.Input[str]] = None,
299
+ __props__=None):
300
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
301
+ if not isinstance(opts, pulumi.ResourceOptions):
302
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
303
+ if opts.id is None:
304
+ if __props__ is not None:
305
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
306
+ __props__ = BrowserApplicationArgs.__new__(BrowserApplicationArgs)
307
+
308
+ __props__.__dict__["account_id"] = account_id
309
+ __props__.__dict__["cookies_enabled"] = cookies_enabled
310
+ __props__.__dict__["distributed_tracing_enabled"] = distributed_tracing_enabled
311
+ __props__.__dict__["loader_type"] = loader_type
312
+ __props__.__dict__["name"] = name
313
+ __props__.__dict__["guid"] = None
314
+ super(BrowserApplication, __self__).__init__(
315
+ 'newrelic:index/browserApplication:BrowserApplication',
316
+ resource_name,
317
+ __props__,
318
+ opts)
319
+
320
+ @staticmethod
321
+ def get(resource_name: str,
322
+ id: pulumi.Input[str],
323
+ opts: Optional[pulumi.ResourceOptions] = None,
324
+ account_id: Optional[pulumi.Input[int]] = None,
325
+ cookies_enabled: Optional[pulumi.Input[bool]] = None,
326
+ distributed_tracing_enabled: Optional[pulumi.Input[bool]] = None,
327
+ guid: Optional[pulumi.Input[str]] = None,
328
+ loader_type: Optional[pulumi.Input[str]] = None,
329
+ name: Optional[pulumi.Input[str]] = None) -> 'BrowserApplication':
330
+ """
331
+ Get an existing BrowserApplication resource's state with the given name, id, and optional extra
332
+ properties used to qualify the lookup.
333
+
334
+ :param str resource_name: The unique name of the resulting resource.
335
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
336
+ :param pulumi.ResourceOptions opts: Options for the resource.
337
+ :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`.
338
+ :param pulumi.Input[bool] cookies_enabled: Configure cookies. The default is enabled: true.
339
+ :param pulumi.Input[bool] distributed_tracing_enabled: Configure distributed tracing in browser apps. The default is enabled: true.
340
+ :param pulumi.Input[str] guid: The GUID of the browser application.
341
+ :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.
342
+ :param pulumi.Input[str] name: The name of the browser application.
343
+ """
344
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
345
+
346
+ __props__ = _BrowserApplicationState.__new__(_BrowserApplicationState)
347
+
348
+ __props__.__dict__["account_id"] = account_id
349
+ __props__.__dict__["cookies_enabled"] = cookies_enabled
350
+ __props__.__dict__["distributed_tracing_enabled"] = distributed_tracing_enabled
351
+ __props__.__dict__["guid"] = guid
352
+ __props__.__dict__["loader_type"] = loader_type
353
+ __props__.__dict__["name"] = name
354
+ return BrowserApplication(resource_name, opts=opts, __props__=__props__)
355
+
356
+ @property
357
+ @pulumi.getter(name="accountId")
358
+ def account_id(self) -> pulumi.Output[int]:
359
+ """
360
+ 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`.
361
+ """
362
+ return pulumi.get(self, "account_id")
363
+
364
+ @property
365
+ @pulumi.getter(name="cookiesEnabled")
366
+ def cookies_enabled(self) -> pulumi.Output[Optional[bool]]:
367
+ """
368
+ Configure cookies. The default is enabled: true.
369
+ """
370
+ return pulumi.get(self, "cookies_enabled")
371
+
372
+ @property
373
+ @pulumi.getter(name="distributedTracingEnabled")
374
+ def distributed_tracing_enabled(self) -> pulumi.Output[Optional[bool]]:
375
+ """
376
+ Configure distributed tracing in browser apps. The default is enabled: true.
377
+ """
378
+ return pulumi.get(self, "distributed_tracing_enabled")
379
+
380
+ @property
381
+ @pulumi.getter
382
+ def guid(self) -> pulumi.Output[str]:
383
+ """
384
+ The GUID of the browser application.
385
+ """
386
+ return pulumi.get(self, "guid")
387
+
388
+ @property
389
+ @pulumi.getter(name="loaderType")
390
+ def loader_type(self) -> pulumi.Output[Optional[str]]:
391
+ """
392
+ 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.
393
+ """
394
+ return pulumi.get(self, "loader_type")
395
+
396
+ @property
397
+ @pulumi.getter
398
+ def name(self) -> pulumi.Output[str]:
399
+ """
400
+ The name of the browser application.
401
+ """
402
+ return pulumi.get(self, "name")
403
+