pulumi-newrelic 5.16.0a1698964311__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 +58 -1
- pulumi_newrelic/_inputs.py +10772 -2775
- pulumi_newrelic/_utilities.py +92 -11
- pulumi_newrelic/account_management.py +56 -42
- pulumi_newrelic/alert_channel.py +177 -151
- pulumi_newrelic/alert_condition.py +313 -301
- pulumi_newrelic/alert_muting_rule.py +195 -138
- pulumi_newrelic/alert_policy.py +157 -109
- pulumi_newrelic/alert_policy_channel.py +95 -81
- pulumi_newrelic/api_access_key.py +191 -209
- pulumi_newrelic/browser_application.py +161 -153
- pulumi_newrelic/cloud/__init__.py +3 -1
- pulumi_newrelic/cloud/_inputs.py +4267 -2710
- pulumi_newrelic/cloud/aws_govcloud_integrations.py +238 -200
- pulumi_newrelic/cloud/aws_govcloud_link_account.py +159 -212
- pulumi_newrelic/cloud/aws_integrations.py +518 -1490
- pulumi_newrelic/cloud/aws_link_account.py +88 -76
- pulumi_newrelic/cloud/azure_integrations.py +681 -587
- pulumi_newrelic/cloud/azure_link_account.py +129 -117
- pulumi_newrelic/cloud/gcp_integrations.py +436 -408
- pulumi_newrelic/cloud/gcp_link_account.py +71 -59
- pulumi_newrelic/cloud/oci_link_account.py +926 -0
- pulumi_newrelic/cloud/outputs.py +1678 -2317
- pulumi_newrelic/config/__init__.py +2 -1
- pulumi_newrelic/config/__init__.pyi +45 -0
- pulumi_newrelic/config/vars.py +22 -17
- pulumi_newrelic/data_partition_rule.py +129 -117
- pulumi_newrelic/entity_tags.py +153 -31
- pulumi_newrelic/events_to_metrics_rule.py +114 -102
- pulumi_newrelic/get_account.py +41 -29
- pulumi_newrelic/get_alert_channel.py +73 -28
- pulumi_newrelic/get_alert_policy.py +83 -34
- pulumi_newrelic/get_application.py +51 -39
- pulumi_newrelic/get_authentication_domain.py +111 -0
- pulumi_newrelic/get_cloud_account.py +43 -31
- pulumi_newrelic/get_entity.py +126 -121
- pulumi_newrelic/get_group.py +190 -0
- pulumi_newrelic/get_key_transaction.py +117 -38
- pulumi_newrelic/get_notification_destination.py +86 -36
- pulumi_newrelic/get_obfuscation_expression.py +47 -35
- pulumi_newrelic/get_service_level_alert_helper.py +237 -137
- pulumi_newrelic/get_test_grok_pattern.py +47 -32
- pulumi_newrelic/get_user.py +165 -0
- pulumi_newrelic/group.py +286 -0
- pulumi_newrelic/infra_alert_condition.py +400 -382
- pulumi_newrelic/insights/__init__.py +2 -1
- pulumi_newrelic/insights/_inputs.py +94 -23
- pulumi_newrelic/insights/event.py +56 -48
- pulumi_newrelic/insights/outputs.py +51 -18
- pulumi_newrelic/key_transaction.py +465 -0
- pulumi_newrelic/log_parsing_rule.py +169 -153
- pulumi_newrelic/monitor_downtime.py +914 -0
- pulumi_newrelic/notification_channel.py +560 -418
- pulumi_newrelic/notification_destination.py +379 -124
- pulumi_newrelic/nrql_alert_condition.py +945 -513
- pulumi_newrelic/nrql_drop_rule.py +121 -129
- pulumi_newrelic/obfuscation_expression.py +88 -76
- pulumi_newrelic/obfuscation_rule.py +123 -109
- pulumi_newrelic/one_dashboard.py +118 -108
- pulumi_newrelic/one_dashboard_json.py +77 -67
- pulumi_newrelic/one_dashboard_raw.py +214 -202
- pulumi_newrelic/outputs.py +5491 -2141
- pulumi_newrelic/pipeline_cloud_rule.py +335 -0
- pulumi_newrelic/plugins/__init__.py +2 -1
- pulumi_newrelic/plugins/_inputs.py +520 -90
- pulumi_newrelic/plugins/application_settings.py +463 -167
- pulumi_newrelic/plugins/outputs.py +337 -75
- pulumi_newrelic/plugins/workload.py +387 -151
- pulumi_newrelic/provider.py +156 -142
- pulumi_newrelic/pulumi-plugin.json +2 -1
- pulumi_newrelic/service_level.py +277 -255
- pulumi_newrelic/synthetics/__init__.py +2 -1
- pulumi_newrelic/synthetics/_inputs.py +275 -106
- pulumi_newrelic/synthetics/alert_condition.py +174 -160
- pulumi_newrelic/synthetics/broken_links_monitor.py +367 -207
- pulumi_newrelic/synthetics/cert_check_monitor.py +380 -218
- pulumi_newrelic/synthetics/get_private_location.py +51 -39
- pulumi_newrelic/synthetics/get_secure_credential.py +39 -27
- pulumi_newrelic/synthetics/monitor.py +668 -462
- pulumi_newrelic/synthetics/multi_location_alert_condition.py +219 -201
- pulumi_newrelic/synthetics/outputs.py +102 -85
- pulumi_newrelic/synthetics/private_location.py +120 -110
- pulumi_newrelic/synthetics/script_monitor.py +623 -375
- pulumi_newrelic/synthetics/secure_credential.py +99 -93
- pulumi_newrelic/synthetics/step_monitor.py +545 -201
- pulumi_newrelic/user.py +366 -0
- pulumi_newrelic/workflow.py +348 -312
- {pulumi_newrelic-5.16.0a1698964311.dist-info → pulumi_newrelic-5.58.0a1763707205.dist-info}/METADATA +8 -7
- pulumi_newrelic-5.58.0a1763707205.dist-info/RECORD +92 -0
- {pulumi_newrelic-5.16.0a1698964311.dist-info → pulumi_newrelic-5.58.0a1763707205.dist-info}/WHEEL +1 -1
- pulumi_newrelic-5.16.0a1698964311.dist-info/RECORD +0 -82
- {pulumi_newrelic-5.16.0a1698964311.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.
|
|
@@ -251,25 +257,28 @@ class AzureLinkAccount(pulumi.CustomResource):
|
|
|
251
257
|
application_id="ID of the application",
|
|
252
258
|
client_secret="Secret value of client's Azure account",
|
|
253
259
|
subscription_id="Subscription ID of Azure",
|
|
254
|
-
tenant_id="Tenant ID of the Azure"
|
|
260
|
+
tenant_id="Tenant ID of the Azure",
|
|
261
|
+
name="Name of the linked account")
|
|
255
262
|
```
|
|
256
263
|
|
|
257
264
|
## Import
|
|
258
265
|
|
|
259
|
-
Linked Azure accounts can be imported using `id`, you can find the `id` of existing Azure linked accounts in Azure dashboard under Infrastructure in NewRelic
|
|
266
|
+
Linked Azure accounts can be imported using `id`, you can find the `id` of existing Azure linked accounts in Azure dashboard under Infrastructure in NewRelic
|
|
267
|
+
|
|
268
|
+
bash
|
|
260
269
|
|
|
261
270
|
```sh
|
|
262
|
-
|
|
271
|
+
$ pulumi import newrelic:cloud/azureLinkAccount:AzureLinkAccount foo <id>
|
|
263
272
|
```
|
|
264
273
|
|
|
265
274
|
:param str resource_name: The name of the resource.
|
|
266
275
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
267
|
-
:param pulumi.Input[
|
|
268
|
-
:param pulumi.Input[str] application_id: Application ID of the App.
|
|
269
|
-
:param pulumi.Input[str] client_secret: Secret Value of the client.
|
|
270
|
-
:param pulumi.Input[str] name:
|
|
271
|
-
:param pulumi.Input[str] subscription_id: Subscription ID of the Azure cloud account.
|
|
272
|
-
: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.
|
|
273
282
|
"""
|
|
274
283
|
...
|
|
275
284
|
@overload
|
|
@@ -301,15 +310,18 @@ class AzureLinkAccount(pulumi.CustomResource):
|
|
|
301
310
|
application_id="ID of the application",
|
|
302
311
|
client_secret="Secret value of client's Azure account",
|
|
303
312
|
subscription_id="Subscription ID of Azure",
|
|
304
|
-
tenant_id="Tenant ID of the Azure"
|
|
313
|
+
tenant_id="Tenant ID of the Azure",
|
|
314
|
+
name="Name of the linked account")
|
|
305
315
|
```
|
|
306
316
|
|
|
307
317
|
## Import
|
|
308
318
|
|
|
309
|
-
Linked Azure accounts can be imported using `id`, you can find the `id` of existing Azure linked accounts in Azure dashboard under Infrastructure in NewRelic
|
|
319
|
+
Linked Azure accounts can be imported using `id`, you can find the `id` of existing Azure linked accounts in Azure dashboard under Infrastructure in NewRelic
|
|
320
|
+
|
|
321
|
+
bash
|
|
310
322
|
|
|
311
323
|
```sh
|
|
312
|
-
|
|
324
|
+
$ pulumi import newrelic:cloud/azureLinkAccount:AzureLinkAccount foo <id>
|
|
313
325
|
```
|
|
314
326
|
|
|
315
327
|
:param str resource_name: The name of the resource.
|
|
@@ -327,12 +339,12 @@ class AzureLinkAccount(pulumi.CustomResource):
|
|
|
327
339
|
def _internal_init(__self__,
|
|
328
340
|
resource_name: str,
|
|
329
341
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
330
|
-
account_id: Optional[pulumi.Input[
|
|
331
|
-
application_id: Optional[pulumi.Input[str]] = None,
|
|
332
|
-
client_secret: Optional[pulumi.Input[str]] = None,
|
|
333
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
334
|
-
subscription_id: Optional[pulumi.Input[str]] = None,
|
|
335
|
-
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,
|
|
336
348
|
__props__=None):
|
|
337
349
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
338
350
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -345,18 +357,18 @@ class AzureLinkAccount(pulumi.CustomResource):
|
|
|
345
357
|
__props__.__dict__["account_id"] = account_id
|
|
346
358
|
if application_id is None and not opts.urn:
|
|
347
359
|
raise TypeError("Missing required property 'application_id'")
|
|
348
|
-
__props__.__dict__["application_id"] = application_id
|
|
360
|
+
__props__.__dict__["application_id"] = None if application_id is None else pulumi.Output.secret(application_id)
|
|
349
361
|
if client_secret is None and not opts.urn:
|
|
350
362
|
raise TypeError("Missing required property 'client_secret'")
|
|
351
363
|
__props__.__dict__["client_secret"] = None if client_secret is None else pulumi.Output.secret(client_secret)
|
|
352
364
|
__props__.__dict__["name"] = name
|
|
353
365
|
if subscription_id is None and not opts.urn:
|
|
354
366
|
raise TypeError("Missing required property 'subscription_id'")
|
|
355
|
-
__props__.__dict__["subscription_id"] = subscription_id
|
|
367
|
+
__props__.__dict__["subscription_id"] = None if subscription_id is None else pulumi.Output.secret(subscription_id)
|
|
356
368
|
if tenant_id is None and not opts.urn:
|
|
357
369
|
raise TypeError("Missing required property 'tenant_id'")
|
|
358
|
-
__props__.__dict__["tenant_id"] = tenant_id
|
|
359
|
-
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"])
|
|
360
372
|
opts = pulumi.ResourceOptions.merge(opts, secret_opts)
|
|
361
373
|
super(AzureLinkAccount, __self__).__init__(
|
|
362
374
|
'newrelic:cloud/azureLinkAccount:AzureLinkAccount',
|
|
@@ -368,12 +380,12 @@ class AzureLinkAccount(pulumi.CustomResource):
|
|
|
368
380
|
def get(resource_name: str,
|
|
369
381
|
id: pulumi.Input[str],
|
|
370
382
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
371
|
-
account_id: Optional[pulumi.Input[
|
|
372
|
-
application_id: Optional[pulumi.Input[str]] = None,
|
|
373
|
-
client_secret: Optional[pulumi.Input[str]] = None,
|
|
374
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
375
|
-
subscription_id: Optional[pulumi.Input[str]] = None,
|
|
376
|
-
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':
|
|
377
389
|
"""
|
|
378
390
|
Get an existing AzureLinkAccount resource's state with the given name, id, and optional extra
|
|
379
391
|
properties used to qualify the lookup.
|
|
@@ -381,12 +393,12 @@ class AzureLinkAccount(pulumi.CustomResource):
|
|
|
381
393
|
:param str resource_name: The unique name of the resulting resource.
|
|
382
394
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
383
395
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
384
|
-
:param pulumi.Input[
|
|
385
|
-
:param pulumi.Input[str] application_id: Application ID of the App.
|
|
386
|
-
:param pulumi.Input[str] client_secret: Secret Value of the client.
|
|
387
|
-
:param pulumi.Input[str] name:
|
|
388
|
-
:param pulumi.Input[str] subscription_id: Subscription ID of the Azure cloud account.
|
|
389
|
-
: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.
|
|
390
402
|
"""
|
|
391
403
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
392
404
|
|
|
@@ -400,49 +412,49 @@ class AzureLinkAccount(pulumi.CustomResource):
|
|
|
400
412
|
__props__.__dict__["tenant_id"] = tenant_id
|
|
401
413
|
return AzureLinkAccount(resource_name, opts=opts, __props__=__props__)
|
|
402
414
|
|
|
403
|
-
@property
|
|
415
|
+
@_builtins.property
|
|
404
416
|
@pulumi.getter(name="accountId")
|
|
405
|
-
def account_id(self) -> pulumi.Output[
|
|
417
|
+
def account_id(self) -> pulumi.Output[_builtins.str]:
|
|
406
418
|
"""
|
|
407
419
|
Account ID of the New Relic.
|
|
408
420
|
"""
|
|
409
421
|
return pulumi.get(self, "account_id")
|
|
410
422
|
|
|
411
|
-
@property
|
|
423
|
+
@_builtins.property
|
|
412
424
|
@pulumi.getter(name="applicationId")
|
|
413
|
-
def application_id(self) -> pulumi.Output[str]:
|
|
425
|
+
def application_id(self) -> pulumi.Output[_builtins.str]:
|
|
414
426
|
"""
|
|
415
427
|
Application ID of the App.
|
|
416
428
|
"""
|
|
417
429
|
return pulumi.get(self, "application_id")
|
|
418
430
|
|
|
419
|
-
@property
|
|
431
|
+
@_builtins.property
|
|
420
432
|
@pulumi.getter(name="clientSecret")
|
|
421
|
-
def client_secret(self) -> pulumi.Output[str]:
|
|
433
|
+
def client_secret(self) -> pulumi.Output[_builtins.str]:
|
|
422
434
|
"""
|
|
423
435
|
Secret Value of the client.
|
|
424
436
|
"""
|
|
425
437
|
return pulumi.get(self, "client_secret")
|
|
426
438
|
|
|
427
|
-
@property
|
|
439
|
+
@_builtins.property
|
|
428
440
|
@pulumi.getter
|
|
429
|
-
def name(self) -> pulumi.Output[str]:
|
|
441
|
+
def name(self) -> pulumi.Output[_builtins.str]:
|
|
430
442
|
"""
|
|
431
|
-
|
|
443
|
+
The name of the application in New Relic APM.
|
|
432
444
|
"""
|
|
433
445
|
return pulumi.get(self, "name")
|
|
434
446
|
|
|
435
|
-
@property
|
|
447
|
+
@_builtins.property
|
|
436
448
|
@pulumi.getter(name="subscriptionId")
|
|
437
|
-
def subscription_id(self) -> pulumi.Output[str]:
|
|
449
|
+
def subscription_id(self) -> pulumi.Output[_builtins.str]:
|
|
438
450
|
"""
|
|
439
451
|
Subscription ID of the Azure cloud account.
|
|
440
452
|
"""
|
|
441
453
|
return pulumi.get(self, "subscription_id")
|
|
442
454
|
|
|
443
|
-
@property
|
|
455
|
+
@_builtins.property
|
|
444
456
|
@pulumi.getter(name="tenantId")
|
|
445
|
-
def tenant_id(self) -> pulumi.Output[str]:
|
|
457
|
+
def tenant_id(self) -> pulumi.Output[_builtins.str]:
|
|
446
458
|
"""
|
|
447
459
|
Tenant ID of the Azure cloud account.
|
|
448
460
|
"""
|