pulumi-newrelic 5.20.0a1709643785__py3-none-any.whl → 5.39.0a1736834464__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- pulumi_newrelic/__init__.py +9 -0
- pulumi_newrelic/_inputs.py +7153 -461
- pulumi_newrelic/_utilities.py +41 -5
- pulumi_newrelic/account_management.py +13 -4
- pulumi_newrelic/alert_channel.py +122 -101
- pulumi_newrelic/alert_condition.py +120 -109
- pulumi_newrelic/alert_muting_rule.py +130 -74
- pulumi_newrelic/alert_policy.py +88 -67
- pulumi_newrelic/alert_policy_channel.py +81 -68
- pulumi_newrelic/api_access_key.py +49 -52
- pulumi_newrelic/browser_application.py +79 -76
- pulumi_newrelic/cloud/_inputs.py +2527 -1082
- pulumi_newrelic/cloud/aws_govcloud_integrations.py +135 -130
- pulumi_newrelic/cloud/aws_govcloud_link_account.py +25 -18
- pulumi_newrelic/cloud/aws_integrations.py +300 -1324
- pulumi_newrelic/cloud/aws_link_account.py +25 -18
- pulumi_newrelic/cloud/azure_integrations.py +523 -481
- pulumi_newrelic/cloud/azure_link_account.py +36 -29
- pulumi_newrelic/cloud/gcp_integrations.py +343 -320
- pulumi_newrelic/cloud/gcp_link_account.py +25 -18
- pulumi_newrelic/cloud/outputs.py +327 -1072
- pulumi_newrelic/config/__init__.pyi +6 -1
- pulumi_newrelic/config/vars.py +7 -2
- pulumi_newrelic/data_partition_rule.py +23 -16
- pulumi_newrelic/entity_tags.py +36 -31
- pulumi_newrelic/events_to_metrics_rule.py +27 -20
- pulumi_newrelic/get_account.py +24 -12
- pulumi_newrelic/get_alert_channel.py +26 -13
- pulumi_newrelic/get_alert_policy.py +35 -12
- pulumi_newrelic/get_application.py +39 -27
- pulumi_newrelic/get_authentication_domain.py +17 -9
- pulumi_newrelic/get_cloud_account.py +26 -14
- pulumi_newrelic/get_entity.py +90 -85
- pulumi_newrelic/get_group.py +58 -9
- pulumi_newrelic/get_key_transaction.py +109 -30
- pulumi_newrelic/get_notification_destination.py +64 -14
- pulumi_newrelic/get_obfuscation_expression.py +36 -24
- pulumi_newrelic/get_service_level_alert_helper.py +135 -105
- pulumi_newrelic/get_test_grok_pattern.py +29 -14
- pulumi_newrelic/get_user.py +17 -5
- pulumi_newrelic/group.py +5 -132
- pulumi_newrelic/infra_alert_condition.py +157 -140
- pulumi_newrelic/insights/_inputs.py +43 -0
- pulumi_newrelic/insights/event.py +50 -43
- pulumi_newrelic/insights/outputs.py +5 -0
- pulumi_newrelic/key_transaction.py +464 -0
- pulumi_newrelic/log_parsing_rule.py +29 -18
- pulumi_newrelic/monitor_downtime.py +215 -203
- pulumi_newrelic/notification_channel.py +387 -326
- pulumi_newrelic/notification_destination.py +248 -118
- pulumi_newrelic/nrql_alert_condition.py +353 -246
- pulumi_newrelic/nrql_drop_rule.py +57 -30
- pulumi_newrelic/obfuscation_expression.py +25 -18
- pulumi_newrelic/obfuscation_rule.py +40 -31
- pulumi_newrelic/one_dashboard.py +31 -26
- pulumi_newrelic/one_dashboard_json.py +21 -16
- pulumi_newrelic/one_dashboard_raw.py +112 -101
- pulumi_newrelic/outputs.py +2446 -245
- pulumi_newrelic/plugins/_inputs.py +145 -10
- pulumi_newrelic/plugins/application_settings.py +29 -20
- pulumi_newrelic/plugins/outputs.py +15 -10
- pulumi_newrelic/plugins/workload.py +285 -54
- pulumi_newrelic/provider.py +27 -33
- pulumi_newrelic/pulumi-plugin.json +2 -1
- pulumi_newrelic/service_level.py +193 -180
- pulumi_newrelic/synthetics/_inputs.py +159 -2
- pulumi_newrelic/synthetics/alert_condition.py +91 -78
- pulumi_newrelic/synthetics/broken_links_monitor.py +220 -93
- pulumi_newrelic/synthetics/cert_check_monitor.py +223 -94
- pulumi_newrelic/synthetics/get_private_location.py +34 -22
- pulumi_newrelic/synthetics/get_secure_credential.py +24 -12
- pulumi_newrelic/synthetics/monitor.py +352 -179
- pulumi_newrelic/synthetics/multi_location_alert_condition.py +109 -96
- pulumi_newrelic/synthetics/outputs.py +7 -2
- pulumi_newrelic/synthetics/private_location.py +27 -18
- pulumi_newrelic/synthetics/script_monitor.py +321 -168
- pulumi_newrelic/synthetics/secure_credential.py +25 -20
- pulumi_newrelic/synthetics/step_monitor.py +409 -98
- pulumi_newrelic/user.py +13 -6
- pulumi_newrelic/workflow.py +215 -184
- {pulumi_newrelic-5.20.0a1709643785.dist-info → pulumi_newrelic-5.39.0a1736834464.dist-info}/METADATA +7 -6
- pulumi_newrelic-5.39.0a1736834464.dist-info/RECORD +90 -0
- {pulumi_newrelic-5.20.0a1709643785.dist-info → pulumi_newrelic-5.39.0a1736834464.dist-info}/WHEEL +1 -1
- pulumi_newrelic-5.20.0a1709643785.dist-info/RECORD +0 -89
- {pulumi_newrelic-5.20.0a1709643785.dist-info → pulumi_newrelic-5.39.0a1736834464.dist-info}/top_level.txt +0 -0
@@ -4,9 +4,14 @@
|
|
4
4
|
|
5
5
|
import copy
|
6
6
|
import warnings
|
7
|
+
import sys
|
7
8
|
import pulumi
|
8
9
|
import pulumi.runtime
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
10
15
|
from .. import _utilities
|
11
16
|
|
12
17
|
__all__ = ['SecureCredentialArgs', 'SecureCredential']
|
@@ -16,14 +21,14 @@ class SecureCredentialArgs:
|
|
16
21
|
def __init__(__self__, *,
|
17
22
|
key: pulumi.Input[str],
|
18
23
|
value: pulumi.Input[str],
|
19
|
-
account_id: Optional[pulumi.Input[
|
24
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
20
25
|
description: Optional[pulumi.Input[str]] = None,
|
21
26
|
last_updated: Optional[pulumi.Input[str]] = None):
|
22
27
|
"""
|
23
28
|
The set of arguments for constructing a SecureCredential resource.
|
24
29
|
:param pulumi.Input[str] key: The secure credential's key name. Regardless of the case used in the configuration, the provider will provide an upcased key to the underlying API.
|
25
30
|
:param pulumi.Input[str] value: The secure credential's value.
|
26
|
-
:param pulumi.Input[
|
31
|
+
:param pulumi.Input[str] account_id: Determines the New Relic account where the secure credential will be created. Defaults to the account associated with the API key used.
|
27
32
|
:param pulumi.Input[str] description: The secure credential's description.
|
28
33
|
:param pulumi.Input[str] last_updated: The time the secure credential was last updated.
|
29
34
|
"""
|
@@ -62,14 +67,14 @@ class SecureCredentialArgs:
|
|
62
67
|
|
63
68
|
@property
|
64
69
|
@pulumi.getter(name="accountId")
|
65
|
-
def account_id(self) -> Optional[pulumi.Input[
|
70
|
+
def account_id(self) -> Optional[pulumi.Input[str]]:
|
66
71
|
"""
|
67
72
|
Determines the New Relic account where the secure credential will be created. Defaults to the account associated with the API key used.
|
68
73
|
"""
|
69
74
|
return pulumi.get(self, "account_id")
|
70
75
|
|
71
76
|
@account_id.setter
|
72
|
-
def account_id(self, value: Optional[pulumi.Input[
|
77
|
+
def account_id(self, value: Optional[pulumi.Input[str]]):
|
73
78
|
pulumi.set(self, "account_id", value)
|
74
79
|
|
75
80
|
@property
|
@@ -100,14 +105,14 @@ class SecureCredentialArgs:
|
|
100
105
|
@pulumi.input_type
|
101
106
|
class _SecureCredentialState:
|
102
107
|
def __init__(__self__, *,
|
103
|
-
account_id: Optional[pulumi.Input[
|
108
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
104
109
|
description: Optional[pulumi.Input[str]] = None,
|
105
110
|
key: Optional[pulumi.Input[str]] = None,
|
106
111
|
last_updated: Optional[pulumi.Input[str]] = None,
|
107
112
|
value: Optional[pulumi.Input[str]] = None):
|
108
113
|
"""
|
109
114
|
Input properties used for looking up and filtering SecureCredential resources.
|
110
|
-
:param pulumi.Input[
|
115
|
+
:param pulumi.Input[str] account_id: Determines the New Relic account where the secure credential will be created. Defaults to the account associated with the API key used.
|
111
116
|
:param pulumi.Input[str] description: The secure credential's description.
|
112
117
|
:param pulumi.Input[str] key: The secure credential's key name. Regardless of the case used in the configuration, the provider will provide an upcased key to the underlying API.
|
113
118
|
:param pulumi.Input[str] last_updated: The time the secure credential was last updated.
|
@@ -126,14 +131,14 @@ class _SecureCredentialState:
|
|
126
131
|
|
127
132
|
@property
|
128
133
|
@pulumi.getter(name="accountId")
|
129
|
-
def account_id(self) -> Optional[pulumi.Input[
|
134
|
+
def account_id(self) -> Optional[pulumi.Input[str]]:
|
130
135
|
"""
|
131
136
|
Determines the New Relic account where the secure credential will be created. Defaults to the account associated with the API key used.
|
132
137
|
"""
|
133
138
|
return pulumi.get(self, "account_id")
|
134
139
|
|
135
140
|
@account_id.setter
|
136
|
-
def account_id(self, value: Optional[pulumi.Input[
|
141
|
+
def account_id(self, value: Optional[pulumi.Input[str]]):
|
137
142
|
pulumi.set(self, "account_id", value)
|
138
143
|
|
139
144
|
@property
|
@@ -190,7 +195,7 @@ class SecureCredential(pulumi.CustomResource):
|
|
190
195
|
def __init__(__self__,
|
191
196
|
resource_name: str,
|
192
197
|
opts: Optional[pulumi.ResourceOptions] = None,
|
193
|
-
account_id: Optional[pulumi.Input[
|
198
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
194
199
|
description: Optional[pulumi.Input[str]] = None,
|
195
200
|
key: Optional[pulumi.Input[str]] = None,
|
196
201
|
last_updated: Optional[pulumi.Input[str]] = None,
|
@@ -206,9 +211,9 @@ class SecureCredential(pulumi.CustomResource):
|
|
206
211
|
import pulumi_newrelic as newrelic
|
207
212
|
|
208
213
|
foo = newrelic.synthetics.SecureCredential("foo",
|
209
|
-
description="My description",
|
210
214
|
key="MY_KEY",
|
211
|
-
value="My value"
|
215
|
+
value="My value",
|
216
|
+
description="My description")
|
212
217
|
```
|
213
218
|
|
214
219
|
## Import
|
@@ -216,12 +221,12 @@ class SecureCredential(pulumi.CustomResource):
|
|
216
221
|
A Synthetics secure credential can be imported using its `key`:
|
217
222
|
|
218
223
|
```sh
|
219
|
-
|
224
|
+
$ pulumi import newrelic:synthetics/secureCredential:SecureCredential foo MY_KEY
|
220
225
|
```
|
221
226
|
|
222
227
|
:param str resource_name: The name of the resource.
|
223
228
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
224
|
-
:param pulumi.Input[
|
229
|
+
:param pulumi.Input[str] account_id: Determines the New Relic account where the secure credential will be created. Defaults to the account associated with the API key used.
|
225
230
|
:param pulumi.Input[str] description: The secure credential's description.
|
226
231
|
:param pulumi.Input[str] key: The secure credential's key name. Regardless of the case used in the configuration, the provider will provide an upcased key to the underlying API.
|
227
232
|
:param pulumi.Input[str] last_updated: The time the secure credential was last updated.
|
@@ -243,9 +248,9 @@ class SecureCredential(pulumi.CustomResource):
|
|
243
248
|
import pulumi_newrelic as newrelic
|
244
249
|
|
245
250
|
foo = newrelic.synthetics.SecureCredential("foo",
|
246
|
-
description="My description",
|
247
251
|
key="MY_KEY",
|
248
|
-
value="My value"
|
252
|
+
value="My value",
|
253
|
+
description="My description")
|
249
254
|
```
|
250
255
|
|
251
256
|
## Import
|
@@ -253,7 +258,7 @@ class SecureCredential(pulumi.CustomResource):
|
|
253
258
|
A Synthetics secure credential can be imported using its `key`:
|
254
259
|
|
255
260
|
```sh
|
256
|
-
|
261
|
+
$ pulumi import newrelic:synthetics/secureCredential:SecureCredential foo MY_KEY
|
257
262
|
```
|
258
263
|
|
259
264
|
:param str resource_name: The name of the resource.
|
@@ -271,7 +276,7 @@ class SecureCredential(pulumi.CustomResource):
|
|
271
276
|
def _internal_init(__self__,
|
272
277
|
resource_name: str,
|
273
278
|
opts: Optional[pulumi.ResourceOptions] = None,
|
274
|
-
account_id: Optional[pulumi.Input[
|
279
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
275
280
|
description: Optional[pulumi.Input[str]] = None,
|
276
281
|
key: Optional[pulumi.Input[str]] = None,
|
277
282
|
last_updated: Optional[pulumi.Input[str]] = None,
|
@@ -306,7 +311,7 @@ class SecureCredential(pulumi.CustomResource):
|
|
306
311
|
def get(resource_name: str,
|
307
312
|
id: pulumi.Input[str],
|
308
313
|
opts: Optional[pulumi.ResourceOptions] = None,
|
309
|
-
account_id: Optional[pulumi.Input[
|
314
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
310
315
|
description: Optional[pulumi.Input[str]] = None,
|
311
316
|
key: Optional[pulumi.Input[str]] = None,
|
312
317
|
last_updated: Optional[pulumi.Input[str]] = None,
|
@@ -318,7 +323,7 @@ class SecureCredential(pulumi.CustomResource):
|
|
318
323
|
:param str resource_name: The unique name of the resulting resource.
|
319
324
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
320
325
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
321
|
-
:param pulumi.Input[
|
326
|
+
:param pulumi.Input[str] account_id: Determines the New Relic account where the secure credential will be created. Defaults to the account associated with the API key used.
|
322
327
|
:param pulumi.Input[str] description: The secure credential's description.
|
323
328
|
:param pulumi.Input[str] key: The secure credential's key name. Regardless of the case used in the configuration, the provider will provide an upcased key to the underlying API.
|
324
329
|
:param pulumi.Input[str] last_updated: The time the secure credential was last updated.
|
@@ -337,7 +342,7 @@ class SecureCredential(pulumi.CustomResource):
|
|
337
342
|
|
338
343
|
@property
|
339
344
|
@pulumi.getter(name="accountId")
|
340
|
-
def account_id(self) -> pulumi.Output[
|
345
|
+
def account_id(self) -> pulumi.Output[str]:
|
341
346
|
"""
|
342
347
|
Determines the New Relic account where the secure credential will be created. Defaults to the account associated with the API key used.
|
343
348
|
"""
|