pulumi-newrelic 5.42.1__py3-none-any.whl → 5.58.0a1766556761__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.
Files changed (92) hide show
  1. pulumi_newrelic/__init__.py +19 -1
  2. pulumi_newrelic/_inputs.py +4314 -3779
  3. pulumi_newrelic/_utilities.py +1 -1
  4. pulumi_newrelic/account_management.py +37 -36
  5. pulumi_newrelic/alert_channel.py +63 -62
  6. pulumi_newrelic/alert_condition.py +219 -218
  7. pulumi_newrelic/alert_muting_rule.py +96 -95
  8. pulumi_newrelic/alert_policy.py +71 -70
  9. pulumi_newrelic/alert_policy_channel.py +54 -53
  10. pulumi_newrelic/api_access_key.py +186 -201
  11. pulumi_newrelic/browser_application.py +115 -114
  12. pulumi_newrelic/cloud/__init__.py +3 -1
  13. pulumi_newrelic/cloud/_inputs.py +2226 -2118
  14. pulumi_newrelic/cloud/aws_govcloud_integrations.py +101 -96
  15. pulumi_newrelic/cloud/aws_govcloud_link_account.py +71 -70
  16. pulumi_newrelic/cloud/aws_integrations.py +240 -192
  17. pulumi_newrelic/cloud/aws_link_account.py +71 -70
  18. pulumi_newrelic/cloud/azure_integrations.py +180 -132
  19. pulumi_newrelic/cloud/azure_link_account.py +105 -104
  20. pulumi_newrelic/cloud/gcp_integrations.py +115 -114
  21. pulumi_newrelic/cloud/gcp_link_account.py +56 -55
  22. pulumi_newrelic/cloud/oci_link_account.py +926 -0
  23. pulumi_newrelic/cloud/outputs.py +1512 -1410
  24. pulumi_newrelic/config/__init__.py +2 -1
  25. pulumi_newrelic/config/__init__.pyi +2 -2
  26. pulumi_newrelic/config/vars.py +15 -15
  27. pulumi_newrelic/data_partition_rule.py +114 -113
  28. pulumi_newrelic/entity_tags.py +79 -22
  29. pulumi_newrelic/events_to_metrics_rule.py +97 -96
  30. pulumi_newrelic/get_account.py +22 -22
  31. pulumi_newrelic/get_alert_channel.py +53 -21
  32. pulumi_newrelic/get_alert_policy.py +52 -26
  33. pulumi_newrelic/get_application.py +14 -14
  34. pulumi_newrelic/get_authentication_domain.py +10 -10
  35. pulumi_newrelic/get_cloud_account.py +22 -22
  36. pulumi_newrelic/get_entity.py +53 -53
  37. pulumi_newrelic/get_group.py +22 -22
  38. pulumi_newrelic/get_key_transaction.py +26 -26
  39. pulumi_newrelic/get_notification_destination.py +31 -31
  40. pulumi_newrelic/get_obfuscation_expression.py +16 -16
  41. pulumi_newrelic/get_service_level_alert_helper.py +54 -54
  42. pulumi_newrelic/get_test_grok_pattern.py +23 -23
  43. pulumi_newrelic/get_user.py +22 -22
  44. pulumi_newrelic/group.py +54 -53
  45. pulumi_newrelic/infra_alert_condition.py +257 -256
  46. pulumi_newrelic/insights/__init__.py +2 -1
  47. pulumi_newrelic/insights/_inputs.py +33 -33
  48. pulumi_newrelic/insights/event.py +6 -5
  49. pulumi_newrelic/insights/outputs.py +23 -23
  50. pulumi_newrelic/key_transaction.py +106 -105
  51. pulumi_newrelic/log_parsing_rule.py +148 -147
  52. pulumi_newrelic/monitor_downtime.py +148 -154
  53. pulumi_newrelic/notification_channel.py +218 -163
  54. pulumi_newrelic/notification_destination.py +123 -136
  55. pulumi_newrelic/nrql_alert_condition.py +513 -414
  56. pulumi_newrelic/nrql_drop_rule.py +108 -147
  57. pulumi_newrelic/obfuscation_expression.py +71 -70
  58. pulumi_newrelic/obfuscation_rule.py +91 -90
  59. pulumi_newrelic/one_dashboard.py +95 -94
  60. pulumi_newrelic/one_dashboard_json.py +64 -63
  61. pulumi_newrelic/one_dashboard_raw.py +116 -115
  62. pulumi_newrelic/outputs.py +3026 -2665
  63. pulumi_newrelic/pipeline_cloud_rule.py +335 -0
  64. pulumi_newrelic/plugins/__init__.py +2 -1
  65. pulumi_newrelic/plugins/_inputs.py +159 -159
  66. pulumi_newrelic/plugins/application_settings.py +186 -171
  67. pulumi_newrelic/plugins/outputs.py +109 -109
  68. pulumi_newrelic/plugins/workload.py +133 -132
  69. pulumi_newrelic/provider.py +136 -116
  70. pulumi_newrelic/pulumi-plugin.json +1 -1
  71. pulumi_newrelic/service_level.py +78 -77
  72. pulumi_newrelic/synthetics/__init__.py +2 -1
  73. pulumi_newrelic/synthetics/_inputs.py +128 -128
  74. pulumi_newrelic/synthetics/alert_condition.py +97 -96
  75. pulumi_newrelic/synthetics/broken_links_monitor.py +218 -189
  76. pulumi_newrelic/synthetics/cert_check_monitor.py +226 -197
  77. pulumi_newrelic/synthetics/get_private_location.py +22 -22
  78. pulumi_newrelic/synthetics/get_secure_credential.py +20 -20
  79. pulumi_newrelic/synthetics/monitor.py +399 -370
  80. pulumi_newrelic/synthetics/multi_location_alert_condition.py +120 -119
  81. pulumi_newrelic/synthetics/outputs.py +86 -86
  82. pulumi_newrelic/synthetics/private_location.py +107 -106
  83. pulumi_newrelic/synthetics/script_monitor.py +385 -294
  84. pulumi_newrelic/synthetics/secure_credential.py +88 -87
  85. pulumi_newrelic/synthetics/step_monitor.py +241 -212
  86. pulumi_newrelic/user.py +71 -70
  87. pulumi_newrelic/workflow.py +141 -140
  88. {pulumi_newrelic-5.42.1.dist-info → pulumi_newrelic-5.58.0a1766556761.dist-info}/METADATA +4 -4
  89. pulumi_newrelic-5.58.0a1766556761.dist-info/RECORD +92 -0
  90. {pulumi_newrelic-5.42.1.dist-info → pulumi_newrelic-5.58.0a1766556761.dist-info}/WHEEL +1 -1
  91. pulumi_newrelic-5.42.1.dist-info/RECORD +0 -90
  92. {pulumi_newrelic-5.42.1.dist-info → pulumi_newrelic-5.58.0a1766556761.dist-info}/top_level.txt +0 -0
@@ -1,8 +1,8 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
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 copy
5
+ import builtins as _builtins
6
6
  import warnings
7
7
  import sys
8
8
  import pulumi
@@ -22,26 +22,24 @@ __all__ = ['NotificationDestinationArgs', 'NotificationDestination']
22
22
  class NotificationDestinationArgs:
23
23
  def __init__(__self__, *,
24
24
  properties: pulumi.Input[Sequence[pulumi.Input['NotificationDestinationPropertyArgs']]],
25
- type: pulumi.Input[str],
26
- account_id: Optional[pulumi.Input[str]] = None,
27
- active: Optional[pulumi.Input[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,
28
28
  auth_basic: Optional[pulumi.Input['NotificationDestinationAuthBasicArgs']] = None,
29
29
  auth_custom_headers: Optional[pulumi.Input[Sequence[pulumi.Input['NotificationDestinationAuthCustomHeaderArgs']]]] = None,
30
30
  auth_token: Optional[pulumi.Input['NotificationDestinationAuthTokenArgs']] = None,
31
- name: Optional[pulumi.Input[str]] = None,
31
+ name: Optional[pulumi.Input[_builtins.str]] = None,
32
32
  secure_url: Optional[pulumi.Input['NotificationDestinationSecureUrlArgs']] = None):
33
33
  """
34
34
  The set of arguments for constructing a NotificationDestination resource.
35
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.
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.
40
- :param pulumi.Input[bool] active: Indicates whether the destination is active.
36
+ :param pulumi.Input[_builtins.str] type: (Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, SERVICE_NOW_APP, PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY, MOBILE_PUSH, EVENT_BRIDGE, MICROSOFT_TEAMS, WORKFLOW_AUTOMATION).
37
+ :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.
38
+ :param pulumi.Input[_builtins.bool] active: Indicates whether the destination is active.
41
39
  :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.
40
+ :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.
43
41
  :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.
44
- :param pulumi.Input[str] name: The name of the destination.
42
+ :param pulumi.Input[_builtins.str] name: The name of the destination.
45
43
  :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.
46
44
  """
47
45
  pulumi.set(__self__, "properties", properties)
@@ -61,7 +59,7 @@ class NotificationDestinationArgs:
61
59
  if secure_url is not None:
62
60
  pulumi.set(__self__, "secure_url", secure_url)
63
61
 
64
- @property
62
+ @_builtins.property
65
63
  @pulumi.getter
66
64
  def properties(self) -> pulumi.Input[Sequence[pulumi.Input['NotificationDestinationPropertyArgs']]]:
67
65
  """
@@ -73,45 +71,43 @@ class NotificationDestinationArgs:
73
71
  def properties(self, value: pulumi.Input[Sequence[pulumi.Input['NotificationDestinationPropertyArgs']]]):
74
72
  pulumi.set(self, "properties", value)
75
73
 
76
- @property
74
+ @_builtins.property
77
75
  @pulumi.getter
78
- def type(self) -> pulumi.Input[str]:
76
+ def type(self) -> pulumi.Input[_builtins.str]:
79
77
  """
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).
78
+ (Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, SERVICE_NOW_APP, PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY, MOBILE_PUSH, EVENT_BRIDGE, MICROSOFT_TEAMS, WORKFLOW_AUTOMATION).
83
79
  """
84
80
  return pulumi.get(self, "type")
85
81
 
86
82
  @type.setter
87
- def type(self, value: pulumi.Input[str]):
83
+ def type(self, value: pulumi.Input[_builtins.str]):
88
84
  pulumi.set(self, "type", value)
89
85
 
90
- @property
86
+ @_builtins.property
91
87
  @pulumi.getter(name="accountId")
92
- def account_id(self) -> Optional[pulumi.Input[str]]:
88
+ def account_id(self) -> Optional[pulumi.Input[_builtins.str]]:
93
89
  """
94
90
  Determines the New Relic account where the notification destination will be created. Defaults to the account associated with the API key used.
95
91
  """
96
92
  return pulumi.get(self, "account_id")
97
93
 
98
94
  @account_id.setter
99
- def account_id(self, value: Optional[pulumi.Input[str]]):
95
+ def account_id(self, value: Optional[pulumi.Input[_builtins.str]]):
100
96
  pulumi.set(self, "account_id", value)
101
97
 
102
- @property
98
+ @_builtins.property
103
99
  @pulumi.getter
104
- def active(self) -> Optional[pulumi.Input[bool]]:
100
+ def active(self) -> Optional[pulumi.Input[_builtins.bool]]:
105
101
  """
106
102
  Indicates whether the destination is active.
107
103
  """
108
104
  return pulumi.get(self, "active")
109
105
 
110
106
  @active.setter
111
- def active(self, value: Optional[pulumi.Input[bool]]):
107
+ def active(self, value: Optional[pulumi.Input[_builtins.bool]]):
112
108
  pulumi.set(self, "active", value)
113
109
 
114
- @property
110
+ @_builtins.property
115
111
  @pulumi.getter(name="authBasic")
116
112
  def auth_basic(self) -> Optional[pulumi.Input['NotificationDestinationAuthBasicArgs']]:
117
113
  """
@@ -123,11 +119,11 @@ class NotificationDestinationArgs:
123
119
  def auth_basic(self, value: Optional[pulumi.Input['NotificationDestinationAuthBasicArgs']]):
124
120
  pulumi.set(self, "auth_basic", value)
125
121
 
126
- @property
122
+ @_builtins.property
127
123
  @pulumi.getter(name="authCustomHeaders")
128
124
  def auth_custom_headers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NotificationDestinationAuthCustomHeaderArgs']]]]:
129
125
  """
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.
126
+ 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.
131
127
  """
132
128
  return pulumi.get(self, "auth_custom_headers")
133
129
 
@@ -135,7 +131,7 @@ class NotificationDestinationArgs:
135
131
  def auth_custom_headers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['NotificationDestinationAuthCustomHeaderArgs']]]]):
136
132
  pulumi.set(self, "auth_custom_headers", value)
137
133
 
138
- @property
134
+ @_builtins.property
139
135
  @pulumi.getter(name="authToken")
140
136
  def auth_token(self) -> Optional[pulumi.Input['NotificationDestinationAuthTokenArgs']]:
141
137
  """
@@ -147,19 +143,19 @@ class NotificationDestinationArgs:
147
143
  def auth_token(self, value: Optional[pulumi.Input['NotificationDestinationAuthTokenArgs']]):
148
144
  pulumi.set(self, "auth_token", value)
149
145
 
150
- @property
146
+ @_builtins.property
151
147
  @pulumi.getter
152
- def name(self) -> Optional[pulumi.Input[str]]:
148
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
153
149
  """
154
150
  The name of the destination.
155
151
  """
156
152
  return pulumi.get(self, "name")
157
153
 
158
154
  @name.setter
159
- def name(self, value: Optional[pulumi.Input[str]]):
155
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
160
156
  pulumi.set(self, "name", value)
161
157
 
162
- @property
158
+ @_builtins.property
163
159
  @pulumi.getter(name="secureUrl")
164
160
  def secure_url(self) -> Optional[pulumi.Input['NotificationDestinationSecureUrlArgs']]:
165
161
  """
@@ -175,34 +171,32 @@ class NotificationDestinationArgs:
175
171
  @pulumi.input_type
176
172
  class _NotificationDestinationState:
177
173
  def __init__(__self__, *,
178
- account_id: Optional[pulumi.Input[str]] = None,
179
- active: Optional[pulumi.Input[bool]] = None,
174
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
175
+ active: Optional[pulumi.Input[_builtins.bool]] = None,
180
176
  auth_basic: Optional[pulumi.Input['NotificationDestinationAuthBasicArgs']] = None,
181
177
  auth_custom_headers: Optional[pulumi.Input[Sequence[pulumi.Input['NotificationDestinationAuthCustomHeaderArgs']]]] = None,
182
178
  auth_token: Optional[pulumi.Input['NotificationDestinationAuthTokenArgs']] = None,
183
- guid: Optional[pulumi.Input[str]] = None,
184
- last_sent: Optional[pulumi.Input[str]] = None,
185
- name: Optional[pulumi.Input[str]] = None,
179
+ guid: Optional[pulumi.Input[_builtins.str]] = None,
180
+ last_sent: Optional[pulumi.Input[_builtins.str]] = None,
181
+ name: Optional[pulumi.Input[_builtins.str]] = None,
186
182
  properties: Optional[pulumi.Input[Sequence[pulumi.Input['NotificationDestinationPropertyArgs']]]] = None,
187
183
  secure_url: Optional[pulumi.Input['NotificationDestinationSecureUrlArgs']] = None,
188
- status: Optional[pulumi.Input[str]] = None,
189
- type: Optional[pulumi.Input[str]] = None):
184
+ status: Optional[pulumi.Input[_builtins.str]] = None,
185
+ type: Optional[pulumi.Input[_builtins.str]] = None):
190
186
  """
191
187
  Input properties used for looking up and filtering NotificationDestination resources.
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.
193
- :param pulumi.Input[bool] active: Indicates whether the destination is active.
188
+ :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.
189
+ :param pulumi.Input[_builtins.bool] active: Indicates whether the destination is active.
194
190
  :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.
191
+ :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.
196
192
  :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.
198
- :param pulumi.Input[str] last_sent: The last time a notification was sent.
199
- :param pulumi.Input[str] name: The name of the destination.
193
+ :param pulumi.Input[_builtins.str] guid: The unique entity identifier of the destination in New Relic.
194
+ :param pulumi.Input[_builtins.str] last_sent: The last time a notification was sent.
195
+ :param pulumi.Input[_builtins.str] name: The name of the destination.
200
196
  :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
197
  :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.
202
- :param pulumi.Input[str] status: The status of the destination.
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).
198
+ :param pulumi.Input[_builtins.str] status: The status of the destination.
199
+ :param pulumi.Input[_builtins.str] type: (Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, SERVICE_NOW_APP, PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY, MOBILE_PUSH, EVENT_BRIDGE, MICROSOFT_TEAMS, WORKFLOW_AUTOMATION).
206
200
  """
207
201
  if account_id is not None:
208
202
  pulumi.set(__self__, "account_id", account_id)
@@ -229,31 +223,31 @@ class _NotificationDestinationState:
229
223
  if type is not None:
230
224
  pulumi.set(__self__, "type", type)
231
225
 
232
- @property
226
+ @_builtins.property
233
227
  @pulumi.getter(name="accountId")
234
- def account_id(self) -> Optional[pulumi.Input[str]]:
228
+ def account_id(self) -> Optional[pulumi.Input[_builtins.str]]:
235
229
  """
236
230
  Determines the New Relic account where the notification destination will be created. Defaults to the account associated with the API key used.
237
231
  """
238
232
  return pulumi.get(self, "account_id")
239
233
 
240
234
  @account_id.setter
241
- def account_id(self, value: Optional[pulumi.Input[str]]):
235
+ def account_id(self, value: Optional[pulumi.Input[_builtins.str]]):
242
236
  pulumi.set(self, "account_id", value)
243
237
 
244
- @property
238
+ @_builtins.property
245
239
  @pulumi.getter
246
- def active(self) -> Optional[pulumi.Input[bool]]:
240
+ def active(self) -> Optional[pulumi.Input[_builtins.bool]]:
247
241
  """
248
242
  Indicates whether the destination is active.
249
243
  """
250
244
  return pulumi.get(self, "active")
251
245
 
252
246
  @active.setter
253
- def active(self, value: Optional[pulumi.Input[bool]]):
247
+ def active(self, value: Optional[pulumi.Input[_builtins.bool]]):
254
248
  pulumi.set(self, "active", value)
255
249
 
256
- @property
250
+ @_builtins.property
257
251
  @pulumi.getter(name="authBasic")
258
252
  def auth_basic(self) -> Optional[pulumi.Input['NotificationDestinationAuthBasicArgs']]:
259
253
  """
@@ -265,11 +259,11 @@ class _NotificationDestinationState:
265
259
  def auth_basic(self, value: Optional[pulumi.Input['NotificationDestinationAuthBasicArgs']]):
266
260
  pulumi.set(self, "auth_basic", value)
267
261
 
268
- @property
262
+ @_builtins.property
269
263
  @pulumi.getter(name="authCustomHeaders")
270
264
  def auth_custom_headers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NotificationDestinationAuthCustomHeaderArgs']]]]:
271
265
  """
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.
266
+ 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.
273
267
  """
274
268
  return pulumi.get(self, "auth_custom_headers")
275
269
 
@@ -277,7 +271,7 @@ class _NotificationDestinationState:
277
271
  def auth_custom_headers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['NotificationDestinationAuthCustomHeaderArgs']]]]):
278
272
  pulumi.set(self, "auth_custom_headers", value)
279
273
 
280
- @property
274
+ @_builtins.property
281
275
  @pulumi.getter(name="authToken")
282
276
  def auth_token(self) -> Optional[pulumi.Input['NotificationDestinationAuthTokenArgs']]:
283
277
  """
@@ -289,43 +283,43 @@ class _NotificationDestinationState:
289
283
  def auth_token(self, value: Optional[pulumi.Input['NotificationDestinationAuthTokenArgs']]):
290
284
  pulumi.set(self, "auth_token", value)
291
285
 
292
- @property
286
+ @_builtins.property
293
287
  @pulumi.getter
294
- def guid(self) -> Optional[pulumi.Input[str]]:
288
+ def guid(self) -> Optional[pulumi.Input[_builtins.str]]:
295
289
  """
296
290
  The unique entity identifier of the destination in New Relic.
297
291
  """
298
292
  return pulumi.get(self, "guid")
299
293
 
300
294
  @guid.setter
301
- def guid(self, value: Optional[pulumi.Input[str]]):
295
+ def guid(self, value: Optional[pulumi.Input[_builtins.str]]):
302
296
  pulumi.set(self, "guid", value)
303
297
 
304
- @property
298
+ @_builtins.property
305
299
  @pulumi.getter(name="lastSent")
306
- def last_sent(self) -> Optional[pulumi.Input[str]]:
300
+ def last_sent(self) -> Optional[pulumi.Input[_builtins.str]]:
307
301
  """
308
302
  The last time a notification was sent.
309
303
  """
310
304
  return pulumi.get(self, "last_sent")
311
305
 
312
306
  @last_sent.setter
313
- def last_sent(self, value: Optional[pulumi.Input[str]]):
307
+ def last_sent(self, value: Optional[pulumi.Input[_builtins.str]]):
314
308
  pulumi.set(self, "last_sent", value)
315
309
 
316
- @property
310
+ @_builtins.property
317
311
  @pulumi.getter
318
- def name(self) -> Optional[pulumi.Input[str]]:
312
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
319
313
  """
320
314
  The name of the destination.
321
315
  """
322
316
  return pulumi.get(self, "name")
323
317
 
324
318
  @name.setter
325
- def name(self, value: Optional[pulumi.Input[str]]):
319
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
326
320
  pulumi.set(self, "name", value)
327
321
 
328
- @property
322
+ @_builtins.property
329
323
  @pulumi.getter
330
324
  def properties(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NotificationDestinationPropertyArgs']]]]:
331
325
  """
@@ -337,7 +331,7 @@ class _NotificationDestinationState:
337
331
  def properties(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['NotificationDestinationPropertyArgs']]]]):
338
332
  pulumi.set(self, "properties", value)
339
333
 
340
- @property
334
+ @_builtins.property
341
335
  @pulumi.getter(name="secureUrl")
342
336
  def secure_url(self) -> Optional[pulumi.Input['NotificationDestinationSecureUrlArgs']]:
343
337
  """
@@ -349,47 +343,46 @@ class _NotificationDestinationState:
349
343
  def secure_url(self, value: Optional[pulumi.Input['NotificationDestinationSecureUrlArgs']]):
350
344
  pulumi.set(self, "secure_url", value)
351
345
 
352
- @property
346
+ @_builtins.property
353
347
  @pulumi.getter
354
- def status(self) -> Optional[pulumi.Input[str]]:
348
+ def status(self) -> Optional[pulumi.Input[_builtins.str]]:
355
349
  """
356
350
  The status of the destination.
357
351
  """
358
352
  return pulumi.get(self, "status")
359
353
 
360
354
  @status.setter
361
- def status(self, value: Optional[pulumi.Input[str]]):
355
+ def status(self, value: Optional[pulumi.Input[_builtins.str]]):
362
356
  pulumi.set(self, "status", value)
363
357
 
364
- @property
358
+ @_builtins.property
365
359
  @pulumi.getter
366
- def type(self) -> Optional[pulumi.Input[str]]:
360
+ def type(self) -> Optional[pulumi.Input[_builtins.str]]:
367
361
  """
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).
362
+ (Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, SERVICE_NOW_APP, PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY, MOBILE_PUSH, EVENT_BRIDGE, MICROSOFT_TEAMS, WORKFLOW_AUTOMATION).
371
363
  """
372
364
  return pulumi.get(self, "type")
373
365
 
374
366
  @type.setter
375
- def type(self, value: Optional[pulumi.Input[str]]):
367
+ def type(self, value: Optional[pulumi.Input[_builtins.str]]):
376
368
  pulumi.set(self, "type", value)
377
369
 
378
370
 
371
+ @pulumi.type_token("newrelic:index/notificationDestination:NotificationDestination")
379
372
  class NotificationDestination(pulumi.CustomResource):
380
373
  @overload
381
374
  def __init__(__self__,
382
375
  resource_name: str,
383
376
  opts: Optional[pulumi.ResourceOptions] = None,
384
- account_id: Optional[pulumi.Input[str]] = None,
385
- active: Optional[pulumi.Input[bool]] = None,
377
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
378
+ active: Optional[pulumi.Input[_builtins.bool]] = None,
386
379
  auth_basic: Optional[pulumi.Input[Union['NotificationDestinationAuthBasicArgs', 'NotificationDestinationAuthBasicArgsDict']]] = None,
387
380
  auth_custom_headers: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NotificationDestinationAuthCustomHeaderArgs', 'NotificationDestinationAuthCustomHeaderArgsDict']]]]] = None,
388
381
  auth_token: Optional[pulumi.Input[Union['NotificationDestinationAuthTokenArgs', 'NotificationDestinationAuthTokenArgsDict']]] = None,
389
- name: Optional[pulumi.Input[str]] = None,
382
+ name: Optional[pulumi.Input[_builtins.str]] = None,
390
383
  properties: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NotificationDestinationPropertyArgs', 'NotificationDestinationPropertyArgsDict']]]]] = None,
391
384
  secure_url: Optional[pulumi.Input[Union['NotificationDestinationSecureUrlArgs', 'NotificationDestinationSecureUrlArgsDict']]] = None,
392
- type: Optional[pulumi.Input[str]] = None,
385
+ type: Optional[pulumi.Input[_builtins.str]] = None,
393
386
  __props__=None):
394
387
  """
395
388
  ## Import
@@ -462,17 +455,15 @@ class NotificationDestination(pulumi.CustomResource):
462
455
 
463
456
  :param str resource_name: The name of the resource.
464
457
  :param pulumi.ResourceOptions opts: Options for the resource.
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.
466
- :param pulumi.Input[bool] active: Indicates whether the destination is active.
458
+ :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.
459
+ :param pulumi.Input[_builtins.bool] active: Indicates whether the destination is active.
467
460
  :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.
461
+ :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.
469
462
  :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.
470
- :param pulumi.Input[str] name: The name of the destination.
463
+ :param pulumi.Input[_builtins.str] name: The name of the destination.
471
464
  :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
465
  :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).
466
+ :param pulumi.Input[_builtins.str] type: (Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, SERVICE_NOW_APP, PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY, MOBILE_PUSH, EVENT_BRIDGE, MICROSOFT_TEAMS, WORKFLOW_AUTOMATION).
476
467
  """
477
468
  ...
478
469
  @overload
@@ -564,15 +555,15 @@ class NotificationDestination(pulumi.CustomResource):
564
555
  def _internal_init(__self__,
565
556
  resource_name: str,
566
557
  opts: Optional[pulumi.ResourceOptions] = None,
567
- account_id: Optional[pulumi.Input[str]] = None,
568
- active: Optional[pulumi.Input[bool]] = None,
558
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
559
+ active: Optional[pulumi.Input[_builtins.bool]] = None,
569
560
  auth_basic: Optional[pulumi.Input[Union['NotificationDestinationAuthBasicArgs', 'NotificationDestinationAuthBasicArgsDict']]] = None,
570
561
  auth_custom_headers: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NotificationDestinationAuthCustomHeaderArgs', 'NotificationDestinationAuthCustomHeaderArgsDict']]]]] = None,
571
562
  auth_token: Optional[pulumi.Input[Union['NotificationDestinationAuthTokenArgs', 'NotificationDestinationAuthTokenArgsDict']]] = None,
572
- name: Optional[pulumi.Input[str]] = None,
563
+ name: Optional[pulumi.Input[_builtins.str]] = None,
573
564
  properties: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NotificationDestinationPropertyArgs', 'NotificationDestinationPropertyArgsDict']]]]] = None,
574
565
  secure_url: Optional[pulumi.Input[Union['NotificationDestinationSecureUrlArgs', 'NotificationDestinationSecureUrlArgsDict']]] = None,
575
- type: Optional[pulumi.Input[str]] = None,
566
+ type: Optional[pulumi.Input[_builtins.str]] = None,
576
567
  __props__=None):
577
568
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
578
569
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -608,18 +599,18 @@ class NotificationDestination(pulumi.CustomResource):
608
599
  def get(resource_name: str,
609
600
  id: pulumi.Input[str],
610
601
  opts: Optional[pulumi.ResourceOptions] = None,
611
- account_id: Optional[pulumi.Input[str]] = None,
612
- active: Optional[pulumi.Input[bool]] = None,
602
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
603
+ active: Optional[pulumi.Input[_builtins.bool]] = None,
613
604
  auth_basic: Optional[pulumi.Input[Union['NotificationDestinationAuthBasicArgs', 'NotificationDestinationAuthBasicArgsDict']]] = None,
614
605
  auth_custom_headers: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NotificationDestinationAuthCustomHeaderArgs', 'NotificationDestinationAuthCustomHeaderArgsDict']]]]] = None,
615
606
  auth_token: Optional[pulumi.Input[Union['NotificationDestinationAuthTokenArgs', 'NotificationDestinationAuthTokenArgsDict']]] = None,
616
- guid: Optional[pulumi.Input[str]] = None,
617
- last_sent: Optional[pulumi.Input[str]] = None,
618
- name: Optional[pulumi.Input[str]] = None,
607
+ guid: Optional[pulumi.Input[_builtins.str]] = None,
608
+ last_sent: Optional[pulumi.Input[_builtins.str]] = None,
609
+ name: Optional[pulumi.Input[_builtins.str]] = None,
619
610
  properties: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NotificationDestinationPropertyArgs', 'NotificationDestinationPropertyArgsDict']]]]] = None,
620
611
  secure_url: Optional[pulumi.Input[Union['NotificationDestinationSecureUrlArgs', 'NotificationDestinationSecureUrlArgsDict']]] = None,
621
- status: Optional[pulumi.Input[str]] = None,
622
- type: Optional[pulumi.Input[str]] = None) -> 'NotificationDestination':
612
+ status: Optional[pulumi.Input[_builtins.str]] = None,
613
+ type: Optional[pulumi.Input[_builtins.str]] = None) -> 'NotificationDestination':
623
614
  """
624
615
  Get an existing NotificationDestination resource's state with the given name, id, and optional extra
625
616
  properties used to qualify the lookup.
@@ -627,20 +618,18 @@ class NotificationDestination(pulumi.CustomResource):
627
618
  :param str resource_name: The unique name of the resulting resource.
628
619
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
629
620
  :param pulumi.ResourceOptions opts: Options for the resource.
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.
631
- :param pulumi.Input[bool] active: Indicates whether the destination is active.
621
+ :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.
622
+ :param pulumi.Input[_builtins.bool] active: Indicates whether the destination is active.
632
623
  :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.
624
+ :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.
634
625
  :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.
636
- :param pulumi.Input[str] last_sent: The last time a notification was sent.
637
- :param pulumi.Input[str] name: The name of the destination.
626
+ :param pulumi.Input[_builtins.str] guid: The unique entity identifier of the destination in New Relic.
627
+ :param pulumi.Input[_builtins.str] last_sent: The last time a notification was sent.
628
+ :param pulumi.Input[_builtins.str] name: The name of the destination.
638
629
  :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
630
  :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.
640
- :param pulumi.Input[str] status: The status of the destination.
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).
631
+ :param pulumi.Input[_builtins.str] status: The status of the destination.
632
+ :param pulumi.Input[_builtins.str] type: (Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, SERVICE_NOW_APP, PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY, MOBILE_PUSH, EVENT_BRIDGE, MICROSOFT_TEAMS, WORKFLOW_AUTOMATION).
644
633
  """
645
634
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
646
635
 
@@ -660,23 +649,23 @@ class NotificationDestination(pulumi.CustomResource):
660
649
  __props__.__dict__["type"] = type
661
650
  return NotificationDestination(resource_name, opts=opts, __props__=__props__)
662
651
 
663
- @property
652
+ @_builtins.property
664
653
  @pulumi.getter(name="accountId")
665
- def account_id(self) -> pulumi.Output[str]:
654
+ def account_id(self) -> pulumi.Output[_builtins.str]:
666
655
  """
667
656
  Determines the New Relic account where the notification destination will be created. Defaults to the account associated with the API key used.
668
657
  """
669
658
  return pulumi.get(self, "account_id")
670
659
 
671
- @property
660
+ @_builtins.property
672
661
  @pulumi.getter
673
- def active(self) -> pulumi.Output[Optional[bool]]:
662
+ def active(self) -> pulumi.Output[Optional[_builtins.bool]]:
674
663
  """
675
664
  Indicates whether the destination is active.
676
665
  """
677
666
  return pulumi.get(self, "active")
678
667
 
679
- @property
668
+ @_builtins.property
680
669
  @pulumi.getter(name="authBasic")
681
670
  def auth_basic(self) -> pulumi.Output[Optional['outputs.NotificationDestinationAuthBasic']]:
682
671
  """
@@ -684,15 +673,15 @@ class NotificationDestination(pulumi.CustomResource):
684
673
  """
685
674
  return pulumi.get(self, "auth_basic")
686
675
 
687
- @property
676
+ @_builtins.property
688
677
  @pulumi.getter(name="authCustomHeaders")
689
678
  def auth_custom_headers(self) -> pulumi.Output[Optional[Sequence['outputs.NotificationDestinationAuthCustomHeader']]]:
690
679
  """
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.
680
+ 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.
692
681
  """
693
682
  return pulumi.get(self, "auth_custom_headers")
694
683
 
695
- @property
684
+ @_builtins.property
696
685
  @pulumi.getter(name="authToken")
697
686
  def auth_token(self) -> pulumi.Output[Optional['outputs.NotificationDestinationAuthToken']]:
698
687
  """
@@ -700,31 +689,31 @@ class NotificationDestination(pulumi.CustomResource):
700
689
  """
701
690
  return pulumi.get(self, "auth_token")
702
691
 
703
- @property
692
+ @_builtins.property
704
693
  @pulumi.getter
705
- def guid(self) -> pulumi.Output[str]:
694
+ def guid(self) -> pulumi.Output[_builtins.str]:
706
695
  """
707
696
  The unique entity identifier of the destination in New Relic.
708
697
  """
709
698
  return pulumi.get(self, "guid")
710
699
 
711
- @property
700
+ @_builtins.property
712
701
  @pulumi.getter(name="lastSent")
713
- def last_sent(self) -> pulumi.Output[str]:
702
+ def last_sent(self) -> pulumi.Output[_builtins.str]:
714
703
  """
715
704
  The last time a notification was sent.
716
705
  """
717
706
  return pulumi.get(self, "last_sent")
718
707
 
719
- @property
708
+ @_builtins.property
720
709
  @pulumi.getter
721
- def name(self) -> pulumi.Output[str]:
710
+ def name(self) -> pulumi.Output[_builtins.str]:
722
711
  """
723
712
  The name of the destination.
724
713
  """
725
714
  return pulumi.get(self, "name")
726
715
 
727
- @property
716
+ @_builtins.property
728
717
  @pulumi.getter
729
718
  def properties(self) -> pulumi.Output[Sequence['outputs.NotificationDestinationProperty']]:
730
719
  """
@@ -732,7 +721,7 @@ class NotificationDestination(pulumi.CustomResource):
732
721
  """
733
722
  return pulumi.get(self, "properties")
734
723
 
735
- @property
724
+ @_builtins.property
736
725
  @pulumi.getter(name="secureUrl")
737
726
  def secure_url(self) -> pulumi.Output[Optional['outputs.NotificationDestinationSecureUrl']]:
738
727
  """
@@ -740,21 +729,19 @@ class NotificationDestination(pulumi.CustomResource):
740
729
  """
741
730
  return pulumi.get(self, "secure_url")
742
731
 
743
- @property
732
+ @_builtins.property
744
733
  @pulumi.getter
745
- def status(self) -> pulumi.Output[str]:
734
+ def status(self) -> pulumi.Output[_builtins.str]:
746
735
  """
747
736
  The status of the destination.
748
737
  """
749
738
  return pulumi.get(self, "status")
750
739
 
751
- @property
740
+ @_builtins.property
752
741
  @pulumi.getter
753
- def type(self) -> pulumi.Output[str]:
742
+ def type(self) -> pulumi.Output[_builtins.str]:
754
743
  """
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).
744
+ (Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, SERVICE_NOW_APP, PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY, MOBILE_PUSH, EVENT_BRIDGE, MICROSOFT_TEAMS, WORKFLOW_AUTOMATION).
758
745
  """
759
746
  return pulumi.get(self, "type")
760
747