pulumi-newrelic 5.49.0a1753337775__py3-none-any.whl → 5.49.0a1753398082__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of pulumi-newrelic might be problematic. Click here for more details.

Files changed (89) hide show
  1. pulumi_newrelic/__init__.py +1 -1
  2. pulumi_newrelic/_inputs.py +3759 -3760
  3. pulumi_newrelic/account_management.py +35 -36
  4. pulumi_newrelic/alert_channel.py +55 -56
  5. pulumi_newrelic/alert_condition.py +217 -218
  6. pulumi_newrelic/alert_muting_rule.py +92 -93
  7. pulumi_newrelic/alert_policy.py +69 -70
  8. pulumi_newrelic/alert_policy_channel.py +52 -53
  9. pulumi_newrelic/api_access_key.py +112 -113
  10. pulumi_newrelic/browser_application.py +113 -114
  11. pulumi_newrelic/cloud/__init__.py +1 -1
  12. pulumi_newrelic/cloud/_inputs.py +2129 -2130
  13. pulumi_newrelic/cloud/aws_govcloud_integrations.py +95 -96
  14. pulumi_newrelic/cloud/aws_govcloud_link_account.py +69 -70
  15. pulumi_newrelic/cloud/aws_integrations.py +194 -195
  16. pulumi_newrelic/cloud/aws_link_account.py +69 -70
  17. pulumi_newrelic/cloud/azure_integrations.py +131 -132
  18. pulumi_newrelic/cloud/azure_link_account.py +103 -104
  19. pulumi_newrelic/cloud/gcp_integrations.py +113 -114
  20. pulumi_newrelic/cloud/gcp_link_account.py +52 -53
  21. pulumi_newrelic/cloud/outputs.py +1417 -1418
  22. pulumi_newrelic/config/__init__.py +1 -1
  23. pulumi_newrelic/config/__init__.pyi +1 -2
  24. pulumi_newrelic/config/vars.py +14 -15
  25. pulumi_newrelic/data_partition_rule.py +112 -113
  26. pulumi_newrelic/entity_tags.py +21 -22
  27. pulumi_newrelic/events_to_metrics_rule.py +95 -96
  28. pulumi_newrelic/get_account.py +21 -22
  29. pulumi_newrelic/get_alert_channel.py +20 -21
  30. pulumi_newrelic/get_alert_policy.py +25 -26
  31. pulumi_newrelic/get_application.py +13 -14
  32. pulumi_newrelic/get_authentication_domain.py +9 -10
  33. pulumi_newrelic/get_cloud_account.py +21 -22
  34. pulumi_newrelic/get_entity.py +52 -53
  35. pulumi_newrelic/get_group.py +17 -18
  36. pulumi_newrelic/get_key_transaction.py +25 -26
  37. pulumi_newrelic/get_notification_destination.py +29 -30
  38. pulumi_newrelic/get_obfuscation_expression.py +15 -16
  39. pulumi_newrelic/get_service_level_alert_helper.py +53 -54
  40. pulumi_newrelic/get_test_grok_pattern.py +22 -23
  41. pulumi_newrelic/get_user.py +21 -22
  42. pulumi_newrelic/group.py +52 -53
  43. pulumi_newrelic/infra_alert_condition.py +255 -256
  44. pulumi_newrelic/insights/__init__.py +1 -1
  45. pulumi_newrelic/insights/_inputs.py +32 -33
  46. pulumi_newrelic/insights/event.py +4 -5
  47. pulumi_newrelic/insights/outputs.py +22 -23
  48. pulumi_newrelic/key_transaction.py +104 -105
  49. pulumi_newrelic/log_parsing_rule.py +146 -147
  50. pulumi_newrelic/monitor_downtime.py +143 -144
  51. pulumi_newrelic/notification_channel.py +115 -116
  52. pulumi_newrelic/notification_destination.py +111 -112
  53. pulumi_newrelic/nrql_alert_condition.py +430 -431
  54. pulumi_newrelic/nrql_drop_rule.py +78 -79
  55. pulumi_newrelic/obfuscation_expression.py +69 -70
  56. pulumi_newrelic/obfuscation_rule.py +89 -90
  57. pulumi_newrelic/one_dashboard.py +93 -94
  58. pulumi_newrelic/one_dashboard_json.py +62 -63
  59. pulumi_newrelic/one_dashboard_raw.py +90 -91
  60. pulumi_newrelic/outputs.py +2646 -2647
  61. pulumi_newrelic/plugins/__init__.py +1 -1
  62. pulumi_newrelic/plugins/_inputs.py +158 -159
  63. pulumi_newrelic/plugins/application_settings.py +167 -168
  64. pulumi_newrelic/plugins/outputs.py +108 -109
  65. pulumi_newrelic/plugins/workload.py +131 -132
  66. pulumi_newrelic/provider.py +106 -107
  67. pulumi_newrelic/pulumi-plugin.json +1 -1
  68. pulumi_newrelic/service_level.py +76 -77
  69. pulumi_newrelic/synthetics/__init__.py +1 -1
  70. pulumi_newrelic/synthetics/_inputs.py +127 -128
  71. pulumi_newrelic/synthetics/alert_condition.py +95 -96
  72. pulumi_newrelic/synthetics/broken_links_monitor.py +197 -198
  73. pulumi_newrelic/synthetics/cert_check_monitor.py +205 -206
  74. pulumi_newrelic/synthetics/get_private_location.py +21 -22
  75. pulumi_newrelic/synthetics/get_secure_credential.py +19 -20
  76. pulumi_newrelic/synthetics/monitor.py +378 -379
  77. pulumi_newrelic/synthetics/multi_location_alert_condition.py +118 -119
  78. pulumi_newrelic/synthetics/outputs.py +85 -86
  79. pulumi_newrelic/synthetics/private_location.py +105 -106
  80. pulumi_newrelic/synthetics/script_monitor.py +302 -303
  81. pulumi_newrelic/synthetics/secure_credential.py +86 -87
  82. pulumi_newrelic/synthetics/step_monitor.py +220 -221
  83. pulumi_newrelic/user.py +69 -70
  84. pulumi_newrelic/workflow.py +139 -140
  85. {pulumi_newrelic-5.49.0a1753337775.dist-info → pulumi_newrelic-5.49.0a1753398082.dist-info}/METADATA +1 -1
  86. pulumi_newrelic-5.49.0a1753398082.dist-info/RECORD +90 -0
  87. pulumi_newrelic-5.49.0a1753337775.dist-info/RECORD +0 -90
  88. {pulumi_newrelic-5.49.0a1753337775.dist-info → pulumi_newrelic-5.49.0a1753398082.dist-info}/WHEEL +0 -0
  89. {pulumi_newrelic-5.49.0a1753337775.dist-info → pulumi_newrelic-5.49.0a1753398082.dist-info}/top_level.txt +0 -0
@@ -2,8 +2,7 @@
2
2
  # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
- import builtins
6
- import copy
5
+ import builtins as _builtins
7
6
  import warnings
8
7
  import sys
9
8
  import pulumi
@@ -23,26 +22,26 @@ __all__ = ['NotificationDestinationArgs', 'NotificationDestination']
23
22
  class NotificationDestinationArgs:
24
23
  def __init__(__self__, *,
25
24
  properties: pulumi.Input[Sequence[pulumi.Input['NotificationDestinationPropertyArgs']]],
26
- type: pulumi.Input[builtins.str],
27
- account_id: Optional[pulumi.Input[builtins.str]] = None,
28
- active: Optional[pulumi.Input[builtins.bool]] = None,
25
+ type: pulumi.Input[_builtins.str],
26
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
27
+ active: Optional[pulumi.Input[_builtins.bool]] = None,
29
28
  auth_basic: Optional[pulumi.Input['NotificationDestinationAuthBasicArgs']] = None,
30
29
  auth_custom_headers: Optional[pulumi.Input[Sequence[pulumi.Input['NotificationDestinationAuthCustomHeaderArgs']]]] = None,
31
30
  auth_token: Optional[pulumi.Input['NotificationDestinationAuthTokenArgs']] = None,
32
- name: Optional[pulumi.Input[builtins.str]] = None,
31
+ name: Optional[pulumi.Input[_builtins.str]] = None,
33
32
  secure_url: Optional[pulumi.Input['NotificationDestinationSecureUrlArgs']] = None):
34
33
  """
35
34
  The set of arguments for constructing a NotificationDestination resource.
36
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.
37
- :param pulumi.Input[builtins.str] type: (Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, SERVICE_NOW_APP,
36
+ :param pulumi.Input[_builtins.str] type: (Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, SERVICE_NOW_APP,
38
37
  PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY,
39
38
  MOBILE_PUSH, EVENT_BRIDGE, MICROSOFT_TEAMS, WORKFLOW_AUTOMATION).
40
- :param pulumi.Input[builtins.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.
41
- :param pulumi.Input[builtins.bool] active: Indicates whether the destination is active.
39
+ :param pulumi.Input[_builtins.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.
40
+ :param pulumi.Input[_builtins.bool] active: Indicates whether the destination is active.
42
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.
43
42
  :param pulumi.Input[Sequence[pulumi.Input['NotificationDestinationAuthCustomHeaderArgs']]] auth_custom_headers: A nested block that describes a custom header authentication credentials. This field is required when the destination type is WORKFLOW_AUTOMATION and optional for other destination types. Multiple blocks are permitted per notification destination definition. Nested auth_custom_header blocks below for details.
44
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.
45
- :param pulumi.Input[builtins.str] name: The name of the destination.
44
+ :param pulumi.Input[_builtins.str] name: The name of the destination.
46
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.
47
46
  """
48
47
  pulumi.set(__self__, "properties", properties)
@@ -62,7 +61,7 @@ class NotificationDestinationArgs:
62
61
  if secure_url is not None:
63
62
  pulumi.set(__self__, "secure_url", secure_url)
64
63
 
65
- @property
64
+ @_builtins.property
66
65
  @pulumi.getter
67
66
  def properties(self) -> pulumi.Input[Sequence[pulumi.Input['NotificationDestinationPropertyArgs']]]:
68
67
  """
@@ -74,9 +73,9 @@ class NotificationDestinationArgs:
74
73
  def properties(self, value: pulumi.Input[Sequence[pulumi.Input['NotificationDestinationPropertyArgs']]]):
75
74
  pulumi.set(self, "properties", value)
76
75
 
77
- @property
76
+ @_builtins.property
78
77
  @pulumi.getter
79
- def type(self) -> pulumi.Input[builtins.str]:
78
+ def type(self) -> pulumi.Input[_builtins.str]:
80
79
  """
81
80
  (Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, SERVICE_NOW_APP,
82
81
  PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY,
@@ -85,34 +84,34 @@ class NotificationDestinationArgs:
85
84
  return pulumi.get(self, "type")
86
85
 
87
86
  @type.setter
88
- def type(self, value: pulumi.Input[builtins.str]):
87
+ def type(self, value: pulumi.Input[_builtins.str]):
89
88
  pulumi.set(self, "type", value)
90
89
 
91
- @property
90
+ @_builtins.property
92
91
  @pulumi.getter(name="accountId")
93
- def account_id(self) -> Optional[pulumi.Input[builtins.str]]:
92
+ def account_id(self) -> Optional[pulumi.Input[_builtins.str]]:
94
93
  """
95
94
  Determines the New Relic account where the notification destination will be created. Defaults to the account associated with the API key used.
96
95
  """
97
96
  return pulumi.get(self, "account_id")
98
97
 
99
98
  @account_id.setter
100
- def account_id(self, value: Optional[pulumi.Input[builtins.str]]):
99
+ def account_id(self, value: Optional[pulumi.Input[_builtins.str]]):
101
100
  pulumi.set(self, "account_id", value)
102
101
 
103
- @property
102
+ @_builtins.property
104
103
  @pulumi.getter
105
- def active(self) -> Optional[pulumi.Input[builtins.bool]]:
104
+ def active(self) -> Optional[pulumi.Input[_builtins.bool]]:
106
105
  """
107
106
  Indicates whether the destination is active.
108
107
  """
109
108
  return pulumi.get(self, "active")
110
109
 
111
110
  @active.setter
112
- def active(self, value: Optional[pulumi.Input[builtins.bool]]):
111
+ def active(self, value: Optional[pulumi.Input[_builtins.bool]]):
113
112
  pulumi.set(self, "active", value)
114
113
 
115
- @property
114
+ @_builtins.property
116
115
  @pulumi.getter(name="authBasic")
117
116
  def auth_basic(self) -> Optional[pulumi.Input['NotificationDestinationAuthBasicArgs']]:
118
117
  """
@@ -124,7 +123,7 @@ class NotificationDestinationArgs:
124
123
  def auth_basic(self, value: Optional[pulumi.Input['NotificationDestinationAuthBasicArgs']]):
125
124
  pulumi.set(self, "auth_basic", value)
126
125
 
127
- @property
126
+ @_builtins.property
128
127
  @pulumi.getter(name="authCustomHeaders")
129
128
  def auth_custom_headers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NotificationDestinationAuthCustomHeaderArgs']]]]:
130
129
  """
@@ -136,7 +135,7 @@ class NotificationDestinationArgs:
136
135
  def auth_custom_headers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['NotificationDestinationAuthCustomHeaderArgs']]]]):
137
136
  pulumi.set(self, "auth_custom_headers", value)
138
137
 
139
- @property
138
+ @_builtins.property
140
139
  @pulumi.getter(name="authToken")
141
140
  def auth_token(self) -> Optional[pulumi.Input['NotificationDestinationAuthTokenArgs']]:
142
141
  """
@@ -148,19 +147,19 @@ class NotificationDestinationArgs:
148
147
  def auth_token(self, value: Optional[pulumi.Input['NotificationDestinationAuthTokenArgs']]):
149
148
  pulumi.set(self, "auth_token", value)
150
149
 
151
- @property
150
+ @_builtins.property
152
151
  @pulumi.getter
153
- def name(self) -> Optional[pulumi.Input[builtins.str]]:
152
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
154
153
  """
155
154
  The name of the destination.
156
155
  """
157
156
  return pulumi.get(self, "name")
158
157
 
159
158
  @name.setter
160
- def name(self, value: Optional[pulumi.Input[builtins.str]]):
159
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
161
160
  pulumi.set(self, "name", value)
162
161
 
163
- @property
162
+ @_builtins.property
164
163
  @pulumi.getter(name="secureUrl")
165
164
  def secure_url(self) -> Optional[pulumi.Input['NotificationDestinationSecureUrlArgs']]:
166
165
  """
@@ -176,32 +175,32 @@ class NotificationDestinationArgs:
176
175
  @pulumi.input_type
177
176
  class _NotificationDestinationState:
178
177
  def __init__(__self__, *,
179
- account_id: Optional[pulumi.Input[builtins.str]] = None,
180
- active: Optional[pulumi.Input[builtins.bool]] = None,
178
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
179
+ active: Optional[pulumi.Input[_builtins.bool]] = None,
181
180
  auth_basic: Optional[pulumi.Input['NotificationDestinationAuthBasicArgs']] = None,
182
181
  auth_custom_headers: Optional[pulumi.Input[Sequence[pulumi.Input['NotificationDestinationAuthCustomHeaderArgs']]]] = None,
183
182
  auth_token: Optional[pulumi.Input['NotificationDestinationAuthTokenArgs']] = None,
184
- guid: Optional[pulumi.Input[builtins.str]] = None,
185
- last_sent: Optional[pulumi.Input[builtins.str]] = None,
186
- name: Optional[pulumi.Input[builtins.str]] = None,
183
+ guid: Optional[pulumi.Input[_builtins.str]] = None,
184
+ last_sent: Optional[pulumi.Input[_builtins.str]] = None,
185
+ name: Optional[pulumi.Input[_builtins.str]] = None,
187
186
  properties: Optional[pulumi.Input[Sequence[pulumi.Input['NotificationDestinationPropertyArgs']]]] = None,
188
187
  secure_url: Optional[pulumi.Input['NotificationDestinationSecureUrlArgs']] = None,
189
- status: Optional[pulumi.Input[builtins.str]] = None,
190
- type: Optional[pulumi.Input[builtins.str]] = None):
188
+ status: Optional[pulumi.Input[_builtins.str]] = None,
189
+ type: Optional[pulumi.Input[_builtins.str]] = None):
191
190
  """
192
191
  Input properties used for looking up and filtering NotificationDestination resources.
193
- :param pulumi.Input[builtins.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.
194
- :param pulumi.Input[builtins.bool] active: Indicates whether the destination is active.
192
+ :param pulumi.Input[_builtins.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.
193
+ :param pulumi.Input[_builtins.bool] active: Indicates whether the destination is active.
195
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.
196
195
  :param pulumi.Input[Sequence[pulumi.Input['NotificationDestinationAuthCustomHeaderArgs']]] auth_custom_headers: A nested block that describes a custom header authentication credentials. This field is required when the destination type is WORKFLOW_AUTOMATION and optional for other destination types. Multiple blocks are permitted per notification destination definition. Nested auth_custom_header blocks below for details.
197
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.
198
- :param pulumi.Input[builtins.str] guid: The unique entity identifier of the destination in New Relic.
199
- :param pulumi.Input[builtins.str] last_sent: The last time a notification was sent.
200
- :param pulumi.Input[builtins.str] name: The name of the destination.
197
+ :param pulumi.Input[_builtins.str] guid: The unique entity identifier of the destination in New Relic.
198
+ :param pulumi.Input[_builtins.str] last_sent: The last time a notification was sent.
199
+ :param pulumi.Input[_builtins.str] name: The name of the destination.
201
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.
202
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.
203
- :param pulumi.Input[builtins.str] status: The status of the destination.
204
- :param pulumi.Input[builtins.str] type: (Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, SERVICE_NOW_APP,
202
+ :param pulumi.Input[_builtins.str] status: The status of the destination.
203
+ :param pulumi.Input[_builtins.str] type: (Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, SERVICE_NOW_APP,
205
204
  PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY,
206
205
  MOBILE_PUSH, EVENT_BRIDGE, MICROSOFT_TEAMS, WORKFLOW_AUTOMATION).
207
206
  """
@@ -230,31 +229,31 @@ class _NotificationDestinationState:
230
229
  if type is not None:
231
230
  pulumi.set(__self__, "type", type)
232
231
 
233
- @property
232
+ @_builtins.property
234
233
  @pulumi.getter(name="accountId")
235
- def account_id(self) -> Optional[pulumi.Input[builtins.str]]:
234
+ def account_id(self) -> Optional[pulumi.Input[_builtins.str]]:
236
235
  """
237
236
  Determines the New Relic account where the notification destination will be created. Defaults to the account associated with the API key used.
238
237
  """
239
238
  return pulumi.get(self, "account_id")
240
239
 
241
240
  @account_id.setter
242
- def account_id(self, value: Optional[pulumi.Input[builtins.str]]):
241
+ def account_id(self, value: Optional[pulumi.Input[_builtins.str]]):
243
242
  pulumi.set(self, "account_id", value)
244
243
 
245
- @property
244
+ @_builtins.property
246
245
  @pulumi.getter
247
- def active(self) -> Optional[pulumi.Input[builtins.bool]]:
246
+ def active(self) -> Optional[pulumi.Input[_builtins.bool]]:
248
247
  """
249
248
  Indicates whether the destination is active.
250
249
  """
251
250
  return pulumi.get(self, "active")
252
251
 
253
252
  @active.setter
254
- def active(self, value: Optional[pulumi.Input[builtins.bool]]):
253
+ def active(self, value: Optional[pulumi.Input[_builtins.bool]]):
255
254
  pulumi.set(self, "active", value)
256
255
 
257
- @property
256
+ @_builtins.property
258
257
  @pulumi.getter(name="authBasic")
259
258
  def auth_basic(self) -> Optional[pulumi.Input['NotificationDestinationAuthBasicArgs']]:
260
259
  """
@@ -266,7 +265,7 @@ class _NotificationDestinationState:
266
265
  def auth_basic(self, value: Optional[pulumi.Input['NotificationDestinationAuthBasicArgs']]):
267
266
  pulumi.set(self, "auth_basic", value)
268
267
 
269
- @property
268
+ @_builtins.property
270
269
  @pulumi.getter(name="authCustomHeaders")
271
270
  def auth_custom_headers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NotificationDestinationAuthCustomHeaderArgs']]]]:
272
271
  """
@@ -278,7 +277,7 @@ class _NotificationDestinationState:
278
277
  def auth_custom_headers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['NotificationDestinationAuthCustomHeaderArgs']]]]):
279
278
  pulumi.set(self, "auth_custom_headers", value)
280
279
 
281
- @property
280
+ @_builtins.property
282
281
  @pulumi.getter(name="authToken")
283
282
  def auth_token(self) -> Optional[pulumi.Input['NotificationDestinationAuthTokenArgs']]:
284
283
  """
@@ -290,43 +289,43 @@ class _NotificationDestinationState:
290
289
  def auth_token(self, value: Optional[pulumi.Input['NotificationDestinationAuthTokenArgs']]):
291
290
  pulumi.set(self, "auth_token", value)
292
291
 
293
- @property
292
+ @_builtins.property
294
293
  @pulumi.getter
295
- def guid(self) -> Optional[pulumi.Input[builtins.str]]:
294
+ def guid(self) -> Optional[pulumi.Input[_builtins.str]]:
296
295
  """
297
296
  The unique entity identifier of the destination in New Relic.
298
297
  """
299
298
  return pulumi.get(self, "guid")
300
299
 
301
300
  @guid.setter
302
- def guid(self, value: Optional[pulumi.Input[builtins.str]]):
301
+ def guid(self, value: Optional[pulumi.Input[_builtins.str]]):
303
302
  pulumi.set(self, "guid", value)
304
303
 
305
- @property
304
+ @_builtins.property
306
305
  @pulumi.getter(name="lastSent")
307
- def last_sent(self) -> Optional[pulumi.Input[builtins.str]]:
306
+ def last_sent(self) -> Optional[pulumi.Input[_builtins.str]]:
308
307
  """
309
308
  The last time a notification was sent.
310
309
  """
311
310
  return pulumi.get(self, "last_sent")
312
311
 
313
312
  @last_sent.setter
314
- def last_sent(self, value: Optional[pulumi.Input[builtins.str]]):
313
+ def last_sent(self, value: Optional[pulumi.Input[_builtins.str]]):
315
314
  pulumi.set(self, "last_sent", value)
316
315
 
317
- @property
316
+ @_builtins.property
318
317
  @pulumi.getter
319
- def name(self) -> Optional[pulumi.Input[builtins.str]]:
318
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
320
319
  """
321
320
  The name of the destination.
322
321
  """
323
322
  return pulumi.get(self, "name")
324
323
 
325
324
  @name.setter
326
- def name(self, value: Optional[pulumi.Input[builtins.str]]):
325
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
327
326
  pulumi.set(self, "name", value)
328
327
 
329
- @property
328
+ @_builtins.property
330
329
  @pulumi.getter
331
330
  def properties(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NotificationDestinationPropertyArgs']]]]:
332
331
  """
@@ -338,7 +337,7 @@ class _NotificationDestinationState:
338
337
  def properties(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['NotificationDestinationPropertyArgs']]]]):
339
338
  pulumi.set(self, "properties", value)
340
339
 
341
- @property
340
+ @_builtins.property
342
341
  @pulumi.getter(name="secureUrl")
343
342
  def secure_url(self) -> Optional[pulumi.Input['NotificationDestinationSecureUrlArgs']]:
344
343
  """
@@ -350,21 +349,21 @@ class _NotificationDestinationState:
350
349
  def secure_url(self, value: Optional[pulumi.Input['NotificationDestinationSecureUrlArgs']]):
351
350
  pulumi.set(self, "secure_url", value)
352
351
 
353
- @property
352
+ @_builtins.property
354
353
  @pulumi.getter
355
- def status(self) -> Optional[pulumi.Input[builtins.str]]:
354
+ def status(self) -> Optional[pulumi.Input[_builtins.str]]:
356
355
  """
357
356
  The status of the destination.
358
357
  """
359
358
  return pulumi.get(self, "status")
360
359
 
361
360
  @status.setter
362
- def status(self, value: Optional[pulumi.Input[builtins.str]]):
361
+ def status(self, value: Optional[pulumi.Input[_builtins.str]]):
363
362
  pulumi.set(self, "status", value)
364
363
 
365
- @property
364
+ @_builtins.property
366
365
  @pulumi.getter
367
- def type(self) -> Optional[pulumi.Input[builtins.str]]:
366
+ def type(self) -> Optional[pulumi.Input[_builtins.str]]:
368
367
  """
369
368
  (Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, SERVICE_NOW_APP,
370
369
  PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY,
@@ -373,7 +372,7 @@ class _NotificationDestinationState:
373
372
  return pulumi.get(self, "type")
374
373
 
375
374
  @type.setter
376
- def type(self, value: Optional[pulumi.Input[builtins.str]]):
375
+ def type(self, value: Optional[pulumi.Input[_builtins.str]]):
377
376
  pulumi.set(self, "type", value)
378
377
 
379
378
 
@@ -383,15 +382,15 @@ class NotificationDestination(pulumi.CustomResource):
383
382
  def __init__(__self__,
384
383
  resource_name: str,
385
384
  opts: Optional[pulumi.ResourceOptions] = None,
386
- account_id: Optional[pulumi.Input[builtins.str]] = None,
387
- active: Optional[pulumi.Input[builtins.bool]] = None,
385
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
386
+ active: Optional[pulumi.Input[_builtins.bool]] = None,
388
387
  auth_basic: Optional[pulumi.Input[Union['NotificationDestinationAuthBasicArgs', 'NotificationDestinationAuthBasicArgsDict']]] = None,
389
388
  auth_custom_headers: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NotificationDestinationAuthCustomHeaderArgs', 'NotificationDestinationAuthCustomHeaderArgsDict']]]]] = None,
390
389
  auth_token: Optional[pulumi.Input[Union['NotificationDestinationAuthTokenArgs', 'NotificationDestinationAuthTokenArgsDict']]] = None,
391
- name: Optional[pulumi.Input[builtins.str]] = None,
390
+ name: Optional[pulumi.Input[_builtins.str]] = None,
392
391
  properties: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NotificationDestinationPropertyArgs', 'NotificationDestinationPropertyArgsDict']]]]] = None,
393
392
  secure_url: Optional[pulumi.Input[Union['NotificationDestinationSecureUrlArgs', 'NotificationDestinationSecureUrlArgsDict']]] = None,
394
- type: Optional[pulumi.Input[builtins.str]] = None,
393
+ type: Optional[pulumi.Input[_builtins.str]] = None,
395
394
  __props__=None):
396
395
  """
397
396
  ## Import
@@ -464,15 +463,15 @@ class NotificationDestination(pulumi.CustomResource):
464
463
 
465
464
  :param str resource_name: The name of the resource.
466
465
  :param pulumi.ResourceOptions opts: Options for the resource.
467
- :param pulumi.Input[builtins.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.
468
- :param pulumi.Input[builtins.bool] active: Indicates whether the destination is active.
466
+ :param pulumi.Input[_builtins.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.
467
+ :param pulumi.Input[_builtins.bool] active: Indicates whether the destination is active.
469
468
  :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.
470
469
  :param pulumi.Input[Sequence[pulumi.Input[Union['NotificationDestinationAuthCustomHeaderArgs', 'NotificationDestinationAuthCustomHeaderArgsDict']]]] auth_custom_headers: A nested block that describes a custom header authentication credentials. This field is required when the destination type is WORKFLOW_AUTOMATION and optional for other destination types. Multiple blocks are permitted per notification destination definition. Nested auth_custom_header blocks below for details.
471
470
  :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.
472
- :param pulumi.Input[builtins.str] name: The name of the destination.
471
+ :param pulumi.Input[_builtins.str] name: The name of the destination.
473
472
  :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.
474
473
  :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.
475
- :param pulumi.Input[builtins.str] type: (Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, SERVICE_NOW_APP,
474
+ :param pulumi.Input[_builtins.str] type: (Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, SERVICE_NOW_APP,
476
475
  PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY,
477
476
  MOBILE_PUSH, EVENT_BRIDGE, MICROSOFT_TEAMS, WORKFLOW_AUTOMATION).
478
477
  """
@@ -566,15 +565,15 @@ class NotificationDestination(pulumi.CustomResource):
566
565
  def _internal_init(__self__,
567
566
  resource_name: str,
568
567
  opts: Optional[pulumi.ResourceOptions] = None,
569
- account_id: Optional[pulumi.Input[builtins.str]] = None,
570
- active: Optional[pulumi.Input[builtins.bool]] = None,
568
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
569
+ active: Optional[pulumi.Input[_builtins.bool]] = None,
571
570
  auth_basic: Optional[pulumi.Input[Union['NotificationDestinationAuthBasicArgs', 'NotificationDestinationAuthBasicArgsDict']]] = None,
572
571
  auth_custom_headers: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NotificationDestinationAuthCustomHeaderArgs', 'NotificationDestinationAuthCustomHeaderArgsDict']]]]] = None,
573
572
  auth_token: Optional[pulumi.Input[Union['NotificationDestinationAuthTokenArgs', 'NotificationDestinationAuthTokenArgsDict']]] = None,
574
- name: Optional[pulumi.Input[builtins.str]] = None,
573
+ name: Optional[pulumi.Input[_builtins.str]] = None,
575
574
  properties: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NotificationDestinationPropertyArgs', 'NotificationDestinationPropertyArgsDict']]]]] = None,
576
575
  secure_url: Optional[pulumi.Input[Union['NotificationDestinationSecureUrlArgs', 'NotificationDestinationSecureUrlArgsDict']]] = None,
577
- type: Optional[pulumi.Input[builtins.str]] = None,
576
+ type: Optional[pulumi.Input[_builtins.str]] = None,
578
577
  __props__=None):
579
578
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
580
579
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -610,18 +609,18 @@ class NotificationDestination(pulumi.CustomResource):
610
609
  def get(resource_name: str,
611
610
  id: pulumi.Input[str],
612
611
  opts: Optional[pulumi.ResourceOptions] = None,
613
- account_id: Optional[pulumi.Input[builtins.str]] = None,
614
- active: Optional[pulumi.Input[builtins.bool]] = None,
612
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
613
+ active: Optional[pulumi.Input[_builtins.bool]] = None,
615
614
  auth_basic: Optional[pulumi.Input[Union['NotificationDestinationAuthBasicArgs', 'NotificationDestinationAuthBasicArgsDict']]] = None,
616
615
  auth_custom_headers: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NotificationDestinationAuthCustomHeaderArgs', 'NotificationDestinationAuthCustomHeaderArgsDict']]]]] = None,
617
616
  auth_token: Optional[pulumi.Input[Union['NotificationDestinationAuthTokenArgs', 'NotificationDestinationAuthTokenArgsDict']]] = None,
618
- guid: Optional[pulumi.Input[builtins.str]] = None,
619
- last_sent: Optional[pulumi.Input[builtins.str]] = None,
620
- name: Optional[pulumi.Input[builtins.str]] = None,
617
+ guid: Optional[pulumi.Input[_builtins.str]] = None,
618
+ last_sent: Optional[pulumi.Input[_builtins.str]] = None,
619
+ name: Optional[pulumi.Input[_builtins.str]] = None,
621
620
  properties: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NotificationDestinationPropertyArgs', 'NotificationDestinationPropertyArgsDict']]]]] = None,
622
621
  secure_url: Optional[pulumi.Input[Union['NotificationDestinationSecureUrlArgs', 'NotificationDestinationSecureUrlArgsDict']]] = None,
623
- status: Optional[pulumi.Input[builtins.str]] = None,
624
- type: Optional[pulumi.Input[builtins.str]] = None) -> 'NotificationDestination':
622
+ status: Optional[pulumi.Input[_builtins.str]] = None,
623
+ type: Optional[pulumi.Input[_builtins.str]] = None) -> 'NotificationDestination':
625
624
  """
626
625
  Get an existing NotificationDestination resource's state with the given name, id, and optional extra
627
626
  properties used to qualify the lookup.
@@ -629,18 +628,18 @@ class NotificationDestination(pulumi.CustomResource):
629
628
  :param str resource_name: The unique name of the resulting resource.
630
629
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
631
630
  :param pulumi.ResourceOptions opts: Options for the resource.
632
- :param pulumi.Input[builtins.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.
633
- :param pulumi.Input[builtins.bool] active: Indicates whether the destination is active.
631
+ :param pulumi.Input[_builtins.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.
632
+ :param pulumi.Input[_builtins.bool] active: Indicates whether the destination is active.
634
633
  :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.
635
634
  :param pulumi.Input[Sequence[pulumi.Input[Union['NotificationDestinationAuthCustomHeaderArgs', 'NotificationDestinationAuthCustomHeaderArgsDict']]]] auth_custom_headers: A nested block that describes a custom header authentication credentials. This field is required when the destination type is WORKFLOW_AUTOMATION and optional for other destination types. Multiple blocks are permitted per notification destination definition. Nested auth_custom_header blocks below for details.
636
635
  :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.
637
- :param pulumi.Input[builtins.str] guid: The unique entity identifier of the destination in New Relic.
638
- :param pulumi.Input[builtins.str] last_sent: The last time a notification was sent.
639
- :param pulumi.Input[builtins.str] name: The name of the destination.
636
+ :param pulumi.Input[_builtins.str] guid: The unique entity identifier of the destination in New Relic.
637
+ :param pulumi.Input[_builtins.str] last_sent: The last time a notification was sent.
638
+ :param pulumi.Input[_builtins.str] name: The name of the destination.
640
639
  :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.
641
640
  :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.
642
- :param pulumi.Input[builtins.str] status: The status of the destination.
643
- :param pulumi.Input[builtins.str] type: (Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, SERVICE_NOW_APP,
641
+ :param pulumi.Input[_builtins.str] status: The status of the destination.
642
+ :param pulumi.Input[_builtins.str] type: (Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, SERVICE_NOW_APP,
644
643
  PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY,
645
644
  MOBILE_PUSH, EVENT_BRIDGE, MICROSOFT_TEAMS, WORKFLOW_AUTOMATION).
646
645
  """
@@ -662,23 +661,23 @@ class NotificationDestination(pulumi.CustomResource):
662
661
  __props__.__dict__["type"] = type
663
662
  return NotificationDestination(resource_name, opts=opts, __props__=__props__)
664
663
 
665
- @property
664
+ @_builtins.property
666
665
  @pulumi.getter(name="accountId")
667
- def account_id(self) -> pulumi.Output[builtins.str]:
666
+ def account_id(self) -> pulumi.Output[_builtins.str]:
668
667
  """
669
668
  Determines the New Relic account where the notification destination will be created. Defaults to the account associated with the API key used.
670
669
  """
671
670
  return pulumi.get(self, "account_id")
672
671
 
673
- @property
672
+ @_builtins.property
674
673
  @pulumi.getter
675
- def active(self) -> pulumi.Output[Optional[builtins.bool]]:
674
+ def active(self) -> pulumi.Output[Optional[_builtins.bool]]:
676
675
  """
677
676
  Indicates whether the destination is active.
678
677
  """
679
678
  return pulumi.get(self, "active")
680
679
 
681
- @property
680
+ @_builtins.property
682
681
  @pulumi.getter(name="authBasic")
683
682
  def auth_basic(self) -> pulumi.Output[Optional['outputs.NotificationDestinationAuthBasic']]:
684
683
  """
@@ -686,7 +685,7 @@ class NotificationDestination(pulumi.CustomResource):
686
685
  """
687
686
  return pulumi.get(self, "auth_basic")
688
687
 
689
- @property
688
+ @_builtins.property
690
689
  @pulumi.getter(name="authCustomHeaders")
691
690
  def auth_custom_headers(self) -> pulumi.Output[Optional[Sequence['outputs.NotificationDestinationAuthCustomHeader']]]:
692
691
  """
@@ -694,7 +693,7 @@ class NotificationDestination(pulumi.CustomResource):
694
693
  """
695
694
  return pulumi.get(self, "auth_custom_headers")
696
695
 
697
- @property
696
+ @_builtins.property
698
697
  @pulumi.getter(name="authToken")
699
698
  def auth_token(self) -> pulumi.Output[Optional['outputs.NotificationDestinationAuthToken']]:
700
699
  """
@@ -702,31 +701,31 @@ class NotificationDestination(pulumi.CustomResource):
702
701
  """
703
702
  return pulumi.get(self, "auth_token")
704
703
 
705
- @property
704
+ @_builtins.property
706
705
  @pulumi.getter
707
- def guid(self) -> pulumi.Output[builtins.str]:
706
+ def guid(self) -> pulumi.Output[_builtins.str]:
708
707
  """
709
708
  The unique entity identifier of the destination in New Relic.
710
709
  """
711
710
  return pulumi.get(self, "guid")
712
711
 
713
- @property
712
+ @_builtins.property
714
713
  @pulumi.getter(name="lastSent")
715
- def last_sent(self) -> pulumi.Output[builtins.str]:
714
+ def last_sent(self) -> pulumi.Output[_builtins.str]:
716
715
  """
717
716
  The last time a notification was sent.
718
717
  """
719
718
  return pulumi.get(self, "last_sent")
720
719
 
721
- @property
720
+ @_builtins.property
722
721
  @pulumi.getter
723
- def name(self) -> pulumi.Output[builtins.str]:
722
+ def name(self) -> pulumi.Output[_builtins.str]:
724
723
  """
725
724
  The name of the destination.
726
725
  """
727
726
  return pulumi.get(self, "name")
728
727
 
729
- @property
728
+ @_builtins.property
730
729
  @pulumi.getter
731
730
  def properties(self) -> pulumi.Output[Sequence['outputs.NotificationDestinationProperty']]:
732
731
  """
@@ -734,7 +733,7 @@ class NotificationDestination(pulumi.CustomResource):
734
733
  """
735
734
  return pulumi.get(self, "properties")
736
735
 
737
- @property
736
+ @_builtins.property
738
737
  @pulumi.getter(name="secureUrl")
739
738
  def secure_url(self) -> pulumi.Output[Optional['outputs.NotificationDestinationSecureUrl']]:
740
739
  """
@@ -742,17 +741,17 @@ class NotificationDestination(pulumi.CustomResource):
742
741
  """
743
742
  return pulumi.get(self, "secure_url")
744
743
 
745
- @property
744
+ @_builtins.property
746
745
  @pulumi.getter
747
- def status(self) -> pulumi.Output[builtins.str]:
746
+ def status(self) -> pulumi.Output[_builtins.str]:
748
747
  """
749
748
  The status of the destination.
750
749
  """
751
750
  return pulumi.get(self, "status")
752
751
 
753
- @property
752
+ @_builtins.property
754
753
  @pulumi.getter
755
- def type(self) -> pulumi.Output[builtins.str]:
754
+ def type(self) -> pulumi.Output[_builtins.str]:
756
755
  """
757
756
  (Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, SERVICE_NOW_APP,
758
757
  PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY,