pulumi-newrelic 5.23.0a1713975814__py3-none-any.whl → 5.23.1__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.
@@ -23,8 +23,10 @@ __all__ = [
23
23
  'MonitorDowntimeFrequencyDaysOfWeekArgs',
24
24
  'NotificationChannelPropertyArgs',
25
25
  'NotificationDestinationAuthBasicArgs',
26
+ 'NotificationDestinationAuthCustomHeaderArgs',
26
27
  'NotificationDestinationAuthTokenArgs',
27
28
  'NotificationDestinationPropertyArgs',
29
+ 'NotificationDestinationSecureUrlArgs',
28
30
  'NrqlAlertConditionCriticalArgs',
29
31
  'NrqlAlertConditionNrqlArgs',
30
32
  'NrqlAlertConditionTermArgs',
@@ -165,6 +167,7 @@ __all__ = [
165
167
  'WorkflowIssuesFilterArgs',
166
168
  'WorkflowIssuesFilterPredicateArgs',
167
169
  'GetEntityTagArgs',
170
+ 'GetNotificationDestinationSecureUrlArgs',
168
171
  ]
169
172
 
170
173
  @pulumi.input_type
@@ -1129,6 +1132,33 @@ class NotificationDestinationAuthBasicArgs:
1129
1132
  pulumi.set(self, "user", value)
1130
1133
 
1131
1134
 
1135
+ @pulumi.input_type
1136
+ class NotificationDestinationAuthCustomHeaderArgs:
1137
+ def __init__(__self__, *,
1138
+ key: pulumi.Input[str],
1139
+ value: pulumi.Input[str]):
1140
+ pulumi.set(__self__, "key", key)
1141
+ pulumi.set(__self__, "value", value)
1142
+
1143
+ @property
1144
+ @pulumi.getter
1145
+ def key(self) -> pulumi.Input[str]:
1146
+ return pulumi.get(self, "key")
1147
+
1148
+ @key.setter
1149
+ def key(self, value: pulumi.Input[str]):
1150
+ pulumi.set(self, "key", value)
1151
+
1152
+ @property
1153
+ @pulumi.getter
1154
+ def value(self) -> pulumi.Input[str]:
1155
+ return pulumi.get(self, "value")
1156
+
1157
+ @value.setter
1158
+ def value(self, value: pulumi.Input[str]):
1159
+ pulumi.set(self, "value", value)
1160
+
1161
+
1132
1162
  @pulumi.input_type
1133
1163
  class NotificationDestinationAuthTokenArgs:
1134
1164
  def __init__(__self__, *,
@@ -1226,6 +1256,33 @@ class NotificationDestinationPropertyArgs:
1226
1256
  pulumi.set(self, "label", value)
1227
1257
 
1228
1258
 
1259
+ @pulumi.input_type
1260
+ class NotificationDestinationSecureUrlArgs:
1261
+ def __init__(__self__, *,
1262
+ prefix: pulumi.Input[str],
1263
+ secure_suffix: pulumi.Input[str]):
1264
+ pulumi.set(__self__, "prefix", prefix)
1265
+ pulumi.set(__self__, "secure_suffix", secure_suffix)
1266
+
1267
+ @property
1268
+ @pulumi.getter
1269
+ def prefix(self) -> pulumi.Input[str]:
1270
+ return pulumi.get(self, "prefix")
1271
+
1272
+ @prefix.setter
1273
+ def prefix(self, value: pulumi.Input[str]):
1274
+ pulumi.set(self, "prefix", value)
1275
+
1276
+ @property
1277
+ @pulumi.getter(name="secureSuffix")
1278
+ def secure_suffix(self) -> pulumi.Input[str]:
1279
+ return pulumi.get(self, "secure_suffix")
1280
+
1281
+ @secure_suffix.setter
1282
+ def secure_suffix(self, value: pulumi.Input[str]):
1283
+ pulumi.set(self, "secure_suffix", value)
1284
+
1285
+
1229
1286
  @pulumi.input_type
1230
1287
  class NrqlAlertConditionCriticalArgs:
1231
1288
  def __init__(__self__, *,
@@ -10505,3 +10562,19 @@ class GetEntityTagArgs:
10505
10562
  pulumi.set(self, "value", value)
10506
10563
 
10507
10564
 
10565
+ @pulumi.input_type
10566
+ class GetNotificationDestinationSecureUrlArgs:
10567
+ def __init__(__self__, *,
10568
+ prefix: str):
10569
+ pulumi.set(__self__, "prefix", prefix)
10570
+
10571
+ @property
10572
+ @pulumi.getter
10573
+ def prefix(self) -> str:
10574
+ return pulumi.get(self, "prefix")
10575
+
10576
+ @prefix.setter
10577
+ def prefix(self, value: str):
10578
+ pulumi.set(self, "prefix", value)
10579
+
10580
+
@@ -9,6 +9,7 @@ import pulumi.runtime
9
9
  from typing import Any, Mapping, Optional, Sequence, Union, overload
10
10
  from . import _utilities
11
11
  from . import outputs
12
+ from ._inputs import *
12
13
 
13
14
  __all__ = [
14
15
  'GetNotificationDestinationResult',
@@ -22,7 +23,7 @@ class GetNotificationDestinationResult:
22
23
  """
23
24
  A collection of values returned by getNotificationDestination.
24
25
  """
25
- def __init__(__self__, account_id=None, active=None, guid=None, id=None, name=None, properties=None, status=None, type=None):
26
+ def __init__(__self__, account_id=None, active=None, guid=None, id=None, name=None, properties=None, secure_urls=None, status=None, type=None):
26
27
  if account_id and not isinstance(account_id, int):
27
28
  raise TypeError("Expected argument 'account_id' to be a int")
28
29
  pulumi.set(__self__, "account_id", account_id)
@@ -41,6 +42,9 @@ class GetNotificationDestinationResult:
41
42
  if properties and not isinstance(properties, list):
42
43
  raise TypeError("Expected argument 'properties' to be a list")
43
44
  pulumi.set(__self__, "properties", properties)
45
+ if secure_urls and not isinstance(secure_urls, list):
46
+ raise TypeError("Expected argument 'secure_urls' to be a list")
47
+ pulumi.set(__self__, "secure_urls", secure_urls)
44
48
  if status and not isinstance(status, str):
45
49
  raise TypeError("Expected argument 'status' to be a str")
46
50
  pulumi.set(__self__, "status", status)
@@ -90,6 +94,14 @@ class GetNotificationDestinationResult:
90
94
  """
91
95
  return pulumi.get(self, "properties")
92
96
 
97
+ @property
98
+ @pulumi.getter(name="secureUrls")
99
+ def secure_urls(self) -> Sequence['outputs.GetNotificationDestinationSecureUrlResult']:
100
+ """
101
+ The URL in secure format, showing only the `prefix`, as the `secure_suffix` is a secret.
102
+ """
103
+ return pulumi.get(self, "secure_urls")
104
+
93
105
  @property
94
106
  @pulumi.getter
95
107
  def status(self) -> str:
@@ -119,6 +131,7 @@ class AwaitableGetNotificationDestinationResult(GetNotificationDestinationResult
119
131
  id=self.id,
120
132
  name=self.name,
121
133
  properties=self.properties,
134
+ secure_urls=self.secure_urls,
122
135
  status=self.status,
123
136
  type=self.type)
124
137
 
@@ -126,6 +139,7 @@ class AwaitableGetNotificationDestinationResult(GetNotificationDestinationResult
126
139
  def get_notification_destination(account_id: Optional[int] = None,
127
140
  id: Optional[str] = None,
128
141
  name: Optional[str] = None,
142
+ secure_urls: Optional[Sequence[pulumi.InputType['GetNotificationDestinationSecureUrlArgs']]] = None,
129
143
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNotificationDestinationResult:
130
144
  """
131
145
  Use this data source to access information about an existing resource.
@@ -135,11 +149,13 @@ def get_notification_destination(account_id: Optional[int] = None,
135
149
  :param str name: The name of the notification destination.
136
150
 
137
151
  Optional:
152
+ :param Sequence[pulumi.InputType['GetNotificationDestinationSecureUrlArgs']] secure_urls: The URL in secure format, showing only the `prefix`, as the `secure_suffix` is a secret.
138
153
  """
139
154
  __args__ = dict()
140
155
  __args__['accountId'] = account_id
141
156
  __args__['id'] = id
142
157
  __args__['name'] = name
158
+ __args__['secureUrls'] = secure_urls
143
159
  opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
144
160
  __ret__ = pulumi.runtime.invoke('newrelic:index/getNotificationDestination:getNotificationDestination', __args__, opts=opts, typ=GetNotificationDestinationResult).value
145
161
 
@@ -150,6 +166,7 @@ def get_notification_destination(account_id: Optional[int] = None,
150
166
  id=pulumi.get(__ret__, 'id'),
151
167
  name=pulumi.get(__ret__, 'name'),
152
168
  properties=pulumi.get(__ret__, 'properties'),
169
+ secure_urls=pulumi.get(__ret__, 'secure_urls'),
153
170
  status=pulumi.get(__ret__, 'status'),
154
171
  type=pulumi.get(__ret__, 'type'))
155
172
 
@@ -158,6 +175,7 @@ def get_notification_destination(account_id: Optional[int] = None,
158
175
  def get_notification_destination_output(account_id: Optional[pulumi.Input[Optional[int]]] = None,
159
176
  id: Optional[pulumi.Input[Optional[str]]] = None,
160
177
  name: Optional[pulumi.Input[Optional[str]]] = None,
178
+ secure_urls: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetNotificationDestinationSecureUrlArgs']]]]] = None,
161
179
  opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNotificationDestinationResult]:
162
180
  """
163
181
  Use this data source to access information about an existing resource.
@@ -167,5 +185,6 @@ def get_notification_destination_output(account_id: Optional[pulumi.Input[Option
167
185
  :param str name: The name of the notification destination.
168
186
 
169
187
  Optional:
188
+ :param Sequence[pulumi.InputType['GetNotificationDestinationSecureUrlArgs']] secure_urls: The URL in secure format, showing only the `prefix`, as the `secure_suffix` is a secret.
170
189
  """
171
190
  ...
@@ -21,8 +21,10 @@ class NotificationDestinationArgs:
21
21
  account_id: Optional[pulumi.Input[int]] = None,
22
22
  active: Optional[pulumi.Input[bool]] = None,
23
23
  auth_basic: Optional[pulumi.Input['NotificationDestinationAuthBasicArgs']] = None,
24
+ auth_custom_headers: Optional[pulumi.Input[Sequence[pulumi.Input['NotificationDestinationAuthCustomHeaderArgs']]]] = None,
24
25
  auth_token: Optional[pulumi.Input['NotificationDestinationAuthTokenArgs']] = None,
25
- name: Optional[pulumi.Input[str]] = None):
26
+ name: Optional[pulumi.Input[str]] = None,
27
+ secure_url: Optional[pulumi.Input['NotificationDestinationSecureUrlArgs']] = None):
26
28
  """
27
29
  The set of arguments for constructing a NotificationDestination resource.
28
30
  :param pulumi.Input[Sequence[pulumi.Input['NotificationDestinationPropertyArgs']]] properties: A nested block that describes a notification destination property. See Nested property blocks below for details.
@@ -31,8 +33,10 @@ class NotificationDestinationArgs:
31
33
  :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.
32
34
  :param pulumi.Input[bool] active: Indicates whether the destination is active.
33
35
  :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.
36
+ :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
37
  :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
38
  :param pulumi.Input[str] name: The name of the destination.
39
+ :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
40
  """
37
41
  pulumi.set(__self__, "properties", properties)
38
42
  pulumi.set(__self__, "type", type)
@@ -42,10 +46,14 @@ class NotificationDestinationArgs:
42
46
  pulumi.set(__self__, "active", active)
43
47
  if auth_basic is not None:
44
48
  pulumi.set(__self__, "auth_basic", auth_basic)
49
+ if auth_custom_headers is not None:
50
+ pulumi.set(__self__, "auth_custom_headers", auth_custom_headers)
45
51
  if auth_token is not None:
46
52
  pulumi.set(__self__, "auth_token", auth_token)
47
53
  if name is not None:
48
54
  pulumi.set(__self__, "name", name)
55
+ if secure_url is not None:
56
+ pulumi.set(__self__, "secure_url", secure_url)
49
57
 
50
58
  @property
51
59
  @pulumi.getter
@@ -108,6 +116,18 @@ class NotificationDestinationArgs:
108
116
  def auth_basic(self, value: Optional[pulumi.Input['NotificationDestinationAuthBasicArgs']]):
109
117
  pulumi.set(self, "auth_basic", value)
110
118
 
119
+ @property
120
+ @pulumi.getter(name="authCustomHeaders")
121
+ def auth_custom_headers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NotificationDestinationAuthCustomHeaderArgs']]]]:
122
+ """
123
+ 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.
124
+ """
125
+ return pulumi.get(self, "auth_custom_headers")
126
+
127
+ @auth_custom_headers.setter
128
+ def auth_custom_headers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['NotificationDestinationAuthCustomHeaderArgs']]]]):
129
+ pulumi.set(self, "auth_custom_headers", value)
130
+
111
131
  @property
112
132
  @pulumi.getter(name="authToken")
113
133
  def auth_token(self) -> Optional[pulumi.Input['NotificationDestinationAuthTokenArgs']]:
@@ -132,6 +152,18 @@ class NotificationDestinationArgs:
132
152
  def name(self, value: Optional[pulumi.Input[str]]):
133
153
  pulumi.set(self, "name", value)
134
154
 
155
+ @property
156
+ @pulumi.getter(name="secureUrl")
157
+ def secure_url(self) -> Optional[pulumi.Input['NotificationDestinationSecureUrlArgs']]:
158
+ """
159
+ 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.
160
+ """
161
+ return pulumi.get(self, "secure_url")
162
+
163
+ @secure_url.setter
164
+ def secure_url(self, value: Optional[pulumi.Input['NotificationDestinationSecureUrlArgs']]):
165
+ pulumi.set(self, "secure_url", value)
166
+
135
167
 
136
168
  @pulumi.input_type
137
169
  class _NotificationDestinationState:
@@ -139,11 +171,13 @@ class _NotificationDestinationState:
139
171
  account_id: Optional[pulumi.Input[int]] = None,
140
172
  active: Optional[pulumi.Input[bool]] = None,
141
173
  auth_basic: Optional[pulumi.Input['NotificationDestinationAuthBasicArgs']] = None,
174
+ auth_custom_headers: Optional[pulumi.Input[Sequence[pulumi.Input['NotificationDestinationAuthCustomHeaderArgs']]]] = None,
142
175
  auth_token: Optional[pulumi.Input['NotificationDestinationAuthTokenArgs']] = None,
143
176
  guid: Optional[pulumi.Input[str]] = None,
144
177
  last_sent: Optional[pulumi.Input[str]] = None,
145
178
  name: Optional[pulumi.Input[str]] = None,
146
179
  properties: Optional[pulumi.Input[Sequence[pulumi.Input['NotificationDestinationPropertyArgs']]]] = None,
180
+ secure_url: Optional[pulumi.Input['NotificationDestinationSecureUrlArgs']] = None,
147
181
  status: Optional[pulumi.Input[str]] = None,
148
182
  type: Optional[pulumi.Input[str]] = None):
149
183
  """
@@ -151,11 +185,13 @@ class _NotificationDestinationState:
151
185
  :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.
152
186
  :param pulumi.Input[bool] active: Indicates whether the destination is active.
153
187
  :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.
188
+ :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.
154
189
  :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.
155
190
  :param pulumi.Input[str] guid: The unique entity identifier of the destination in New Relic.
156
191
  :param pulumi.Input[str] last_sent: The last time a notification was sent.
157
192
  :param pulumi.Input[str] name: The name of the destination.
158
193
  :param pulumi.Input[Sequence[pulumi.Input['NotificationDestinationPropertyArgs']]] properties: A nested block that describes a notification destination property. See Nested property blocks below for details.
194
+ :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.
159
195
  :param pulumi.Input[str] status: The status of the destination.
160
196
  :param pulumi.Input[str] type: (Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, PAGERDUTY_ACCOUNT_INTEGRATION,
161
197
  PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY, MOBILE_PUSH, EVENT_BRIDGE).
@@ -166,6 +202,8 @@ class _NotificationDestinationState:
166
202
  pulumi.set(__self__, "active", active)
167
203
  if auth_basic is not None:
168
204
  pulumi.set(__self__, "auth_basic", auth_basic)
205
+ if auth_custom_headers is not None:
206
+ pulumi.set(__self__, "auth_custom_headers", auth_custom_headers)
169
207
  if auth_token is not None:
170
208
  pulumi.set(__self__, "auth_token", auth_token)
171
209
  if guid is not None:
@@ -176,6 +214,8 @@ class _NotificationDestinationState:
176
214
  pulumi.set(__self__, "name", name)
177
215
  if properties is not None:
178
216
  pulumi.set(__self__, "properties", properties)
217
+ if secure_url is not None:
218
+ pulumi.set(__self__, "secure_url", secure_url)
179
219
  if status is not None:
180
220
  pulumi.set(__self__, "status", status)
181
221
  if type is not None:
@@ -217,6 +257,18 @@ class _NotificationDestinationState:
217
257
  def auth_basic(self, value: Optional[pulumi.Input['NotificationDestinationAuthBasicArgs']]):
218
258
  pulumi.set(self, "auth_basic", value)
219
259
 
260
+ @property
261
+ @pulumi.getter(name="authCustomHeaders")
262
+ def auth_custom_headers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NotificationDestinationAuthCustomHeaderArgs']]]]:
263
+ """
264
+ 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.
265
+ """
266
+ return pulumi.get(self, "auth_custom_headers")
267
+
268
+ @auth_custom_headers.setter
269
+ def auth_custom_headers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['NotificationDestinationAuthCustomHeaderArgs']]]]):
270
+ pulumi.set(self, "auth_custom_headers", value)
271
+
220
272
  @property
221
273
  @pulumi.getter(name="authToken")
222
274
  def auth_token(self) -> Optional[pulumi.Input['NotificationDestinationAuthTokenArgs']]:
@@ -277,6 +329,18 @@ class _NotificationDestinationState:
277
329
  def properties(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['NotificationDestinationPropertyArgs']]]]):
278
330
  pulumi.set(self, "properties", value)
279
331
 
332
+ @property
333
+ @pulumi.getter(name="secureUrl")
334
+ def secure_url(self) -> Optional[pulumi.Input['NotificationDestinationSecureUrlArgs']]:
335
+ """
336
+ 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.
337
+ """
338
+ return pulumi.get(self, "secure_url")
339
+
340
+ @secure_url.setter
341
+ def secure_url(self, value: Optional[pulumi.Input['NotificationDestinationSecureUrlArgs']]):
342
+ pulumi.set(self, "secure_url", value)
343
+
280
344
  @property
281
345
  @pulumi.getter
282
346
  def status(self) -> Optional[pulumi.Input[str]]:
@@ -311,9 +375,11 @@ class NotificationDestination(pulumi.CustomResource):
311
375
  account_id: Optional[pulumi.Input[int]] = None,
312
376
  active: Optional[pulumi.Input[bool]] = None,
313
377
  auth_basic: Optional[pulumi.Input[pulumi.InputType['NotificationDestinationAuthBasicArgs']]] = None,
378
+ auth_custom_headers: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NotificationDestinationAuthCustomHeaderArgs']]]]] = None,
314
379
  auth_token: Optional[pulumi.Input[pulumi.InputType['NotificationDestinationAuthTokenArgs']]] = None,
315
380
  name: Optional[pulumi.Input[str]] = None,
316
381
  properties: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NotificationDestinationPropertyArgs']]]]] = None,
382
+ secure_url: Optional[pulumi.Input[pulumi.InputType['NotificationDestinationSecureUrlArgs']]] = None,
317
383
  type: Optional[pulumi.Input[str]] = None,
318
384
  __props__=None):
319
385
  """
@@ -388,9 +454,11 @@ class NotificationDestination(pulumi.CustomResource):
388
454
  :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.
389
455
  :param pulumi.Input[bool] active: Indicates whether the destination is active.
390
456
  :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.
457
+ :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['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.
391
458
  :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.
392
459
  :param pulumi.Input[str] name: The name of the destination.
393
460
  :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.
461
+ :param pulumi.Input[pulumi.InputType['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.
394
462
  :param pulumi.Input[str] type: (Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, PAGERDUTY_ACCOUNT_INTEGRATION,
395
463
  PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY, MOBILE_PUSH, EVENT_BRIDGE).
396
464
  """
@@ -485,9 +553,11 @@ class NotificationDestination(pulumi.CustomResource):
485
553
  account_id: Optional[pulumi.Input[int]] = None,
486
554
  active: Optional[pulumi.Input[bool]] = None,
487
555
  auth_basic: Optional[pulumi.Input[pulumi.InputType['NotificationDestinationAuthBasicArgs']]] = None,
556
+ auth_custom_headers: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NotificationDestinationAuthCustomHeaderArgs']]]]] = None,
488
557
  auth_token: Optional[pulumi.Input[pulumi.InputType['NotificationDestinationAuthTokenArgs']]] = None,
489
558
  name: Optional[pulumi.Input[str]] = None,
490
559
  properties: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NotificationDestinationPropertyArgs']]]]] = None,
560
+ secure_url: Optional[pulumi.Input[pulumi.InputType['NotificationDestinationSecureUrlArgs']]] = None,
491
561
  type: Optional[pulumi.Input[str]] = None,
492
562
  __props__=None):
493
563
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
@@ -501,11 +571,13 @@ class NotificationDestination(pulumi.CustomResource):
501
571
  __props__.__dict__["account_id"] = account_id
502
572
  __props__.__dict__["active"] = active
503
573
  __props__.__dict__["auth_basic"] = auth_basic
574
+ __props__.__dict__["auth_custom_headers"] = auth_custom_headers
504
575
  __props__.__dict__["auth_token"] = auth_token
505
576
  __props__.__dict__["name"] = name
506
577
  if properties is None and not opts.urn:
507
578
  raise TypeError("Missing required property 'properties'")
508
579
  __props__.__dict__["properties"] = properties
580
+ __props__.__dict__["secure_url"] = secure_url
509
581
  if type is None and not opts.urn:
510
582
  raise TypeError("Missing required property 'type'")
511
583
  __props__.__dict__["type"] = type
@@ -525,11 +597,13 @@ class NotificationDestination(pulumi.CustomResource):
525
597
  account_id: Optional[pulumi.Input[int]] = None,
526
598
  active: Optional[pulumi.Input[bool]] = None,
527
599
  auth_basic: Optional[pulumi.Input[pulumi.InputType['NotificationDestinationAuthBasicArgs']]] = None,
600
+ auth_custom_headers: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NotificationDestinationAuthCustomHeaderArgs']]]]] = None,
528
601
  auth_token: Optional[pulumi.Input[pulumi.InputType['NotificationDestinationAuthTokenArgs']]] = None,
529
602
  guid: Optional[pulumi.Input[str]] = None,
530
603
  last_sent: Optional[pulumi.Input[str]] = None,
531
604
  name: Optional[pulumi.Input[str]] = None,
532
605
  properties: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NotificationDestinationPropertyArgs']]]]] = None,
606
+ secure_url: Optional[pulumi.Input[pulumi.InputType['NotificationDestinationSecureUrlArgs']]] = None,
533
607
  status: Optional[pulumi.Input[str]] = None,
534
608
  type: Optional[pulumi.Input[str]] = None) -> 'NotificationDestination':
535
609
  """
@@ -542,11 +616,13 @@ class NotificationDestination(pulumi.CustomResource):
542
616
  :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.
543
617
  :param pulumi.Input[bool] active: Indicates whether the destination is active.
544
618
  :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.
619
+ :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['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.
545
620
  :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.
546
621
  :param pulumi.Input[str] guid: The unique entity identifier of the destination in New Relic.
547
622
  :param pulumi.Input[str] last_sent: The last time a notification was sent.
548
623
  :param pulumi.Input[str] name: The name of the destination.
549
624
  :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.
625
+ :param pulumi.Input[pulumi.InputType['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.
550
626
  :param pulumi.Input[str] status: The status of the destination.
551
627
  :param pulumi.Input[str] type: (Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, PAGERDUTY_ACCOUNT_INTEGRATION,
552
628
  PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY, MOBILE_PUSH, EVENT_BRIDGE).
@@ -558,11 +634,13 @@ class NotificationDestination(pulumi.CustomResource):
558
634
  __props__.__dict__["account_id"] = account_id
559
635
  __props__.__dict__["active"] = active
560
636
  __props__.__dict__["auth_basic"] = auth_basic
637
+ __props__.__dict__["auth_custom_headers"] = auth_custom_headers
561
638
  __props__.__dict__["auth_token"] = auth_token
562
639
  __props__.__dict__["guid"] = guid
563
640
  __props__.__dict__["last_sent"] = last_sent
564
641
  __props__.__dict__["name"] = name
565
642
  __props__.__dict__["properties"] = properties
643
+ __props__.__dict__["secure_url"] = secure_url
566
644
  __props__.__dict__["status"] = status
567
645
  __props__.__dict__["type"] = type
568
646
  return NotificationDestination(resource_name, opts=opts, __props__=__props__)
@@ -591,6 +669,14 @@ class NotificationDestination(pulumi.CustomResource):
591
669
  """
592
670
  return pulumi.get(self, "auth_basic")
593
671
 
672
+ @property
673
+ @pulumi.getter(name="authCustomHeaders")
674
+ def auth_custom_headers(self) -> pulumi.Output[Optional[Sequence['outputs.NotificationDestinationAuthCustomHeader']]]:
675
+ """
676
+ 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.
677
+ """
678
+ return pulumi.get(self, "auth_custom_headers")
679
+
594
680
  @property
595
681
  @pulumi.getter(name="authToken")
596
682
  def auth_token(self) -> pulumi.Output[Optional['outputs.NotificationDestinationAuthToken']]:
@@ -631,6 +717,14 @@ class NotificationDestination(pulumi.CustomResource):
631
717
  """
632
718
  return pulumi.get(self, "properties")
633
719
 
720
+ @property
721
+ @pulumi.getter(name="secureUrl")
722
+ def secure_url(self) -> pulumi.Output[Optional['outputs.NotificationDestinationSecureUrl']]:
723
+ """
724
+ 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.
725
+ """
726
+ return pulumi.get(self, "secure_url")
727
+
634
728
  @property
635
729
  @pulumi.getter
636
730
  def status(self) -> pulumi.Output[str]:
@@ -24,8 +24,10 @@ __all__ = [
24
24
  'MonitorDowntimeFrequencyDaysOfWeek',
25
25
  'NotificationChannelProperty',
26
26
  'NotificationDestinationAuthBasic',
27
+ 'NotificationDestinationAuthCustomHeader',
27
28
  'NotificationDestinationAuthToken',
28
29
  'NotificationDestinationProperty',
30
+ 'NotificationDestinationSecureUrl',
29
31
  'NrqlAlertConditionCritical',
30
32
  'NrqlAlertConditionNrql',
31
33
  'NrqlAlertConditionTerm',
@@ -168,6 +170,7 @@ __all__ = [
168
170
  'GetAlertChannelConfigResult',
169
171
  'GetEntityTagResult',
170
172
  'GetNotificationDestinationPropertyResult',
173
+ 'GetNotificationDestinationSecureUrlResult',
171
174
  'GetTestGrokPatternTestGrokResult',
172
175
  'GetTestGrokPatternTestGrokAttributeResult',
173
176
  ]
@@ -1093,6 +1096,25 @@ class NotificationDestinationAuthBasic(dict):
1093
1096
  return pulumi.get(self, "user")
1094
1097
 
1095
1098
 
1099
+ @pulumi.output_type
1100
+ class NotificationDestinationAuthCustomHeader(dict):
1101
+ def __init__(__self__, *,
1102
+ key: str,
1103
+ value: str):
1104
+ pulumi.set(__self__, "key", key)
1105
+ pulumi.set(__self__, "value", value)
1106
+
1107
+ @property
1108
+ @pulumi.getter
1109
+ def key(self) -> str:
1110
+ return pulumi.get(self, "key")
1111
+
1112
+ @property
1113
+ @pulumi.getter
1114
+ def value(self) -> str:
1115
+ return pulumi.get(self, "value")
1116
+
1117
+
1096
1118
  @pulumi.output_type
1097
1119
  class NotificationDestinationAuthToken(dict):
1098
1120
  def __init__(__self__, *,
@@ -1183,6 +1205,42 @@ class NotificationDestinationProperty(dict):
1183
1205
  return pulumi.get(self, "label")
1184
1206
 
1185
1207
 
1208
+ @pulumi.output_type
1209
+ class NotificationDestinationSecureUrl(dict):
1210
+ @staticmethod
1211
+ def __key_warning(key: str):
1212
+ suggest = None
1213
+ if key == "secureSuffix":
1214
+ suggest = "secure_suffix"
1215
+
1216
+ if suggest:
1217
+ pulumi.log.warn(f"Key '{key}' not found in NotificationDestinationSecureUrl. Access the value via the '{suggest}' property getter instead.")
1218
+
1219
+ def __getitem__(self, key: str) -> Any:
1220
+ NotificationDestinationSecureUrl.__key_warning(key)
1221
+ return super().__getitem__(key)
1222
+
1223
+ def get(self, key: str, default = None) -> Any:
1224
+ NotificationDestinationSecureUrl.__key_warning(key)
1225
+ return super().get(key, default)
1226
+
1227
+ def __init__(__self__, *,
1228
+ prefix: str,
1229
+ secure_suffix: str):
1230
+ pulumi.set(__self__, "prefix", prefix)
1231
+ pulumi.set(__self__, "secure_suffix", secure_suffix)
1232
+
1233
+ @property
1234
+ @pulumi.getter
1235
+ def prefix(self) -> str:
1236
+ return pulumi.get(self, "prefix")
1237
+
1238
+ @property
1239
+ @pulumi.getter(name="secureSuffix")
1240
+ def secure_suffix(self) -> str:
1241
+ return pulumi.get(self, "secure_suffix")
1242
+
1243
+
1186
1244
  @pulumi.output_type
1187
1245
  class NrqlAlertConditionCritical(dict):
1188
1246
  @staticmethod
@@ -11011,6 +11069,18 @@ class GetNotificationDestinationPropertyResult(dict):
11011
11069
  return pulumi.get(self, "label")
11012
11070
 
11013
11071
 
11072
+ @pulumi.output_type
11073
+ class GetNotificationDestinationSecureUrlResult(dict):
11074
+ def __init__(__self__, *,
11075
+ prefix: str):
11076
+ pulumi.set(__self__, "prefix", prefix)
11077
+
11078
+ @property
11079
+ @pulumi.getter
11080
+ def prefix(self) -> str:
11081
+ return pulumi.get(self, "prefix")
11082
+
11083
+
11014
11084
  @pulumi.output_type
11015
11085
  class GetTestGrokPatternTestGrokResult(dict):
11016
11086
  def __init__(__self__, *,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pulumi_newrelic
3
- Version: 5.23.0a1713975814
3
+ Version: 5.23.1
4
4
  Summary: A Pulumi package for creating and managing New Relic resources.
5
5
  License: Apache-2.0
6
6
  Project-URL: Homepage, https://pulumi.io
@@ -1,5 +1,5 @@
1
1
  pulumi_newrelic/__init__.py,sha256=Ekxa_c_Z6YcPWbvb7FFvd3lBPGRctMTA9rQGGzd13Ts,11328
2
- pulumi_newrelic/_inputs.py,sha256=xVuguSu3MlcWWk9oObtOVHoYTdIRKmo4FAR8sqvINYQ,466979
2
+ pulumi_newrelic/_inputs.py,sha256=5DQRGOqITjKYcP6BTtM27bI_X64ygTDvb6hsk0Yb28I,469022
3
3
  pulumi_newrelic/_utilities.py,sha256=b6gJn0IIeM1t6Q7EVjqw3yhuGyP-uENQhtL5yp7aHR8,9248
4
4
  pulumi_newrelic/account_management.py,sha256=8mWtlTu8uP0x-4CVfAVL5kjuElnyNUeLHBqVNfIcyQc,8817
5
5
  pulumi_newrelic/alert_channel.py,sha256=4sodQakUyfi7kCLMkyN6mqCJbGjwPalyScDfEvLenlw,20130
@@ -21,7 +21,7 @@ pulumi_newrelic/get_cloud_account.py,sha256=8yAYziHYdHd1wIfNggdgI_wLq39amS3_f4eW
21
21
  pulumi_newrelic/get_entity.py,sha256=HSdSIT7Vlq2NkxHftz0g5Givm9yz_f904Nso1ZMbu4Q,17826
22
22
  pulumi_newrelic/get_group.py,sha256=pjW9nJr7tPPyi5YKev_VRyccEmQ_qGd6J8ZyWVxy33g,7783
23
23
  pulumi_newrelic/get_key_transaction.py,sha256=E9z8R6wWYQiUS7PH3UOkLcmK0OfjWH2z0eClyF0nEdk,4043
24
- pulumi_newrelic/get_notification_destination.py,sha256=0xLd5ibPy8VNvBHBLss_GIXu50Zd9A8mxzeF4e9-57E,6799
24
+ pulumi_newrelic/get_notification_destination.py,sha256=lJ8svnaWcChmiqQ0Y56DEvG20tr5kbdtqeQwQcI2aoo,8152
25
25
  pulumi_newrelic/get_obfuscation_expression.py,sha256=hCE-wwCU7lej_Pw15i8lfvkUmHQQhWAidpi82ZitIss,4917
26
26
  pulumi_newrelic/get_service_level_alert_helper.py,sha256=l72tQXioD-T_aNC6kVZbbB4lJgN-94i3Uw1fjxUExFo,18514
27
27
  pulumi_newrelic/get_test_grok_pattern.py,sha256=urF_I5IB_XA9BCvM9Ee0o1bqb1NCPbXF-HiWtHKP_4E,5538
@@ -31,7 +31,7 @@ pulumi_newrelic/infra_alert_condition.py,sha256=cGdWtqvz7Ld5JesxiH3rV5YbM2yYEJAL
31
31
  pulumi_newrelic/log_parsing_rule.py,sha256=Ps-UJnwoOo7TBMslGcZ1EcZVKDvQQYBgn2LHh-Kvl8E,22408
32
32
  pulumi_newrelic/monitor_downtime.py,sha256=s8uoNz56k4wkJlA4rPX2DADtFKPbWKwgMITWReYtw-w,40928
33
33
  pulumi_newrelic/notification_channel.py,sha256=qy-eLwW6xA857SMH4WJ-nmiFse1WpVTp4IJvZEwUQfo,45688
34
- pulumi_newrelic/notification_destination.py,sha256=oayzxqHXi2D20EqVrAkGlc-hSgdr9yqW342tktN8aVw,29443
34
+ pulumi_newrelic/notification_destination.py,sha256=8V3jTvxW4PI5tk7_-cJ6z23JXJ_hUmPRLXqS6Y20nMo,37505
35
35
  pulumi_newrelic/nrql_alert_condition.py,sha256=y5IQOybMgrrxu8rWws5EtldfcLUZGA01KBOJdWBOZe8,105429
36
36
  pulumi_newrelic/nrql_drop_rule.py,sha256=cl8nfgktPfJla-o08reMG_XsHvSrK7BMQPbH4BS2Kmk,16861
37
37
  pulumi_newrelic/obfuscation_expression.py,sha256=xKG8CiFqJq7Fi1nN5xpjDK3poMwmWPakhuZHlk3vYGk,12339
@@ -39,7 +39,7 @@ pulumi_newrelic/obfuscation_rule.py,sha256=twPhKLnjSBbFxo1-uXryxNlXMrGIfs96PayPc
39
39
  pulumi_newrelic/one_dashboard.py,sha256=l2yM7Hyv7pwSmUeaJdFyXylcZu8aozJZ4f3e7RHg-8Y,18619
40
40
  pulumi_newrelic/one_dashboard_json.py,sha256=nol5XYIGnZImO2UfE3QbQVSMTxlC4FlVLf0VzuNALJU,12622
41
41
  pulumi_newrelic/one_dashboard_raw.py,sha256=mNTkXiLiQhRbR3K1xgeDNuHfqfh1Wdjo1aIhc_YuP0g,23542
42
- pulumi_newrelic/outputs.py,sha256=PoQWsY4-0WiTA9hsDmhUqesLgXy5Kzh2HMqQ4fBtzNE,460532
42
+ pulumi_newrelic/outputs.py,sha256=lWhlJbjochotbpy8aI7KaiRMY5sGUO75AyR8n41uNyc,462547
43
43
  pulumi_newrelic/provider.py,sha256=VPXhUfFLSVoIFew1P_oy7pHeondN5LbHsLoLqD3z7qs,19536
44
44
  pulumi_newrelic/pulumi-plugin.json,sha256=BB2nuoRbgCmufIppkKjSbeCa7oIqt8NBakO_A4QV0Pk,45
45
45
  pulumi_newrelic/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -83,7 +83,7 @@ pulumi_newrelic/synthetics/private_location.py,sha256=BluQDtDlZIB_cS8bElkn80Szd_
83
83
  pulumi_newrelic/synthetics/script_monitor.py,sha256=r6x4DkgvJhlpKqwuenbPQymM0UUMIq_3V2ceHg8176c,53043
84
84
  pulumi_newrelic/synthetics/secure_credential.py,sha256=ZRn9HLFuwBPIS-kCoe-HvqogKnlhgBzZ4hAy3J0mpaY,15238
85
85
  pulumi_newrelic/synthetics/step_monitor.py,sha256=O6E8TWO-Fgy9OE0B2bN1mTvudq2hfk6h9HRpSHv0hjU,44357
86
- pulumi_newrelic-5.23.0a1713975814.dist-info/METADATA,sha256=3hu5syXYNIKF5ArxNdfIuWcElcDp2Lz4ARijFLmF3d8,3900
87
- pulumi_newrelic-5.23.0a1713975814.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
88
- pulumi_newrelic-5.23.0a1713975814.dist-info/top_level.txt,sha256=BjE1Wsu6Ah_A7k08uV5vRSZ2R_5uY3wFvSWJaa7ZoQk,16
89
- pulumi_newrelic-5.23.0a1713975814.dist-info/RECORD,,
86
+ pulumi_newrelic-5.23.1.dist-info/METADATA,sha256=i3jr4YtQsMvAQR-FOb9Ud1bhBEGyPSccYiTOxCAOIYs,3889
87
+ pulumi_newrelic-5.23.1.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
88
+ pulumi_newrelic-5.23.1.dist-info/top_level.txt,sha256=BjE1Wsu6Ah_A7k08uV5vRSZ2R_5uY3wFvSWJaa7ZoQk,16
89
+ pulumi_newrelic-5.23.1.dist-info/RECORD,,