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__ = ['GcpLinkAccountArgs', 'GcpLinkAccount']
|
@@ -15,12 +20,12 @@ __all__ = ['GcpLinkAccountArgs', 'GcpLinkAccount']
|
|
15
20
|
class GcpLinkAccountArgs:
|
16
21
|
def __init__(__self__, *,
|
17
22
|
project_id: pulumi.Input[str],
|
18
|
-
account_id: Optional[pulumi.Input[
|
23
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
19
24
|
name: Optional[pulumi.Input[str]] = None):
|
20
25
|
"""
|
21
26
|
The set of arguments for constructing a GcpLinkAccount resource.
|
22
27
|
:param pulumi.Input[str] project_id: Project ID of the GCP account.
|
23
|
-
:param pulumi.Input[
|
28
|
+
:param pulumi.Input[str] account_id: Account ID of the New Relic account.
|
24
29
|
:param pulumi.Input[str] name: name of the linked account
|
25
30
|
"""
|
26
31
|
pulumi.set(__self__, "project_id", project_id)
|
@@ -43,14 +48,14 @@ class GcpLinkAccountArgs:
|
|
43
48
|
|
44
49
|
@property
|
45
50
|
@pulumi.getter(name="accountId")
|
46
|
-
def account_id(self) -> Optional[pulumi.Input[
|
51
|
+
def account_id(self) -> Optional[pulumi.Input[str]]:
|
47
52
|
"""
|
48
53
|
Account ID of the New Relic account.
|
49
54
|
"""
|
50
55
|
return pulumi.get(self, "account_id")
|
51
56
|
|
52
57
|
@account_id.setter
|
53
|
-
def account_id(self, value: Optional[pulumi.Input[
|
58
|
+
def account_id(self, value: Optional[pulumi.Input[str]]):
|
54
59
|
pulumi.set(self, "account_id", value)
|
55
60
|
|
56
61
|
@property
|
@@ -69,12 +74,12 @@ class GcpLinkAccountArgs:
|
|
69
74
|
@pulumi.input_type
|
70
75
|
class _GcpLinkAccountState:
|
71
76
|
def __init__(__self__, *,
|
72
|
-
account_id: Optional[pulumi.Input[
|
77
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
73
78
|
name: Optional[pulumi.Input[str]] = None,
|
74
79
|
project_id: Optional[pulumi.Input[str]] = None):
|
75
80
|
"""
|
76
81
|
Input properties used for looking up and filtering GcpLinkAccount resources.
|
77
|
-
:param pulumi.Input[
|
82
|
+
:param pulumi.Input[str] account_id: Account ID of the New Relic account.
|
78
83
|
:param pulumi.Input[str] name: name of the linked account
|
79
84
|
:param pulumi.Input[str] project_id: Project ID of the GCP account.
|
80
85
|
"""
|
@@ -87,14 +92,14 @@ class _GcpLinkAccountState:
|
|
87
92
|
|
88
93
|
@property
|
89
94
|
@pulumi.getter(name="accountId")
|
90
|
-
def account_id(self) -> Optional[pulumi.Input[
|
95
|
+
def account_id(self) -> Optional[pulumi.Input[str]]:
|
91
96
|
"""
|
92
97
|
Account ID of the New Relic account.
|
93
98
|
"""
|
94
99
|
return pulumi.get(self, "account_id")
|
95
100
|
|
96
101
|
@account_id.setter
|
97
|
-
def account_id(self, value: Optional[pulumi.Input[
|
102
|
+
def account_id(self, value: Optional[pulumi.Input[str]]):
|
98
103
|
pulumi.set(self, "account_id", value)
|
99
104
|
|
100
105
|
@property
|
@@ -127,7 +132,7 @@ class GcpLinkAccount(pulumi.CustomResource):
|
|
127
132
|
def __init__(__self__,
|
128
133
|
resource_name: str,
|
129
134
|
opts: Optional[pulumi.ResourceOptions] = None,
|
130
|
-
account_id: Optional[pulumi.Input[
|
135
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
131
136
|
name: Optional[pulumi.Input[str]] = None,
|
132
137
|
project_id: Optional[pulumi.Input[str]] = None,
|
133
138
|
__props__=None):
|
@@ -156,14 +161,15 @@ class GcpLinkAccount(pulumi.CustomResource):
|
|
156
161
|
|
157
162
|
foo = newrelic.cloud.GcpLinkAccount("foo",
|
158
163
|
account_id="account id of newrelic account",
|
159
|
-
project_id="id of the Project"
|
164
|
+
project_id="id of the Project",
|
165
|
+
name="account name")
|
160
166
|
```
|
161
167
|
|
162
168
|
## Import
|
163
169
|
|
164
170
|
Linked GCP accounts can be imported using `id`, you can find the `id` of an existing GCP linked accounts in GCP dashboard under Infrastructure in Newrelic Console.
|
165
171
|
|
166
|
-
|
172
|
+
bash
|
167
173
|
|
168
174
|
```sh
|
169
175
|
$ pulumi import newrelic:cloud/gcpLinkAccount:GcpLinkAccount newrelic_cloud_gcp_link_account.foo <id>
|
@@ -171,7 +177,7 @@ class GcpLinkAccount(pulumi.CustomResource):
|
|
171
177
|
|
172
178
|
:param str resource_name: The name of the resource.
|
173
179
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
174
|
-
:param pulumi.Input[
|
180
|
+
:param pulumi.Input[str] account_id: Account ID of the New Relic account.
|
175
181
|
:param pulumi.Input[str] name: name of the linked account
|
176
182
|
:param pulumi.Input[str] project_id: Project ID of the GCP account.
|
177
183
|
"""
|
@@ -206,14 +212,15 @@ class GcpLinkAccount(pulumi.CustomResource):
|
|
206
212
|
|
207
213
|
foo = newrelic.cloud.GcpLinkAccount("foo",
|
208
214
|
account_id="account id of newrelic account",
|
209
|
-
project_id="id of the Project"
|
215
|
+
project_id="id of the Project",
|
216
|
+
name="account name")
|
210
217
|
```
|
211
218
|
|
212
219
|
## Import
|
213
220
|
|
214
221
|
Linked GCP accounts can be imported using `id`, you can find the `id` of an existing GCP linked accounts in GCP dashboard under Infrastructure in Newrelic Console.
|
215
222
|
|
216
|
-
|
223
|
+
bash
|
217
224
|
|
218
225
|
```sh
|
219
226
|
$ pulumi import newrelic:cloud/gcpLinkAccount:GcpLinkAccount newrelic_cloud_gcp_link_account.foo <id>
|
@@ -234,7 +241,7 @@ class GcpLinkAccount(pulumi.CustomResource):
|
|
234
241
|
def _internal_init(__self__,
|
235
242
|
resource_name: str,
|
236
243
|
opts: Optional[pulumi.ResourceOptions] = None,
|
237
|
-
account_id: Optional[pulumi.Input[
|
244
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
238
245
|
name: Optional[pulumi.Input[str]] = None,
|
239
246
|
project_id: Optional[pulumi.Input[str]] = None,
|
240
247
|
__props__=None):
|
@@ -261,7 +268,7 @@ class GcpLinkAccount(pulumi.CustomResource):
|
|
261
268
|
def get(resource_name: str,
|
262
269
|
id: pulumi.Input[str],
|
263
270
|
opts: Optional[pulumi.ResourceOptions] = None,
|
264
|
-
account_id: Optional[pulumi.Input[
|
271
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
265
272
|
name: Optional[pulumi.Input[str]] = None,
|
266
273
|
project_id: Optional[pulumi.Input[str]] = None) -> 'GcpLinkAccount':
|
267
274
|
"""
|
@@ -271,7 +278,7 @@ class GcpLinkAccount(pulumi.CustomResource):
|
|
271
278
|
:param str resource_name: The unique name of the resulting resource.
|
272
279
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
273
280
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
274
|
-
:param pulumi.Input[
|
281
|
+
:param pulumi.Input[str] account_id: Account ID of the New Relic account.
|
275
282
|
:param pulumi.Input[str] name: name of the linked account
|
276
283
|
:param pulumi.Input[str] project_id: Project ID of the GCP account.
|
277
284
|
"""
|
@@ -286,7 +293,7 @@ class GcpLinkAccount(pulumi.CustomResource):
|
|
286
293
|
|
287
294
|
@property
|
288
295
|
@pulumi.getter(name="accountId")
|
289
|
-
def account_id(self) -> pulumi.Output[
|
296
|
+
def account_id(self) -> pulumi.Output[str]:
|
290
297
|
"""
|
291
298
|
Account ID of the New Relic account.
|
292
299
|
"""
|