pulumi-newrelic 5.16.0a1698964311__py3-none-any.whl → 5.58.0a1763707205__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-newrelic might be problematic. Click here for more details.
- pulumi_newrelic/__init__.py +58 -1
- pulumi_newrelic/_inputs.py +10772 -2775
- pulumi_newrelic/_utilities.py +92 -11
- pulumi_newrelic/account_management.py +56 -42
- pulumi_newrelic/alert_channel.py +177 -151
- pulumi_newrelic/alert_condition.py +313 -301
- pulumi_newrelic/alert_muting_rule.py +195 -138
- pulumi_newrelic/alert_policy.py +157 -109
- pulumi_newrelic/alert_policy_channel.py +95 -81
- pulumi_newrelic/api_access_key.py +191 -209
- pulumi_newrelic/browser_application.py +161 -153
- pulumi_newrelic/cloud/__init__.py +3 -1
- pulumi_newrelic/cloud/_inputs.py +4267 -2710
- pulumi_newrelic/cloud/aws_govcloud_integrations.py +238 -200
- pulumi_newrelic/cloud/aws_govcloud_link_account.py +159 -212
- pulumi_newrelic/cloud/aws_integrations.py +518 -1490
- pulumi_newrelic/cloud/aws_link_account.py +88 -76
- pulumi_newrelic/cloud/azure_integrations.py +681 -587
- pulumi_newrelic/cloud/azure_link_account.py +129 -117
- pulumi_newrelic/cloud/gcp_integrations.py +436 -408
- pulumi_newrelic/cloud/gcp_link_account.py +71 -59
- pulumi_newrelic/cloud/oci_link_account.py +926 -0
- pulumi_newrelic/cloud/outputs.py +1678 -2317
- pulumi_newrelic/config/__init__.py +2 -1
- pulumi_newrelic/config/__init__.pyi +45 -0
- pulumi_newrelic/config/vars.py +22 -17
- pulumi_newrelic/data_partition_rule.py +129 -117
- pulumi_newrelic/entity_tags.py +153 -31
- pulumi_newrelic/events_to_metrics_rule.py +114 -102
- pulumi_newrelic/get_account.py +41 -29
- pulumi_newrelic/get_alert_channel.py +73 -28
- pulumi_newrelic/get_alert_policy.py +83 -34
- pulumi_newrelic/get_application.py +51 -39
- pulumi_newrelic/get_authentication_domain.py +111 -0
- pulumi_newrelic/get_cloud_account.py +43 -31
- pulumi_newrelic/get_entity.py +126 -121
- pulumi_newrelic/get_group.py +190 -0
- pulumi_newrelic/get_key_transaction.py +117 -38
- pulumi_newrelic/get_notification_destination.py +86 -36
- pulumi_newrelic/get_obfuscation_expression.py +47 -35
- pulumi_newrelic/get_service_level_alert_helper.py +237 -137
- pulumi_newrelic/get_test_grok_pattern.py +47 -32
- pulumi_newrelic/get_user.py +165 -0
- pulumi_newrelic/group.py +286 -0
- pulumi_newrelic/infra_alert_condition.py +400 -382
- pulumi_newrelic/insights/__init__.py +2 -1
- pulumi_newrelic/insights/_inputs.py +94 -23
- pulumi_newrelic/insights/event.py +56 -48
- pulumi_newrelic/insights/outputs.py +51 -18
- pulumi_newrelic/key_transaction.py +465 -0
- pulumi_newrelic/log_parsing_rule.py +169 -153
- pulumi_newrelic/monitor_downtime.py +914 -0
- pulumi_newrelic/notification_channel.py +560 -418
- pulumi_newrelic/notification_destination.py +379 -124
- pulumi_newrelic/nrql_alert_condition.py +945 -513
- pulumi_newrelic/nrql_drop_rule.py +121 -129
- pulumi_newrelic/obfuscation_expression.py +88 -76
- pulumi_newrelic/obfuscation_rule.py +123 -109
- pulumi_newrelic/one_dashboard.py +118 -108
- pulumi_newrelic/one_dashboard_json.py +77 -67
- pulumi_newrelic/one_dashboard_raw.py +214 -202
- pulumi_newrelic/outputs.py +5491 -2141
- pulumi_newrelic/pipeline_cloud_rule.py +335 -0
- pulumi_newrelic/plugins/__init__.py +2 -1
- pulumi_newrelic/plugins/_inputs.py +520 -90
- pulumi_newrelic/plugins/application_settings.py +463 -167
- pulumi_newrelic/plugins/outputs.py +337 -75
- pulumi_newrelic/plugins/workload.py +387 -151
- pulumi_newrelic/provider.py +156 -142
- pulumi_newrelic/pulumi-plugin.json +2 -1
- pulumi_newrelic/service_level.py +277 -255
- pulumi_newrelic/synthetics/__init__.py +2 -1
- pulumi_newrelic/synthetics/_inputs.py +275 -106
- pulumi_newrelic/synthetics/alert_condition.py +174 -160
- pulumi_newrelic/synthetics/broken_links_monitor.py +367 -207
- pulumi_newrelic/synthetics/cert_check_monitor.py +380 -218
- pulumi_newrelic/synthetics/get_private_location.py +51 -39
- pulumi_newrelic/synthetics/get_secure_credential.py +39 -27
- pulumi_newrelic/synthetics/monitor.py +668 -462
- pulumi_newrelic/synthetics/multi_location_alert_condition.py +219 -201
- pulumi_newrelic/synthetics/outputs.py +102 -85
- pulumi_newrelic/synthetics/private_location.py +120 -110
- pulumi_newrelic/synthetics/script_monitor.py +623 -375
- pulumi_newrelic/synthetics/secure_credential.py +99 -93
- pulumi_newrelic/synthetics/step_monitor.py +545 -201
- pulumi_newrelic/user.py +366 -0
- pulumi_newrelic/workflow.py +348 -312
- {pulumi_newrelic-5.16.0a1698964311.dist-info → pulumi_newrelic-5.58.0a1763707205.dist-info}/METADATA +8 -7
- pulumi_newrelic-5.58.0a1763707205.dist-info/RECORD +92 -0
- {pulumi_newrelic-5.16.0a1698964311.dist-info → pulumi_newrelic-5.58.0a1763707205.dist-info}/WHEEL +1 -1
- pulumi_newrelic-5.16.0a1698964311.dist-info/RECORD +0 -82
- {pulumi_newrelic-5.16.0a1698964311.dist-info → pulumi_newrelic-5.58.0a1763707205.dist-info}/top_level.txt +0 -0
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import
|
|
5
|
+
import builtins as _builtins
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
10
15
|
from . import _utilities
|
|
11
16
|
|
|
12
17
|
__all__ = ['BrowserApplicationArgs', 'BrowserApplication']
|
|
@@ -14,18 +19,18 @@ __all__ = ['BrowserApplicationArgs', 'BrowserApplication']
|
|
|
14
19
|
@pulumi.input_type
|
|
15
20
|
class BrowserApplicationArgs:
|
|
16
21
|
def __init__(__self__, *,
|
|
17
|
-
account_id: Optional[pulumi.Input[
|
|
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
|
+
account_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
23
|
+
cookies_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
24
|
+
distributed_tracing_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
25
|
+
loader_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
26
|
+
name: Optional[pulumi.Input[_builtins.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
|
|
28
|
-
:param pulumi.Input[str] name: The name of the browser application.
|
|
29
|
+
:param pulumi.Input[_builtins.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[_builtins.bool] cookies_enabled: Configures cookies. Defaults to `true`, if not specified.
|
|
31
|
+
:param pulumi.Input[_builtins.bool] distributed_tracing_enabled: Configures distributed tracing in browser apps. Defaults to `true`, if not specified.
|
|
32
|
+
:param pulumi.Input[_builtins.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.
|
|
33
|
+
:param pulumi.Input[_builtins.str] name: The name of the browser application.
|
|
29
34
|
"""
|
|
30
35
|
if account_id is not None:
|
|
31
36
|
pulumi.set(__self__, "account_id", account_id)
|
|
@@ -38,89 +43,93 @@ class BrowserApplicationArgs:
|
|
|
38
43
|
if name is not None:
|
|
39
44
|
pulumi.set(__self__, "name", name)
|
|
40
45
|
|
|
41
|
-
@property
|
|
46
|
+
@_builtins.property
|
|
42
47
|
@pulumi.getter(name="accountId")
|
|
43
|
-
def account_id(self) -> Optional[pulumi.Input[
|
|
48
|
+
def account_id(self) -> Optional[pulumi.Input[_builtins.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[_builtins.str]]):
|
|
51
56
|
pulumi.set(self, "account_id", value)
|
|
52
57
|
|
|
53
|
-
@property
|
|
58
|
+
@_builtins.property
|
|
54
59
|
@pulumi.getter(name="cookiesEnabled")
|
|
55
|
-
def cookies_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
60
|
+
def cookies_enabled(self) -> Optional[pulumi.Input[_builtins.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
|
|
|
61
66
|
@cookies_enabled.setter
|
|
62
|
-
def cookies_enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
67
|
+
def cookies_enabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
63
68
|
pulumi.set(self, "cookies_enabled", value)
|
|
64
69
|
|
|
65
|
-
@property
|
|
70
|
+
@_builtins.property
|
|
66
71
|
@pulumi.getter(name="distributedTracingEnabled")
|
|
67
|
-
def distributed_tracing_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
72
|
+
def distributed_tracing_enabled(self) -> Optional[pulumi.Input[_builtins.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
|
|
|
73
78
|
@distributed_tracing_enabled.setter
|
|
74
|
-
def distributed_tracing_enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
79
|
+
def distributed_tracing_enabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
75
80
|
pulumi.set(self, "distributed_tracing_enabled", value)
|
|
76
81
|
|
|
77
|
-
@property
|
|
82
|
+
@_builtins.property
|
|
78
83
|
@pulumi.getter(name="loaderType")
|
|
79
|
-
def loader_type(self) -> Optional[pulumi.Input[str]]:
|
|
84
|
+
def loader_type(self) -> Optional[pulumi.Input[_builtins.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
|
|
|
85
90
|
@loader_type.setter
|
|
86
|
-
def loader_type(self, value: Optional[pulumi.Input[str]]):
|
|
91
|
+
def loader_type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
87
92
|
pulumi.set(self, "loader_type", value)
|
|
88
93
|
|
|
89
|
-
@property
|
|
94
|
+
@_builtins.property
|
|
90
95
|
@pulumi.getter
|
|
91
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
96
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
92
97
|
"""
|
|
93
98
|
The name of the browser application.
|
|
94
99
|
"""
|
|
95
100
|
return pulumi.get(self, "name")
|
|
96
101
|
|
|
97
102
|
@name.setter
|
|
98
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
103
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
99
104
|
pulumi.set(self, "name", value)
|
|
100
105
|
|
|
101
106
|
|
|
102
107
|
@pulumi.input_type
|
|
103
108
|
class _BrowserApplicationState:
|
|
104
109
|
def __init__(__self__, *,
|
|
105
|
-
account_id: Optional[pulumi.Input[
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
110
|
+
account_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
111
|
+
application_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
112
|
+
cookies_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
113
|
+
distributed_tracing_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
114
|
+
guid: Optional[pulumi.Input[_builtins.str]] = None,
|
|
115
|
+
js_config: Optional[pulumi.Input[_builtins.str]] = None,
|
|
116
|
+
loader_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
117
|
+
name: Optional[pulumi.Input[_builtins.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]
|
|
117
|
-
:param pulumi.Input[
|
|
118
|
-
:param pulumi.Input[str]
|
|
119
|
-
:param pulumi.Input[str]
|
|
120
|
-
:param pulumi.Input[str]
|
|
120
|
+
:param pulumi.Input[_builtins.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[_builtins.str] application_id: The application ID of the browser application (not to be confused with GUID).
|
|
122
|
+
:param pulumi.Input[_builtins.bool] cookies_enabled: Configures cookies. Defaults to `true`, if not specified.
|
|
123
|
+
:param pulumi.Input[_builtins.bool] distributed_tracing_enabled: Configures distributed tracing in browser apps. Defaults to `true`, if not specified.
|
|
124
|
+
:param pulumi.Input[_builtins.str] guid: The GUID of the browser application.
|
|
125
|
+
:param pulumi.Input[_builtins.str] js_config: The JavaScript configuration of the browser application, encoded into a string.
|
|
126
|
+
:param pulumi.Input[_builtins.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.
|
|
127
|
+
:param pulumi.Input[_builtins.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:
|
|
@@ -134,133 +143,133 @@ class _BrowserApplicationState:
|
|
|
134
143
|
if name is not None:
|
|
135
144
|
pulumi.set(__self__, "name", name)
|
|
136
145
|
|
|
137
|
-
@property
|
|
146
|
+
@_builtins.property
|
|
138
147
|
@pulumi.getter(name="accountId")
|
|
139
|
-
def account_id(self) -> Optional[pulumi.Input[
|
|
148
|
+
def account_id(self) -> Optional[pulumi.Input[_builtins.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[_builtins.str]]):
|
|
147
156
|
pulumi.set(self, "account_id", value)
|
|
148
157
|
|
|
149
|
-
@property
|
|
158
|
+
@_builtins.property
|
|
159
|
+
@pulumi.getter(name="applicationId")
|
|
160
|
+
def application_id(self) -> Optional[pulumi.Input[_builtins.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[_builtins.str]]):
|
|
168
|
+
pulumi.set(self, "application_id", value)
|
|
169
|
+
|
|
170
|
+
@_builtins.property
|
|
150
171
|
@pulumi.getter(name="cookiesEnabled")
|
|
151
|
-
def cookies_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
172
|
+
def cookies_enabled(self) -> Optional[pulumi.Input[_builtins.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
|
|
|
157
178
|
@cookies_enabled.setter
|
|
158
|
-
def cookies_enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
179
|
+
def cookies_enabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
159
180
|
pulumi.set(self, "cookies_enabled", value)
|
|
160
181
|
|
|
161
|
-
@property
|
|
182
|
+
@_builtins.property
|
|
162
183
|
@pulumi.getter(name="distributedTracingEnabled")
|
|
163
|
-
def distributed_tracing_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
184
|
+
def distributed_tracing_enabled(self) -> Optional[pulumi.Input[_builtins.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
|
|
|
169
190
|
@distributed_tracing_enabled.setter
|
|
170
|
-
def distributed_tracing_enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
191
|
+
def distributed_tracing_enabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
171
192
|
pulumi.set(self, "distributed_tracing_enabled", value)
|
|
172
193
|
|
|
173
|
-
@property
|
|
194
|
+
@_builtins.property
|
|
174
195
|
@pulumi.getter
|
|
175
|
-
def guid(self) -> Optional[pulumi.Input[str]]:
|
|
196
|
+
def guid(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
176
197
|
"""
|
|
177
198
|
The GUID of the browser application.
|
|
178
199
|
"""
|
|
179
200
|
return pulumi.get(self, "guid")
|
|
180
201
|
|
|
181
202
|
@guid.setter
|
|
182
|
-
def guid(self, value: Optional[pulumi.Input[str]]):
|
|
203
|
+
def guid(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
183
204
|
pulumi.set(self, "guid", value)
|
|
184
205
|
|
|
185
|
-
@property
|
|
206
|
+
@_builtins.property
|
|
186
207
|
@pulumi.getter(name="jsConfig")
|
|
187
|
-
def js_config(self) -> Optional[pulumi.Input[str]]:
|
|
208
|
+
def js_config(self) -> Optional[pulumi.Input[_builtins.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
|
|
|
193
214
|
@js_config.setter
|
|
194
|
-
def js_config(self, value: Optional[pulumi.Input[str]]):
|
|
215
|
+
def js_config(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
195
216
|
pulumi.set(self, "js_config", value)
|
|
196
217
|
|
|
197
|
-
@property
|
|
218
|
+
@_builtins.property
|
|
198
219
|
@pulumi.getter(name="loaderType")
|
|
199
|
-
def loader_type(self) -> Optional[pulumi.Input[str]]:
|
|
220
|
+
def loader_type(self) -> Optional[pulumi.Input[_builtins.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
|
|
|
205
226
|
@loader_type.setter
|
|
206
|
-
def loader_type(self, value: Optional[pulumi.Input[str]]):
|
|
227
|
+
def loader_type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
207
228
|
pulumi.set(self, "loader_type", value)
|
|
208
229
|
|
|
209
|
-
@property
|
|
230
|
+
@_builtins.property
|
|
210
231
|
@pulumi.getter
|
|
211
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
232
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
212
233
|
"""
|
|
213
234
|
The name of the browser application.
|
|
214
235
|
"""
|
|
215
236
|
return pulumi.get(self, "name")
|
|
216
237
|
|
|
217
238
|
@name.setter
|
|
218
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
239
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
219
240
|
pulumi.set(self, "name", value)
|
|
220
241
|
|
|
221
242
|
|
|
243
|
+
@pulumi.type_token("newrelic:index/browserApplication:BrowserApplication")
|
|
222
244
|
class BrowserApplication(pulumi.CustomResource):
|
|
223
245
|
@overload
|
|
224
246
|
def __init__(__self__,
|
|
225
247
|
resource_name: str,
|
|
226
248
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
227
|
-
account_id: Optional[pulumi.Input[
|
|
228
|
-
cookies_enabled: Optional[pulumi.Input[bool]] = None,
|
|
229
|
-
distributed_tracing_enabled: Optional[pulumi.Input[bool]] = None,
|
|
230
|
-
loader_type: Optional[pulumi.Input[str]] = None,
|
|
231
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
249
|
+
account_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
250
|
+
cookies_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
251
|
+
distributed_tracing_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
252
|
+
loader_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
253
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
232
254
|
__props__=None):
|
|
233
255
|
"""
|
|
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
256
|
## Import
|
|
250
257
|
|
|
251
|
-
|
|
258
|
+
A browser application can be imported using its GUID, i.e.
|
|
259
|
+
|
|
260
|
+
bash
|
|
252
261
|
|
|
253
262
|
```sh
|
|
254
|
-
|
|
263
|
+
$ pulumi import newrelic:index/browserApplication:BrowserApplication foo <GUID>
|
|
255
264
|
```
|
|
256
265
|
|
|
257
266
|
:param str resource_name: The name of the resource.
|
|
258
267
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
259
|
-
:param pulumi.Input[
|
|
260
|
-
:param pulumi.Input[bool] cookies_enabled:
|
|
261
|
-
:param pulumi.Input[bool] distributed_tracing_enabled:
|
|
262
|
-
:param pulumi.Input[str] loader_type: Determines
|
|
263
|
-
:param pulumi.Input[str] name: The name of the browser application.
|
|
268
|
+
:param pulumi.Input[_builtins.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.
|
|
269
|
+
:param pulumi.Input[_builtins.bool] cookies_enabled: Configures cookies. Defaults to `true`, if not specified.
|
|
270
|
+
:param pulumi.Input[_builtins.bool] distributed_tracing_enabled: Configures distributed tracing in browser apps. Defaults to `true`, if not specified.
|
|
271
|
+
:param pulumi.Input[_builtins.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.
|
|
272
|
+
:param pulumi.Input[_builtins.str] name: The name of the browser application.
|
|
264
273
|
"""
|
|
265
274
|
...
|
|
266
275
|
@overload
|
|
@@ -269,27 +278,14 @@ class BrowserApplication(pulumi.CustomResource):
|
|
|
269
278
|
args: Optional[BrowserApplicationArgs] = None,
|
|
270
279
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
271
280
|
"""
|
|
272
|
-
Use this resource to create, update, and delete a standalone New Relic browser application.
|
|
273
|
-
|
|
274
|
-
## Example Usage
|
|
275
|
-
|
|
276
|
-
Basic usage to create a standalone browser application.
|
|
277
|
-
```python
|
|
278
|
-
import pulumi
|
|
279
|
-
import pulumi_newrelic as newrelic
|
|
280
|
-
|
|
281
|
-
foo = newrelic.BrowserApplication("foo",
|
|
282
|
-
cookies_enabled=True,
|
|
283
|
-
distributed_tracing_enabled=True,
|
|
284
|
-
loader_type="SPA")
|
|
285
|
-
```
|
|
286
|
-
|
|
287
281
|
## Import
|
|
288
282
|
|
|
289
|
-
|
|
283
|
+
A browser application can be imported using its GUID, i.e.
|
|
284
|
+
|
|
285
|
+
bash
|
|
290
286
|
|
|
291
287
|
```sh
|
|
292
|
-
|
|
288
|
+
$ pulumi import newrelic:index/browserApplication:BrowserApplication foo <GUID>
|
|
293
289
|
```
|
|
294
290
|
|
|
295
291
|
:param str resource_name: The name of the resource.
|
|
@@ -307,11 +303,11 @@ class BrowserApplication(pulumi.CustomResource):
|
|
|
307
303
|
def _internal_init(__self__,
|
|
308
304
|
resource_name: str,
|
|
309
305
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
310
|
-
account_id: Optional[pulumi.Input[
|
|
311
|
-
cookies_enabled: Optional[pulumi.Input[bool]] = None,
|
|
312
|
-
distributed_tracing_enabled: Optional[pulumi.Input[bool]] = None,
|
|
313
|
-
loader_type: Optional[pulumi.Input[str]] = None,
|
|
314
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
306
|
+
account_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
307
|
+
cookies_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
308
|
+
distributed_tracing_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
309
|
+
loader_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
310
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
315
311
|
__props__=None):
|
|
316
312
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
317
313
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -326,6 +322,7 @@ class BrowserApplication(pulumi.CustomResource):
|
|
|
326
322
|
__props__.__dict__["distributed_tracing_enabled"] = distributed_tracing_enabled
|
|
327
323
|
__props__.__dict__["loader_type"] = loader_type
|
|
328
324
|
__props__.__dict__["name"] = name
|
|
325
|
+
__props__.__dict__["application_id"] = None
|
|
329
326
|
__props__.__dict__["guid"] = None
|
|
330
327
|
__props__.__dict__["js_config"] = None
|
|
331
328
|
super(BrowserApplication, __self__).__init__(
|
|
@@ -338,13 +335,14 @@ class BrowserApplication(pulumi.CustomResource):
|
|
|
338
335
|
def get(resource_name: str,
|
|
339
336
|
id: pulumi.Input[str],
|
|
340
337
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
341
|
-
account_id: Optional[pulumi.Input[
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
338
|
+
account_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
339
|
+
application_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
340
|
+
cookies_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
341
|
+
distributed_tracing_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
342
|
+
guid: Optional[pulumi.Input[_builtins.str]] = None,
|
|
343
|
+
js_config: Optional[pulumi.Input[_builtins.str]] = None,
|
|
344
|
+
loader_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
345
|
+
name: Optional[pulumi.Input[_builtins.str]] = None) -> 'BrowserApplication':
|
|
348
346
|
"""
|
|
349
347
|
Get an existing BrowserApplication resource's state with the given name, id, and optional extra
|
|
350
348
|
properties used to qualify the lookup.
|
|
@@ -352,19 +350,21 @@ class BrowserApplication(pulumi.CustomResource):
|
|
|
352
350
|
:param str resource_name: The unique name of the resulting resource.
|
|
353
351
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
354
352
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
355
|
-
:param pulumi.Input[
|
|
356
|
-
:param pulumi.Input[
|
|
357
|
-
:param pulumi.Input[bool]
|
|
358
|
-
:param pulumi.Input[
|
|
359
|
-
:param pulumi.Input[str]
|
|
360
|
-
:param pulumi.Input[str]
|
|
361
|
-
:param pulumi.Input[str]
|
|
353
|
+
:param pulumi.Input[_builtins.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.
|
|
354
|
+
:param pulumi.Input[_builtins.str] application_id: The application ID of the browser application (not to be confused with GUID).
|
|
355
|
+
:param pulumi.Input[_builtins.bool] cookies_enabled: Configures cookies. Defaults to `true`, if not specified.
|
|
356
|
+
:param pulumi.Input[_builtins.bool] distributed_tracing_enabled: Configures distributed tracing in browser apps. Defaults to `true`, if not specified.
|
|
357
|
+
:param pulumi.Input[_builtins.str] guid: The GUID of the browser application.
|
|
358
|
+
:param pulumi.Input[_builtins.str] js_config: The JavaScript configuration of the browser application, encoded into a string.
|
|
359
|
+
:param pulumi.Input[_builtins.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.
|
|
360
|
+
:param pulumi.Input[_builtins.str] name: The name of the browser application.
|
|
362
361
|
"""
|
|
363
362
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
364
363
|
|
|
365
364
|
__props__ = _BrowserApplicationState.__new__(_BrowserApplicationState)
|
|
366
365
|
|
|
367
366
|
__props__.__dict__["account_id"] = account_id
|
|
367
|
+
__props__.__dict__["application_id"] = application_id
|
|
368
368
|
__props__.__dict__["cookies_enabled"] = cookies_enabled
|
|
369
369
|
__props__.__dict__["distributed_tracing_enabled"] = distributed_tracing_enabled
|
|
370
370
|
__props__.__dict__["guid"] = guid
|
|
@@ -373,57 +373,65 @@ class BrowserApplication(pulumi.CustomResource):
|
|
|
373
373
|
__props__.__dict__["name"] = name
|
|
374
374
|
return BrowserApplication(resource_name, opts=opts, __props__=__props__)
|
|
375
375
|
|
|
376
|
-
@property
|
|
376
|
+
@_builtins.property
|
|
377
377
|
@pulumi.getter(name="accountId")
|
|
378
|
-
def account_id(self) -> pulumi.Output[
|
|
378
|
+
def account_id(self) -> pulumi.Output[_builtins.str]:
|
|
379
379
|
"""
|
|
380
|
-
The
|
|
380
|
+
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.
|
|
381
381
|
"""
|
|
382
382
|
return pulumi.get(self, "account_id")
|
|
383
383
|
|
|
384
|
-
@property
|
|
384
|
+
@_builtins.property
|
|
385
|
+
@pulumi.getter(name="applicationId")
|
|
386
|
+
def application_id(self) -> pulumi.Output[_builtins.str]:
|
|
387
|
+
"""
|
|
388
|
+
The application ID of the browser application (not to be confused with GUID).
|
|
389
|
+
"""
|
|
390
|
+
return pulumi.get(self, "application_id")
|
|
391
|
+
|
|
392
|
+
@_builtins.property
|
|
385
393
|
@pulumi.getter(name="cookiesEnabled")
|
|
386
|
-
def cookies_enabled(self) -> pulumi.Output[Optional[bool]]:
|
|
394
|
+
def cookies_enabled(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
|
387
395
|
"""
|
|
388
|
-
|
|
396
|
+
Configures cookies. Defaults to `true`, if not specified.
|
|
389
397
|
"""
|
|
390
398
|
return pulumi.get(self, "cookies_enabled")
|
|
391
399
|
|
|
392
|
-
@property
|
|
400
|
+
@_builtins.property
|
|
393
401
|
@pulumi.getter(name="distributedTracingEnabled")
|
|
394
|
-
def distributed_tracing_enabled(self) -> pulumi.Output[Optional[bool]]:
|
|
402
|
+
def distributed_tracing_enabled(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
|
395
403
|
"""
|
|
396
|
-
|
|
404
|
+
Configures distributed tracing in browser apps. Defaults to `true`, if not specified.
|
|
397
405
|
"""
|
|
398
406
|
return pulumi.get(self, "distributed_tracing_enabled")
|
|
399
407
|
|
|
400
|
-
@property
|
|
408
|
+
@_builtins.property
|
|
401
409
|
@pulumi.getter
|
|
402
|
-
def guid(self) -> pulumi.Output[str]:
|
|
410
|
+
def guid(self) -> pulumi.Output[_builtins.str]:
|
|
403
411
|
"""
|
|
404
412
|
The GUID of the browser application.
|
|
405
413
|
"""
|
|
406
414
|
return pulumi.get(self, "guid")
|
|
407
415
|
|
|
408
|
-
@property
|
|
416
|
+
@_builtins.property
|
|
409
417
|
@pulumi.getter(name="jsConfig")
|
|
410
|
-
def js_config(self) -> pulumi.Output[str]:
|
|
418
|
+
def js_config(self) -> pulumi.Output[_builtins.str]:
|
|
411
419
|
"""
|
|
412
|
-
JavaScript configuration of the browser application encoded into a string.
|
|
420
|
+
The JavaScript configuration of the browser application, encoded into a string.
|
|
413
421
|
"""
|
|
414
422
|
return pulumi.get(self, "js_config")
|
|
415
423
|
|
|
416
|
-
@property
|
|
424
|
+
@_builtins.property
|
|
417
425
|
@pulumi.getter(name="loaderType")
|
|
418
|
-
def loader_type(self) -> pulumi.Output[Optional[str]]:
|
|
426
|
+
def loader_type(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
419
427
|
"""
|
|
420
|
-
Determines
|
|
428
|
+
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.
|
|
421
429
|
"""
|
|
422
430
|
return pulumi.get(self, "loader_type")
|
|
423
431
|
|
|
424
|
-
@property
|
|
432
|
+
@_builtins.property
|
|
425
433
|
@pulumi.getter
|
|
426
|
-
def name(self) -> pulumi.Output[str]:
|
|
434
|
+
def name(self) -> pulumi.Output[_builtins.str]:
|
|
427
435
|
"""
|
|
428
436
|
The name of the browser application.
|
|
429
437
|
"""
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
+
import builtins as _builtins
|
|
5
6
|
from .. import _utilities
|
|
6
7
|
import typing
|
|
7
8
|
# Export this package's modules as members:
|
|
@@ -13,5 +14,6 @@ from .azure_integrations import *
|
|
|
13
14
|
from .azure_link_account import *
|
|
14
15
|
from .gcp_integrations import *
|
|
15
16
|
from .gcp_link_account import *
|
|
17
|
+
from .oci_link_account import *
|
|
16
18
|
from ._inputs import *
|
|
17
19
|
from . import outputs
|