pulumi-newrelic 5.44.0a1743055809__py3-none-any.whl → 5.44.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.
Files changed (89) hide show
  1. pulumi_newrelic/__init__.py +1 -0
  2. pulumi_newrelic/_inputs.py +2963 -2962
  3. pulumi_newrelic/account_management.py +29 -28
  4. pulumi_newrelic/alert_channel.py +43 -42
  5. pulumi_newrelic/alert_condition.py +176 -175
  6. pulumi_newrelic/alert_muting_rule.py +71 -70
  7. pulumi_newrelic/alert_policy.py +57 -56
  8. pulumi_newrelic/alert_policy_channel.py +43 -42
  9. pulumi_newrelic/api_access_key.py +92 -91
  10. pulumi_newrelic/browser_application.py +92 -91
  11. pulumi_newrelic/cloud/__init__.py +1 -0
  12. pulumi_newrelic/cloud/_inputs.py +1765 -1764
  13. pulumi_newrelic/cloud/aws_govcloud_integrations.py +29 -28
  14. pulumi_newrelic/cloud/aws_govcloud_link_account.py +57 -56
  15. pulumi_newrelic/cloud/aws_integrations.py +29 -28
  16. pulumi_newrelic/cloud/aws_link_account.py +57 -56
  17. pulumi_newrelic/cloud/azure_integrations.py +29 -28
  18. pulumi_newrelic/cloud/azure_link_account.py +85 -84
  19. pulumi_newrelic/cloud/gcp_integrations.py +29 -28
  20. pulumi_newrelic/cloud/gcp_link_account.py +45 -44
  21. pulumi_newrelic/cloud/outputs.py +1057 -1056
  22. pulumi_newrelic/config/__init__.py +1 -0
  23. pulumi_newrelic/config/__init__.pyi +1 -0
  24. pulumi_newrelic/config/vars.py +1 -0
  25. pulumi_newrelic/data_partition_rule.py +92 -91
  26. pulumi_newrelic/entity_tags.py +15 -14
  27. pulumi_newrelic/events_to_metrics_rule.py +78 -77
  28. pulumi_newrelic/get_account.py +17 -16
  29. pulumi_newrelic/get_alert_channel.py +14 -13
  30. pulumi_newrelic/get_alert_policy.py +19 -18
  31. pulumi_newrelic/get_application.py +9 -8
  32. pulumi_newrelic/get_authentication_domain.py +7 -6
  33. pulumi_newrelic/get_cloud_account.py +17 -16
  34. pulumi_newrelic/get_entity.py +40 -39
  35. pulumi_newrelic/get_group.py +13 -12
  36. pulumi_newrelic/get_key_transaction.py +19 -18
  37. pulumi_newrelic/get_notification_destination.py +21 -20
  38. pulumi_newrelic/get_obfuscation_expression.py +12 -11
  39. pulumi_newrelic/get_service_level_alert_helper.py +41 -40
  40. pulumi_newrelic/get_test_grok_pattern.py +17 -16
  41. pulumi_newrelic/get_user.py +17 -16
  42. pulumi_newrelic/group.py +43 -42
  43. pulumi_newrelic/infra_alert_condition.py +204 -203
  44. pulumi_newrelic/insights/__init__.py +1 -0
  45. pulumi_newrelic/insights/_inputs.py +26 -25
  46. pulumi_newrelic/insights/event.py +1 -0
  47. pulumi_newrelic/insights/outputs.py +16 -15
  48. pulumi_newrelic/key_transaction.py +85 -84
  49. pulumi_newrelic/log_parsing_rule.py +120 -119
  50. pulumi_newrelic/monitor_downtime.py +113 -112
  51. pulumi_newrelic/notification_channel.py +149 -94
  52. pulumi_newrelic/notification_destination.py +85 -84
  53. pulumi_newrelic/nrql_alert_condition.py +330 -329
  54. pulumi_newrelic/nrql_drop_rule.py +64 -63
  55. pulumi_newrelic/obfuscation_expression.py +57 -56
  56. pulumi_newrelic/obfuscation_rule.py +71 -70
  57. pulumi_newrelic/one_dashboard.py +71 -70
  58. pulumi_newrelic/one_dashboard_json.py +50 -49
  59. pulumi_newrelic/one_dashboard_raw.py +71 -70
  60. pulumi_newrelic/outputs.py +1832 -1831
  61. pulumi_newrelic/plugins/__init__.py +1 -0
  62. pulumi_newrelic/plugins/_inputs.py +126 -125
  63. pulumi_newrelic/plugins/application_settings.py +132 -131
  64. pulumi_newrelic/plugins/outputs.py +76 -75
  65. pulumi_newrelic/plugins/workload.py +99 -98
  66. pulumi_newrelic/provider.py +80 -79
  67. pulumi_newrelic/pulumi-plugin.json +1 -1
  68. pulumi_newrelic/service_level.py +57 -56
  69. pulumi_newrelic/synthetics/__init__.py +1 -0
  70. pulumi_newrelic/synthetics/_inputs.py +106 -105
  71. pulumi_newrelic/synthetics/alert_condition.py +78 -77
  72. pulumi_newrelic/synthetics/broken_links_monitor.py +179 -150
  73. pulumi_newrelic/synthetics/cert_check_monitor.py +186 -157
  74. pulumi_newrelic/synthetics/get_private_location.py +17 -16
  75. pulumi_newrelic/synthetics/get_secure_credential.py +14 -13
  76. pulumi_newrelic/synthetics/monitor.py +326 -297
  77. pulumi_newrelic/synthetics/multi_location_alert_condition.py +92 -91
  78. pulumi_newrelic/synthetics/outputs.py +64 -63
  79. pulumi_newrelic/synthetics/private_location.py +85 -84
  80. pulumi_newrelic/synthetics/script_monitor.py +263 -234
  81. pulumi_newrelic/synthetics/secure_credential.py +71 -70
  82. pulumi_newrelic/synthetics/step_monitor.py +193 -164
  83. pulumi_newrelic/user.py +57 -56
  84. pulumi_newrelic/workflow.py +106 -105
  85. {pulumi_newrelic-5.44.0a1743055809.dist-info → pulumi_newrelic-5.44.1.dist-info}/METADATA +1 -1
  86. pulumi_newrelic-5.44.1.dist-info/RECORD +90 -0
  87. pulumi_newrelic-5.44.0a1743055809.dist-info/RECORD +0 -90
  88. {pulumi_newrelic-5.44.0a1743055809.dist-info → pulumi_newrelic-5.44.1.dist-info}/WHEEL +0 -0
  89. {pulumi_newrelic-5.44.0a1743055809.dist-info → pulumi_newrelic-5.44.1.dist-info}/top_level.txt +0 -0
@@ -2,6 +2,7 @@
2
2
  # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
+ import builtins
5
6
  import copy
6
7
  import warnings
7
8
  import sys
@@ -21,22 +22,22 @@ __all__ = ['NotificationChannelArgs', 'NotificationChannel']
21
22
  @pulumi.input_type
22
23
  class NotificationChannelArgs:
23
24
  def __init__(__self__, *,
24
- destination_id: pulumi.Input[str],
25
- product: pulumi.Input[str],
25
+ destination_id: pulumi.Input[builtins.str],
26
+ product: pulumi.Input[builtins.str],
26
27
  properties: pulumi.Input[Sequence[pulumi.Input['NotificationChannelPropertyArgs']]],
27
- type: pulumi.Input[str],
28
- account_id: Optional[pulumi.Input[str]] = None,
29
- active: Optional[pulumi.Input[bool]] = None,
30
- name: Optional[pulumi.Input[str]] = None):
28
+ type: pulumi.Input[builtins.str],
29
+ account_id: Optional[pulumi.Input[builtins.str]] = None,
30
+ active: Optional[pulumi.Input[builtins.bool]] = None,
31
+ name: Optional[pulumi.Input[builtins.str]] = None):
31
32
  """
32
33
  The set of arguments for constructing a NotificationChannel resource.
33
- :param pulumi.Input[str] destination_id: The id of the destination.
34
- :param pulumi.Input[str] product: The type of product. One of: `DISCUSSIONS`, `ERROR_TRACKING` or `IINT` (workflows).
34
+ :param pulumi.Input[builtins.str] destination_id: The id of the destination.
35
+ :param pulumi.Input[builtins.str] product: The type of product. One of: `DISCUSSIONS`, `ERROR_TRACKING` or `IINT` (workflows).
35
36
  :param pulumi.Input[Sequence[pulumi.Input['NotificationChannelPropertyArgs']]] properties: A nested block that describes a notification channel property. See Nested property blocks below for details.
36
- :param pulumi.Input[str] type: The type of channel. One of: `EMAIL`, `SERVICENOW_INCIDENTS`, `SERVICE_NOW_APP`, `WEBHOOK`, `JIRA_CLASSIC`, `MOBILE_PUSH`, `EVENT_BRIDGE`, `SLACK` and `SLACK_COLLABORATION`, `PAGERDUTY_ACCOUNT_INTEGRATION` or `PAGERDUTY_SERVICE_INTEGRATION`.
37
- :param pulumi.Input[str] account_id: Determines the New Relic account where the notification channel will be created. Defaults to the account associated with the API key used.
38
- :param pulumi.Input[bool] active: Indicates whether the channel is active.
39
- :param pulumi.Input[str] name: The name of the channel.
37
+ :param pulumi.Input[builtins.str] type: The type of channel. One of: `EMAIL`, `SERVICENOW_INCIDENTS`, `SERVICE_NOW_APP`, `WEBHOOK`, `JIRA_CLASSIC`, `MOBILE_PUSH`, `EVENT_BRIDGE`, `SLACK` and `SLACK_COLLABORATION`, `PAGERDUTY_ACCOUNT_INTEGRATION`, `PAGERDUTY_SERVICE_INTEGRATION` or `MICROSOFT_TEAMS`.
38
+ :param pulumi.Input[builtins.str] account_id: Determines the New Relic account where the notification channel will be created. Defaults to the account associated with the API key used.
39
+ :param pulumi.Input[builtins.bool] active: Indicates whether the channel is active.
40
+ :param pulumi.Input[builtins.str] name: The name of the channel.
40
41
  """
41
42
  pulumi.set(__self__, "destination_id", destination_id)
42
43
  pulumi.set(__self__, "product", product)
@@ -51,26 +52,26 @@ class NotificationChannelArgs:
51
52
 
52
53
  @property
53
54
  @pulumi.getter(name="destinationId")
54
- def destination_id(self) -> pulumi.Input[str]:
55
+ def destination_id(self) -> pulumi.Input[builtins.str]:
55
56
  """
56
57
  The id of the destination.
57
58
  """
58
59
  return pulumi.get(self, "destination_id")
59
60
 
60
61
  @destination_id.setter
61
- def destination_id(self, value: pulumi.Input[str]):
62
+ def destination_id(self, value: pulumi.Input[builtins.str]):
62
63
  pulumi.set(self, "destination_id", value)
63
64
 
64
65
  @property
65
66
  @pulumi.getter
66
- def product(self) -> pulumi.Input[str]:
67
+ def product(self) -> pulumi.Input[builtins.str]:
67
68
  """
68
69
  The type of product. One of: `DISCUSSIONS`, `ERROR_TRACKING` or `IINT` (workflows).
69
70
  """
70
71
  return pulumi.get(self, "product")
71
72
 
72
73
  @product.setter
73
- def product(self, value: pulumi.Input[str]):
74
+ def product(self, value: pulumi.Input[builtins.str]):
74
75
  pulumi.set(self, "product", value)
75
76
 
76
77
  @property
@@ -87,74 +88,74 @@ class NotificationChannelArgs:
87
88
 
88
89
  @property
89
90
  @pulumi.getter
90
- def type(self) -> pulumi.Input[str]:
91
+ def type(self) -> pulumi.Input[builtins.str]:
91
92
  """
92
- The type of channel. One of: `EMAIL`, `SERVICENOW_INCIDENTS`, `SERVICE_NOW_APP`, `WEBHOOK`, `JIRA_CLASSIC`, `MOBILE_PUSH`, `EVENT_BRIDGE`, `SLACK` and `SLACK_COLLABORATION`, `PAGERDUTY_ACCOUNT_INTEGRATION` or `PAGERDUTY_SERVICE_INTEGRATION`.
93
+ The type of channel. One of: `EMAIL`, `SERVICENOW_INCIDENTS`, `SERVICE_NOW_APP`, `WEBHOOK`, `JIRA_CLASSIC`, `MOBILE_PUSH`, `EVENT_BRIDGE`, `SLACK` and `SLACK_COLLABORATION`, `PAGERDUTY_ACCOUNT_INTEGRATION`, `PAGERDUTY_SERVICE_INTEGRATION` or `MICROSOFT_TEAMS`.
93
94
  """
94
95
  return pulumi.get(self, "type")
95
96
 
96
97
  @type.setter
97
- def type(self, value: pulumi.Input[str]):
98
+ def type(self, value: pulumi.Input[builtins.str]):
98
99
  pulumi.set(self, "type", value)
99
100
 
100
101
  @property
101
102
  @pulumi.getter(name="accountId")
102
- def account_id(self) -> Optional[pulumi.Input[str]]:
103
+ def account_id(self) -> Optional[pulumi.Input[builtins.str]]:
103
104
  """
104
105
  Determines the New Relic account where the notification channel will be created. Defaults to the account associated with the API key used.
105
106
  """
106
107
  return pulumi.get(self, "account_id")
107
108
 
108
109
  @account_id.setter
109
- def account_id(self, value: Optional[pulumi.Input[str]]):
110
+ def account_id(self, value: Optional[pulumi.Input[builtins.str]]):
110
111
  pulumi.set(self, "account_id", value)
111
112
 
112
113
  @property
113
114
  @pulumi.getter
114
- def active(self) -> Optional[pulumi.Input[bool]]:
115
+ def active(self) -> Optional[pulumi.Input[builtins.bool]]:
115
116
  """
116
117
  Indicates whether the channel is active.
117
118
  """
118
119
  return pulumi.get(self, "active")
119
120
 
120
121
  @active.setter
121
- def active(self, value: Optional[pulumi.Input[bool]]):
122
+ def active(self, value: Optional[pulumi.Input[builtins.bool]]):
122
123
  pulumi.set(self, "active", value)
123
124
 
124
125
  @property
125
126
  @pulumi.getter
126
- def name(self) -> Optional[pulumi.Input[str]]:
127
+ def name(self) -> Optional[pulumi.Input[builtins.str]]:
127
128
  """
128
129
  The name of the channel.
129
130
  """
130
131
  return pulumi.get(self, "name")
131
132
 
132
133
  @name.setter
133
- def name(self, value: Optional[pulumi.Input[str]]):
134
+ def name(self, value: Optional[pulumi.Input[builtins.str]]):
134
135
  pulumi.set(self, "name", value)
135
136
 
136
137
 
137
138
  @pulumi.input_type
138
139
  class _NotificationChannelState:
139
140
  def __init__(__self__, *,
140
- account_id: Optional[pulumi.Input[str]] = None,
141
- active: Optional[pulumi.Input[bool]] = None,
142
- destination_id: Optional[pulumi.Input[str]] = None,
143
- name: Optional[pulumi.Input[str]] = None,
144
- product: Optional[pulumi.Input[str]] = None,
141
+ account_id: Optional[pulumi.Input[builtins.str]] = None,
142
+ active: Optional[pulumi.Input[builtins.bool]] = None,
143
+ destination_id: Optional[pulumi.Input[builtins.str]] = None,
144
+ name: Optional[pulumi.Input[builtins.str]] = None,
145
+ product: Optional[pulumi.Input[builtins.str]] = None,
145
146
  properties: Optional[pulumi.Input[Sequence[pulumi.Input['NotificationChannelPropertyArgs']]]] = None,
146
- status: Optional[pulumi.Input[str]] = None,
147
- type: Optional[pulumi.Input[str]] = None):
147
+ status: Optional[pulumi.Input[builtins.str]] = None,
148
+ type: Optional[pulumi.Input[builtins.str]] = None):
148
149
  """
149
150
  Input properties used for looking up and filtering NotificationChannel resources.
150
- :param pulumi.Input[str] account_id: Determines the New Relic account where the notification channel will be created. Defaults to the account associated with the API key used.
151
- :param pulumi.Input[bool] active: Indicates whether the channel is active.
152
- :param pulumi.Input[str] destination_id: The id of the destination.
153
- :param pulumi.Input[str] name: The name of the channel.
154
- :param pulumi.Input[str] product: The type of product. One of: `DISCUSSIONS`, `ERROR_TRACKING` or `IINT` (workflows).
151
+ :param pulumi.Input[builtins.str] account_id: Determines the New Relic account where the notification channel will be created. Defaults to the account associated with the API key used.
152
+ :param pulumi.Input[builtins.bool] active: Indicates whether the channel is active.
153
+ :param pulumi.Input[builtins.str] destination_id: The id of the destination.
154
+ :param pulumi.Input[builtins.str] name: The name of the channel.
155
+ :param pulumi.Input[builtins.str] product: The type of product. One of: `DISCUSSIONS`, `ERROR_TRACKING` or `IINT` (workflows).
155
156
  :param pulumi.Input[Sequence[pulumi.Input['NotificationChannelPropertyArgs']]] properties: A nested block that describes a notification channel property. See Nested property blocks below for details.
156
- :param pulumi.Input[str] status: The status of the channel.
157
- :param pulumi.Input[str] type: The type of channel. One of: `EMAIL`, `SERVICENOW_INCIDENTS`, `SERVICE_NOW_APP`, `WEBHOOK`, `JIRA_CLASSIC`, `MOBILE_PUSH`, `EVENT_BRIDGE`, `SLACK` and `SLACK_COLLABORATION`, `PAGERDUTY_ACCOUNT_INTEGRATION` or `PAGERDUTY_SERVICE_INTEGRATION`.
157
+ :param pulumi.Input[builtins.str] status: The status of the channel.
158
+ :param pulumi.Input[builtins.str] type: The type of channel. One of: `EMAIL`, `SERVICENOW_INCIDENTS`, `SERVICE_NOW_APP`, `WEBHOOK`, `JIRA_CLASSIC`, `MOBILE_PUSH`, `EVENT_BRIDGE`, `SLACK` and `SLACK_COLLABORATION`, `PAGERDUTY_ACCOUNT_INTEGRATION`, `PAGERDUTY_SERVICE_INTEGRATION` or `MICROSOFT_TEAMS`.
158
159
  """
159
160
  if account_id is not None:
160
161
  pulumi.set(__self__, "account_id", account_id)
@@ -175,62 +176,62 @@ class _NotificationChannelState:
175
176
 
176
177
  @property
177
178
  @pulumi.getter(name="accountId")
178
- def account_id(self) -> Optional[pulumi.Input[str]]:
179
+ def account_id(self) -> Optional[pulumi.Input[builtins.str]]:
179
180
  """
180
181
  Determines the New Relic account where the notification channel will be created. Defaults to the account associated with the API key used.
181
182
  """
182
183
  return pulumi.get(self, "account_id")
183
184
 
184
185
  @account_id.setter
185
- def account_id(self, value: Optional[pulumi.Input[str]]):
186
+ def account_id(self, value: Optional[pulumi.Input[builtins.str]]):
186
187
  pulumi.set(self, "account_id", value)
187
188
 
188
189
  @property
189
190
  @pulumi.getter
190
- def active(self) -> Optional[pulumi.Input[bool]]:
191
+ def active(self) -> Optional[pulumi.Input[builtins.bool]]:
191
192
  """
192
193
  Indicates whether the channel is active.
193
194
  """
194
195
  return pulumi.get(self, "active")
195
196
 
196
197
  @active.setter
197
- def active(self, value: Optional[pulumi.Input[bool]]):
198
+ def active(self, value: Optional[pulumi.Input[builtins.bool]]):
198
199
  pulumi.set(self, "active", value)
199
200
 
200
201
  @property
201
202
  @pulumi.getter(name="destinationId")
202
- def destination_id(self) -> Optional[pulumi.Input[str]]:
203
+ def destination_id(self) -> Optional[pulumi.Input[builtins.str]]:
203
204
  """
204
205
  The id of the destination.
205
206
  """
206
207
  return pulumi.get(self, "destination_id")
207
208
 
208
209
  @destination_id.setter
209
- def destination_id(self, value: Optional[pulumi.Input[str]]):
210
+ def destination_id(self, value: Optional[pulumi.Input[builtins.str]]):
210
211
  pulumi.set(self, "destination_id", value)
211
212
 
212
213
  @property
213
214
  @pulumi.getter
214
- def name(self) -> Optional[pulumi.Input[str]]:
215
+ def name(self) -> Optional[pulumi.Input[builtins.str]]:
215
216
  """
216
217
  The name of the channel.
217
218
  """
218
219
  return pulumi.get(self, "name")
219
220
 
220
221
  @name.setter
221
- def name(self, value: Optional[pulumi.Input[str]]):
222
+ def name(self, value: Optional[pulumi.Input[builtins.str]]):
222
223
  pulumi.set(self, "name", value)
223
224
 
224
225
  @property
225
226
  @pulumi.getter
226
- def product(self) -> Optional[pulumi.Input[str]]:
227
+ def product(self) -> Optional[pulumi.Input[builtins.str]]:
227
228
  """
228
229
  The type of product. One of: `DISCUSSIONS`, `ERROR_TRACKING` or `IINT` (workflows).
229
230
  """
230
231
  return pulumi.get(self, "product")
231
232
 
232
233
  @product.setter
233
- def product(self, value: Optional[pulumi.Input[str]]):
234
+ def product(self, value: Optional[pulumi.Input[builtins.str]]):
234
235
  pulumi.set(self, "product", value)
235
236
 
236
237
  @property
@@ -247,26 +248,26 @@ class _NotificationChannelState:
247
248
 
248
249
  @property
249
250
  @pulumi.getter
250
- def status(self) -> Optional[pulumi.Input[str]]:
251
+ def status(self) -> Optional[pulumi.Input[builtins.str]]:
251
252
  """
252
253
  The status of the channel.
253
254
  """
254
255
  return pulumi.get(self, "status")
255
256
 
256
257
  @status.setter
257
- def status(self, value: Optional[pulumi.Input[str]]):
258
+ def status(self, value: Optional[pulumi.Input[builtins.str]]):
258
259
  pulumi.set(self, "status", value)
259
260
 
260
261
  @property
261
262
  @pulumi.getter
262
- def type(self) -> Optional[pulumi.Input[str]]:
263
+ def type(self) -> Optional[pulumi.Input[builtins.str]]:
263
264
  """
264
- The type of channel. One of: `EMAIL`, `SERVICENOW_INCIDENTS`, `SERVICE_NOW_APP`, `WEBHOOK`, `JIRA_CLASSIC`, `MOBILE_PUSH`, `EVENT_BRIDGE`, `SLACK` and `SLACK_COLLABORATION`, `PAGERDUTY_ACCOUNT_INTEGRATION` or `PAGERDUTY_SERVICE_INTEGRATION`.
265
+ The type of channel. One of: `EMAIL`, `SERVICENOW_INCIDENTS`, `SERVICE_NOW_APP`, `WEBHOOK`, `JIRA_CLASSIC`, `MOBILE_PUSH`, `EVENT_BRIDGE`, `SLACK` and `SLACK_COLLABORATION`, `PAGERDUTY_ACCOUNT_INTEGRATION`, `PAGERDUTY_SERVICE_INTEGRATION` or `MICROSOFT_TEAMS`.
265
266
  """
266
267
  return pulumi.get(self, "type")
267
268
 
268
269
  @type.setter
269
- def type(self, value: Optional[pulumi.Input[str]]):
270
+ def type(self, value: Optional[pulumi.Input[builtins.str]]):
270
271
  pulumi.set(self, "type", value)
271
272
 
272
273
 
@@ -275,13 +276,13 @@ class NotificationChannel(pulumi.CustomResource):
275
276
  def __init__(__self__,
276
277
  resource_name: str,
277
278
  opts: Optional[pulumi.ResourceOptions] = None,
278
- account_id: Optional[pulumi.Input[str]] = None,
279
- active: Optional[pulumi.Input[bool]] = None,
280
- destination_id: Optional[pulumi.Input[str]] = None,
281
- name: Optional[pulumi.Input[str]] = None,
282
- product: Optional[pulumi.Input[str]] = None,
279
+ account_id: Optional[pulumi.Input[builtins.str]] = None,
280
+ active: Optional[pulumi.Input[builtins.bool]] = None,
281
+ destination_id: Optional[pulumi.Input[builtins.str]] = None,
282
+ name: Optional[pulumi.Input[builtins.str]] = None,
283
+ product: Optional[pulumi.Input[builtins.str]] = None,
283
284
  properties: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NotificationChannelPropertyArgs', 'NotificationChannelPropertyArgsDict']]]]] = None,
284
- type: Optional[pulumi.Input[str]] = None,
285
+ type: Optional[pulumi.Input[builtins.str]] = None,
285
286
  __props__=None):
286
287
  """
287
288
  Use this resource to create and manage New Relic notification channels. Details regarding supported products and permissions can be found [here](https://docs.newrelic.com/docs/alerts-applied-intelligence/notifications/destinations).
@@ -546,6 +547,33 @@ class NotificationChannel(pulumi.CustomResource):
546
547
  ])
547
548
  ```
548
549
 
550
+ #### [MICROSOFT_TEAMS]
551
+ ```python
552
+ import pulumi
553
+ import pulumi_newrelic as newrelic
554
+
555
+ foo = newrelic.NotificationChannel("foo",
556
+ account_id="12345678",
557
+ name="ms-teams-example",
558
+ type="MICROSOFT_TEAMS",
559
+ destination_id="52d36b54-3d68-4ac4-9d0a-581febb91f2c",
560
+ product="IINT",
561
+ properties=[
562
+ {
563
+ "key": "teamId",
564
+ "value": "906379b4-f5ac-40fd-b242-d4faaa4d3963",
565
+ },
566
+ {
567
+ "key": "channelId",
568
+ "value": "19:wk9tU4tSr335Y1cNiXOynredbi3lFoeabu0kybfmbBA1@thread.tacv2",
569
+ },
570
+ {
571
+ "key": "customDetails",
572
+ "value": "{{ nrAccountId }}",
573
+ },
574
+ ])
575
+ ```
576
+
549
577
  > **NOTE:** Sensitive data such as channel API keys, service keys, etc are not returned from the underlying API for security reasons and may not be set in state when importing.
550
578
 
551
579
  ## Full Scenario Example
@@ -613,13 +641,13 @@ class NotificationChannel(pulumi.CustomResource):
613
641
 
614
642
  :param str resource_name: The name of the resource.
615
643
  :param pulumi.ResourceOptions opts: Options for the resource.
616
- :param pulumi.Input[str] account_id: Determines the New Relic account where the notification channel will be created. Defaults to the account associated with the API key used.
617
- :param pulumi.Input[bool] active: Indicates whether the channel is active.
618
- :param pulumi.Input[str] destination_id: The id of the destination.
619
- :param pulumi.Input[str] name: The name of the channel.
620
- :param pulumi.Input[str] product: The type of product. One of: `DISCUSSIONS`, `ERROR_TRACKING` or `IINT` (workflows).
644
+ :param pulumi.Input[builtins.str] account_id: Determines the New Relic account where the notification channel will be created. Defaults to the account associated with the API key used.
645
+ :param pulumi.Input[builtins.bool] active: Indicates whether the channel is active.
646
+ :param pulumi.Input[builtins.str] destination_id: The id of the destination.
647
+ :param pulumi.Input[builtins.str] name: The name of the channel.
648
+ :param pulumi.Input[builtins.str] product: The type of product. One of: `DISCUSSIONS`, `ERROR_TRACKING` or `IINT` (workflows).
621
649
  :param pulumi.Input[Sequence[pulumi.Input[Union['NotificationChannelPropertyArgs', 'NotificationChannelPropertyArgsDict']]]] properties: A nested block that describes a notification channel property. See Nested property blocks below for details.
622
- :param pulumi.Input[str] type: The type of channel. One of: `EMAIL`, `SERVICENOW_INCIDENTS`, `SERVICE_NOW_APP`, `WEBHOOK`, `JIRA_CLASSIC`, `MOBILE_PUSH`, `EVENT_BRIDGE`, `SLACK` and `SLACK_COLLABORATION`, `PAGERDUTY_ACCOUNT_INTEGRATION` or `PAGERDUTY_SERVICE_INTEGRATION`.
650
+ :param pulumi.Input[builtins.str] type: The type of channel. One of: `EMAIL`, `SERVICENOW_INCIDENTS`, `SERVICE_NOW_APP`, `WEBHOOK`, `JIRA_CLASSIC`, `MOBILE_PUSH`, `EVENT_BRIDGE`, `SLACK` and `SLACK_COLLABORATION`, `PAGERDUTY_ACCOUNT_INTEGRATION`, `PAGERDUTY_SERVICE_INTEGRATION` or `MICROSOFT_TEAMS`.
623
651
  """
624
652
  ...
625
653
  @overload
@@ -890,6 +918,33 @@ class NotificationChannel(pulumi.CustomResource):
890
918
  ])
891
919
  ```
892
920
 
921
+ #### [MICROSOFT_TEAMS]
922
+ ```python
923
+ import pulumi
924
+ import pulumi_newrelic as newrelic
925
+
926
+ foo = newrelic.NotificationChannel("foo",
927
+ account_id="12345678",
928
+ name="ms-teams-example",
929
+ type="MICROSOFT_TEAMS",
930
+ destination_id="52d36b54-3d68-4ac4-9d0a-581febb91f2c",
931
+ product="IINT",
932
+ properties=[
933
+ {
934
+ "key": "teamId",
935
+ "value": "906379b4-f5ac-40fd-b242-d4faaa4d3963",
936
+ },
937
+ {
938
+ "key": "channelId",
939
+ "value": "19:wk9tU4tSr335Y1cNiXOynredbi3lFoeabu0kybfmbBA1@thread.tacv2",
940
+ },
941
+ {
942
+ "key": "customDetails",
943
+ "value": "{{ nrAccountId }}",
944
+ },
945
+ ])
946
+ ```
947
+
893
948
  > **NOTE:** Sensitive data such as channel API keys, service keys, etc are not returned from the underlying API for security reasons and may not be set in state when importing.
894
949
 
895
950
  ## Full Scenario Example
@@ -970,13 +1025,13 @@ class NotificationChannel(pulumi.CustomResource):
970
1025
  def _internal_init(__self__,
971
1026
  resource_name: str,
972
1027
  opts: Optional[pulumi.ResourceOptions] = None,
973
- account_id: Optional[pulumi.Input[str]] = None,
974
- active: Optional[pulumi.Input[bool]] = None,
975
- destination_id: Optional[pulumi.Input[str]] = None,
976
- name: Optional[pulumi.Input[str]] = None,
977
- product: Optional[pulumi.Input[str]] = None,
1028
+ account_id: Optional[pulumi.Input[builtins.str]] = None,
1029
+ active: Optional[pulumi.Input[builtins.bool]] = None,
1030
+ destination_id: Optional[pulumi.Input[builtins.str]] = None,
1031
+ name: Optional[pulumi.Input[builtins.str]] = None,
1032
+ product: Optional[pulumi.Input[builtins.str]] = None,
978
1033
  properties: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NotificationChannelPropertyArgs', 'NotificationChannelPropertyArgsDict']]]]] = None,
979
- type: Optional[pulumi.Input[str]] = None,
1034
+ type: Optional[pulumi.Input[builtins.str]] = None,
980
1035
  __props__=None):
981
1036
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
982
1037
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -1012,14 +1067,14 @@ class NotificationChannel(pulumi.CustomResource):
1012
1067
  def get(resource_name: str,
1013
1068
  id: pulumi.Input[str],
1014
1069
  opts: Optional[pulumi.ResourceOptions] = None,
1015
- account_id: Optional[pulumi.Input[str]] = None,
1016
- active: Optional[pulumi.Input[bool]] = None,
1017
- destination_id: Optional[pulumi.Input[str]] = None,
1018
- name: Optional[pulumi.Input[str]] = None,
1019
- product: Optional[pulumi.Input[str]] = None,
1070
+ account_id: Optional[pulumi.Input[builtins.str]] = None,
1071
+ active: Optional[pulumi.Input[builtins.bool]] = None,
1072
+ destination_id: Optional[pulumi.Input[builtins.str]] = None,
1073
+ name: Optional[pulumi.Input[builtins.str]] = None,
1074
+ product: Optional[pulumi.Input[builtins.str]] = None,
1020
1075
  properties: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NotificationChannelPropertyArgs', 'NotificationChannelPropertyArgsDict']]]]] = None,
1021
- status: Optional[pulumi.Input[str]] = None,
1022
- type: Optional[pulumi.Input[str]] = None) -> 'NotificationChannel':
1076
+ status: Optional[pulumi.Input[builtins.str]] = None,
1077
+ type: Optional[pulumi.Input[builtins.str]] = None) -> 'NotificationChannel':
1023
1078
  """
1024
1079
  Get an existing NotificationChannel resource's state with the given name, id, and optional extra
1025
1080
  properties used to qualify the lookup.
@@ -1027,14 +1082,14 @@ class NotificationChannel(pulumi.CustomResource):
1027
1082
  :param str resource_name: The unique name of the resulting resource.
1028
1083
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
1029
1084
  :param pulumi.ResourceOptions opts: Options for the resource.
1030
- :param pulumi.Input[str] account_id: Determines the New Relic account where the notification channel will be created. Defaults to the account associated with the API key used.
1031
- :param pulumi.Input[bool] active: Indicates whether the channel is active.
1032
- :param pulumi.Input[str] destination_id: The id of the destination.
1033
- :param pulumi.Input[str] name: The name of the channel.
1034
- :param pulumi.Input[str] product: The type of product. One of: `DISCUSSIONS`, `ERROR_TRACKING` or `IINT` (workflows).
1085
+ :param pulumi.Input[builtins.str] account_id: Determines the New Relic account where the notification channel will be created. Defaults to the account associated with the API key used.
1086
+ :param pulumi.Input[builtins.bool] active: Indicates whether the channel is active.
1087
+ :param pulumi.Input[builtins.str] destination_id: The id of the destination.
1088
+ :param pulumi.Input[builtins.str] name: The name of the channel.
1089
+ :param pulumi.Input[builtins.str] product: The type of product. One of: `DISCUSSIONS`, `ERROR_TRACKING` or `IINT` (workflows).
1035
1090
  :param pulumi.Input[Sequence[pulumi.Input[Union['NotificationChannelPropertyArgs', 'NotificationChannelPropertyArgsDict']]]] properties: A nested block that describes a notification channel property. See Nested property blocks below for details.
1036
- :param pulumi.Input[str] status: The status of the channel.
1037
- :param pulumi.Input[str] type: The type of channel. One of: `EMAIL`, `SERVICENOW_INCIDENTS`, `SERVICE_NOW_APP`, `WEBHOOK`, `JIRA_CLASSIC`, `MOBILE_PUSH`, `EVENT_BRIDGE`, `SLACK` and `SLACK_COLLABORATION`, `PAGERDUTY_ACCOUNT_INTEGRATION` or `PAGERDUTY_SERVICE_INTEGRATION`.
1091
+ :param pulumi.Input[builtins.str] status: The status of the channel.
1092
+ :param pulumi.Input[builtins.str] type: The type of channel. One of: `EMAIL`, `SERVICENOW_INCIDENTS`, `SERVICE_NOW_APP`, `WEBHOOK`, `JIRA_CLASSIC`, `MOBILE_PUSH`, `EVENT_BRIDGE`, `SLACK` and `SLACK_COLLABORATION`, `PAGERDUTY_ACCOUNT_INTEGRATION`, `PAGERDUTY_SERVICE_INTEGRATION` or `MICROSOFT_TEAMS`.
1038
1093
  """
1039
1094
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
1040
1095
 
@@ -1052,7 +1107,7 @@ class NotificationChannel(pulumi.CustomResource):
1052
1107
 
1053
1108
  @property
1054
1109
  @pulumi.getter(name="accountId")
1055
- def account_id(self) -> pulumi.Output[str]:
1110
+ def account_id(self) -> pulumi.Output[builtins.str]:
1056
1111
  """
1057
1112
  Determines the New Relic account where the notification channel will be created. Defaults to the account associated with the API key used.
1058
1113
  """
@@ -1060,7 +1115,7 @@ class NotificationChannel(pulumi.CustomResource):
1060
1115
 
1061
1116
  @property
1062
1117
  @pulumi.getter
1063
- def active(self) -> pulumi.Output[Optional[bool]]:
1118
+ def active(self) -> pulumi.Output[Optional[builtins.bool]]:
1064
1119
  """
1065
1120
  Indicates whether the channel is active.
1066
1121
  """
@@ -1068,7 +1123,7 @@ class NotificationChannel(pulumi.CustomResource):
1068
1123
 
1069
1124
  @property
1070
1125
  @pulumi.getter(name="destinationId")
1071
- def destination_id(self) -> pulumi.Output[str]:
1126
+ def destination_id(self) -> pulumi.Output[builtins.str]:
1072
1127
  """
1073
1128
  The id of the destination.
1074
1129
  """
@@ -1076,7 +1131,7 @@ class NotificationChannel(pulumi.CustomResource):
1076
1131
 
1077
1132
  @property
1078
1133
  @pulumi.getter
1079
- def name(self) -> pulumi.Output[str]:
1134
+ def name(self) -> pulumi.Output[builtins.str]:
1080
1135
  """
1081
1136
  The name of the channel.
1082
1137
  """
@@ -1084,7 +1139,7 @@ class NotificationChannel(pulumi.CustomResource):
1084
1139
 
1085
1140
  @property
1086
1141
  @pulumi.getter
1087
- def product(self) -> pulumi.Output[str]:
1142
+ def product(self) -> pulumi.Output[builtins.str]:
1088
1143
  """
1089
1144
  The type of product. One of: `DISCUSSIONS`, `ERROR_TRACKING` or `IINT` (workflows).
1090
1145
  """
@@ -1100,7 +1155,7 @@ class NotificationChannel(pulumi.CustomResource):
1100
1155
 
1101
1156
  @property
1102
1157
  @pulumi.getter
1103
- def status(self) -> pulumi.Output[str]:
1158
+ def status(self) -> pulumi.Output[builtins.str]:
1104
1159
  """
1105
1160
  The status of the channel.
1106
1161
  """
@@ -1108,9 +1163,9 @@ class NotificationChannel(pulumi.CustomResource):
1108
1163
 
1109
1164
  @property
1110
1165
  @pulumi.getter
1111
- def type(self) -> pulumi.Output[str]:
1166
+ def type(self) -> pulumi.Output[builtins.str]:
1112
1167
  """
1113
- The type of channel. One of: `EMAIL`, `SERVICENOW_INCIDENTS`, `SERVICE_NOW_APP`, `WEBHOOK`, `JIRA_CLASSIC`, `MOBILE_PUSH`, `EVENT_BRIDGE`, `SLACK` and `SLACK_COLLABORATION`, `PAGERDUTY_ACCOUNT_INTEGRATION` or `PAGERDUTY_SERVICE_INTEGRATION`.
1168
+ The type of channel. One of: `EMAIL`, `SERVICENOW_INCIDENTS`, `SERVICE_NOW_APP`, `WEBHOOK`, `JIRA_CLASSIC`, `MOBILE_PUSH`, `EVENT_BRIDGE`, `SLACK` and `SLACK_COLLABORATION`, `PAGERDUTY_ACCOUNT_INTEGRATION`, `PAGERDUTY_SERVICE_INTEGRATION` or `MICROSOFT_TEAMS`.
1114
1169
  """
1115
1170
  return pulumi.get(self, "type")
1116
1171