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__ = ['AzureLinkAccountArgs', 'AzureLinkAccount']
|
|
@@ -14,20 +19,20 @@ __all__ = ['AzureLinkAccountArgs', 'AzureLinkAccount']
|
|
|
14
19
|
@pulumi.input_type
|
|
15
20
|
class AzureLinkAccountArgs:
|
|
16
21
|
def __init__(__self__, *,
|
|
17
|
-
application_id: pulumi.Input[str],
|
|
18
|
-
client_secret: pulumi.Input[str],
|
|
19
|
-
subscription_id: pulumi.Input[str],
|
|
20
|
-
tenant_id: pulumi.Input[str],
|
|
21
|
-
account_id: Optional[pulumi.Input[
|
|
22
|
-
name: Optional[pulumi.Input[str]] = None):
|
|
22
|
+
application_id: pulumi.Input[_builtins.str],
|
|
23
|
+
client_secret: pulumi.Input[_builtins.str],
|
|
24
|
+
subscription_id: pulumi.Input[_builtins.str],
|
|
25
|
+
tenant_id: pulumi.Input[_builtins.str],
|
|
26
|
+
account_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
27
|
+
name: Optional[pulumi.Input[_builtins.str]] = None):
|
|
23
28
|
"""
|
|
24
29
|
The set of arguments for constructing a AzureLinkAccount resource.
|
|
25
|
-
:param pulumi.Input[str] application_id: Application ID of the App.
|
|
26
|
-
:param pulumi.Input[str] client_secret: Secret Value of the client.
|
|
27
|
-
:param pulumi.Input[str] subscription_id: Subscription ID of the Azure cloud account.
|
|
28
|
-
:param pulumi.Input[str] tenant_id: Tenant ID of the Azure cloud account.
|
|
29
|
-
:param pulumi.Input[
|
|
30
|
-
:param pulumi.Input[str] name:
|
|
30
|
+
:param pulumi.Input[_builtins.str] application_id: Application ID of the App.
|
|
31
|
+
:param pulumi.Input[_builtins.str] client_secret: Secret Value of the client.
|
|
32
|
+
:param pulumi.Input[_builtins.str] subscription_id: Subscription ID of the Azure cloud account.
|
|
33
|
+
:param pulumi.Input[_builtins.str] tenant_id: Tenant ID of the Azure cloud account.
|
|
34
|
+
:param pulumi.Input[_builtins.str] account_id: Account ID of the New Relic.
|
|
35
|
+
:param pulumi.Input[_builtins.str] name: The name of the application in New Relic APM.
|
|
31
36
|
"""
|
|
32
37
|
pulumi.set(__self__, "application_id", application_id)
|
|
33
38
|
pulumi.set(__self__, "client_secret", client_secret)
|
|
@@ -38,96 +43,96 @@ class AzureLinkAccountArgs:
|
|
|
38
43
|
if name is not None:
|
|
39
44
|
pulumi.set(__self__, "name", name)
|
|
40
45
|
|
|
41
|
-
@property
|
|
46
|
+
@_builtins.property
|
|
42
47
|
@pulumi.getter(name="applicationId")
|
|
43
|
-
def application_id(self) -> pulumi.Input[str]:
|
|
48
|
+
def application_id(self) -> pulumi.Input[_builtins.str]:
|
|
44
49
|
"""
|
|
45
50
|
Application ID of the App.
|
|
46
51
|
"""
|
|
47
52
|
return pulumi.get(self, "application_id")
|
|
48
53
|
|
|
49
54
|
@application_id.setter
|
|
50
|
-
def application_id(self, value: pulumi.Input[str]):
|
|
55
|
+
def application_id(self, value: pulumi.Input[_builtins.str]):
|
|
51
56
|
pulumi.set(self, "application_id", value)
|
|
52
57
|
|
|
53
|
-
@property
|
|
58
|
+
@_builtins.property
|
|
54
59
|
@pulumi.getter(name="clientSecret")
|
|
55
|
-
def client_secret(self) -> pulumi.Input[str]:
|
|
60
|
+
def client_secret(self) -> pulumi.Input[_builtins.str]:
|
|
56
61
|
"""
|
|
57
62
|
Secret Value of the client.
|
|
58
63
|
"""
|
|
59
64
|
return pulumi.get(self, "client_secret")
|
|
60
65
|
|
|
61
66
|
@client_secret.setter
|
|
62
|
-
def client_secret(self, value: pulumi.Input[str]):
|
|
67
|
+
def client_secret(self, value: pulumi.Input[_builtins.str]):
|
|
63
68
|
pulumi.set(self, "client_secret", value)
|
|
64
69
|
|
|
65
|
-
@property
|
|
70
|
+
@_builtins.property
|
|
66
71
|
@pulumi.getter(name="subscriptionId")
|
|
67
|
-
def subscription_id(self) -> pulumi.Input[str]:
|
|
72
|
+
def subscription_id(self) -> pulumi.Input[_builtins.str]:
|
|
68
73
|
"""
|
|
69
74
|
Subscription ID of the Azure cloud account.
|
|
70
75
|
"""
|
|
71
76
|
return pulumi.get(self, "subscription_id")
|
|
72
77
|
|
|
73
78
|
@subscription_id.setter
|
|
74
|
-
def subscription_id(self, value: pulumi.Input[str]):
|
|
79
|
+
def subscription_id(self, value: pulumi.Input[_builtins.str]):
|
|
75
80
|
pulumi.set(self, "subscription_id", value)
|
|
76
81
|
|
|
77
|
-
@property
|
|
82
|
+
@_builtins.property
|
|
78
83
|
@pulumi.getter(name="tenantId")
|
|
79
|
-
def tenant_id(self) -> pulumi.Input[str]:
|
|
84
|
+
def tenant_id(self) -> pulumi.Input[_builtins.str]:
|
|
80
85
|
"""
|
|
81
86
|
Tenant ID of the Azure cloud account.
|
|
82
87
|
"""
|
|
83
88
|
return pulumi.get(self, "tenant_id")
|
|
84
89
|
|
|
85
90
|
@tenant_id.setter
|
|
86
|
-
def tenant_id(self, value: pulumi.Input[str]):
|
|
91
|
+
def tenant_id(self, value: pulumi.Input[_builtins.str]):
|
|
87
92
|
pulumi.set(self, "tenant_id", value)
|
|
88
93
|
|
|
89
|
-
@property
|
|
94
|
+
@_builtins.property
|
|
90
95
|
@pulumi.getter(name="accountId")
|
|
91
|
-
def account_id(self) -> Optional[pulumi.Input[
|
|
96
|
+
def account_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
92
97
|
"""
|
|
93
98
|
Account ID of the New Relic.
|
|
94
99
|
"""
|
|
95
100
|
return pulumi.get(self, "account_id")
|
|
96
101
|
|
|
97
102
|
@account_id.setter
|
|
98
|
-
def account_id(self, value: Optional[pulumi.Input[
|
|
103
|
+
def account_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
99
104
|
pulumi.set(self, "account_id", value)
|
|
100
105
|
|
|
101
|
-
@property
|
|
106
|
+
@_builtins.property
|
|
102
107
|
@pulumi.getter
|
|
103
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
108
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
104
109
|
"""
|
|
105
|
-
|
|
110
|
+
The name of the application in New Relic APM.
|
|
106
111
|
"""
|
|
107
112
|
return pulumi.get(self, "name")
|
|
108
113
|
|
|
109
114
|
@name.setter
|
|
110
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
115
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
111
116
|
pulumi.set(self, "name", value)
|
|
112
117
|
|
|
113
118
|
|
|
114
119
|
@pulumi.input_type
|
|
115
120
|
class _AzureLinkAccountState:
|
|
116
121
|
def __init__(__self__, *,
|
|
117
|
-
account_id: Optional[pulumi.Input[
|
|
118
|
-
application_id: Optional[pulumi.Input[str]] = None,
|
|
119
|
-
client_secret: Optional[pulumi.Input[str]] = None,
|
|
120
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
121
|
-
subscription_id: Optional[pulumi.Input[str]] = None,
|
|
122
|
-
tenant_id: Optional[pulumi.Input[str]] = None):
|
|
122
|
+
account_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
123
|
+
application_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
124
|
+
client_secret: Optional[pulumi.Input[_builtins.str]] = None,
|
|
125
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
126
|
+
subscription_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
127
|
+
tenant_id: Optional[pulumi.Input[_builtins.str]] = None):
|
|
123
128
|
"""
|
|
124
129
|
Input properties used for looking up and filtering AzureLinkAccount resources.
|
|
125
|
-
:param pulumi.Input[
|
|
126
|
-
:param pulumi.Input[str] application_id: Application ID of the App.
|
|
127
|
-
:param pulumi.Input[str] client_secret: Secret Value of the client.
|
|
128
|
-
:param pulumi.Input[str] name:
|
|
129
|
-
:param pulumi.Input[str] subscription_id: Subscription ID of the Azure cloud account.
|
|
130
|
-
:param pulumi.Input[str] tenant_id: Tenant ID of the Azure cloud account.
|
|
130
|
+
:param pulumi.Input[_builtins.str] account_id: Account ID of the New Relic.
|
|
131
|
+
:param pulumi.Input[_builtins.str] application_id: Application ID of the App.
|
|
132
|
+
:param pulumi.Input[_builtins.str] client_secret: Secret Value of the client.
|
|
133
|
+
:param pulumi.Input[_builtins.str] name: The name of the application in New Relic APM.
|
|
134
|
+
:param pulumi.Input[_builtins.str] subscription_id: Subscription ID of the Azure cloud account.
|
|
135
|
+
:param pulumi.Input[_builtins.str] tenant_id: Tenant ID of the Azure cloud account.
|
|
131
136
|
"""
|
|
132
137
|
if account_id is not None:
|
|
133
138
|
pulumi.set(__self__, "account_id", account_id)
|
|
@@ -142,90 +147,91 @@ class _AzureLinkAccountState:
|
|
|
142
147
|
if tenant_id is not None:
|
|
143
148
|
pulumi.set(__self__, "tenant_id", tenant_id)
|
|
144
149
|
|
|
145
|
-
@property
|
|
150
|
+
@_builtins.property
|
|
146
151
|
@pulumi.getter(name="accountId")
|
|
147
|
-
def account_id(self) -> Optional[pulumi.Input[
|
|
152
|
+
def account_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
148
153
|
"""
|
|
149
154
|
Account ID of the New Relic.
|
|
150
155
|
"""
|
|
151
156
|
return pulumi.get(self, "account_id")
|
|
152
157
|
|
|
153
158
|
@account_id.setter
|
|
154
|
-
def account_id(self, value: Optional[pulumi.Input[
|
|
159
|
+
def account_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
155
160
|
pulumi.set(self, "account_id", value)
|
|
156
161
|
|
|
157
|
-
@property
|
|
162
|
+
@_builtins.property
|
|
158
163
|
@pulumi.getter(name="applicationId")
|
|
159
|
-
def application_id(self) -> Optional[pulumi.Input[str]]:
|
|
164
|
+
def application_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
160
165
|
"""
|
|
161
166
|
Application ID of the App.
|
|
162
167
|
"""
|
|
163
168
|
return pulumi.get(self, "application_id")
|
|
164
169
|
|
|
165
170
|
@application_id.setter
|
|
166
|
-
def application_id(self, value: Optional[pulumi.Input[str]]):
|
|
171
|
+
def application_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
167
172
|
pulumi.set(self, "application_id", value)
|
|
168
173
|
|
|
169
|
-
@property
|
|
174
|
+
@_builtins.property
|
|
170
175
|
@pulumi.getter(name="clientSecret")
|
|
171
|
-
def client_secret(self) -> Optional[pulumi.Input[str]]:
|
|
176
|
+
def client_secret(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
172
177
|
"""
|
|
173
178
|
Secret Value of the client.
|
|
174
179
|
"""
|
|
175
180
|
return pulumi.get(self, "client_secret")
|
|
176
181
|
|
|
177
182
|
@client_secret.setter
|
|
178
|
-
def client_secret(self, value: Optional[pulumi.Input[str]]):
|
|
183
|
+
def client_secret(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
179
184
|
pulumi.set(self, "client_secret", value)
|
|
180
185
|
|
|
181
|
-
@property
|
|
186
|
+
@_builtins.property
|
|
182
187
|
@pulumi.getter
|
|
183
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
188
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
184
189
|
"""
|
|
185
|
-
|
|
190
|
+
The name of the application in New Relic APM.
|
|
186
191
|
"""
|
|
187
192
|
return pulumi.get(self, "name")
|
|
188
193
|
|
|
189
194
|
@name.setter
|
|
190
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
195
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
191
196
|
pulumi.set(self, "name", value)
|
|
192
197
|
|
|
193
|
-
@property
|
|
198
|
+
@_builtins.property
|
|
194
199
|
@pulumi.getter(name="subscriptionId")
|
|
195
|
-
def subscription_id(self) -> Optional[pulumi.Input[str]]:
|
|
200
|
+
def subscription_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
196
201
|
"""
|
|
197
202
|
Subscription ID of the Azure cloud account.
|
|
198
203
|
"""
|
|
199
204
|
return pulumi.get(self, "subscription_id")
|
|
200
205
|
|
|
201
206
|
@subscription_id.setter
|
|
202
|
-
def subscription_id(self, value: Optional[pulumi.Input[str]]):
|
|
207
|
+
def subscription_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
203
208
|
pulumi.set(self, "subscription_id", value)
|
|
204
209
|
|
|
205
|
-
@property
|
|
210
|
+
@_builtins.property
|
|
206
211
|
@pulumi.getter(name="tenantId")
|
|
207
|
-
def tenant_id(self) -> Optional[pulumi.Input[str]]:
|
|
212
|
+
def tenant_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
208
213
|
"""
|
|
209
214
|
Tenant ID of the Azure cloud account.
|
|
210
215
|
"""
|
|
211
216
|
return pulumi.get(self, "tenant_id")
|
|
212
217
|
|
|
213
218
|
@tenant_id.setter
|
|
214
|
-
def tenant_id(self, value: Optional[pulumi.Input[str]]):
|
|
219
|
+
def tenant_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
215
220
|
pulumi.set(self, "tenant_id", value)
|
|
216
221
|
|
|
217
222
|
|
|
223
|
+
@pulumi.type_token("newrelic:cloud/azureLinkAccount:AzureLinkAccount")
|
|
218
224
|
class AzureLinkAccount(pulumi.CustomResource):
|
|
219
225
|
@overload
|
|
220
226
|
def __init__(__self__,
|
|
221
227
|
resource_name: str,
|
|
222
228
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
223
|
-
account_id: Optional[pulumi.Input[
|
|
224
|
-
application_id: Optional[pulumi.Input[str]] = None,
|
|
225
|
-
client_secret: Optional[pulumi.Input[str]] = None,
|
|
226
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
227
|
-
subscription_id: Optional[pulumi.Input[str]] = None,
|
|
228
|
-
tenant_id: Optional[pulumi.Input[str]] = None,
|
|
229
|
+
account_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
230
|
+
application_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
231
|
+
client_secret: Optional[pulumi.Input[_builtins.str]] = None,
|
|
232
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
233
|
+
subscription_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
234
|
+
tenant_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
229
235
|
__props__=None):
|
|
230
236
|
"""
|
|
231
237
|
Use this resource to link an Azure account to New Relic.
|
|
@@ -242,7 +248,6 @@ class AzureLinkAccount(pulumi.CustomResource):
|
|
|
242
248
|
|
|
243
249
|
You can also use the full example, including the Azure set up, found in our guides.
|
|
244
250
|
|
|
245
|
-
<!--Start PulumiCodeChooser -->
|
|
246
251
|
```python
|
|
247
252
|
import pulumi
|
|
248
253
|
import pulumi_newrelic as newrelic
|
|
@@ -252,9 +257,9 @@ class AzureLinkAccount(pulumi.CustomResource):
|
|
|
252
257
|
application_id="ID of the application",
|
|
253
258
|
client_secret="Secret value of client's Azure account",
|
|
254
259
|
subscription_id="Subscription ID of Azure",
|
|
255
|
-
tenant_id="Tenant ID of the Azure"
|
|
260
|
+
tenant_id="Tenant ID of the Azure",
|
|
261
|
+
name="Name of the linked account")
|
|
256
262
|
```
|
|
257
|
-
<!--End PulumiCodeChooser -->
|
|
258
263
|
|
|
259
264
|
## Import
|
|
260
265
|
|
|
@@ -268,12 +273,12 @@ class AzureLinkAccount(pulumi.CustomResource):
|
|
|
268
273
|
|
|
269
274
|
:param str resource_name: The name of the resource.
|
|
270
275
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
271
|
-
:param pulumi.Input[
|
|
272
|
-
:param pulumi.Input[str] application_id: Application ID of the App.
|
|
273
|
-
:param pulumi.Input[str] client_secret: Secret Value of the client.
|
|
274
|
-
:param pulumi.Input[str] name:
|
|
275
|
-
:param pulumi.Input[str] subscription_id: Subscription ID of the Azure cloud account.
|
|
276
|
-
:param pulumi.Input[str] tenant_id: Tenant ID of the Azure cloud account.
|
|
276
|
+
:param pulumi.Input[_builtins.str] account_id: Account ID of the New Relic.
|
|
277
|
+
:param pulumi.Input[_builtins.str] application_id: Application ID of the App.
|
|
278
|
+
:param pulumi.Input[_builtins.str] client_secret: Secret Value of the client.
|
|
279
|
+
:param pulumi.Input[_builtins.str] name: The name of the application in New Relic APM.
|
|
280
|
+
:param pulumi.Input[_builtins.str] subscription_id: Subscription ID of the Azure cloud account.
|
|
281
|
+
:param pulumi.Input[_builtins.str] tenant_id: Tenant ID of the Azure cloud account.
|
|
277
282
|
"""
|
|
278
283
|
...
|
|
279
284
|
@overload
|
|
@@ -296,7 +301,6 @@ class AzureLinkAccount(pulumi.CustomResource):
|
|
|
296
301
|
|
|
297
302
|
You can also use the full example, including the Azure set up, found in our guides.
|
|
298
303
|
|
|
299
|
-
<!--Start PulumiCodeChooser -->
|
|
300
304
|
```python
|
|
301
305
|
import pulumi
|
|
302
306
|
import pulumi_newrelic as newrelic
|
|
@@ -306,9 +310,9 @@ class AzureLinkAccount(pulumi.CustomResource):
|
|
|
306
310
|
application_id="ID of the application",
|
|
307
311
|
client_secret="Secret value of client's Azure account",
|
|
308
312
|
subscription_id="Subscription ID of Azure",
|
|
309
|
-
tenant_id="Tenant ID of the Azure"
|
|
313
|
+
tenant_id="Tenant ID of the Azure",
|
|
314
|
+
name="Name of the linked account")
|
|
310
315
|
```
|
|
311
|
-
<!--End PulumiCodeChooser -->
|
|
312
316
|
|
|
313
317
|
## Import
|
|
314
318
|
|
|
@@ -335,12 +339,12 @@ class AzureLinkAccount(pulumi.CustomResource):
|
|
|
335
339
|
def _internal_init(__self__,
|
|
336
340
|
resource_name: str,
|
|
337
341
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
338
|
-
account_id: Optional[pulumi.Input[
|
|
339
|
-
application_id: Optional[pulumi.Input[str]] = None,
|
|
340
|
-
client_secret: Optional[pulumi.Input[str]] = None,
|
|
341
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
342
|
-
subscription_id: Optional[pulumi.Input[str]] = None,
|
|
343
|
-
tenant_id: Optional[pulumi.Input[str]] = None,
|
|
342
|
+
account_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
343
|
+
application_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
344
|
+
client_secret: Optional[pulumi.Input[_builtins.str]] = None,
|
|
345
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
346
|
+
subscription_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
347
|
+
tenant_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
344
348
|
__props__=None):
|
|
345
349
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
346
350
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -353,18 +357,18 @@ class AzureLinkAccount(pulumi.CustomResource):
|
|
|
353
357
|
__props__.__dict__["account_id"] = account_id
|
|
354
358
|
if application_id is None and not opts.urn:
|
|
355
359
|
raise TypeError("Missing required property 'application_id'")
|
|
356
|
-
__props__.__dict__["application_id"] = application_id
|
|
360
|
+
__props__.__dict__["application_id"] = None if application_id is None else pulumi.Output.secret(application_id)
|
|
357
361
|
if client_secret is None and not opts.urn:
|
|
358
362
|
raise TypeError("Missing required property 'client_secret'")
|
|
359
363
|
__props__.__dict__["client_secret"] = None if client_secret is None else pulumi.Output.secret(client_secret)
|
|
360
364
|
__props__.__dict__["name"] = name
|
|
361
365
|
if subscription_id is None and not opts.urn:
|
|
362
366
|
raise TypeError("Missing required property 'subscription_id'")
|
|
363
|
-
__props__.__dict__["subscription_id"] = subscription_id
|
|
367
|
+
__props__.__dict__["subscription_id"] = None if subscription_id is None else pulumi.Output.secret(subscription_id)
|
|
364
368
|
if tenant_id is None and not opts.urn:
|
|
365
369
|
raise TypeError("Missing required property 'tenant_id'")
|
|
366
|
-
__props__.__dict__["tenant_id"] = tenant_id
|
|
367
|
-
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["clientSecret"])
|
|
370
|
+
__props__.__dict__["tenant_id"] = None if tenant_id is None else pulumi.Output.secret(tenant_id)
|
|
371
|
+
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["applicationId", "clientSecret", "subscriptionId", "tenantId"])
|
|
368
372
|
opts = pulumi.ResourceOptions.merge(opts, secret_opts)
|
|
369
373
|
super(AzureLinkAccount, __self__).__init__(
|
|
370
374
|
'newrelic:cloud/azureLinkAccount:AzureLinkAccount',
|
|
@@ -376,12 +380,12 @@ class AzureLinkAccount(pulumi.CustomResource):
|
|
|
376
380
|
def get(resource_name: str,
|
|
377
381
|
id: pulumi.Input[str],
|
|
378
382
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
379
|
-
account_id: Optional[pulumi.Input[
|
|
380
|
-
application_id: Optional[pulumi.Input[str]] = None,
|
|
381
|
-
client_secret: Optional[pulumi.Input[str]] = None,
|
|
382
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
383
|
-
subscription_id: Optional[pulumi.Input[str]] = None,
|
|
384
|
-
tenant_id: Optional[pulumi.Input[str]] = None) -> 'AzureLinkAccount':
|
|
383
|
+
account_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
384
|
+
application_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
385
|
+
client_secret: Optional[pulumi.Input[_builtins.str]] = None,
|
|
386
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
387
|
+
subscription_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
388
|
+
tenant_id: Optional[pulumi.Input[_builtins.str]] = None) -> 'AzureLinkAccount':
|
|
385
389
|
"""
|
|
386
390
|
Get an existing AzureLinkAccount resource's state with the given name, id, and optional extra
|
|
387
391
|
properties used to qualify the lookup.
|
|
@@ -389,12 +393,12 @@ class AzureLinkAccount(pulumi.CustomResource):
|
|
|
389
393
|
:param str resource_name: The unique name of the resulting resource.
|
|
390
394
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
391
395
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
392
|
-
:param pulumi.Input[
|
|
393
|
-
:param pulumi.Input[str] application_id: Application ID of the App.
|
|
394
|
-
:param pulumi.Input[str] client_secret: Secret Value of the client.
|
|
395
|
-
:param pulumi.Input[str] name:
|
|
396
|
-
:param pulumi.Input[str] subscription_id: Subscription ID of the Azure cloud account.
|
|
397
|
-
:param pulumi.Input[str] tenant_id: Tenant ID of the Azure cloud account.
|
|
396
|
+
:param pulumi.Input[_builtins.str] account_id: Account ID of the New Relic.
|
|
397
|
+
:param pulumi.Input[_builtins.str] application_id: Application ID of the App.
|
|
398
|
+
:param pulumi.Input[_builtins.str] client_secret: Secret Value of the client.
|
|
399
|
+
:param pulumi.Input[_builtins.str] name: The name of the application in New Relic APM.
|
|
400
|
+
:param pulumi.Input[_builtins.str] subscription_id: Subscription ID of the Azure cloud account.
|
|
401
|
+
:param pulumi.Input[_builtins.str] tenant_id: Tenant ID of the Azure cloud account.
|
|
398
402
|
"""
|
|
399
403
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
400
404
|
|
|
@@ -408,49 +412,49 @@ class AzureLinkAccount(pulumi.CustomResource):
|
|
|
408
412
|
__props__.__dict__["tenant_id"] = tenant_id
|
|
409
413
|
return AzureLinkAccount(resource_name, opts=opts, __props__=__props__)
|
|
410
414
|
|
|
411
|
-
@property
|
|
415
|
+
@_builtins.property
|
|
412
416
|
@pulumi.getter(name="accountId")
|
|
413
|
-
def account_id(self) -> pulumi.Output[
|
|
417
|
+
def account_id(self) -> pulumi.Output[_builtins.str]:
|
|
414
418
|
"""
|
|
415
419
|
Account ID of the New Relic.
|
|
416
420
|
"""
|
|
417
421
|
return pulumi.get(self, "account_id")
|
|
418
422
|
|
|
419
|
-
@property
|
|
423
|
+
@_builtins.property
|
|
420
424
|
@pulumi.getter(name="applicationId")
|
|
421
|
-
def application_id(self) -> pulumi.Output[str]:
|
|
425
|
+
def application_id(self) -> pulumi.Output[_builtins.str]:
|
|
422
426
|
"""
|
|
423
427
|
Application ID of the App.
|
|
424
428
|
"""
|
|
425
429
|
return pulumi.get(self, "application_id")
|
|
426
430
|
|
|
427
|
-
@property
|
|
431
|
+
@_builtins.property
|
|
428
432
|
@pulumi.getter(name="clientSecret")
|
|
429
|
-
def client_secret(self) -> pulumi.Output[str]:
|
|
433
|
+
def client_secret(self) -> pulumi.Output[_builtins.str]:
|
|
430
434
|
"""
|
|
431
435
|
Secret Value of the client.
|
|
432
436
|
"""
|
|
433
437
|
return pulumi.get(self, "client_secret")
|
|
434
438
|
|
|
435
|
-
@property
|
|
439
|
+
@_builtins.property
|
|
436
440
|
@pulumi.getter
|
|
437
|
-
def name(self) -> pulumi.Output[str]:
|
|
441
|
+
def name(self) -> pulumi.Output[_builtins.str]:
|
|
438
442
|
"""
|
|
439
|
-
|
|
443
|
+
The name of the application in New Relic APM.
|
|
440
444
|
"""
|
|
441
445
|
return pulumi.get(self, "name")
|
|
442
446
|
|
|
443
|
-
@property
|
|
447
|
+
@_builtins.property
|
|
444
448
|
@pulumi.getter(name="subscriptionId")
|
|
445
|
-
def subscription_id(self) -> pulumi.Output[str]:
|
|
449
|
+
def subscription_id(self) -> pulumi.Output[_builtins.str]:
|
|
446
450
|
"""
|
|
447
451
|
Subscription ID of the Azure cloud account.
|
|
448
452
|
"""
|
|
449
453
|
return pulumi.get(self, "subscription_id")
|
|
450
454
|
|
|
451
|
-
@property
|
|
455
|
+
@_builtins.property
|
|
452
456
|
@pulumi.getter(name="tenantId")
|
|
453
|
-
def tenant_id(self) -> pulumi.Output[str]:
|
|
457
|
+
def tenant_id(self) -> pulumi.Output[_builtins.str]:
|
|
454
458
|
"""
|
|
455
459
|
Tenant ID of the Azure cloud account.
|
|
456
460
|
"""
|