pulumi-newrelic 5.48.0a1753156041__py3-none-any.whl → 5.49.0__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.
- pulumi_newrelic/__init__.py +1 -1
- pulumi_newrelic/_inputs.py +3759 -3760
- pulumi_newrelic/account_management.py +35 -36
- pulumi_newrelic/alert_channel.py +55 -56
- pulumi_newrelic/alert_condition.py +217 -218
- pulumi_newrelic/alert_muting_rule.py +92 -93
- pulumi_newrelic/alert_policy.py +69 -70
- pulumi_newrelic/alert_policy_channel.py +52 -53
- pulumi_newrelic/api_access_key.py +112 -113
- pulumi_newrelic/browser_application.py +113 -114
- pulumi_newrelic/cloud/__init__.py +1 -1
- pulumi_newrelic/cloud/_inputs.py +2129 -2130
- pulumi_newrelic/cloud/aws_govcloud_integrations.py +95 -96
- pulumi_newrelic/cloud/aws_govcloud_link_account.py +69 -70
- pulumi_newrelic/cloud/aws_integrations.py +194 -195
- pulumi_newrelic/cloud/aws_link_account.py +69 -70
- pulumi_newrelic/cloud/azure_integrations.py +131 -132
- pulumi_newrelic/cloud/azure_link_account.py +103 -104
- pulumi_newrelic/cloud/gcp_integrations.py +113 -114
- pulumi_newrelic/cloud/gcp_link_account.py +52 -53
- pulumi_newrelic/cloud/outputs.py +1417 -1418
- pulumi_newrelic/config/__init__.py +1 -1
- pulumi_newrelic/config/__init__.pyi +1 -2
- pulumi_newrelic/config/vars.py +14 -15
- pulumi_newrelic/data_partition_rule.py +112 -113
- pulumi_newrelic/entity_tags.py +21 -22
- pulumi_newrelic/events_to_metrics_rule.py +95 -96
- pulumi_newrelic/get_account.py +21 -22
- pulumi_newrelic/get_alert_channel.py +20 -21
- pulumi_newrelic/get_alert_policy.py +25 -26
- pulumi_newrelic/get_application.py +13 -14
- pulumi_newrelic/get_authentication_domain.py +9 -10
- pulumi_newrelic/get_cloud_account.py +21 -22
- pulumi_newrelic/get_entity.py +52 -53
- pulumi_newrelic/get_group.py +17 -18
- pulumi_newrelic/get_key_transaction.py +25 -26
- pulumi_newrelic/get_notification_destination.py +29 -30
- pulumi_newrelic/get_obfuscation_expression.py +15 -16
- pulumi_newrelic/get_service_level_alert_helper.py +53 -54
- pulumi_newrelic/get_test_grok_pattern.py +22 -23
- pulumi_newrelic/get_user.py +21 -22
- pulumi_newrelic/group.py +52 -53
- pulumi_newrelic/infra_alert_condition.py +255 -256
- pulumi_newrelic/insights/__init__.py +1 -1
- pulumi_newrelic/insights/_inputs.py +32 -33
- pulumi_newrelic/insights/event.py +4 -5
- pulumi_newrelic/insights/outputs.py +22 -23
- pulumi_newrelic/key_transaction.py +104 -105
- pulumi_newrelic/log_parsing_rule.py +146 -147
- pulumi_newrelic/monitor_downtime.py +143 -144
- pulumi_newrelic/notification_channel.py +115 -116
- pulumi_newrelic/notification_destination.py +111 -112
- pulumi_newrelic/nrql_alert_condition.py +430 -431
- pulumi_newrelic/nrql_drop_rule.py +78 -79
- pulumi_newrelic/obfuscation_expression.py +69 -70
- pulumi_newrelic/obfuscation_rule.py +89 -90
- pulumi_newrelic/one_dashboard.py +93 -94
- pulumi_newrelic/one_dashboard_json.py +62 -63
- pulumi_newrelic/one_dashboard_raw.py +90 -91
- pulumi_newrelic/outputs.py +2646 -2647
- pulumi_newrelic/plugins/__init__.py +1 -1
- pulumi_newrelic/plugins/_inputs.py +158 -159
- pulumi_newrelic/plugins/application_settings.py +167 -168
- pulumi_newrelic/plugins/outputs.py +108 -109
- pulumi_newrelic/plugins/workload.py +131 -132
- pulumi_newrelic/provider.py +106 -107
- pulumi_newrelic/pulumi-plugin.json +1 -1
- pulumi_newrelic/service_level.py +76 -77
- pulumi_newrelic/synthetics/__init__.py +1 -1
- pulumi_newrelic/synthetics/_inputs.py +127 -128
- pulumi_newrelic/synthetics/alert_condition.py +95 -96
- pulumi_newrelic/synthetics/broken_links_monitor.py +197 -198
- pulumi_newrelic/synthetics/cert_check_monitor.py +205 -206
- pulumi_newrelic/synthetics/get_private_location.py +21 -22
- pulumi_newrelic/synthetics/get_secure_credential.py +19 -20
- pulumi_newrelic/synthetics/monitor.py +378 -379
- pulumi_newrelic/synthetics/multi_location_alert_condition.py +118 -119
- pulumi_newrelic/synthetics/outputs.py +85 -86
- pulumi_newrelic/synthetics/private_location.py +105 -106
- pulumi_newrelic/synthetics/script_monitor.py +302 -303
- pulumi_newrelic/synthetics/secure_credential.py +86 -87
- pulumi_newrelic/synthetics/step_monitor.py +220 -221
- pulumi_newrelic/user.py +69 -70
- pulumi_newrelic/workflow.py +139 -140
- {pulumi_newrelic-5.48.0a1753156041.dist-info → pulumi_newrelic-5.49.0.dist-info}/METADATA +1 -1
- pulumi_newrelic-5.49.0.dist-info/RECORD +90 -0
- pulumi_newrelic-5.48.0a1753156041.dist-info/RECORD +0 -90
- {pulumi_newrelic-5.48.0a1753156041.dist-info → pulumi_newrelic-5.49.0.dist-info}/WHEEL +0 -0
- {pulumi_newrelic-5.48.0a1753156041.dist-info → pulumi_newrelic-5.49.0.dist-info}/top_level.txt +0 -0
|
@@ -2,8 +2,7 @@
|
|
|
2
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
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -20,19 +19,19 @@ __all__ = ['AwsGovcloudLinkAccountArgs', 'AwsGovcloudLinkAccount']
|
|
|
20
19
|
@pulumi.input_type
|
|
21
20
|
class AwsGovcloudLinkAccountArgs:
|
|
22
21
|
def __init__(__self__, *,
|
|
23
|
-
arn: pulumi.Input[
|
|
24
|
-
account_id: Optional[pulumi.Input[
|
|
25
|
-
metric_collection_mode: Optional[pulumi.Input[
|
|
26
|
-
name: Optional[pulumi.Input[
|
|
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):
|
|
27
26
|
"""
|
|
28
27
|
The set of arguments for constructing a AwsGovcloudLinkAccount resource.
|
|
29
|
-
:param pulumi.Input[
|
|
28
|
+
:param pulumi.Input[_builtins.str] arn: The Amazon Resource Name (ARN) of the IAM role.
|
|
30
29
|
|
|
31
30
|
> **NOTE:** Altering the `account_id` (or) `metric_collection_mode` of an already applied `cloud.AwsGovcloudLinkAccount` resource shall trigger a recreation of the resource, instead of an update.
|
|
32
|
-
:param pulumi.Input[
|
|
33
|
-
:param pulumi.Input[
|
|
31
|
+
: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`, if not specified in the configuration.
|
|
32
|
+
:param pulumi.Input[_builtins.str] metric_collection_mode: The mode by which metric data is to be collected from the linked AWS GovCloud account. Defaults to `PULL`, if not specified in the configuration.
|
|
34
33
|
- Use `PUSH` for Metric Streams and `PULL` for API Polling based metric collection respectively.
|
|
35
|
-
:param pulumi.Input[
|
|
34
|
+
:param pulumi.Input[_builtins.str] name: The name/identifier of the AWS GovCloud - New Relic 'linked' account.
|
|
36
35
|
"""
|
|
37
36
|
pulumi.set(__self__, "arn", arn)
|
|
38
37
|
if account_id is not None:
|
|
@@ -42,9 +41,9 @@ class AwsGovcloudLinkAccountArgs:
|
|
|
42
41
|
if name is not None:
|
|
43
42
|
pulumi.set(__self__, "name", name)
|
|
44
43
|
|
|
45
|
-
@property
|
|
44
|
+
@_builtins.property
|
|
46
45
|
@pulumi.getter
|
|
47
|
-
def arn(self) -> pulumi.Input[
|
|
46
|
+
def arn(self) -> pulumi.Input[_builtins.str]:
|
|
48
47
|
"""
|
|
49
48
|
The Amazon Resource Name (ARN) of the IAM role.
|
|
50
49
|
|
|
@@ -53,24 +52,24 @@ class AwsGovcloudLinkAccountArgs:
|
|
|
53
52
|
return pulumi.get(self, "arn")
|
|
54
53
|
|
|
55
54
|
@arn.setter
|
|
56
|
-
def arn(self, value: pulumi.Input[
|
|
55
|
+
def arn(self, value: pulumi.Input[_builtins.str]):
|
|
57
56
|
pulumi.set(self, "arn", value)
|
|
58
57
|
|
|
59
|
-
@property
|
|
58
|
+
@_builtins.property
|
|
60
59
|
@pulumi.getter(name="accountId")
|
|
61
|
-
def account_id(self) -> Optional[pulumi.Input[
|
|
60
|
+
def account_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
62
61
|
"""
|
|
63
62
|
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`, if not specified in the configuration.
|
|
64
63
|
"""
|
|
65
64
|
return pulumi.get(self, "account_id")
|
|
66
65
|
|
|
67
66
|
@account_id.setter
|
|
68
|
-
def account_id(self, value: Optional[pulumi.Input[
|
|
67
|
+
def account_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
69
68
|
pulumi.set(self, "account_id", value)
|
|
70
69
|
|
|
71
|
-
@property
|
|
70
|
+
@_builtins.property
|
|
72
71
|
@pulumi.getter(name="metricCollectionMode")
|
|
73
|
-
def metric_collection_mode(self) -> Optional[pulumi.Input[
|
|
72
|
+
def metric_collection_mode(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
74
73
|
"""
|
|
75
74
|
The mode by which metric data is to be collected from the linked AWS GovCloud account. Defaults to `PULL`, if not specified in the configuration.
|
|
76
75
|
- Use `PUSH` for Metric Streams and `PULL` for API Polling based metric collection respectively.
|
|
@@ -78,38 +77,38 @@ class AwsGovcloudLinkAccountArgs:
|
|
|
78
77
|
return pulumi.get(self, "metric_collection_mode")
|
|
79
78
|
|
|
80
79
|
@metric_collection_mode.setter
|
|
81
|
-
def metric_collection_mode(self, value: Optional[pulumi.Input[
|
|
80
|
+
def metric_collection_mode(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
82
81
|
pulumi.set(self, "metric_collection_mode", value)
|
|
83
82
|
|
|
84
|
-
@property
|
|
83
|
+
@_builtins.property
|
|
85
84
|
@pulumi.getter
|
|
86
|
-
def name(self) -> Optional[pulumi.Input[
|
|
85
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
87
86
|
"""
|
|
88
87
|
The name/identifier of the AWS GovCloud - New Relic 'linked' account.
|
|
89
88
|
"""
|
|
90
89
|
return pulumi.get(self, "name")
|
|
91
90
|
|
|
92
91
|
@name.setter
|
|
93
|
-
def name(self, value: Optional[pulumi.Input[
|
|
92
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
94
93
|
pulumi.set(self, "name", value)
|
|
95
94
|
|
|
96
95
|
|
|
97
96
|
@pulumi.input_type
|
|
98
97
|
class _AwsGovcloudLinkAccountState:
|
|
99
98
|
def __init__(__self__, *,
|
|
100
|
-
account_id: Optional[pulumi.Input[
|
|
101
|
-
arn: Optional[pulumi.Input[
|
|
102
|
-
metric_collection_mode: Optional[pulumi.Input[
|
|
103
|
-
name: Optional[pulumi.Input[
|
|
99
|
+
account_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
100
|
+
arn: Optional[pulumi.Input[_builtins.str]] = None,
|
|
101
|
+
metric_collection_mode: Optional[pulumi.Input[_builtins.str]] = None,
|
|
102
|
+
name: Optional[pulumi.Input[_builtins.str]] = None):
|
|
104
103
|
"""
|
|
105
104
|
Input properties used for looking up and filtering AwsGovcloudLinkAccount resources.
|
|
106
|
-
:param pulumi.Input[
|
|
107
|
-
:param pulumi.Input[
|
|
105
|
+
: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`, if not specified in the configuration.
|
|
106
|
+
:param pulumi.Input[_builtins.str] arn: The Amazon Resource Name (ARN) of the IAM role.
|
|
108
107
|
|
|
109
108
|
> **NOTE:** Altering the `account_id` (or) `metric_collection_mode` of an already applied `cloud.AwsGovcloudLinkAccount` resource shall trigger a recreation of the resource, instead of an update.
|
|
110
|
-
:param pulumi.Input[
|
|
109
|
+
:param pulumi.Input[_builtins.str] metric_collection_mode: The mode by which metric data is to be collected from the linked AWS GovCloud account. Defaults to `PULL`, if not specified in the configuration.
|
|
111
110
|
- Use `PUSH` for Metric Streams and `PULL` for API Polling based metric collection respectively.
|
|
112
|
-
:param pulumi.Input[
|
|
111
|
+
:param pulumi.Input[_builtins.str] name: The name/identifier of the AWS GovCloud - New Relic 'linked' account.
|
|
113
112
|
"""
|
|
114
113
|
if account_id is not None:
|
|
115
114
|
pulumi.set(__self__, "account_id", account_id)
|
|
@@ -120,21 +119,21 @@ class _AwsGovcloudLinkAccountState:
|
|
|
120
119
|
if name is not None:
|
|
121
120
|
pulumi.set(__self__, "name", name)
|
|
122
121
|
|
|
123
|
-
@property
|
|
122
|
+
@_builtins.property
|
|
124
123
|
@pulumi.getter(name="accountId")
|
|
125
|
-
def account_id(self) -> Optional[pulumi.Input[
|
|
124
|
+
def account_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
126
125
|
"""
|
|
127
126
|
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`, if not specified in the configuration.
|
|
128
127
|
"""
|
|
129
128
|
return pulumi.get(self, "account_id")
|
|
130
129
|
|
|
131
130
|
@account_id.setter
|
|
132
|
-
def account_id(self, value: Optional[pulumi.Input[
|
|
131
|
+
def account_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
133
132
|
pulumi.set(self, "account_id", value)
|
|
134
133
|
|
|
135
|
-
@property
|
|
134
|
+
@_builtins.property
|
|
136
135
|
@pulumi.getter
|
|
137
|
-
def arn(self) -> Optional[pulumi.Input[
|
|
136
|
+
def arn(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
138
137
|
"""
|
|
139
138
|
The Amazon Resource Name (ARN) of the IAM role.
|
|
140
139
|
|
|
@@ -143,12 +142,12 @@ class _AwsGovcloudLinkAccountState:
|
|
|
143
142
|
return pulumi.get(self, "arn")
|
|
144
143
|
|
|
145
144
|
@arn.setter
|
|
146
|
-
def arn(self, value: Optional[pulumi.Input[
|
|
145
|
+
def arn(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
147
146
|
pulumi.set(self, "arn", value)
|
|
148
147
|
|
|
149
|
-
@property
|
|
148
|
+
@_builtins.property
|
|
150
149
|
@pulumi.getter(name="metricCollectionMode")
|
|
151
|
-
def metric_collection_mode(self) -> Optional[pulumi.Input[
|
|
150
|
+
def metric_collection_mode(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
152
151
|
"""
|
|
153
152
|
The mode by which metric data is to be collected from the linked AWS GovCloud account. Defaults to `PULL`, if not specified in the configuration.
|
|
154
153
|
- Use `PUSH` for Metric Streams and `PULL` for API Polling based metric collection respectively.
|
|
@@ -156,19 +155,19 @@ class _AwsGovcloudLinkAccountState:
|
|
|
156
155
|
return pulumi.get(self, "metric_collection_mode")
|
|
157
156
|
|
|
158
157
|
@metric_collection_mode.setter
|
|
159
|
-
def metric_collection_mode(self, value: Optional[pulumi.Input[
|
|
158
|
+
def metric_collection_mode(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
160
159
|
pulumi.set(self, "metric_collection_mode", value)
|
|
161
160
|
|
|
162
|
-
@property
|
|
161
|
+
@_builtins.property
|
|
163
162
|
@pulumi.getter
|
|
164
|
-
def name(self) -> Optional[pulumi.Input[
|
|
163
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
165
164
|
"""
|
|
166
165
|
The name/identifier of the AWS GovCloud - New Relic 'linked' account.
|
|
167
166
|
"""
|
|
168
167
|
return pulumi.get(self, "name")
|
|
169
168
|
|
|
170
169
|
@name.setter
|
|
171
|
-
def name(self, value: Optional[pulumi.Input[
|
|
170
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
172
171
|
pulumi.set(self, "name", value)
|
|
173
172
|
|
|
174
173
|
|
|
@@ -178,10 +177,10 @@ class AwsGovcloudLinkAccount(pulumi.CustomResource):
|
|
|
178
177
|
def __init__(__self__,
|
|
179
178
|
resource_name: str,
|
|
180
179
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
181
|
-
account_id: Optional[pulumi.Input[
|
|
182
|
-
arn: Optional[pulumi.Input[
|
|
183
|
-
metric_collection_mode: Optional[pulumi.Input[
|
|
184
|
-
name: Optional[pulumi.Input[
|
|
180
|
+
account_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
181
|
+
arn: Optional[pulumi.Input[_builtins.str]] = None,
|
|
182
|
+
metric_collection_mode: Optional[pulumi.Input[_builtins.str]] = None,
|
|
183
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
185
184
|
__props__=None):
|
|
186
185
|
"""
|
|
187
186
|
Use this resource to link an AWS GovCloud account to New Relic.
|
|
@@ -217,13 +216,13 @@ class AwsGovcloudLinkAccount(pulumi.CustomResource):
|
|
|
217
216
|
|
|
218
217
|
:param str resource_name: The name of the resource.
|
|
219
218
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
220
|
-
:param pulumi.Input[
|
|
221
|
-
:param pulumi.Input[
|
|
219
|
+
: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`, if not specified in the configuration.
|
|
220
|
+
:param pulumi.Input[_builtins.str] arn: The Amazon Resource Name (ARN) of the IAM role.
|
|
222
221
|
|
|
223
222
|
> **NOTE:** Altering the `account_id` (or) `metric_collection_mode` of an already applied `cloud.AwsGovcloudLinkAccount` resource shall trigger a recreation of the resource, instead of an update.
|
|
224
|
-
:param pulumi.Input[
|
|
223
|
+
:param pulumi.Input[_builtins.str] metric_collection_mode: The mode by which metric data is to be collected from the linked AWS GovCloud account. Defaults to `PULL`, if not specified in the configuration.
|
|
225
224
|
- Use `PUSH` for Metric Streams and `PULL` for API Polling based metric collection respectively.
|
|
226
|
-
:param pulumi.Input[
|
|
225
|
+
:param pulumi.Input[_builtins.str] name: The name/identifier of the AWS GovCloud - New Relic 'linked' account.
|
|
227
226
|
"""
|
|
228
227
|
...
|
|
229
228
|
@overload
|
|
@@ -278,10 +277,10 @@ class AwsGovcloudLinkAccount(pulumi.CustomResource):
|
|
|
278
277
|
def _internal_init(__self__,
|
|
279
278
|
resource_name: str,
|
|
280
279
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
281
|
-
account_id: Optional[pulumi.Input[
|
|
282
|
-
arn: Optional[pulumi.Input[
|
|
283
|
-
metric_collection_mode: Optional[pulumi.Input[
|
|
284
|
-
name: Optional[pulumi.Input[
|
|
280
|
+
account_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
281
|
+
arn: Optional[pulumi.Input[_builtins.str]] = None,
|
|
282
|
+
metric_collection_mode: Optional[pulumi.Input[_builtins.str]] = None,
|
|
283
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
285
284
|
__props__=None):
|
|
286
285
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
287
286
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -307,10 +306,10 @@ class AwsGovcloudLinkAccount(pulumi.CustomResource):
|
|
|
307
306
|
def get(resource_name: str,
|
|
308
307
|
id: pulumi.Input[str],
|
|
309
308
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
310
|
-
account_id: Optional[pulumi.Input[
|
|
311
|
-
arn: Optional[pulumi.Input[
|
|
312
|
-
metric_collection_mode: Optional[pulumi.Input[
|
|
313
|
-
name: Optional[pulumi.Input[
|
|
309
|
+
account_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
310
|
+
arn: Optional[pulumi.Input[_builtins.str]] = None,
|
|
311
|
+
metric_collection_mode: Optional[pulumi.Input[_builtins.str]] = None,
|
|
312
|
+
name: Optional[pulumi.Input[_builtins.str]] = None) -> 'AwsGovcloudLinkAccount':
|
|
314
313
|
"""
|
|
315
314
|
Get an existing AwsGovcloudLinkAccount resource's state with the given name, id, and optional extra
|
|
316
315
|
properties used to qualify the lookup.
|
|
@@ -318,13 +317,13 @@ class AwsGovcloudLinkAccount(pulumi.CustomResource):
|
|
|
318
317
|
:param str resource_name: The unique name of the resulting resource.
|
|
319
318
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
320
319
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
321
|
-
:param pulumi.Input[
|
|
322
|
-
:param pulumi.Input[
|
|
320
|
+
: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`, if not specified in the configuration.
|
|
321
|
+
:param pulumi.Input[_builtins.str] arn: The Amazon Resource Name (ARN) of the IAM role.
|
|
323
322
|
|
|
324
323
|
> **NOTE:** Altering the `account_id` (or) `metric_collection_mode` of an already applied `cloud.AwsGovcloudLinkAccount` resource shall trigger a recreation of the resource, instead of an update.
|
|
325
|
-
:param pulumi.Input[
|
|
324
|
+
:param pulumi.Input[_builtins.str] metric_collection_mode: The mode by which metric data is to be collected from the linked AWS GovCloud account. Defaults to `PULL`, if not specified in the configuration.
|
|
326
325
|
- Use `PUSH` for Metric Streams and `PULL` for API Polling based metric collection respectively.
|
|
327
|
-
:param pulumi.Input[
|
|
326
|
+
:param pulumi.Input[_builtins.str] name: The name/identifier of the AWS GovCloud - New Relic 'linked' account.
|
|
328
327
|
"""
|
|
329
328
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
330
329
|
|
|
@@ -336,17 +335,17 @@ class AwsGovcloudLinkAccount(pulumi.CustomResource):
|
|
|
336
335
|
__props__.__dict__["name"] = name
|
|
337
336
|
return AwsGovcloudLinkAccount(resource_name, opts=opts, __props__=__props__)
|
|
338
337
|
|
|
339
|
-
@property
|
|
338
|
+
@_builtins.property
|
|
340
339
|
@pulumi.getter(name="accountId")
|
|
341
|
-
def account_id(self) -> pulumi.Output[
|
|
340
|
+
def account_id(self) -> pulumi.Output[_builtins.str]:
|
|
342
341
|
"""
|
|
343
342
|
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`, if not specified in the configuration.
|
|
344
343
|
"""
|
|
345
344
|
return pulumi.get(self, "account_id")
|
|
346
345
|
|
|
347
|
-
@property
|
|
346
|
+
@_builtins.property
|
|
348
347
|
@pulumi.getter
|
|
349
|
-
def arn(self) -> pulumi.Output[
|
|
348
|
+
def arn(self) -> pulumi.Output[_builtins.str]:
|
|
350
349
|
"""
|
|
351
350
|
The Amazon Resource Name (ARN) of the IAM role.
|
|
352
351
|
|
|
@@ -354,18 +353,18 @@ class AwsGovcloudLinkAccount(pulumi.CustomResource):
|
|
|
354
353
|
"""
|
|
355
354
|
return pulumi.get(self, "arn")
|
|
356
355
|
|
|
357
|
-
@property
|
|
356
|
+
@_builtins.property
|
|
358
357
|
@pulumi.getter(name="metricCollectionMode")
|
|
359
|
-
def metric_collection_mode(self) -> pulumi.Output[Optional[
|
|
358
|
+
def metric_collection_mode(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
360
359
|
"""
|
|
361
360
|
The mode by which metric data is to be collected from the linked AWS GovCloud account. Defaults to `PULL`, if not specified in the configuration.
|
|
362
361
|
- Use `PUSH` for Metric Streams and `PULL` for API Polling based metric collection respectively.
|
|
363
362
|
"""
|
|
364
363
|
return pulumi.get(self, "metric_collection_mode")
|
|
365
364
|
|
|
366
|
-
@property
|
|
365
|
+
@_builtins.property
|
|
367
366
|
@pulumi.getter
|
|
368
|
-
def name(self) -> pulumi.Output[
|
|
367
|
+
def name(self) -> pulumi.Output[_builtins.str]:
|
|
369
368
|
"""
|
|
370
369
|
The name/identifier of the AWS GovCloud - New Relic 'linked' account.
|
|
371
370
|
"""
|