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,19 +19,19 @@ __all__ = ['AwsGovcloudLinkAccountArgs', 'AwsGovcloudLinkAccount']
|
|
|
19
19
|
@pulumi.input_type
|
|
20
20
|
class AwsGovcloudLinkAccountArgs:
|
|
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 AwsGovcloudLinkAccount resource.
|
|
28
|
-
:param pulumi.Input[str] arn: The Amazon Resource Name (ARN) of the IAM role.
|
|
28
|
+
:param pulumi.Input[_builtins.str] arn: The Amazon Resource Name (ARN) of the IAM role.
|
|
29
29
|
|
|
30
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.
|
|
31
|
-
: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`, if not specified in the configuration.
|
|
32
|
-
:param pulumi.Input[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.
|
|
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.
|
|
33
33
|
- Use `PUSH` for Metric Streams and `PULL` for API Polling based metric collection respectively.
|
|
34
|
-
:param pulumi.Input[str] name: The name/identifier of the AWS GovCloud - New Relic 'linked' account.
|
|
34
|
+
:param pulumi.Input[_builtins.str] name: The name/identifier of the AWS GovCloud - New Relic 'linked' account.
|
|
35
35
|
"""
|
|
36
36
|
pulumi.set(__self__, "arn", arn)
|
|
37
37
|
if account_id is not None:
|
|
@@ -41,9 +41,9 @@ class AwsGovcloudLinkAccountArgs:
|
|
|
41
41
|
if name is not None:
|
|
42
42
|
pulumi.set(__self__, "name", name)
|
|
43
43
|
|
|
44
|
-
@property
|
|
44
|
+
@_builtins.property
|
|
45
45
|
@pulumi.getter
|
|
46
|
-
def arn(self) -> pulumi.Input[str]:
|
|
46
|
+
def arn(self) -> pulumi.Input[_builtins.str]:
|
|
47
47
|
"""
|
|
48
48
|
The Amazon Resource Name (ARN) of the IAM role.
|
|
49
49
|
|
|
@@ -52,24 +52,24 @@ class AwsGovcloudLinkAccountArgs:
|
|
|
52
52
|
return pulumi.get(self, "arn")
|
|
53
53
|
|
|
54
54
|
@arn.setter
|
|
55
|
-
def arn(self, value: pulumi.Input[str]):
|
|
55
|
+
def arn(self, value: pulumi.Input[_builtins.str]):
|
|
56
56
|
pulumi.set(self, "arn", value)
|
|
57
57
|
|
|
58
|
-
@property
|
|
58
|
+
@_builtins.property
|
|
59
59
|
@pulumi.getter(name="accountId")
|
|
60
|
-
def account_id(self) -> Optional[pulumi.Input[str]]:
|
|
60
|
+
def account_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
61
61
|
"""
|
|
62
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.
|
|
63
63
|
"""
|
|
64
64
|
return pulumi.get(self, "account_id")
|
|
65
65
|
|
|
66
66
|
@account_id.setter
|
|
67
|
-
def account_id(self, value: Optional[pulumi.Input[str]]):
|
|
67
|
+
def account_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
68
68
|
pulumi.set(self, "account_id", value)
|
|
69
69
|
|
|
70
|
-
@property
|
|
70
|
+
@_builtins.property
|
|
71
71
|
@pulumi.getter(name="metricCollectionMode")
|
|
72
|
-
def metric_collection_mode(self) -> Optional[pulumi.Input[str]]:
|
|
72
|
+
def metric_collection_mode(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
73
73
|
"""
|
|
74
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.
|
|
75
75
|
- Use `PUSH` for Metric Streams and `PULL` for API Polling based metric collection respectively.
|
|
@@ -77,38 +77,38 @@ class AwsGovcloudLinkAccountArgs:
|
|
|
77
77
|
return pulumi.get(self, "metric_collection_mode")
|
|
78
78
|
|
|
79
79
|
@metric_collection_mode.setter
|
|
80
|
-
def metric_collection_mode(self, value: Optional[pulumi.Input[str]]):
|
|
80
|
+
def metric_collection_mode(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
81
81
|
pulumi.set(self, "metric_collection_mode", value)
|
|
82
82
|
|
|
83
|
-
@property
|
|
83
|
+
@_builtins.property
|
|
84
84
|
@pulumi.getter
|
|
85
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
85
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
86
86
|
"""
|
|
87
87
|
The name/identifier of the AWS GovCloud - New Relic 'linked' account.
|
|
88
88
|
"""
|
|
89
89
|
return pulumi.get(self, "name")
|
|
90
90
|
|
|
91
91
|
@name.setter
|
|
92
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
92
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
93
93
|
pulumi.set(self, "name", value)
|
|
94
94
|
|
|
95
95
|
|
|
96
96
|
@pulumi.input_type
|
|
97
97
|
class _AwsGovcloudLinkAccountState:
|
|
98
98
|
def __init__(__self__, *,
|
|
99
|
-
account_id: Optional[pulumi.Input[str]] = None,
|
|
100
|
-
arn: Optional[pulumi.Input[str]] = None,
|
|
101
|
-
metric_collection_mode: Optional[pulumi.Input[str]] = None,
|
|
102
|
-
name: Optional[pulumi.Input[str]] = None):
|
|
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):
|
|
103
103
|
"""
|
|
104
104
|
Input properties used for looking up and filtering AwsGovcloudLinkAccount resources.
|
|
105
|
-
: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`, if not specified in the configuration.
|
|
106
|
-
:param pulumi.Input[str] arn: The Amazon Resource Name (ARN) of the IAM role.
|
|
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.
|
|
107
107
|
|
|
108
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.
|
|
109
|
-
:param pulumi.Input[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.
|
|
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.
|
|
110
110
|
- Use `PUSH` for Metric Streams and `PULL` for API Polling based metric collection respectively.
|
|
111
|
-
:param pulumi.Input[str] name: The name/identifier of the AWS GovCloud - New Relic 'linked' account.
|
|
111
|
+
:param pulumi.Input[_builtins.str] name: The name/identifier of the AWS GovCloud - New Relic 'linked' account.
|
|
112
112
|
"""
|
|
113
113
|
if account_id is not None:
|
|
114
114
|
pulumi.set(__self__, "account_id", account_id)
|
|
@@ -119,21 +119,21 @@ class _AwsGovcloudLinkAccountState:
|
|
|
119
119
|
if name is not None:
|
|
120
120
|
pulumi.set(__self__, "name", name)
|
|
121
121
|
|
|
122
|
-
@property
|
|
122
|
+
@_builtins.property
|
|
123
123
|
@pulumi.getter(name="accountId")
|
|
124
|
-
def account_id(self) -> Optional[pulumi.Input[str]]:
|
|
124
|
+
def account_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
125
125
|
"""
|
|
126
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.
|
|
127
127
|
"""
|
|
128
128
|
return pulumi.get(self, "account_id")
|
|
129
129
|
|
|
130
130
|
@account_id.setter
|
|
131
|
-
def account_id(self, value: Optional[pulumi.Input[str]]):
|
|
131
|
+
def account_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
132
132
|
pulumi.set(self, "account_id", value)
|
|
133
133
|
|
|
134
|
-
@property
|
|
134
|
+
@_builtins.property
|
|
135
135
|
@pulumi.getter
|
|
136
|
-
def arn(self) -> Optional[pulumi.Input[str]]:
|
|
136
|
+
def arn(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
137
137
|
"""
|
|
138
138
|
The Amazon Resource Name (ARN) of the IAM role.
|
|
139
139
|
|
|
@@ -142,12 +142,12 @@ class _AwsGovcloudLinkAccountState:
|
|
|
142
142
|
return pulumi.get(self, "arn")
|
|
143
143
|
|
|
144
144
|
@arn.setter
|
|
145
|
-
def arn(self, value: Optional[pulumi.Input[str]]):
|
|
145
|
+
def arn(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
146
146
|
pulumi.set(self, "arn", value)
|
|
147
147
|
|
|
148
|
-
@property
|
|
148
|
+
@_builtins.property
|
|
149
149
|
@pulumi.getter(name="metricCollectionMode")
|
|
150
|
-
def metric_collection_mode(self) -> Optional[pulumi.Input[str]]:
|
|
150
|
+
def metric_collection_mode(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
151
151
|
"""
|
|
152
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.
|
|
153
153
|
- Use `PUSH` for Metric Streams and `PULL` for API Polling based metric collection respectively.
|
|
@@ -155,31 +155,32 @@ class _AwsGovcloudLinkAccountState:
|
|
|
155
155
|
return pulumi.get(self, "metric_collection_mode")
|
|
156
156
|
|
|
157
157
|
@metric_collection_mode.setter
|
|
158
|
-
def metric_collection_mode(self, value: Optional[pulumi.Input[str]]):
|
|
158
|
+
def metric_collection_mode(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
159
159
|
pulumi.set(self, "metric_collection_mode", value)
|
|
160
160
|
|
|
161
|
-
@property
|
|
161
|
+
@_builtins.property
|
|
162
162
|
@pulumi.getter
|
|
163
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
163
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
164
164
|
"""
|
|
165
165
|
The name/identifier of the AWS GovCloud - New Relic 'linked' account.
|
|
166
166
|
"""
|
|
167
167
|
return pulumi.get(self, "name")
|
|
168
168
|
|
|
169
169
|
@name.setter
|
|
170
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
170
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
171
171
|
pulumi.set(self, "name", value)
|
|
172
172
|
|
|
173
173
|
|
|
174
|
+
@pulumi.type_token("newrelic:cloud/awsGovcloudLinkAccount:AwsGovcloudLinkAccount")
|
|
174
175
|
class AwsGovcloudLinkAccount(pulumi.CustomResource):
|
|
175
176
|
@overload
|
|
176
177
|
def __init__(__self__,
|
|
177
178
|
resource_name: str,
|
|
178
179
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
179
|
-
account_id: Optional[pulumi.Input[str]] = None,
|
|
180
|
-
arn: Optional[pulumi.Input[str]] = None,
|
|
181
|
-
metric_collection_mode: Optional[pulumi.Input[str]] = None,
|
|
182
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
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,
|
|
183
184
|
__props__=None):
|
|
184
185
|
"""
|
|
185
186
|
Use this resource to link an AWS GovCloud account to New Relic.
|
|
@@ -215,13 +216,13 @@ class AwsGovcloudLinkAccount(pulumi.CustomResource):
|
|
|
215
216
|
|
|
216
217
|
:param str resource_name: The name of the resource.
|
|
217
218
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
218
|
-
: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`, if not specified in the configuration.
|
|
219
|
-
:param pulumi.Input[str] arn: The Amazon Resource Name (ARN) of the IAM role.
|
|
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.
|
|
220
221
|
|
|
221
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.
|
|
222
|
-
:param pulumi.Input[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.
|
|
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.
|
|
223
224
|
- Use `PUSH` for Metric Streams and `PULL` for API Polling based metric collection respectively.
|
|
224
|
-
:param pulumi.Input[str] name: The name/identifier of the AWS GovCloud - New Relic 'linked' account.
|
|
225
|
+
:param pulumi.Input[_builtins.str] name: The name/identifier of the AWS GovCloud - New Relic 'linked' account.
|
|
225
226
|
"""
|
|
226
227
|
...
|
|
227
228
|
@overload
|
|
@@ -276,10 +277,10 @@ class AwsGovcloudLinkAccount(pulumi.CustomResource):
|
|
|
276
277
|
def _internal_init(__self__,
|
|
277
278
|
resource_name: str,
|
|
278
279
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
279
|
-
account_id: Optional[pulumi.Input[str]] = None,
|
|
280
|
-
arn: Optional[pulumi.Input[str]] = None,
|
|
281
|
-
metric_collection_mode: Optional[pulumi.Input[str]] = None,
|
|
282
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
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,
|
|
283
284
|
__props__=None):
|
|
284
285
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
285
286
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -305,10 +306,10 @@ class AwsGovcloudLinkAccount(pulumi.CustomResource):
|
|
|
305
306
|
def get(resource_name: str,
|
|
306
307
|
id: pulumi.Input[str],
|
|
307
308
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
308
|
-
account_id: Optional[pulumi.Input[str]] = None,
|
|
309
|
-
arn: Optional[pulumi.Input[str]] = None,
|
|
310
|
-
metric_collection_mode: Optional[pulumi.Input[str]] = None,
|
|
311
|
-
name: Optional[pulumi.Input[str]] = None) -> 'AwsGovcloudLinkAccount':
|
|
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':
|
|
312
313
|
"""
|
|
313
314
|
Get an existing AwsGovcloudLinkAccount resource's state with the given name, id, and optional extra
|
|
314
315
|
properties used to qualify the lookup.
|
|
@@ -316,13 +317,13 @@ class AwsGovcloudLinkAccount(pulumi.CustomResource):
|
|
|
316
317
|
:param str resource_name: The unique name of the resulting resource.
|
|
317
318
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
318
319
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
319
|
-
: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`, if not specified in the configuration.
|
|
320
|
-
:param pulumi.Input[str] arn: The Amazon Resource Name (ARN) of the IAM role.
|
|
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.
|
|
321
322
|
|
|
322
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.
|
|
323
|
-
:param pulumi.Input[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.
|
|
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.
|
|
324
325
|
- Use `PUSH` for Metric Streams and `PULL` for API Polling based metric collection respectively.
|
|
325
|
-
:param pulumi.Input[str] name: The name/identifier of the AWS GovCloud - New Relic 'linked' account.
|
|
326
|
+
:param pulumi.Input[_builtins.str] name: The name/identifier of the AWS GovCloud - New Relic 'linked' account.
|
|
326
327
|
"""
|
|
327
328
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
328
329
|
|
|
@@ -334,17 +335,17 @@ class AwsGovcloudLinkAccount(pulumi.CustomResource):
|
|
|
334
335
|
__props__.__dict__["name"] = name
|
|
335
336
|
return AwsGovcloudLinkAccount(resource_name, opts=opts, __props__=__props__)
|
|
336
337
|
|
|
337
|
-
@property
|
|
338
|
+
@_builtins.property
|
|
338
339
|
@pulumi.getter(name="accountId")
|
|
339
|
-
def account_id(self) -> pulumi.Output[str]:
|
|
340
|
+
def account_id(self) -> pulumi.Output[_builtins.str]:
|
|
340
341
|
"""
|
|
341
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.
|
|
342
343
|
"""
|
|
343
344
|
return pulumi.get(self, "account_id")
|
|
344
345
|
|
|
345
|
-
@property
|
|
346
|
+
@_builtins.property
|
|
346
347
|
@pulumi.getter
|
|
347
|
-
def arn(self) -> pulumi.Output[str]:
|
|
348
|
+
def arn(self) -> pulumi.Output[_builtins.str]:
|
|
348
349
|
"""
|
|
349
350
|
The Amazon Resource Name (ARN) of the IAM role.
|
|
350
351
|
|
|
@@ -352,18 +353,18 @@ class AwsGovcloudLinkAccount(pulumi.CustomResource):
|
|
|
352
353
|
"""
|
|
353
354
|
return pulumi.get(self, "arn")
|
|
354
355
|
|
|
355
|
-
@property
|
|
356
|
+
@_builtins.property
|
|
356
357
|
@pulumi.getter(name="metricCollectionMode")
|
|
357
|
-
def metric_collection_mode(self) -> pulumi.Output[Optional[str]]:
|
|
358
|
+
def metric_collection_mode(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
358
359
|
"""
|
|
359
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.
|
|
360
361
|
- Use `PUSH` for Metric Streams and `PULL` for API Polling based metric collection respectively.
|
|
361
362
|
"""
|
|
362
363
|
return pulumi.get(self, "metric_collection_mode")
|
|
363
364
|
|
|
364
|
-
@property
|
|
365
|
+
@_builtins.property
|
|
365
366
|
@pulumi.getter
|
|
366
|
-
def name(self) -> pulumi.Output[str]:
|
|
367
|
+
def name(self) -> pulumi.Output[_builtins.str]:
|
|
367
368
|
"""
|
|
368
369
|
The name/identifier of the AWS GovCloud - New Relic 'linked' account.
|
|
369
370
|
"""
|