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.
Files changed (85) hide show
  1. pulumi_newrelic/__init__.py +9 -0
  2. pulumi_newrelic/_inputs.py +7153 -461
  3. pulumi_newrelic/_utilities.py +41 -5
  4. pulumi_newrelic/account_management.py +13 -4
  5. pulumi_newrelic/alert_channel.py +122 -101
  6. pulumi_newrelic/alert_condition.py +120 -109
  7. pulumi_newrelic/alert_muting_rule.py +130 -74
  8. pulumi_newrelic/alert_policy.py +88 -67
  9. pulumi_newrelic/alert_policy_channel.py +81 -68
  10. pulumi_newrelic/api_access_key.py +49 -52
  11. pulumi_newrelic/browser_application.py +79 -76
  12. pulumi_newrelic/cloud/_inputs.py +2527 -1082
  13. pulumi_newrelic/cloud/aws_govcloud_integrations.py +135 -130
  14. pulumi_newrelic/cloud/aws_govcloud_link_account.py +25 -18
  15. pulumi_newrelic/cloud/aws_integrations.py +300 -1324
  16. pulumi_newrelic/cloud/aws_link_account.py +25 -18
  17. pulumi_newrelic/cloud/azure_integrations.py +523 -481
  18. pulumi_newrelic/cloud/azure_link_account.py +36 -29
  19. pulumi_newrelic/cloud/gcp_integrations.py +343 -320
  20. pulumi_newrelic/cloud/gcp_link_account.py +25 -18
  21. pulumi_newrelic/cloud/outputs.py +327 -1072
  22. pulumi_newrelic/config/__init__.pyi +6 -1
  23. pulumi_newrelic/config/vars.py +7 -2
  24. pulumi_newrelic/data_partition_rule.py +23 -16
  25. pulumi_newrelic/entity_tags.py +36 -31
  26. pulumi_newrelic/events_to_metrics_rule.py +27 -20
  27. pulumi_newrelic/get_account.py +24 -12
  28. pulumi_newrelic/get_alert_channel.py +26 -13
  29. pulumi_newrelic/get_alert_policy.py +35 -12
  30. pulumi_newrelic/get_application.py +39 -27
  31. pulumi_newrelic/get_authentication_domain.py +17 -9
  32. pulumi_newrelic/get_cloud_account.py +26 -14
  33. pulumi_newrelic/get_entity.py +90 -85
  34. pulumi_newrelic/get_group.py +58 -9
  35. pulumi_newrelic/get_key_transaction.py +109 -30
  36. pulumi_newrelic/get_notification_destination.py +64 -14
  37. pulumi_newrelic/get_obfuscation_expression.py +36 -24
  38. pulumi_newrelic/get_service_level_alert_helper.py +135 -105
  39. pulumi_newrelic/get_test_grok_pattern.py +29 -14
  40. pulumi_newrelic/get_user.py +17 -5
  41. pulumi_newrelic/group.py +5 -132
  42. pulumi_newrelic/infra_alert_condition.py +157 -140
  43. pulumi_newrelic/insights/_inputs.py +43 -0
  44. pulumi_newrelic/insights/event.py +50 -43
  45. pulumi_newrelic/insights/outputs.py +5 -0
  46. pulumi_newrelic/key_transaction.py +464 -0
  47. pulumi_newrelic/log_parsing_rule.py +29 -18
  48. pulumi_newrelic/monitor_downtime.py +215 -203
  49. pulumi_newrelic/notification_channel.py +387 -326
  50. pulumi_newrelic/notification_destination.py +248 -118
  51. pulumi_newrelic/nrql_alert_condition.py +353 -246
  52. pulumi_newrelic/nrql_drop_rule.py +57 -30
  53. pulumi_newrelic/obfuscation_expression.py +25 -18
  54. pulumi_newrelic/obfuscation_rule.py +40 -31
  55. pulumi_newrelic/one_dashboard.py +31 -26
  56. pulumi_newrelic/one_dashboard_json.py +21 -16
  57. pulumi_newrelic/one_dashboard_raw.py +112 -101
  58. pulumi_newrelic/outputs.py +2446 -245
  59. pulumi_newrelic/plugins/_inputs.py +145 -10
  60. pulumi_newrelic/plugins/application_settings.py +29 -20
  61. pulumi_newrelic/plugins/outputs.py +15 -10
  62. pulumi_newrelic/plugins/workload.py +285 -54
  63. pulumi_newrelic/provider.py +27 -33
  64. pulumi_newrelic/pulumi-plugin.json +2 -1
  65. pulumi_newrelic/service_level.py +193 -180
  66. pulumi_newrelic/synthetics/_inputs.py +159 -2
  67. pulumi_newrelic/synthetics/alert_condition.py +91 -78
  68. pulumi_newrelic/synthetics/broken_links_monitor.py +220 -93
  69. pulumi_newrelic/synthetics/cert_check_monitor.py +223 -94
  70. pulumi_newrelic/synthetics/get_private_location.py +34 -22
  71. pulumi_newrelic/synthetics/get_secure_credential.py +24 -12
  72. pulumi_newrelic/synthetics/monitor.py +352 -179
  73. pulumi_newrelic/synthetics/multi_location_alert_condition.py +109 -96
  74. pulumi_newrelic/synthetics/outputs.py +7 -2
  75. pulumi_newrelic/synthetics/private_location.py +27 -18
  76. pulumi_newrelic/synthetics/script_monitor.py +321 -168
  77. pulumi_newrelic/synthetics/secure_credential.py +25 -20
  78. pulumi_newrelic/synthetics/step_monitor.py +409 -98
  79. pulumi_newrelic/user.py +13 -6
  80. pulumi_newrelic/workflow.py +215 -184
  81. {pulumi_newrelic-5.20.0a1709643785.dist-info → pulumi_newrelic-5.39.0a1736834464.dist-info}/METADATA +7 -6
  82. pulumi_newrelic-5.39.0a1736834464.dist-info/RECORD +90 -0
  83. {pulumi_newrelic-5.20.0a1709643785.dist-info → pulumi_newrelic-5.39.0a1736834464.dist-info}/WHEEL +1 -1
  84. pulumi_newrelic-5.20.0a1709643785.dist-info/RECORD +0 -89
  85. {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[int]] = None,
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, PAGERDUTY_ACCOUNT_INTEGRATION,
30
- PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY, MOBILE_PUSH, EVENT_BRIDGE).
31
- :param pulumi.Input[int] account_id: Determines the New Relic account where the notification destination will be created. Defaults to the account associated with the API key used.
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, PAGERDUTY_ACCOUNT_INTEGRATION,
67
- PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY, MOBILE_PUSH, EVENT_BRIDGE).
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[int]]:
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[int]]):
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[int]] = None,
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[int] account_id: Determines the New Relic account where the notification destination will be created. Defaults to the account associated with the API key used.
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, PAGERDUTY_ACCOUNT_INTEGRATION,
159
- PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY, MOBILE_PUSH, EVENT_BRIDGE).
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[int]]:
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[int]]):
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, PAGERDUTY_ACCOUNT_INTEGRATION,
281
- PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY, MOBILE_PUSH, EVENT_BRIDGE).
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[int]] = None,
384
+ account_id: Optional[pulumi.Input[str]] = None,
296
385
  active: Optional[pulumi.Input[bool]] = None,
297
- auth_basic: Optional[pulumi.Input[pulumi.InputType['NotificationDestinationAuthBasicArgs']]] = None,
298
- auth_token: Optional[pulumi.Input[pulumi.InputType['NotificationDestinationAuthTokenArgs']]] = None,
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[pulumi.InputType['NotificationDestinationPropertyArgs']]]]] = None,
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
- This example is especially useful for slack destinations which *must* be imported.
401
+ This example is especially useful for slack destinations which *must* be imported.
309
402
 
310
- 1. Add an empty resource to your terraform file:
403
+ 1. Add an empty resource to your terraform file:
311
404
 
312
- terraform
405
+ terraform
313
406
 
314
- resource "newrelic_notification_destination" "foo" {
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
- 3. Run the following command after the import successfully done and copy the information to your resource:
325
-
326
- `terraform state show newrelic_notification_destination.foo`
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
- ignore_changes = [auth_token]
419
+ 4. Add `ignore_changes` attribute on `all` in your imported resource:
335
420
 
336
- }
421
+ terraform
337
422
 
338
- Your imported destination should look like that:
423
+ lifecycle {
339
424
 
340
- terraform
425
+ ignore_changes = all
341
426
 
342
- resource "newrelic_notification_destination" "foo" {
427
+ }
343
428
 
344
- lifecycle {
429
+ Your imported destination should look like that:
345
430
 
346
- ignore_changes = [auth_token]
431
+ terraform
347
432
 
348
- }
433
+ resource "newrelic_notification_destination" "foo" {
349
434
 
350
- name = "*********"
435
+ lifecycle {
351
436
 
352
- type = "SLACK"
437
+ ignore_changes = all
353
438
 
354
- auth_token {
439
+ }
355
440
 
356
- prefix = "Bearer"
441
+ name = "*********"
357
442
 
358
- }
443
+ type = "SLACK"
359
444
 
360
- property {
445
+ auth_token {
361
446
 
362
- key
447
+ prefix = "Bearer"
363
448
 
364
- = "teamName"
449
+ }
365
450
 
366
- label = "Team Name"
451
+ property {
367
452
 
368
- value = "******"
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[int] account_id: Determines the New Relic account where the notification destination will be created. Defaults to the account associated with the API key used.
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[pulumi.InputType['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.
379
- :param pulumi.Input[pulumi.InputType['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.
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[pulumi.InputType['NotificationDestinationPropertyArgs']]]] properties: A nested block that describes a notification destination property. See Nested property blocks below for details.
382
- :param pulumi.Input[str] type: (Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, PAGERDUTY_ACCOUNT_INTEGRATION,
383
- PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY, MOBILE_PUSH, EVENT_BRIDGE).
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
- This example is especially useful for slack destinations which *must* be imported.
490
+ This example is especially useful for slack destinations which *must* be imported.
397
491
 
398
- 1. Add an empty resource to your terraform file:
492
+ 1. Add an empty resource to your terraform file:
399
493
 
400
- terraform
494
+ terraform
401
495
 
402
- resource "newrelic_notification_destination" "foo" {
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
- 3. Run the following command after the import successfully done and copy the information to your resource:
413
-
414
- `terraform state show newrelic_notification_destination.foo`
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
- ignore_changes = [auth_token]
508
+ 4. Add `ignore_changes` attribute on `all` in your imported resource:
423
509
 
424
- }
510
+ terraform
425
511
 
426
- Your imported destination should look like that:
512
+ lifecycle {
427
513
 
428
- terraform
514
+ ignore_changes = all
429
515
 
430
- resource "newrelic_notification_destination" "foo" {
516
+ }
431
517
 
432
- lifecycle {
518
+ Your imported destination should look like that:
433
519
 
434
- ignore_changes = [auth_token]
520
+ terraform
435
521
 
436
- }
522
+ resource "newrelic_notification_destination" "foo" {
437
523
 
438
- name = "*********"
524
+ lifecycle {
439
525
 
440
- type = "SLACK"
526
+ ignore_changes = all
441
527
 
442
- auth_token {
528
+ }
443
529
 
444
- prefix = "Bearer"
530
+ name = "*********"
445
531
 
446
- }
532
+ type = "SLACK"
447
533
 
448
- property {
534
+ auth_token {
449
535
 
450
- key
536
+ prefix = "Bearer"
451
537
 
452
- = "teamName"
538
+ }
453
539
 
454
- label = "Team Name"
540
+ property {
455
541
 
456
- value = "******"
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[int]] = None,
567
+ account_id: Optional[pulumi.Input[str]] = None,
478
568
  active: Optional[pulumi.Input[bool]] = None,
479
- auth_basic: Optional[pulumi.Input[pulumi.InputType['NotificationDestinationAuthBasicArgs']]] = None,
480
- auth_token: Optional[pulumi.Input[pulumi.InputType['NotificationDestinationAuthTokenArgs']]] = None,
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[pulumi.InputType['NotificationDestinationPropertyArgs']]]]] = None,
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[int]] = None,
611
+ account_id: Optional[pulumi.Input[str]] = None,
517
612
  active: Optional[pulumi.Input[bool]] = None,
518
- auth_basic: Optional[pulumi.Input[pulumi.InputType['NotificationDestinationAuthBasicArgs']]] = None,
519
- auth_token: Optional[pulumi.Input[pulumi.InputType['NotificationDestinationAuthTokenArgs']]] = None,
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[pulumi.InputType['NotificationDestinationPropertyArgs']]]]] = None,
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[int] account_id: Determines the New Relic account where the notification destination will be created. Defaults to the account associated with the API key used.
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[pulumi.InputType['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.
535
- :param pulumi.Input[pulumi.InputType['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.
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[pulumi.InputType['NotificationDestinationPropertyArgs']]]] properties: A nested block that describes a notification destination property. See Nested property blocks below for details.
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, PAGERDUTY_ACCOUNT_INTEGRATION,
541
- PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY, MOBILE_PUSH, EVENT_BRIDGE).
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[int]:
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, PAGERDUTY_ACCOUNT_INTEGRATION,
627
- PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY, MOBILE_PUSH, EVENT_BRIDGE).
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