pulumi-newrelic 5.20.0a1709643785__py3-none-any.whl → 5.39.0a1736834464__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- pulumi_newrelic/__init__.py +9 -0
- pulumi_newrelic/_inputs.py +7153 -461
- pulumi_newrelic/_utilities.py +41 -5
- pulumi_newrelic/account_management.py +13 -4
- pulumi_newrelic/alert_channel.py +122 -101
- pulumi_newrelic/alert_condition.py +120 -109
- pulumi_newrelic/alert_muting_rule.py +130 -74
- pulumi_newrelic/alert_policy.py +88 -67
- pulumi_newrelic/alert_policy_channel.py +81 -68
- pulumi_newrelic/api_access_key.py +49 -52
- pulumi_newrelic/browser_application.py +79 -76
- pulumi_newrelic/cloud/_inputs.py +2527 -1082
- pulumi_newrelic/cloud/aws_govcloud_integrations.py +135 -130
- pulumi_newrelic/cloud/aws_govcloud_link_account.py +25 -18
- pulumi_newrelic/cloud/aws_integrations.py +300 -1324
- pulumi_newrelic/cloud/aws_link_account.py +25 -18
- pulumi_newrelic/cloud/azure_integrations.py +523 -481
- pulumi_newrelic/cloud/azure_link_account.py +36 -29
- pulumi_newrelic/cloud/gcp_integrations.py +343 -320
- pulumi_newrelic/cloud/gcp_link_account.py +25 -18
- pulumi_newrelic/cloud/outputs.py +327 -1072
- pulumi_newrelic/config/__init__.pyi +6 -1
- pulumi_newrelic/config/vars.py +7 -2
- pulumi_newrelic/data_partition_rule.py +23 -16
- pulumi_newrelic/entity_tags.py +36 -31
- pulumi_newrelic/events_to_metrics_rule.py +27 -20
- pulumi_newrelic/get_account.py +24 -12
- pulumi_newrelic/get_alert_channel.py +26 -13
- pulumi_newrelic/get_alert_policy.py +35 -12
- pulumi_newrelic/get_application.py +39 -27
- pulumi_newrelic/get_authentication_domain.py +17 -9
- pulumi_newrelic/get_cloud_account.py +26 -14
- pulumi_newrelic/get_entity.py +90 -85
- pulumi_newrelic/get_group.py +58 -9
- pulumi_newrelic/get_key_transaction.py +109 -30
- pulumi_newrelic/get_notification_destination.py +64 -14
- pulumi_newrelic/get_obfuscation_expression.py +36 -24
- pulumi_newrelic/get_service_level_alert_helper.py +135 -105
- pulumi_newrelic/get_test_grok_pattern.py +29 -14
- pulumi_newrelic/get_user.py +17 -5
- pulumi_newrelic/group.py +5 -132
- pulumi_newrelic/infra_alert_condition.py +157 -140
- pulumi_newrelic/insights/_inputs.py +43 -0
- pulumi_newrelic/insights/event.py +50 -43
- pulumi_newrelic/insights/outputs.py +5 -0
- pulumi_newrelic/key_transaction.py +464 -0
- pulumi_newrelic/log_parsing_rule.py +29 -18
- pulumi_newrelic/monitor_downtime.py +215 -203
- pulumi_newrelic/notification_channel.py +387 -326
- pulumi_newrelic/notification_destination.py +248 -118
- pulumi_newrelic/nrql_alert_condition.py +353 -246
- pulumi_newrelic/nrql_drop_rule.py +57 -30
- pulumi_newrelic/obfuscation_expression.py +25 -18
- pulumi_newrelic/obfuscation_rule.py +40 -31
- pulumi_newrelic/one_dashboard.py +31 -26
- pulumi_newrelic/one_dashboard_json.py +21 -16
- pulumi_newrelic/one_dashboard_raw.py +112 -101
- pulumi_newrelic/outputs.py +2446 -245
- pulumi_newrelic/plugins/_inputs.py +145 -10
- pulumi_newrelic/plugins/application_settings.py +29 -20
- pulumi_newrelic/plugins/outputs.py +15 -10
- pulumi_newrelic/plugins/workload.py +285 -54
- pulumi_newrelic/provider.py +27 -33
- pulumi_newrelic/pulumi-plugin.json +2 -1
- pulumi_newrelic/service_level.py +193 -180
- pulumi_newrelic/synthetics/_inputs.py +159 -2
- pulumi_newrelic/synthetics/alert_condition.py +91 -78
- pulumi_newrelic/synthetics/broken_links_monitor.py +220 -93
- pulumi_newrelic/synthetics/cert_check_monitor.py +223 -94
- pulumi_newrelic/synthetics/get_private_location.py +34 -22
- pulumi_newrelic/synthetics/get_secure_credential.py +24 -12
- pulumi_newrelic/synthetics/monitor.py +352 -179
- pulumi_newrelic/synthetics/multi_location_alert_condition.py +109 -96
- pulumi_newrelic/synthetics/outputs.py +7 -2
- pulumi_newrelic/synthetics/private_location.py +27 -18
- pulumi_newrelic/synthetics/script_monitor.py +321 -168
- pulumi_newrelic/synthetics/secure_credential.py +25 -20
- pulumi_newrelic/synthetics/step_monitor.py +409 -98
- pulumi_newrelic/user.py +13 -6
- pulumi_newrelic/workflow.py +215 -184
- {pulumi_newrelic-5.20.0a1709643785.dist-info → pulumi_newrelic-5.39.0a1736834464.dist-info}/METADATA +7 -6
- pulumi_newrelic-5.39.0a1736834464.dist-info/RECORD +90 -0
- {pulumi_newrelic-5.20.0a1709643785.dist-info → pulumi_newrelic-5.39.0a1736834464.dist-info}/WHEEL +1 -1
- pulumi_newrelic-5.20.0a1709643785.dist-info/RECORD +0 -89
- {pulumi_newrelic-5.20.0a1709643785.dist-info → pulumi_newrelic-5.39.0a1736834464.dist-info}/top_level.txt +0 -0
@@ -4,9 +4,14 @@
|
|
4
4
|
|
5
5
|
import copy
|
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
|
from . import outputs
|
12
17
|
from ._inputs import *
|
@@ -18,21 +23,26 @@ class NotificationDestinationArgs:
|
|
18
23
|
def __init__(__self__, *,
|
19
24
|
properties: pulumi.Input[Sequence[pulumi.Input['NotificationDestinationPropertyArgs']]],
|
20
25
|
type: pulumi.Input[str],
|
21
|
-
account_id: Optional[pulumi.Input[
|
26
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
22
27
|
active: Optional[pulumi.Input[bool]] = None,
|
23
28
|
auth_basic: Optional[pulumi.Input['NotificationDestinationAuthBasicArgs']] = None,
|
29
|
+
auth_custom_headers: Optional[pulumi.Input[Sequence[pulumi.Input['NotificationDestinationAuthCustomHeaderArgs']]]] = None,
|
24
30
|
auth_token: Optional[pulumi.Input['NotificationDestinationAuthTokenArgs']] = None,
|
25
|
-
name: Optional[pulumi.Input[str]] = None
|
31
|
+
name: Optional[pulumi.Input[str]] = None,
|
32
|
+
secure_url: Optional[pulumi.Input['NotificationDestinationSecureUrlArgs']] = None):
|
26
33
|
"""
|
27
34
|
The set of arguments for constructing a NotificationDestination resource.
|
28
35
|
:param pulumi.Input[Sequence[pulumi.Input['NotificationDestinationPropertyArgs']]] properties: A nested block that describes a notification destination property. See Nested property blocks below for details.
|
29
|
-
:param pulumi.Input[str] type: (Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW,
|
30
|
-
PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY,
|
31
|
-
|
36
|
+
:param pulumi.Input[str] type: (Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, SERVICE_NOW_APP,
|
37
|
+
PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY,
|
38
|
+
MOBILE_PUSH, EVENT_BRIDGE).
|
39
|
+
:param pulumi.Input[str] account_id: Determines the New Relic account where the notification destination will be created. Defaults to the account associated with the API key used.
|
32
40
|
:param pulumi.Input[bool] active: Indicates whether the destination is active.
|
33
41
|
:param pulumi.Input['NotificationDestinationAuthBasicArgs'] auth_basic: A nested block that describes a basic username and password authentication credentials. Only one auth_basic block is permitted per notification destination definition. See Nested auth_basic blocks below for details.
|
42
|
+
:param pulumi.Input[Sequence[pulumi.Input['NotificationDestinationAuthCustomHeaderArgs']]] auth_custom_headers: A nested block that describes a custom header authentication credentials. Multiple blocks are permitted per notification destination definition. Nested auth_custom_header blocks below for details.
|
34
43
|
:param pulumi.Input['NotificationDestinationAuthTokenArgs'] auth_token: A nested block that describes a token authentication credentials. Only one auth_token block is permitted per notification destination definition. See Nested auth_token blocks below for details.
|
35
44
|
:param pulumi.Input[str] name: The name of the destination.
|
45
|
+
:param pulumi.Input['NotificationDestinationSecureUrlArgs'] secure_url: A nested block that describes a URL that contains sensitive data at the path or parameters. Only one secure_url block is permitted per notification destination definition. See Nested secure_url blocks below for details.
|
36
46
|
"""
|
37
47
|
pulumi.set(__self__, "properties", properties)
|
38
48
|
pulumi.set(__self__, "type", type)
|
@@ -42,10 +52,14 @@ class NotificationDestinationArgs:
|
|
42
52
|
pulumi.set(__self__, "active", active)
|
43
53
|
if auth_basic is not None:
|
44
54
|
pulumi.set(__self__, "auth_basic", auth_basic)
|
55
|
+
if auth_custom_headers is not None:
|
56
|
+
pulumi.set(__self__, "auth_custom_headers", auth_custom_headers)
|
45
57
|
if auth_token is not None:
|
46
58
|
pulumi.set(__self__, "auth_token", auth_token)
|
47
59
|
if name is not None:
|
48
60
|
pulumi.set(__self__, "name", name)
|
61
|
+
if secure_url is not None:
|
62
|
+
pulumi.set(__self__, "secure_url", secure_url)
|
49
63
|
|
50
64
|
@property
|
51
65
|
@pulumi.getter
|
@@ -63,8 +77,9 @@ class NotificationDestinationArgs:
|
|
63
77
|
@pulumi.getter
|
64
78
|
def type(self) -> pulumi.Input[str]:
|
65
79
|
"""
|
66
|
-
(Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW,
|
67
|
-
PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY,
|
80
|
+
(Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, SERVICE_NOW_APP,
|
81
|
+
PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY,
|
82
|
+
MOBILE_PUSH, EVENT_BRIDGE).
|
68
83
|
"""
|
69
84
|
return pulumi.get(self, "type")
|
70
85
|
|
@@ -74,14 +89,14 @@ class NotificationDestinationArgs:
|
|
74
89
|
|
75
90
|
@property
|
76
91
|
@pulumi.getter(name="accountId")
|
77
|
-
def account_id(self) -> Optional[pulumi.Input[
|
92
|
+
def account_id(self) -> Optional[pulumi.Input[str]]:
|
78
93
|
"""
|
79
94
|
Determines the New Relic account where the notification destination will be created. Defaults to the account associated with the API key used.
|
80
95
|
"""
|
81
96
|
return pulumi.get(self, "account_id")
|
82
97
|
|
83
98
|
@account_id.setter
|
84
|
-
def account_id(self, value: Optional[pulumi.Input[
|
99
|
+
def account_id(self, value: Optional[pulumi.Input[str]]):
|
85
100
|
pulumi.set(self, "account_id", value)
|
86
101
|
|
87
102
|
@property
|
@@ -108,6 +123,18 @@ class NotificationDestinationArgs:
|
|
108
123
|
def auth_basic(self, value: Optional[pulumi.Input['NotificationDestinationAuthBasicArgs']]):
|
109
124
|
pulumi.set(self, "auth_basic", value)
|
110
125
|
|
126
|
+
@property
|
127
|
+
@pulumi.getter(name="authCustomHeaders")
|
128
|
+
def auth_custom_headers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NotificationDestinationAuthCustomHeaderArgs']]]]:
|
129
|
+
"""
|
130
|
+
A nested block that describes a custom header authentication credentials. Multiple blocks are permitted per notification destination definition. Nested auth_custom_header blocks below for details.
|
131
|
+
"""
|
132
|
+
return pulumi.get(self, "auth_custom_headers")
|
133
|
+
|
134
|
+
@auth_custom_headers.setter
|
135
|
+
def auth_custom_headers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['NotificationDestinationAuthCustomHeaderArgs']]]]):
|
136
|
+
pulumi.set(self, "auth_custom_headers", value)
|
137
|
+
|
111
138
|
@property
|
112
139
|
@pulumi.getter(name="authToken")
|
113
140
|
def auth_token(self) -> Optional[pulumi.Input['NotificationDestinationAuthTokenArgs']]:
|
@@ -132,31 +159,50 @@ class NotificationDestinationArgs:
|
|
132
159
|
def name(self, value: Optional[pulumi.Input[str]]):
|
133
160
|
pulumi.set(self, "name", value)
|
134
161
|
|
162
|
+
@property
|
163
|
+
@pulumi.getter(name="secureUrl")
|
164
|
+
def secure_url(self) -> Optional[pulumi.Input['NotificationDestinationSecureUrlArgs']]:
|
165
|
+
"""
|
166
|
+
A nested block that describes a URL that contains sensitive data at the path or parameters. Only one secure_url block is permitted per notification destination definition. See Nested secure_url blocks below for details.
|
167
|
+
"""
|
168
|
+
return pulumi.get(self, "secure_url")
|
169
|
+
|
170
|
+
@secure_url.setter
|
171
|
+
def secure_url(self, value: Optional[pulumi.Input['NotificationDestinationSecureUrlArgs']]):
|
172
|
+
pulumi.set(self, "secure_url", value)
|
173
|
+
|
135
174
|
|
136
175
|
@pulumi.input_type
|
137
176
|
class _NotificationDestinationState:
|
138
177
|
def __init__(__self__, *,
|
139
|
-
account_id: Optional[pulumi.Input[
|
178
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
140
179
|
active: Optional[pulumi.Input[bool]] = None,
|
141
180
|
auth_basic: Optional[pulumi.Input['NotificationDestinationAuthBasicArgs']] = None,
|
181
|
+
auth_custom_headers: Optional[pulumi.Input[Sequence[pulumi.Input['NotificationDestinationAuthCustomHeaderArgs']]]] = None,
|
142
182
|
auth_token: Optional[pulumi.Input['NotificationDestinationAuthTokenArgs']] = None,
|
183
|
+
guid: Optional[pulumi.Input[str]] = None,
|
143
184
|
last_sent: Optional[pulumi.Input[str]] = None,
|
144
185
|
name: Optional[pulumi.Input[str]] = None,
|
145
186
|
properties: Optional[pulumi.Input[Sequence[pulumi.Input['NotificationDestinationPropertyArgs']]]] = None,
|
187
|
+
secure_url: Optional[pulumi.Input['NotificationDestinationSecureUrlArgs']] = None,
|
146
188
|
status: Optional[pulumi.Input[str]] = None,
|
147
189
|
type: Optional[pulumi.Input[str]] = None):
|
148
190
|
"""
|
149
191
|
Input properties used for looking up and filtering NotificationDestination resources.
|
150
|
-
:param pulumi.Input[
|
192
|
+
:param pulumi.Input[str] account_id: Determines the New Relic account where the notification destination will be created. Defaults to the account associated with the API key used.
|
151
193
|
:param pulumi.Input[bool] active: Indicates whether the destination is active.
|
152
194
|
:param pulumi.Input['NotificationDestinationAuthBasicArgs'] auth_basic: A nested block that describes a basic username and password authentication credentials. Only one auth_basic block is permitted per notification destination definition. See Nested auth_basic blocks below for details.
|
195
|
+
:param pulumi.Input[Sequence[pulumi.Input['NotificationDestinationAuthCustomHeaderArgs']]] auth_custom_headers: A nested block that describes a custom header authentication credentials. Multiple blocks are permitted per notification destination definition. Nested auth_custom_header blocks below for details.
|
153
196
|
:param pulumi.Input['NotificationDestinationAuthTokenArgs'] auth_token: A nested block that describes a token authentication credentials. Only one auth_token block is permitted per notification destination definition. See Nested auth_token blocks below for details.
|
197
|
+
:param pulumi.Input[str] guid: The unique entity identifier of the destination in New Relic.
|
154
198
|
:param pulumi.Input[str] last_sent: The last time a notification was sent.
|
155
199
|
:param pulumi.Input[str] name: The name of the destination.
|
156
200
|
:param pulumi.Input[Sequence[pulumi.Input['NotificationDestinationPropertyArgs']]] properties: A nested block that describes a notification destination property. See Nested property blocks below for details.
|
201
|
+
:param pulumi.Input['NotificationDestinationSecureUrlArgs'] secure_url: A nested block that describes a URL that contains sensitive data at the path or parameters. Only one secure_url block is permitted per notification destination definition. See Nested secure_url blocks below for details.
|
157
202
|
:param pulumi.Input[str] status: The status of the destination.
|
158
|
-
:param pulumi.Input[str] type: (Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW,
|
159
|
-
PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY,
|
203
|
+
:param pulumi.Input[str] type: (Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, SERVICE_NOW_APP,
|
204
|
+
PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY,
|
205
|
+
MOBILE_PUSH, EVENT_BRIDGE).
|
160
206
|
"""
|
161
207
|
if account_id is not None:
|
162
208
|
pulumi.set(__self__, "account_id", account_id)
|
@@ -164,14 +210,20 @@ class _NotificationDestinationState:
|
|
164
210
|
pulumi.set(__self__, "active", active)
|
165
211
|
if auth_basic is not None:
|
166
212
|
pulumi.set(__self__, "auth_basic", auth_basic)
|
213
|
+
if auth_custom_headers is not None:
|
214
|
+
pulumi.set(__self__, "auth_custom_headers", auth_custom_headers)
|
167
215
|
if auth_token is not None:
|
168
216
|
pulumi.set(__self__, "auth_token", auth_token)
|
217
|
+
if guid is not None:
|
218
|
+
pulumi.set(__self__, "guid", guid)
|
169
219
|
if last_sent is not None:
|
170
220
|
pulumi.set(__self__, "last_sent", last_sent)
|
171
221
|
if name is not None:
|
172
222
|
pulumi.set(__self__, "name", name)
|
173
223
|
if properties is not None:
|
174
224
|
pulumi.set(__self__, "properties", properties)
|
225
|
+
if secure_url is not None:
|
226
|
+
pulumi.set(__self__, "secure_url", secure_url)
|
175
227
|
if status is not None:
|
176
228
|
pulumi.set(__self__, "status", status)
|
177
229
|
if type is not None:
|
@@ -179,14 +231,14 @@ class _NotificationDestinationState:
|
|
179
231
|
|
180
232
|
@property
|
181
233
|
@pulumi.getter(name="accountId")
|
182
|
-
def account_id(self) -> Optional[pulumi.Input[
|
234
|
+
def account_id(self) -> Optional[pulumi.Input[str]]:
|
183
235
|
"""
|
184
236
|
Determines the New Relic account where the notification destination will be created. Defaults to the account associated with the API key used.
|
185
237
|
"""
|
186
238
|
return pulumi.get(self, "account_id")
|
187
239
|
|
188
240
|
@account_id.setter
|
189
|
-
def account_id(self, value: Optional[pulumi.Input[
|
241
|
+
def account_id(self, value: Optional[pulumi.Input[str]]):
|
190
242
|
pulumi.set(self, "account_id", value)
|
191
243
|
|
192
244
|
@property
|
@@ -213,6 +265,18 @@ class _NotificationDestinationState:
|
|
213
265
|
def auth_basic(self, value: Optional[pulumi.Input['NotificationDestinationAuthBasicArgs']]):
|
214
266
|
pulumi.set(self, "auth_basic", value)
|
215
267
|
|
268
|
+
@property
|
269
|
+
@pulumi.getter(name="authCustomHeaders")
|
270
|
+
def auth_custom_headers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NotificationDestinationAuthCustomHeaderArgs']]]]:
|
271
|
+
"""
|
272
|
+
A nested block that describes a custom header authentication credentials. Multiple blocks are permitted per notification destination definition. Nested auth_custom_header blocks below for details.
|
273
|
+
"""
|
274
|
+
return pulumi.get(self, "auth_custom_headers")
|
275
|
+
|
276
|
+
@auth_custom_headers.setter
|
277
|
+
def auth_custom_headers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['NotificationDestinationAuthCustomHeaderArgs']]]]):
|
278
|
+
pulumi.set(self, "auth_custom_headers", value)
|
279
|
+
|
216
280
|
@property
|
217
281
|
@pulumi.getter(name="authToken")
|
218
282
|
def auth_token(self) -> Optional[pulumi.Input['NotificationDestinationAuthTokenArgs']]:
|
@@ -225,6 +289,18 @@ class _NotificationDestinationState:
|
|
225
289
|
def auth_token(self, value: Optional[pulumi.Input['NotificationDestinationAuthTokenArgs']]):
|
226
290
|
pulumi.set(self, "auth_token", value)
|
227
291
|
|
292
|
+
@property
|
293
|
+
@pulumi.getter
|
294
|
+
def guid(self) -> Optional[pulumi.Input[str]]:
|
295
|
+
"""
|
296
|
+
The unique entity identifier of the destination in New Relic.
|
297
|
+
"""
|
298
|
+
return pulumi.get(self, "guid")
|
299
|
+
|
300
|
+
@guid.setter
|
301
|
+
def guid(self, value: Optional[pulumi.Input[str]]):
|
302
|
+
pulumi.set(self, "guid", value)
|
303
|
+
|
228
304
|
@property
|
229
305
|
@pulumi.getter(name="lastSent")
|
230
306
|
def last_sent(self) -> Optional[pulumi.Input[str]]:
|
@@ -261,6 +337,18 @@ class _NotificationDestinationState:
|
|
261
337
|
def properties(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['NotificationDestinationPropertyArgs']]]]):
|
262
338
|
pulumi.set(self, "properties", value)
|
263
339
|
|
340
|
+
@property
|
341
|
+
@pulumi.getter(name="secureUrl")
|
342
|
+
def secure_url(self) -> Optional[pulumi.Input['NotificationDestinationSecureUrlArgs']]:
|
343
|
+
"""
|
344
|
+
A nested block that describes a URL that contains sensitive data at the path or parameters. Only one secure_url block is permitted per notification destination definition. See Nested secure_url blocks below for details.
|
345
|
+
"""
|
346
|
+
return pulumi.get(self, "secure_url")
|
347
|
+
|
348
|
+
@secure_url.setter
|
349
|
+
def secure_url(self, value: Optional[pulumi.Input['NotificationDestinationSecureUrlArgs']]):
|
350
|
+
pulumi.set(self, "secure_url", value)
|
351
|
+
|
264
352
|
@property
|
265
353
|
@pulumi.getter
|
266
354
|
def status(self) -> Optional[pulumi.Input[str]]:
|
@@ -277,8 +365,9 @@ class _NotificationDestinationState:
|
|
277
365
|
@pulumi.getter
|
278
366
|
def type(self) -> Optional[pulumi.Input[str]]:
|
279
367
|
"""
|
280
|
-
(Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW,
|
281
|
-
PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY,
|
368
|
+
(Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, SERVICE_NOW_APP,
|
369
|
+
PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY,
|
370
|
+
MOBILE_PUSH, EVENT_BRIDGE).
|
282
371
|
"""
|
283
372
|
return pulumi.get(self, "type")
|
284
373
|
|
@@ -292,95 +381,98 @@ class NotificationDestination(pulumi.CustomResource):
|
|
292
381
|
def __init__(__self__,
|
293
382
|
resource_name: str,
|
294
383
|
opts: Optional[pulumi.ResourceOptions] = None,
|
295
|
-
account_id: Optional[pulumi.Input[
|
384
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
296
385
|
active: Optional[pulumi.Input[bool]] = None,
|
297
|
-
auth_basic: Optional[pulumi.Input[
|
298
|
-
|
386
|
+
auth_basic: Optional[pulumi.Input[Union['NotificationDestinationAuthBasicArgs', 'NotificationDestinationAuthBasicArgsDict']]] = None,
|
387
|
+
auth_custom_headers: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NotificationDestinationAuthCustomHeaderArgs', 'NotificationDestinationAuthCustomHeaderArgsDict']]]]] = None,
|
388
|
+
auth_token: Optional[pulumi.Input[Union['NotificationDestinationAuthTokenArgs', 'NotificationDestinationAuthTokenArgsDict']]] = None,
|
299
389
|
name: Optional[pulumi.Input[str]] = None,
|
300
|
-
properties: Optional[pulumi.Input[Sequence[pulumi.Input[
|
390
|
+
properties: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NotificationDestinationPropertyArgs', 'NotificationDestinationPropertyArgsDict']]]]] = None,
|
391
|
+
secure_url: Optional[pulumi.Input[Union['NotificationDestinationSecureUrlArgs', 'NotificationDestinationSecureUrlArgsDict']]] = None,
|
301
392
|
type: Optional[pulumi.Input[str]] = None,
|
302
393
|
__props__=None):
|
303
394
|
"""
|
304
395
|
## Import
|
305
396
|
|
397
|
+
~> **WARNING:** Slack-based destinations can only be imported and destroyed; this resource **does not** support creating and updating Slack-based destinations, owing to the reasons stated above, under the **Slack** section.
|
398
|
+
|
306
399
|
Destination id can be found in the Destinations page -> three dots at the right of the chosen destination -> copy destination id to clipboard.
|
307
400
|
|
308
|
-
|
401
|
+
This example is especially useful for slack destinations which *must* be imported.
|
309
402
|
|
310
|
-
|
403
|
+
1. Add an empty resource to your terraform file:
|
311
404
|
|
312
|
-
|
405
|
+
terraform
|
313
406
|
|
314
|
-
|
407
|
+
resource "newrelic_notification_destination" "foo" {
|
315
408
|
|
316
|
-
|
409
|
+
}
|
317
410
|
|
318
411
|
```sh
|
319
|
-
$ pulumi import newrelic:index/notificationDestination:NotificationDestination
|
320
|
-
|
321
|
-
Run import command: `newrelic_notification_destination.foo <destination_id>`
|
412
|
+
$ pulumi import newrelic:index/notificationDestination:NotificationDestination Run import command: `newrelic_notification_destination.foo <destination_id>`
|
322
413
|
```
|
323
414
|
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
4. Add `ignore_changes` attribute on `auth_token` in your imported resource:
|
329
|
-
|
330
|
-
terraform
|
331
|
-
|
332
|
-
lifecycle {
|
415
|
+
3. Run the following command after the import successfully done and copy the information to your resource:
|
416
|
+
|
417
|
+
`terraform state show newrelic_notification_destination.foo`
|
333
418
|
|
334
|
-
|
419
|
+
4. Add `ignore_changes` attribute on `all` in your imported resource:
|
335
420
|
|
336
|
-
|
421
|
+
terraform
|
337
422
|
|
338
|
-
|
423
|
+
lifecycle {
|
339
424
|
|
340
|
-
|
425
|
+
ignore_changes = all
|
341
426
|
|
342
|
-
|
427
|
+
}
|
343
428
|
|
344
|
-
|
429
|
+
Your imported destination should look like that:
|
345
430
|
|
346
|
-
|
431
|
+
terraform
|
347
432
|
|
348
|
-
|
433
|
+
resource "newrelic_notification_destination" "foo" {
|
349
434
|
|
350
|
-
|
435
|
+
lifecycle {
|
351
436
|
|
352
|
-
|
437
|
+
ignore_changes = all
|
353
438
|
|
354
|
-
|
439
|
+
}
|
355
440
|
|
356
|
-
|
441
|
+
name = "*********"
|
357
442
|
|
358
|
-
|
443
|
+
type = "SLACK"
|
359
444
|
|
360
|
-
|
445
|
+
auth_token {
|
361
446
|
|
362
|
-
|
447
|
+
prefix = "Bearer"
|
363
448
|
|
364
|
-
|
449
|
+
}
|
365
450
|
|
366
|
-
|
451
|
+
property {
|
367
452
|
|
368
|
-
|
453
|
+
key = "teamName"
|
454
|
+
|
455
|
+
label = "Team Name"
|
456
|
+
|
457
|
+
value = "******"
|
369
458
|
|
370
|
-
|
459
|
+
}
|
371
460
|
|
372
|
-
|
461
|
+
}
|
373
462
|
|
374
463
|
:param str resource_name: The name of the resource.
|
375
464
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
376
|
-
:param pulumi.Input[
|
465
|
+
:param pulumi.Input[str] account_id: Determines the New Relic account where the notification destination will be created. Defaults to the account associated with the API key used.
|
377
466
|
:param pulumi.Input[bool] active: Indicates whether the destination is active.
|
378
|
-
:param pulumi.Input[
|
379
|
-
:param pulumi.Input[pulumi.
|
467
|
+
:param pulumi.Input[Union['NotificationDestinationAuthBasicArgs', 'NotificationDestinationAuthBasicArgsDict']] auth_basic: A nested block that describes a basic username and password authentication credentials. Only one auth_basic block is permitted per notification destination definition. See Nested auth_basic blocks below for details.
|
468
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['NotificationDestinationAuthCustomHeaderArgs', 'NotificationDestinationAuthCustomHeaderArgsDict']]]] auth_custom_headers: A nested block that describes a custom header authentication credentials. Multiple blocks are permitted per notification destination definition. Nested auth_custom_header blocks below for details.
|
469
|
+
:param pulumi.Input[Union['NotificationDestinationAuthTokenArgs', 'NotificationDestinationAuthTokenArgsDict']] auth_token: A nested block that describes a token authentication credentials. Only one auth_token block is permitted per notification destination definition. See Nested auth_token blocks below for details.
|
380
470
|
:param pulumi.Input[str] name: The name of the destination.
|
381
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
382
|
-
:param pulumi.Input[
|
383
|
-
|
471
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['NotificationDestinationPropertyArgs', 'NotificationDestinationPropertyArgsDict']]]] properties: A nested block that describes a notification destination property. See Nested property blocks below for details.
|
472
|
+
:param pulumi.Input[Union['NotificationDestinationSecureUrlArgs', 'NotificationDestinationSecureUrlArgsDict']] secure_url: A nested block that describes a URL that contains sensitive data at the path or parameters. Only one secure_url block is permitted per notification destination definition. See Nested secure_url blocks below for details.
|
473
|
+
:param pulumi.Input[str] type: (Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, SERVICE_NOW_APP,
|
474
|
+
PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY,
|
475
|
+
MOBILE_PUSH, EVENT_BRIDGE).
|
384
476
|
"""
|
385
477
|
...
|
386
478
|
@overload
|
@@ -391,73 +483,71 @@ class NotificationDestination(pulumi.CustomResource):
|
|
391
483
|
"""
|
392
484
|
## Import
|
393
485
|
|
486
|
+
~> **WARNING:** Slack-based destinations can only be imported and destroyed; this resource **does not** support creating and updating Slack-based destinations, owing to the reasons stated above, under the **Slack** section.
|
487
|
+
|
394
488
|
Destination id can be found in the Destinations page -> three dots at the right of the chosen destination -> copy destination id to clipboard.
|
395
489
|
|
396
|
-
|
490
|
+
This example is especially useful for slack destinations which *must* be imported.
|
397
491
|
|
398
|
-
|
492
|
+
1. Add an empty resource to your terraform file:
|
399
493
|
|
400
|
-
|
494
|
+
terraform
|
401
495
|
|
402
|
-
|
496
|
+
resource "newrelic_notification_destination" "foo" {
|
403
497
|
|
404
|
-
|
498
|
+
}
|
405
499
|
|
406
500
|
```sh
|
407
|
-
$ pulumi import newrelic:index/notificationDestination:NotificationDestination
|
408
|
-
|
409
|
-
Run import command: `newrelic_notification_destination.foo <destination_id>`
|
501
|
+
$ pulumi import newrelic:index/notificationDestination:NotificationDestination Run import command: `newrelic_notification_destination.foo <destination_id>`
|
410
502
|
```
|
411
503
|
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
4. Add `ignore_changes` attribute on `auth_token` in your imported resource:
|
417
|
-
|
418
|
-
terraform
|
419
|
-
|
420
|
-
lifecycle {
|
504
|
+
3. Run the following command after the import successfully done and copy the information to your resource:
|
505
|
+
|
506
|
+
`terraform state show newrelic_notification_destination.foo`
|
421
507
|
|
422
|
-
|
508
|
+
4. Add `ignore_changes` attribute on `all` in your imported resource:
|
423
509
|
|
424
|
-
|
510
|
+
terraform
|
425
511
|
|
426
|
-
|
512
|
+
lifecycle {
|
427
513
|
|
428
|
-
|
514
|
+
ignore_changes = all
|
429
515
|
|
430
|
-
|
516
|
+
}
|
431
517
|
|
432
|
-
|
518
|
+
Your imported destination should look like that:
|
433
519
|
|
434
|
-
|
520
|
+
terraform
|
435
521
|
|
436
|
-
|
522
|
+
resource "newrelic_notification_destination" "foo" {
|
437
523
|
|
438
|
-
|
524
|
+
lifecycle {
|
439
525
|
|
440
|
-
|
526
|
+
ignore_changes = all
|
441
527
|
|
442
|
-
|
528
|
+
}
|
443
529
|
|
444
|
-
|
530
|
+
name = "*********"
|
445
531
|
|
446
|
-
|
532
|
+
type = "SLACK"
|
447
533
|
|
448
|
-
|
534
|
+
auth_token {
|
449
535
|
|
450
|
-
|
536
|
+
prefix = "Bearer"
|
451
537
|
|
452
|
-
|
538
|
+
}
|
453
539
|
|
454
|
-
|
540
|
+
property {
|
455
541
|
|
456
|
-
|
542
|
+
key = "teamName"
|
543
|
+
|
544
|
+
label = "Team Name"
|
545
|
+
|
546
|
+
value = "******"
|
457
547
|
|
458
|
-
|
548
|
+
}
|
459
549
|
|
460
|
-
|
550
|
+
}
|
461
551
|
|
462
552
|
:param str resource_name: The name of the resource.
|
463
553
|
:param NotificationDestinationArgs args: The arguments to use to populate this resource's properties.
|
@@ -474,12 +564,14 @@ class NotificationDestination(pulumi.CustomResource):
|
|
474
564
|
def _internal_init(__self__,
|
475
565
|
resource_name: str,
|
476
566
|
opts: Optional[pulumi.ResourceOptions] = None,
|
477
|
-
account_id: Optional[pulumi.Input[
|
567
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
478
568
|
active: Optional[pulumi.Input[bool]] = None,
|
479
|
-
auth_basic: Optional[pulumi.Input[
|
480
|
-
|
569
|
+
auth_basic: Optional[pulumi.Input[Union['NotificationDestinationAuthBasicArgs', 'NotificationDestinationAuthBasicArgsDict']]] = None,
|
570
|
+
auth_custom_headers: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NotificationDestinationAuthCustomHeaderArgs', 'NotificationDestinationAuthCustomHeaderArgsDict']]]]] = None,
|
571
|
+
auth_token: Optional[pulumi.Input[Union['NotificationDestinationAuthTokenArgs', 'NotificationDestinationAuthTokenArgsDict']]] = None,
|
481
572
|
name: Optional[pulumi.Input[str]] = None,
|
482
|
-
properties: Optional[pulumi.Input[Sequence[pulumi.Input[
|
573
|
+
properties: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NotificationDestinationPropertyArgs', 'NotificationDestinationPropertyArgsDict']]]]] = None,
|
574
|
+
secure_url: Optional[pulumi.Input[Union['NotificationDestinationSecureUrlArgs', 'NotificationDestinationSecureUrlArgsDict']]] = None,
|
483
575
|
type: Optional[pulumi.Input[str]] = None,
|
484
576
|
__props__=None):
|
485
577
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
@@ -493,14 +585,17 @@ class NotificationDestination(pulumi.CustomResource):
|
|
493
585
|
__props__.__dict__["account_id"] = account_id
|
494
586
|
__props__.__dict__["active"] = active
|
495
587
|
__props__.__dict__["auth_basic"] = auth_basic
|
588
|
+
__props__.__dict__["auth_custom_headers"] = auth_custom_headers
|
496
589
|
__props__.__dict__["auth_token"] = auth_token
|
497
590
|
__props__.__dict__["name"] = name
|
498
591
|
if properties is None and not opts.urn:
|
499
592
|
raise TypeError("Missing required property 'properties'")
|
500
593
|
__props__.__dict__["properties"] = properties
|
594
|
+
__props__.__dict__["secure_url"] = secure_url
|
501
595
|
if type is None and not opts.urn:
|
502
596
|
raise TypeError("Missing required property 'type'")
|
503
597
|
__props__.__dict__["type"] = type
|
598
|
+
__props__.__dict__["guid"] = None
|
504
599
|
__props__.__dict__["last_sent"] = None
|
505
600
|
__props__.__dict__["status"] = None
|
506
601
|
super(NotificationDestination, __self__).__init__(
|
@@ -513,13 +608,16 @@ class NotificationDestination(pulumi.CustomResource):
|
|
513
608
|
def get(resource_name: str,
|
514
609
|
id: pulumi.Input[str],
|
515
610
|
opts: Optional[pulumi.ResourceOptions] = None,
|
516
|
-
account_id: Optional[pulumi.Input[
|
611
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
517
612
|
active: Optional[pulumi.Input[bool]] = None,
|
518
|
-
auth_basic: Optional[pulumi.Input[
|
519
|
-
|
613
|
+
auth_basic: Optional[pulumi.Input[Union['NotificationDestinationAuthBasicArgs', 'NotificationDestinationAuthBasicArgsDict']]] = None,
|
614
|
+
auth_custom_headers: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NotificationDestinationAuthCustomHeaderArgs', 'NotificationDestinationAuthCustomHeaderArgsDict']]]]] = None,
|
615
|
+
auth_token: Optional[pulumi.Input[Union['NotificationDestinationAuthTokenArgs', 'NotificationDestinationAuthTokenArgsDict']]] = None,
|
616
|
+
guid: Optional[pulumi.Input[str]] = None,
|
520
617
|
last_sent: Optional[pulumi.Input[str]] = None,
|
521
618
|
name: Optional[pulumi.Input[str]] = None,
|
522
|
-
properties: Optional[pulumi.Input[Sequence[pulumi.Input[
|
619
|
+
properties: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NotificationDestinationPropertyArgs', 'NotificationDestinationPropertyArgsDict']]]]] = None,
|
620
|
+
secure_url: Optional[pulumi.Input[Union['NotificationDestinationSecureUrlArgs', 'NotificationDestinationSecureUrlArgsDict']]] = None,
|
523
621
|
status: Optional[pulumi.Input[str]] = None,
|
524
622
|
type: Optional[pulumi.Input[str]] = None) -> 'NotificationDestination':
|
525
623
|
"""
|
@@ -529,16 +627,20 @@ class NotificationDestination(pulumi.CustomResource):
|
|
529
627
|
:param str resource_name: The unique name of the resulting resource.
|
530
628
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
531
629
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
532
|
-
:param pulumi.Input[
|
630
|
+
:param pulumi.Input[str] account_id: Determines the New Relic account where the notification destination will be created. Defaults to the account associated with the API key used.
|
533
631
|
:param pulumi.Input[bool] active: Indicates whether the destination is active.
|
534
|
-
:param pulumi.Input[
|
535
|
-
:param pulumi.Input[pulumi.
|
632
|
+
:param pulumi.Input[Union['NotificationDestinationAuthBasicArgs', 'NotificationDestinationAuthBasicArgsDict']] auth_basic: A nested block that describes a basic username and password authentication credentials. Only one auth_basic block is permitted per notification destination definition. See Nested auth_basic blocks below for details.
|
633
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['NotificationDestinationAuthCustomHeaderArgs', 'NotificationDestinationAuthCustomHeaderArgsDict']]]] auth_custom_headers: A nested block that describes a custom header authentication credentials. Multiple blocks are permitted per notification destination definition. Nested auth_custom_header blocks below for details.
|
634
|
+
:param pulumi.Input[Union['NotificationDestinationAuthTokenArgs', 'NotificationDestinationAuthTokenArgsDict']] auth_token: A nested block that describes a token authentication credentials. Only one auth_token block is permitted per notification destination definition. See Nested auth_token blocks below for details.
|
635
|
+
:param pulumi.Input[str] guid: The unique entity identifier of the destination in New Relic.
|
536
636
|
:param pulumi.Input[str] last_sent: The last time a notification was sent.
|
537
637
|
:param pulumi.Input[str] name: The name of the destination.
|
538
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
638
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['NotificationDestinationPropertyArgs', 'NotificationDestinationPropertyArgsDict']]]] properties: A nested block that describes a notification destination property. See Nested property blocks below for details.
|
639
|
+
:param pulumi.Input[Union['NotificationDestinationSecureUrlArgs', 'NotificationDestinationSecureUrlArgsDict']] secure_url: A nested block that describes a URL that contains sensitive data at the path or parameters. Only one secure_url block is permitted per notification destination definition. See Nested secure_url blocks below for details.
|
539
640
|
:param pulumi.Input[str] status: The status of the destination.
|
540
|
-
:param pulumi.Input[str] type: (Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW,
|
541
|
-
PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY,
|
641
|
+
:param pulumi.Input[str] type: (Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, SERVICE_NOW_APP,
|
642
|
+
PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY,
|
643
|
+
MOBILE_PUSH, EVENT_BRIDGE).
|
542
644
|
"""
|
543
645
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
544
646
|
|
@@ -547,17 +649,20 @@ class NotificationDestination(pulumi.CustomResource):
|
|
547
649
|
__props__.__dict__["account_id"] = account_id
|
548
650
|
__props__.__dict__["active"] = active
|
549
651
|
__props__.__dict__["auth_basic"] = auth_basic
|
652
|
+
__props__.__dict__["auth_custom_headers"] = auth_custom_headers
|
550
653
|
__props__.__dict__["auth_token"] = auth_token
|
654
|
+
__props__.__dict__["guid"] = guid
|
551
655
|
__props__.__dict__["last_sent"] = last_sent
|
552
656
|
__props__.__dict__["name"] = name
|
553
657
|
__props__.__dict__["properties"] = properties
|
658
|
+
__props__.__dict__["secure_url"] = secure_url
|
554
659
|
__props__.__dict__["status"] = status
|
555
660
|
__props__.__dict__["type"] = type
|
556
661
|
return NotificationDestination(resource_name, opts=opts, __props__=__props__)
|
557
662
|
|
558
663
|
@property
|
559
664
|
@pulumi.getter(name="accountId")
|
560
|
-
def account_id(self) -> pulumi.Output[
|
665
|
+
def account_id(self) -> pulumi.Output[str]:
|
561
666
|
"""
|
562
667
|
Determines the New Relic account where the notification destination will be created. Defaults to the account associated with the API key used.
|
563
668
|
"""
|
@@ -579,6 +684,14 @@ class NotificationDestination(pulumi.CustomResource):
|
|
579
684
|
"""
|
580
685
|
return pulumi.get(self, "auth_basic")
|
581
686
|
|
687
|
+
@property
|
688
|
+
@pulumi.getter(name="authCustomHeaders")
|
689
|
+
def auth_custom_headers(self) -> pulumi.Output[Optional[Sequence['outputs.NotificationDestinationAuthCustomHeader']]]:
|
690
|
+
"""
|
691
|
+
A nested block that describes a custom header authentication credentials. Multiple blocks are permitted per notification destination definition. Nested auth_custom_header blocks below for details.
|
692
|
+
"""
|
693
|
+
return pulumi.get(self, "auth_custom_headers")
|
694
|
+
|
582
695
|
@property
|
583
696
|
@pulumi.getter(name="authToken")
|
584
697
|
def auth_token(self) -> pulumi.Output[Optional['outputs.NotificationDestinationAuthToken']]:
|
@@ -587,6 +700,14 @@ class NotificationDestination(pulumi.CustomResource):
|
|
587
700
|
"""
|
588
701
|
return pulumi.get(self, "auth_token")
|
589
702
|
|
703
|
+
@property
|
704
|
+
@pulumi.getter
|
705
|
+
def guid(self) -> pulumi.Output[str]:
|
706
|
+
"""
|
707
|
+
The unique entity identifier of the destination in New Relic.
|
708
|
+
"""
|
709
|
+
return pulumi.get(self, "guid")
|
710
|
+
|
590
711
|
@property
|
591
712
|
@pulumi.getter(name="lastSent")
|
592
713
|
def last_sent(self) -> pulumi.Output[str]:
|
@@ -611,6 +732,14 @@ class NotificationDestination(pulumi.CustomResource):
|
|
611
732
|
"""
|
612
733
|
return pulumi.get(self, "properties")
|
613
734
|
|
735
|
+
@property
|
736
|
+
@pulumi.getter(name="secureUrl")
|
737
|
+
def secure_url(self) -> pulumi.Output[Optional['outputs.NotificationDestinationSecureUrl']]:
|
738
|
+
"""
|
739
|
+
A nested block that describes a URL that contains sensitive data at the path or parameters. Only one secure_url block is permitted per notification destination definition. See Nested secure_url blocks below for details.
|
740
|
+
"""
|
741
|
+
return pulumi.get(self, "secure_url")
|
742
|
+
|
614
743
|
@property
|
615
744
|
@pulumi.getter
|
616
745
|
def status(self) -> pulumi.Output[str]:
|
@@ -623,8 +752,9 @@ class NotificationDestination(pulumi.CustomResource):
|
|
623
752
|
@pulumi.getter
|
624
753
|
def type(self) -> pulumi.Output[str]:
|
625
754
|
"""
|
626
|
-
(Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW,
|
627
|
-
PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY,
|
755
|
+
(Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, SERVICE_NOW_APP,
|
756
|
+
PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY,
|
757
|
+
MOBILE_PUSH, EVENT_BRIDGE).
|
628
758
|
"""
|
629
759
|
return pulumi.get(self, "type")
|
630
760
|
|