pulumi-newrelic 5.22.0__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 +28 -1
- pulumi_newrelic/_inputs.py +10385 -2976
- pulumi_newrelic/_utilities.py +50 -10
- pulumi_newrelic/account_management.py +48 -42
- pulumi_newrelic/alert_channel.py +165 -175
- pulumi_newrelic/alert_condition.py +307 -319
- pulumi_newrelic/alert_muting_rule.py +193 -140
- pulumi_newrelic/alert_policy.py +121 -117
- pulumi_newrelic/alert_policy_channel.py +89 -79
- pulumi_newrelic/api_access_key.py +195 -193
- pulumi_newrelic/browser_application.py +120 -114
- pulumi_newrelic/cloud/__init__.py +3 -1
- pulumi_newrelic/cloud/_inputs.py +4267 -2714
- pulumi_newrelic/cloud/aws_govcloud_integrations.py +206 -196
- pulumi_newrelic/cloud/aws_govcloud_link_account.py +143 -228
- pulumi_newrelic/cloud/aws_integrations.py +510 -1490
- pulumi_newrelic/cloud/aws_link_account.py +80 -76
- pulumi_newrelic/cloud/azure_integrations.py +673 -587
- pulumi_newrelic/cloud/azure_link_account.py +121 -117
- pulumi_newrelic/cloud/gcp_integrations.py +428 -408
- pulumi_newrelic/cloud/gcp_link_account.py +65 -61
- pulumi_newrelic/cloud/oci_link_account.py +926 -0
- pulumi_newrelic/cloud/outputs.py +1678 -2321
- pulumi_newrelic/config/__init__.py +2 -1
- pulumi_newrelic/config/__init__.pyi +8 -3
- pulumi_newrelic/config/vars.py +22 -17
- pulumi_newrelic/data_partition_rule.py +119 -117
- pulumi_newrelic/entity_tags.py +111 -53
- pulumi_newrelic/events_to_metrics_rule.py +106 -102
- pulumi_newrelic/get_account.py +41 -33
- pulumi_newrelic/get_alert_channel.py +73 -28
- pulumi_newrelic/get_alert_policy.py +82 -33
- pulumi_newrelic/get_application.py +51 -43
- pulumi_newrelic/get_authentication_domain.py +27 -23
- pulumi_newrelic/get_cloud_account.py +43 -35
- pulumi_newrelic/get_entity.py +126 -183
- pulumi_newrelic/get_group.py +76 -31
- pulumi_newrelic/get_key_transaction.py +117 -42
- pulumi_newrelic/get_notification_destination.py +75 -38
- pulumi_newrelic/get_obfuscation_expression.py +47 -39
- pulumi_newrelic/get_service_level_alert_helper.py +189 -171
- pulumi_newrelic/get_test_grok_pattern.py +47 -36
- pulumi_newrelic/get_user.py +39 -31
- pulumi_newrelic/group.py +59 -199
- pulumi_newrelic/infra_alert_condition.py +399 -405
- pulumi_newrelic/insights/__init__.py +2 -1
- pulumi_newrelic/insights/_inputs.py +71 -28
- pulumi_newrelic/insights/event.py +54 -52
- pulumi_newrelic/insights/outputs.py +28 -23
- pulumi_newrelic/key_transaction.py +465 -0
- pulumi_newrelic/log_parsing_rule.py +159 -157
- pulumi_newrelic/monitor_downtime.py +311 -331
- pulumi_newrelic/notification_channel.py +534 -464
- pulumi_newrelic/notification_destination.py +238 -141
- pulumi_newrelic/nrql_alert_condition.py +820 -614
- pulumi_newrelic/nrql_drop_rule.py +113 -151
- pulumi_newrelic/obfuscation_expression.py +80 -76
- pulumi_newrelic/obfuscation_rule.py +115 -109
- pulumi_newrelic/one_dashboard.py +110 -104
- pulumi_newrelic/one_dashboard_json.py +69 -63
- pulumi_newrelic/one_dashboard_raw.py +212 -206
- pulumi_newrelic/outputs.py +4936 -2234
- pulumi_newrelic/pipeline_cloud_rule.py +335 -0
- pulumi_newrelic/plugins/__init__.py +2 -1
- pulumi_newrelic/plugins/_inputs.py +519 -89
- pulumi_newrelic/plugins/application_settings.py +463 -187
- pulumi_newrelic/plugins/outputs.py +336 -74
- pulumi_newrelic/plugins/workload.py +313 -189
- pulumi_newrelic/provider.py +156 -142
- pulumi_newrelic/pulumi-plugin.json +2 -1
- pulumi_newrelic/service_level.py +263 -263
- pulumi_newrelic/synthetics/__init__.py +2 -1
- pulumi_newrelic/synthetics/_inputs.py +265 -108
- pulumi_newrelic/synthetics/alert_condition.py +170 -180
- pulumi_newrelic/synthetics/broken_links_monitor.py +297 -249
- pulumi_newrelic/synthetics/cert_check_monitor.py +306 -258
- pulumi_newrelic/synthetics/get_private_location.py +51 -47
- pulumi_newrelic/synthetics/get_secure_credential.py +39 -31
- pulumi_newrelic/synthetics/monitor.py +658 -460
- pulumi_newrelic/synthetics/multi_location_alert_condition.py +211 -205
- pulumi_newrelic/synthetics/outputs.py +92 -87
- pulumi_newrelic/synthetics/private_location.py +118 -112
- pulumi_newrelic/synthetics/script_monitor.py +613 -373
- pulumi_newrelic/synthetics/secure_credential.py +97 -95
- pulumi_newrelic/synthetics/step_monitor.py +445 -275
- pulumi_newrelic/user.py +84 -80
- pulumi_newrelic/workflow.py +336 -322
- {pulumi_newrelic-5.22.0.dist-info → pulumi_newrelic-5.58.0a1763707205.dist-info}/METADATA +7 -6
- pulumi_newrelic-5.58.0a1763707205.dist-info/RECORD +92 -0
- {pulumi_newrelic-5.22.0.dist-info → pulumi_newrelic-5.58.0a1763707205.dist-info}/WHEEL +1 -1
- pulumi_newrelic-5.22.0.dist-info/RECORD +0 -89
- {pulumi_newrelic-5.22.0.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__ = ['AwsLinkAccountArgs', 'AwsLinkAccount']
|
|
@@ -14,16 +19,16 @@ __all__ = ['AwsLinkAccountArgs', 'AwsLinkAccount']
|
|
|
14
19
|
@pulumi.input_type
|
|
15
20
|
class AwsLinkAccountArgs:
|
|
16
21
|
def __init__(__self__, *,
|
|
17
|
-
arn: pulumi.Input[str],
|
|
18
|
-
account_id: Optional[pulumi.Input[
|
|
19
|
-
metric_collection_mode: Optional[pulumi.Input[str]] = None,
|
|
20
|
-
name: Optional[pulumi.Input[str]] = None):
|
|
22
|
+
arn: pulumi.Input[_builtins.str],
|
|
23
|
+
account_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
24
|
+
metric_collection_mode: Optional[pulumi.Input[_builtins.str]] = None,
|
|
25
|
+
name: Optional[pulumi.Input[_builtins.str]] = None):
|
|
21
26
|
"""
|
|
22
27
|
The set of arguments for constructing a AwsLinkAccount resource.
|
|
23
|
-
:param pulumi.Input[str] arn: The Amazon Resource Name (ARN) of the IAM role.
|
|
24
|
-
:param pulumi.Input[
|
|
25
|
-
:param pulumi.Input[str] metric_collection_mode: How metrics will be collected. Use `PUSH` for a metric stream or `PULL` to integrate with individual services.
|
|
26
|
-
:param pulumi.Input[str] name: The name of the linked account.
|
|
28
|
+
:param pulumi.Input[_builtins.str] arn: The Amazon Resource Name (ARN) of the IAM role.
|
|
29
|
+
:param pulumi.Input[_builtins.str] account_id: The New Relic account ID to operate on. This allows the user to override the `account_id` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`.
|
|
30
|
+
:param pulumi.Input[_builtins.str] metric_collection_mode: How metrics will be collected. Use `PUSH` for a metric stream or `PULL` to integrate with individual services.
|
|
31
|
+
:param pulumi.Input[_builtins.str] name: The name of the linked account.
|
|
27
32
|
"""
|
|
28
33
|
pulumi.set(__self__, "arn", arn)
|
|
29
34
|
if account_id is not None:
|
|
@@ -33,68 +38,68 @@ class AwsLinkAccountArgs:
|
|
|
33
38
|
if name is not None:
|
|
34
39
|
pulumi.set(__self__, "name", name)
|
|
35
40
|
|
|
36
|
-
@property
|
|
41
|
+
@_builtins.property
|
|
37
42
|
@pulumi.getter
|
|
38
|
-
def arn(self) -> pulumi.Input[str]:
|
|
43
|
+
def arn(self) -> pulumi.Input[_builtins.str]:
|
|
39
44
|
"""
|
|
40
45
|
The Amazon Resource Name (ARN) of the IAM role.
|
|
41
46
|
"""
|
|
42
47
|
return pulumi.get(self, "arn")
|
|
43
48
|
|
|
44
49
|
@arn.setter
|
|
45
|
-
def arn(self, value: pulumi.Input[str]):
|
|
50
|
+
def arn(self, value: pulumi.Input[_builtins.str]):
|
|
46
51
|
pulumi.set(self, "arn", value)
|
|
47
52
|
|
|
48
|
-
@property
|
|
53
|
+
@_builtins.property
|
|
49
54
|
@pulumi.getter(name="accountId")
|
|
50
|
-
def account_id(self) -> Optional[pulumi.Input[
|
|
55
|
+
def account_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
51
56
|
"""
|
|
52
57
|
The New Relic account ID to operate on. This allows the user to override the `account_id` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`.
|
|
53
58
|
"""
|
|
54
59
|
return pulumi.get(self, "account_id")
|
|
55
60
|
|
|
56
61
|
@account_id.setter
|
|
57
|
-
def account_id(self, value: Optional[pulumi.Input[
|
|
62
|
+
def account_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
58
63
|
pulumi.set(self, "account_id", value)
|
|
59
64
|
|
|
60
|
-
@property
|
|
65
|
+
@_builtins.property
|
|
61
66
|
@pulumi.getter(name="metricCollectionMode")
|
|
62
|
-
def metric_collection_mode(self) -> Optional[pulumi.Input[str]]:
|
|
67
|
+
def metric_collection_mode(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
63
68
|
"""
|
|
64
69
|
How metrics will be collected. Use `PUSH` for a metric stream or `PULL` to integrate with individual services.
|
|
65
70
|
"""
|
|
66
71
|
return pulumi.get(self, "metric_collection_mode")
|
|
67
72
|
|
|
68
73
|
@metric_collection_mode.setter
|
|
69
|
-
def metric_collection_mode(self, value: Optional[pulumi.Input[str]]):
|
|
74
|
+
def metric_collection_mode(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
70
75
|
pulumi.set(self, "metric_collection_mode", value)
|
|
71
76
|
|
|
72
|
-
@property
|
|
77
|
+
@_builtins.property
|
|
73
78
|
@pulumi.getter
|
|
74
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
79
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
75
80
|
"""
|
|
76
81
|
The name of the linked account.
|
|
77
82
|
"""
|
|
78
83
|
return pulumi.get(self, "name")
|
|
79
84
|
|
|
80
85
|
@name.setter
|
|
81
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
86
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
82
87
|
pulumi.set(self, "name", value)
|
|
83
88
|
|
|
84
89
|
|
|
85
90
|
@pulumi.input_type
|
|
86
91
|
class _AwsLinkAccountState:
|
|
87
92
|
def __init__(__self__, *,
|
|
88
|
-
account_id: Optional[pulumi.Input[
|
|
89
|
-
arn: Optional[pulumi.Input[str]] = None,
|
|
90
|
-
metric_collection_mode: Optional[pulumi.Input[str]] = None,
|
|
91
|
-
name: Optional[pulumi.Input[str]] = None):
|
|
93
|
+
account_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
94
|
+
arn: Optional[pulumi.Input[_builtins.str]] = None,
|
|
95
|
+
metric_collection_mode: Optional[pulumi.Input[_builtins.str]] = None,
|
|
96
|
+
name: Optional[pulumi.Input[_builtins.str]] = None):
|
|
92
97
|
"""
|
|
93
98
|
Input properties used for looking up and filtering AwsLinkAccount resources.
|
|
94
|
-
:param pulumi.Input[
|
|
95
|
-
:param pulumi.Input[str] arn: The Amazon Resource Name (ARN) of the IAM role.
|
|
96
|
-
:param pulumi.Input[str] metric_collection_mode: How metrics will be collected. Use `PUSH` for a metric stream or `PULL` to integrate with individual services.
|
|
97
|
-
:param pulumi.Input[str] name: The name of the linked account.
|
|
99
|
+
:param pulumi.Input[_builtins.str] account_id: The New Relic account ID to operate on. This allows the user to override the `account_id` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`.
|
|
100
|
+
:param pulumi.Input[_builtins.str] arn: The Amazon Resource Name (ARN) of the IAM role.
|
|
101
|
+
:param pulumi.Input[_builtins.str] metric_collection_mode: How metrics will be collected. Use `PUSH` for a metric stream or `PULL` to integrate with individual services.
|
|
102
|
+
:param pulumi.Input[_builtins.str] name: The name of the linked account.
|
|
98
103
|
"""
|
|
99
104
|
if account_id is not None:
|
|
100
105
|
pulumi.set(__self__, "account_id", account_id)
|
|
@@ -105,64 +110,65 @@ class _AwsLinkAccountState:
|
|
|
105
110
|
if name is not None:
|
|
106
111
|
pulumi.set(__self__, "name", name)
|
|
107
112
|
|
|
108
|
-
@property
|
|
113
|
+
@_builtins.property
|
|
109
114
|
@pulumi.getter(name="accountId")
|
|
110
|
-
def account_id(self) -> Optional[pulumi.Input[
|
|
115
|
+
def account_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
111
116
|
"""
|
|
112
117
|
The New Relic account ID to operate on. This allows the user to override the `account_id` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`.
|
|
113
118
|
"""
|
|
114
119
|
return pulumi.get(self, "account_id")
|
|
115
120
|
|
|
116
121
|
@account_id.setter
|
|
117
|
-
def account_id(self, value: Optional[pulumi.Input[
|
|
122
|
+
def account_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
118
123
|
pulumi.set(self, "account_id", value)
|
|
119
124
|
|
|
120
|
-
@property
|
|
125
|
+
@_builtins.property
|
|
121
126
|
@pulumi.getter
|
|
122
|
-
def arn(self) -> Optional[pulumi.Input[str]]:
|
|
127
|
+
def arn(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
123
128
|
"""
|
|
124
129
|
The Amazon Resource Name (ARN) of the IAM role.
|
|
125
130
|
"""
|
|
126
131
|
return pulumi.get(self, "arn")
|
|
127
132
|
|
|
128
133
|
@arn.setter
|
|
129
|
-
def arn(self, value: Optional[pulumi.Input[str]]):
|
|
134
|
+
def arn(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
130
135
|
pulumi.set(self, "arn", value)
|
|
131
136
|
|
|
132
|
-
@property
|
|
137
|
+
@_builtins.property
|
|
133
138
|
@pulumi.getter(name="metricCollectionMode")
|
|
134
|
-
def metric_collection_mode(self) -> Optional[pulumi.Input[str]]:
|
|
139
|
+
def metric_collection_mode(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
135
140
|
"""
|
|
136
141
|
How metrics will be collected. Use `PUSH` for a metric stream or `PULL` to integrate with individual services.
|
|
137
142
|
"""
|
|
138
143
|
return pulumi.get(self, "metric_collection_mode")
|
|
139
144
|
|
|
140
145
|
@metric_collection_mode.setter
|
|
141
|
-
def metric_collection_mode(self, value: Optional[pulumi.Input[str]]):
|
|
146
|
+
def metric_collection_mode(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
142
147
|
pulumi.set(self, "metric_collection_mode", value)
|
|
143
148
|
|
|
144
|
-
@property
|
|
149
|
+
@_builtins.property
|
|
145
150
|
@pulumi.getter
|
|
146
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
151
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
147
152
|
"""
|
|
148
153
|
The name of the linked account.
|
|
149
154
|
"""
|
|
150
155
|
return pulumi.get(self, "name")
|
|
151
156
|
|
|
152
157
|
@name.setter
|
|
153
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
158
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
154
159
|
pulumi.set(self, "name", value)
|
|
155
160
|
|
|
156
161
|
|
|
162
|
+
@pulumi.type_token("newrelic:cloud/awsLinkAccount:AwsLinkAccount")
|
|
157
163
|
class AwsLinkAccount(pulumi.CustomResource):
|
|
158
164
|
@overload
|
|
159
165
|
def __init__(__self__,
|
|
160
166
|
resource_name: str,
|
|
161
167
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
162
|
-
account_id: Optional[pulumi.Input[
|
|
163
|
-
arn: Optional[pulumi.Input[str]] = None,
|
|
164
|
-
metric_collection_mode: Optional[pulumi.Input[str]] = None,
|
|
165
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
168
|
+
account_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
169
|
+
arn: Optional[pulumi.Input[_builtins.str]] = None,
|
|
170
|
+
metric_collection_mode: Optional[pulumi.Input[_builtins.str]] = None,
|
|
171
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
166
172
|
__props__=None):
|
|
167
173
|
"""
|
|
168
174
|
Use this resource to link an AWS account to New Relic.
|
|
@@ -179,16 +185,15 @@ class AwsLinkAccount(pulumi.CustomResource):
|
|
|
179
185
|
|
|
180
186
|
You can also use the full example, including the AWS set up, found in our guides.
|
|
181
187
|
|
|
182
|
-
<!--Start PulumiCodeChooser -->
|
|
183
188
|
```python
|
|
184
189
|
import pulumi
|
|
185
190
|
import pulumi_newrelic as newrelic
|
|
186
191
|
|
|
187
192
|
foo = newrelic.cloud.AwsLinkAccount("foo",
|
|
188
193
|
arn="arn:aws:service:region:account-id:resource-id",
|
|
189
|
-
metric_collection_mode="PUSH"
|
|
194
|
+
metric_collection_mode="PUSH",
|
|
195
|
+
name="account name")
|
|
190
196
|
```
|
|
191
|
-
<!--End PulumiCodeChooser -->
|
|
192
197
|
|
|
193
198
|
## Import
|
|
194
199
|
|
|
@@ -202,10 +207,10 @@ class AwsLinkAccount(pulumi.CustomResource):
|
|
|
202
207
|
|
|
203
208
|
:param str resource_name: The name of the resource.
|
|
204
209
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
205
|
-
:param pulumi.Input[
|
|
206
|
-
:param pulumi.Input[str] arn: The Amazon Resource Name (ARN) of the IAM role.
|
|
207
|
-
:param pulumi.Input[str] metric_collection_mode: How metrics will be collected. Use `PUSH` for a metric stream or `PULL` to integrate with individual services.
|
|
208
|
-
:param pulumi.Input[str] name: The name of the linked account.
|
|
210
|
+
:param pulumi.Input[_builtins.str] account_id: The New Relic account ID to operate on. This allows the user to override the `account_id` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`.
|
|
211
|
+
:param pulumi.Input[_builtins.str] arn: The Amazon Resource Name (ARN) of the IAM role.
|
|
212
|
+
:param pulumi.Input[_builtins.str] metric_collection_mode: How metrics will be collected. Use `PUSH` for a metric stream or `PULL` to integrate with individual services.
|
|
213
|
+
:param pulumi.Input[_builtins.str] name: The name of the linked account.
|
|
209
214
|
"""
|
|
210
215
|
...
|
|
211
216
|
@overload
|
|
@@ -228,16 +233,15 @@ class AwsLinkAccount(pulumi.CustomResource):
|
|
|
228
233
|
|
|
229
234
|
You can also use the full example, including the AWS set up, found in our guides.
|
|
230
235
|
|
|
231
|
-
<!--Start PulumiCodeChooser -->
|
|
232
236
|
```python
|
|
233
237
|
import pulumi
|
|
234
238
|
import pulumi_newrelic as newrelic
|
|
235
239
|
|
|
236
240
|
foo = newrelic.cloud.AwsLinkAccount("foo",
|
|
237
241
|
arn="arn:aws:service:region:account-id:resource-id",
|
|
238
|
-
metric_collection_mode="PUSH"
|
|
242
|
+
metric_collection_mode="PUSH",
|
|
243
|
+
name="account name")
|
|
239
244
|
```
|
|
240
|
-
<!--End PulumiCodeChooser -->
|
|
241
245
|
|
|
242
246
|
## Import
|
|
243
247
|
|
|
@@ -264,10 +268,10 @@ class AwsLinkAccount(pulumi.CustomResource):
|
|
|
264
268
|
def _internal_init(__self__,
|
|
265
269
|
resource_name: str,
|
|
266
270
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
267
|
-
account_id: Optional[pulumi.Input[
|
|
268
|
-
arn: Optional[pulumi.Input[str]] = None,
|
|
269
|
-
metric_collection_mode: Optional[pulumi.Input[str]] = None,
|
|
270
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
271
|
+
account_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
272
|
+
arn: Optional[pulumi.Input[_builtins.str]] = None,
|
|
273
|
+
metric_collection_mode: Optional[pulumi.Input[_builtins.str]] = None,
|
|
274
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
271
275
|
__props__=None):
|
|
272
276
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
273
277
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -293,10 +297,10 @@ class AwsLinkAccount(pulumi.CustomResource):
|
|
|
293
297
|
def get(resource_name: str,
|
|
294
298
|
id: pulumi.Input[str],
|
|
295
299
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
296
|
-
account_id: Optional[pulumi.Input[
|
|
297
|
-
arn: Optional[pulumi.Input[str]] = None,
|
|
298
|
-
metric_collection_mode: Optional[pulumi.Input[str]] = None,
|
|
299
|
-
name: Optional[pulumi.Input[str]] = None) -> 'AwsLinkAccount':
|
|
300
|
+
account_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
301
|
+
arn: Optional[pulumi.Input[_builtins.str]] = None,
|
|
302
|
+
metric_collection_mode: Optional[pulumi.Input[_builtins.str]] = None,
|
|
303
|
+
name: Optional[pulumi.Input[_builtins.str]] = None) -> 'AwsLinkAccount':
|
|
300
304
|
"""
|
|
301
305
|
Get an existing AwsLinkAccount resource's state with the given name, id, and optional extra
|
|
302
306
|
properties used to qualify the lookup.
|
|
@@ -304,10 +308,10 @@ class AwsLinkAccount(pulumi.CustomResource):
|
|
|
304
308
|
:param str resource_name: The unique name of the resulting resource.
|
|
305
309
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
306
310
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
307
|
-
:param pulumi.Input[
|
|
308
|
-
:param pulumi.Input[str] arn: The Amazon Resource Name (ARN) of the IAM role.
|
|
309
|
-
:param pulumi.Input[str] metric_collection_mode: How metrics will be collected. Use `PUSH` for a metric stream or `PULL` to integrate with individual services.
|
|
310
|
-
:param pulumi.Input[str] name: The name of the linked account.
|
|
311
|
+
:param pulumi.Input[_builtins.str] account_id: The New Relic account ID to operate on. This allows the user to override the `account_id` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`.
|
|
312
|
+
:param pulumi.Input[_builtins.str] arn: The Amazon Resource Name (ARN) of the IAM role.
|
|
313
|
+
:param pulumi.Input[_builtins.str] metric_collection_mode: How metrics will be collected. Use `PUSH` for a metric stream or `PULL` to integrate with individual services.
|
|
314
|
+
:param pulumi.Input[_builtins.str] name: The name of the linked account.
|
|
311
315
|
"""
|
|
312
316
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
313
317
|
|
|
@@ -319,33 +323,33 @@ class AwsLinkAccount(pulumi.CustomResource):
|
|
|
319
323
|
__props__.__dict__["name"] = name
|
|
320
324
|
return AwsLinkAccount(resource_name, opts=opts, __props__=__props__)
|
|
321
325
|
|
|
322
|
-
@property
|
|
326
|
+
@_builtins.property
|
|
323
327
|
@pulumi.getter(name="accountId")
|
|
324
|
-
def account_id(self) -> pulumi.Output[
|
|
328
|
+
def account_id(self) -> pulumi.Output[_builtins.str]:
|
|
325
329
|
"""
|
|
326
330
|
The New Relic account ID to operate on. This allows the user to override the `account_id` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`.
|
|
327
331
|
"""
|
|
328
332
|
return pulumi.get(self, "account_id")
|
|
329
333
|
|
|
330
|
-
@property
|
|
334
|
+
@_builtins.property
|
|
331
335
|
@pulumi.getter
|
|
332
|
-
def arn(self) -> pulumi.Output[str]:
|
|
336
|
+
def arn(self) -> pulumi.Output[_builtins.str]:
|
|
333
337
|
"""
|
|
334
338
|
The Amazon Resource Name (ARN) of the IAM role.
|
|
335
339
|
"""
|
|
336
340
|
return pulumi.get(self, "arn")
|
|
337
341
|
|
|
338
|
-
@property
|
|
342
|
+
@_builtins.property
|
|
339
343
|
@pulumi.getter(name="metricCollectionMode")
|
|
340
|
-
def metric_collection_mode(self) -> pulumi.Output[Optional[str]]:
|
|
344
|
+
def metric_collection_mode(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
341
345
|
"""
|
|
342
346
|
How metrics will be collected. Use `PUSH` for a metric stream or `PULL` to integrate with individual services.
|
|
343
347
|
"""
|
|
344
348
|
return pulumi.get(self, "metric_collection_mode")
|
|
345
349
|
|
|
346
|
-
@property
|
|
350
|
+
@_builtins.property
|
|
347
351
|
@pulumi.getter
|
|
348
|
-
def name(self) -> pulumi.Output[str]:
|
|
352
|
+
def name(self) -> pulumi.Output[_builtins.str]:
|
|
349
353
|
"""
|
|
350
354
|
The name of the linked account.
|
|
351
355
|
"""
|