pulumi-newrelic 5.42.1__py3-none-any.whl → 5.58.0a1766556761__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 +19 -1
- pulumi_newrelic/_inputs.py +4314 -3779
- pulumi_newrelic/_utilities.py +1 -1
- pulumi_newrelic/account_management.py +37 -36
- pulumi_newrelic/alert_channel.py +63 -62
- pulumi_newrelic/alert_condition.py +219 -218
- pulumi_newrelic/alert_muting_rule.py +96 -95
- pulumi_newrelic/alert_policy.py +71 -70
- pulumi_newrelic/alert_policy_channel.py +54 -53
- pulumi_newrelic/api_access_key.py +186 -201
- pulumi_newrelic/browser_application.py +115 -114
- pulumi_newrelic/cloud/__init__.py +3 -1
- pulumi_newrelic/cloud/_inputs.py +2226 -2118
- pulumi_newrelic/cloud/aws_govcloud_integrations.py +101 -96
- pulumi_newrelic/cloud/aws_govcloud_link_account.py +71 -70
- pulumi_newrelic/cloud/aws_integrations.py +240 -192
- pulumi_newrelic/cloud/aws_link_account.py +71 -70
- pulumi_newrelic/cloud/azure_integrations.py +180 -132
- pulumi_newrelic/cloud/azure_link_account.py +105 -104
- pulumi_newrelic/cloud/gcp_integrations.py +115 -114
- pulumi_newrelic/cloud/gcp_link_account.py +56 -55
- pulumi_newrelic/cloud/oci_link_account.py +926 -0
- pulumi_newrelic/cloud/outputs.py +1512 -1410
- pulumi_newrelic/config/__init__.py +2 -1
- pulumi_newrelic/config/__init__.pyi +2 -2
- pulumi_newrelic/config/vars.py +15 -15
- pulumi_newrelic/data_partition_rule.py +114 -113
- pulumi_newrelic/entity_tags.py +79 -22
- pulumi_newrelic/events_to_metrics_rule.py +97 -96
- pulumi_newrelic/get_account.py +22 -22
- pulumi_newrelic/get_alert_channel.py +53 -21
- pulumi_newrelic/get_alert_policy.py +52 -26
- pulumi_newrelic/get_application.py +14 -14
- pulumi_newrelic/get_authentication_domain.py +10 -10
- pulumi_newrelic/get_cloud_account.py +22 -22
- pulumi_newrelic/get_entity.py +53 -53
- pulumi_newrelic/get_group.py +22 -22
- pulumi_newrelic/get_key_transaction.py +26 -26
- pulumi_newrelic/get_notification_destination.py +31 -31
- pulumi_newrelic/get_obfuscation_expression.py +16 -16
- pulumi_newrelic/get_service_level_alert_helper.py +54 -54
- pulumi_newrelic/get_test_grok_pattern.py +23 -23
- pulumi_newrelic/get_user.py +22 -22
- pulumi_newrelic/group.py +54 -53
- pulumi_newrelic/infra_alert_condition.py +257 -256
- pulumi_newrelic/insights/__init__.py +2 -1
- pulumi_newrelic/insights/_inputs.py +33 -33
- pulumi_newrelic/insights/event.py +6 -5
- pulumi_newrelic/insights/outputs.py +23 -23
- pulumi_newrelic/key_transaction.py +106 -105
- pulumi_newrelic/log_parsing_rule.py +148 -147
- pulumi_newrelic/monitor_downtime.py +148 -154
- pulumi_newrelic/notification_channel.py +218 -163
- pulumi_newrelic/notification_destination.py +123 -136
- pulumi_newrelic/nrql_alert_condition.py +513 -414
- pulumi_newrelic/nrql_drop_rule.py +108 -147
- pulumi_newrelic/obfuscation_expression.py +71 -70
- pulumi_newrelic/obfuscation_rule.py +91 -90
- pulumi_newrelic/one_dashboard.py +95 -94
- pulumi_newrelic/one_dashboard_json.py +64 -63
- pulumi_newrelic/one_dashboard_raw.py +116 -115
- pulumi_newrelic/outputs.py +3026 -2665
- pulumi_newrelic/pipeline_cloud_rule.py +335 -0
- pulumi_newrelic/plugins/__init__.py +2 -1
- pulumi_newrelic/plugins/_inputs.py +159 -159
- pulumi_newrelic/plugins/application_settings.py +186 -171
- pulumi_newrelic/plugins/outputs.py +109 -109
- pulumi_newrelic/plugins/workload.py +133 -132
- pulumi_newrelic/provider.py +136 -116
- pulumi_newrelic/pulumi-plugin.json +1 -1
- pulumi_newrelic/service_level.py +78 -77
- pulumi_newrelic/synthetics/__init__.py +2 -1
- pulumi_newrelic/synthetics/_inputs.py +128 -128
- pulumi_newrelic/synthetics/alert_condition.py +97 -96
- pulumi_newrelic/synthetics/broken_links_monitor.py +218 -189
- pulumi_newrelic/synthetics/cert_check_monitor.py +226 -197
- pulumi_newrelic/synthetics/get_private_location.py +22 -22
- pulumi_newrelic/synthetics/get_secure_credential.py +20 -20
- pulumi_newrelic/synthetics/monitor.py +399 -370
- pulumi_newrelic/synthetics/multi_location_alert_condition.py +120 -119
- pulumi_newrelic/synthetics/outputs.py +86 -86
- pulumi_newrelic/synthetics/private_location.py +107 -106
- pulumi_newrelic/synthetics/script_monitor.py +385 -294
- pulumi_newrelic/synthetics/secure_credential.py +88 -87
- pulumi_newrelic/synthetics/step_monitor.py +241 -212
- pulumi_newrelic/user.py +71 -70
- pulumi_newrelic/workflow.py +141 -140
- {pulumi_newrelic-5.42.1.dist-info → pulumi_newrelic-5.58.0a1766556761.dist-info}/METADATA +4 -4
- pulumi_newrelic-5.58.0a1766556761.dist-info/RECORD +92 -0
- {pulumi_newrelic-5.42.1.dist-info → pulumi_newrelic-5.58.0a1766556761.dist-info}/WHEEL +1 -1
- pulumi_newrelic-5.42.1.dist-info/RECORD +0 -90
- {pulumi_newrelic-5.42.1.dist-info → pulumi_newrelic-5.58.0a1766556761.dist-info}/top_level.txt +0 -0
|
@@ -1,8 +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
|
|
5
|
+
import builtins as _builtins
|
|
6
6
|
import warnings
|
|
7
7
|
import sys
|
|
8
8
|
import pulumi
|
|
@@ -19,16 +19,16 @@ __all__ = ['AwsLinkAccountArgs', 'AwsLinkAccount']
|
|
|
19
19
|
@pulumi.input_type
|
|
20
20
|
class AwsLinkAccountArgs:
|
|
21
21
|
def __init__(__self__, *,
|
|
22
|
-
arn: pulumi.Input[str],
|
|
23
|
-
account_id: Optional[pulumi.Input[str]] = None,
|
|
24
|
-
metric_collection_mode: Optional[pulumi.Input[str]] = None,
|
|
25
|
-
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):
|
|
26
26
|
"""
|
|
27
27
|
The set of arguments for constructing a AwsLinkAccount resource.
|
|
28
|
-
:param pulumi.Input[str] arn: The Amazon Resource Name (ARN) of the IAM role.
|
|
29
|
-
:param pulumi.Input[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[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[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.
|
|
32
32
|
"""
|
|
33
33
|
pulumi.set(__self__, "arn", arn)
|
|
34
34
|
if account_id is not None:
|
|
@@ -38,68 +38,68 @@ class AwsLinkAccountArgs:
|
|
|
38
38
|
if name is not None:
|
|
39
39
|
pulumi.set(__self__, "name", name)
|
|
40
40
|
|
|
41
|
-
@property
|
|
41
|
+
@_builtins.property
|
|
42
42
|
@pulumi.getter
|
|
43
|
-
def arn(self) -> pulumi.Input[str]:
|
|
43
|
+
def arn(self) -> pulumi.Input[_builtins.str]:
|
|
44
44
|
"""
|
|
45
45
|
The Amazon Resource Name (ARN) of the IAM role.
|
|
46
46
|
"""
|
|
47
47
|
return pulumi.get(self, "arn")
|
|
48
48
|
|
|
49
49
|
@arn.setter
|
|
50
|
-
def arn(self, value: pulumi.Input[str]):
|
|
50
|
+
def arn(self, value: pulumi.Input[_builtins.str]):
|
|
51
51
|
pulumi.set(self, "arn", value)
|
|
52
52
|
|
|
53
|
-
@property
|
|
53
|
+
@_builtins.property
|
|
54
54
|
@pulumi.getter(name="accountId")
|
|
55
|
-
def account_id(self) -> Optional[pulumi.Input[str]]:
|
|
55
|
+
def account_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
56
56
|
"""
|
|
57
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`.
|
|
58
58
|
"""
|
|
59
59
|
return pulumi.get(self, "account_id")
|
|
60
60
|
|
|
61
61
|
@account_id.setter
|
|
62
|
-
def account_id(self, value: Optional[pulumi.Input[str]]):
|
|
62
|
+
def account_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
63
63
|
pulumi.set(self, "account_id", value)
|
|
64
64
|
|
|
65
|
-
@property
|
|
65
|
+
@_builtins.property
|
|
66
66
|
@pulumi.getter(name="metricCollectionMode")
|
|
67
|
-
def metric_collection_mode(self) -> Optional[pulumi.Input[str]]:
|
|
67
|
+
def metric_collection_mode(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
68
68
|
"""
|
|
69
69
|
How metrics will be collected. Use `PUSH` for a metric stream or `PULL` to integrate with individual services.
|
|
70
70
|
"""
|
|
71
71
|
return pulumi.get(self, "metric_collection_mode")
|
|
72
72
|
|
|
73
73
|
@metric_collection_mode.setter
|
|
74
|
-
def metric_collection_mode(self, value: Optional[pulumi.Input[str]]):
|
|
74
|
+
def metric_collection_mode(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
75
75
|
pulumi.set(self, "metric_collection_mode", value)
|
|
76
76
|
|
|
77
|
-
@property
|
|
77
|
+
@_builtins.property
|
|
78
78
|
@pulumi.getter
|
|
79
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
79
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
80
80
|
"""
|
|
81
81
|
The name of the linked account.
|
|
82
82
|
"""
|
|
83
83
|
return pulumi.get(self, "name")
|
|
84
84
|
|
|
85
85
|
@name.setter
|
|
86
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
86
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
87
87
|
pulumi.set(self, "name", value)
|
|
88
88
|
|
|
89
89
|
|
|
90
90
|
@pulumi.input_type
|
|
91
91
|
class _AwsLinkAccountState:
|
|
92
92
|
def __init__(__self__, *,
|
|
93
|
-
account_id: Optional[pulumi.Input[str]] = None,
|
|
94
|
-
arn: Optional[pulumi.Input[str]] = None,
|
|
95
|
-
metric_collection_mode: Optional[pulumi.Input[str]] = None,
|
|
96
|
-
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):
|
|
97
97
|
"""
|
|
98
98
|
Input properties used for looking up and filtering AwsLinkAccount resources.
|
|
99
|
-
:param pulumi.Input[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[str] arn: The Amazon Resource Name (ARN) of the IAM role.
|
|
101
|
-
: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.
|
|
102
|
-
: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.
|
|
103
103
|
"""
|
|
104
104
|
if account_id is not None:
|
|
105
105
|
pulumi.set(__self__, "account_id", account_id)
|
|
@@ -110,64 +110,65 @@ class _AwsLinkAccountState:
|
|
|
110
110
|
if name is not None:
|
|
111
111
|
pulumi.set(__self__, "name", name)
|
|
112
112
|
|
|
113
|
-
@property
|
|
113
|
+
@_builtins.property
|
|
114
114
|
@pulumi.getter(name="accountId")
|
|
115
|
-
def account_id(self) -> Optional[pulumi.Input[str]]:
|
|
115
|
+
def account_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
116
116
|
"""
|
|
117
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`.
|
|
118
118
|
"""
|
|
119
119
|
return pulumi.get(self, "account_id")
|
|
120
120
|
|
|
121
121
|
@account_id.setter
|
|
122
|
-
def account_id(self, value: Optional[pulumi.Input[str]]):
|
|
122
|
+
def account_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
123
123
|
pulumi.set(self, "account_id", value)
|
|
124
124
|
|
|
125
|
-
@property
|
|
125
|
+
@_builtins.property
|
|
126
126
|
@pulumi.getter
|
|
127
|
-
def arn(self) -> Optional[pulumi.Input[str]]:
|
|
127
|
+
def arn(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
128
128
|
"""
|
|
129
129
|
The Amazon Resource Name (ARN) of the IAM role.
|
|
130
130
|
"""
|
|
131
131
|
return pulumi.get(self, "arn")
|
|
132
132
|
|
|
133
133
|
@arn.setter
|
|
134
|
-
def arn(self, value: Optional[pulumi.Input[str]]):
|
|
134
|
+
def arn(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
135
135
|
pulumi.set(self, "arn", value)
|
|
136
136
|
|
|
137
|
-
@property
|
|
137
|
+
@_builtins.property
|
|
138
138
|
@pulumi.getter(name="metricCollectionMode")
|
|
139
|
-
def metric_collection_mode(self) -> Optional[pulumi.Input[str]]:
|
|
139
|
+
def metric_collection_mode(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
140
140
|
"""
|
|
141
141
|
How metrics will be collected. Use `PUSH` for a metric stream or `PULL` to integrate with individual services.
|
|
142
142
|
"""
|
|
143
143
|
return pulumi.get(self, "metric_collection_mode")
|
|
144
144
|
|
|
145
145
|
@metric_collection_mode.setter
|
|
146
|
-
def metric_collection_mode(self, value: Optional[pulumi.Input[str]]):
|
|
146
|
+
def metric_collection_mode(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
147
147
|
pulumi.set(self, "metric_collection_mode", value)
|
|
148
148
|
|
|
149
|
-
@property
|
|
149
|
+
@_builtins.property
|
|
150
150
|
@pulumi.getter
|
|
151
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
151
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
152
152
|
"""
|
|
153
153
|
The name of the linked account.
|
|
154
154
|
"""
|
|
155
155
|
return pulumi.get(self, "name")
|
|
156
156
|
|
|
157
157
|
@name.setter
|
|
158
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
158
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
159
159
|
pulumi.set(self, "name", value)
|
|
160
160
|
|
|
161
161
|
|
|
162
|
+
@pulumi.type_token("newrelic:cloud/awsLinkAccount:AwsLinkAccount")
|
|
162
163
|
class AwsLinkAccount(pulumi.CustomResource):
|
|
163
164
|
@overload
|
|
164
165
|
def __init__(__self__,
|
|
165
166
|
resource_name: str,
|
|
166
167
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
167
|
-
account_id: Optional[pulumi.Input[str]] = None,
|
|
168
|
-
arn: Optional[pulumi.Input[str]] = None,
|
|
169
|
-
metric_collection_mode: Optional[pulumi.Input[str]] = None,
|
|
170
|
-
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,
|
|
171
172
|
__props__=None):
|
|
172
173
|
"""
|
|
173
174
|
Use this resource to link an AWS account to New Relic.
|
|
@@ -206,10 +207,10 @@ class AwsLinkAccount(pulumi.CustomResource):
|
|
|
206
207
|
|
|
207
208
|
:param str resource_name: The name of the resource.
|
|
208
209
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
209
|
-
:param pulumi.Input[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`.
|
|
210
|
-
:param pulumi.Input[str] arn: The Amazon Resource Name (ARN) of the IAM role.
|
|
211
|
-
: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.
|
|
212
|
-
: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.
|
|
213
214
|
"""
|
|
214
215
|
...
|
|
215
216
|
@overload
|
|
@@ -267,10 +268,10 @@ class AwsLinkAccount(pulumi.CustomResource):
|
|
|
267
268
|
def _internal_init(__self__,
|
|
268
269
|
resource_name: str,
|
|
269
270
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
270
|
-
account_id: Optional[pulumi.Input[str]] = None,
|
|
271
|
-
arn: Optional[pulumi.Input[str]] = None,
|
|
272
|
-
metric_collection_mode: Optional[pulumi.Input[str]] = None,
|
|
273
|
-
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,
|
|
274
275
|
__props__=None):
|
|
275
276
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
276
277
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -296,10 +297,10 @@ class AwsLinkAccount(pulumi.CustomResource):
|
|
|
296
297
|
def get(resource_name: str,
|
|
297
298
|
id: pulumi.Input[str],
|
|
298
299
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
299
|
-
account_id: Optional[pulumi.Input[str]] = None,
|
|
300
|
-
arn: Optional[pulumi.Input[str]] = None,
|
|
301
|
-
metric_collection_mode: Optional[pulumi.Input[str]] = None,
|
|
302
|
-
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':
|
|
303
304
|
"""
|
|
304
305
|
Get an existing AwsLinkAccount resource's state with the given name, id, and optional extra
|
|
305
306
|
properties used to qualify the lookup.
|
|
@@ -307,10 +308,10 @@ class AwsLinkAccount(pulumi.CustomResource):
|
|
|
307
308
|
:param str resource_name: The unique name of the resulting resource.
|
|
308
309
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
309
310
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
310
|
-
:param pulumi.Input[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`.
|
|
311
|
-
:param pulumi.Input[str] arn: The Amazon Resource Name (ARN) of the IAM role.
|
|
312
|
-
: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.
|
|
313
|
-
: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.
|
|
314
315
|
"""
|
|
315
316
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
316
317
|
|
|
@@ -322,33 +323,33 @@ class AwsLinkAccount(pulumi.CustomResource):
|
|
|
322
323
|
__props__.__dict__["name"] = name
|
|
323
324
|
return AwsLinkAccount(resource_name, opts=opts, __props__=__props__)
|
|
324
325
|
|
|
325
|
-
@property
|
|
326
|
+
@_builtins.property
|
|
326
327
|
@pulumi.getter(name="accountId")
|
|
327
|
-
def account_id(self) -> pulumi.Output[str]:
|
|
328
|
+
def account_id(self) -> pulumi.Output[_builtins.str]:
|
|
328
329
|
"""
|
|
329
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`.
|
|
330
331
|
"""
|
|
331
332
|
return pulumi.get(self, "account_id")
|
|
332
333
|
|
|
333
|
-
@property
|
|
334
|
+
@_builtins.property
|
|
334
335
|
@pulumi.getter
|
|
335
|
-
def arn(self) -> pulumi.Output[str]:
|
|
336
|
+
def arn(self) -> pulumi.Output[_builtins.str]:
|
|
336
337
|
"""
|
|
337
338
|
The Amazon Resource Name (ARN) of the IAM role.
|
|
338
339
|
"""
|
|
339
340
|
return pulumi.get(self, "arn")
|
|
340
341
|
|
|
341
|
-
@property
|
|
342
|
+
@_builtins.property
|
|
342
343
|
@pulumi.getter(name="metricCollectionMode")
|
|
343
|
-
def metric_collection_mode(self) -> pulumi.Output[Optional[str]]:
|
|
344
|
+
def metric_collection_mode(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
344
345
|
"""
|
|
345
346
|
How metrics will be collected. Use `PUSH` for a metric stream or `PULL` to integrate with individual services.
|
|
346
347
|
"""
|
|
347
348
|
return pulumi.get(self, "metric_collection_mode")
|
|
348
349
|
|
|
349
|
-
@property
|
|
350
|
+
@_builtins.property
|
|
350
351
|
@pulumi.getter
|
|
351
|
-
def name(self) -> pulumi.Output[str]:
|
|
352
|
+
def name(self) -> pulumi.Output[_builtins.str]:
|
|
352
353
|
"""
|
|
353
354
|
The name of the linked account.
|
|
354
355
|
"""
|