pulumi-cloudamqp 3.18.0a1707975863__tar.gz → 3.18.0a1708333468__tar.gz

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-cloudamqp might be problematic. Click here for more details.

Files changed (53) hide show
  1. {pulumi_cloudamqp-3.18.0a1707975863 → pulumi_cloudamqp-3.18.0a1708333468}/PKG-INFO +1 -1
  2. {pulumi_cloudamqp-3.18.0a1707975863 → pulumi_cloudamqp-3.18.0a1708333468}/pulumi_cloudamqp/_inputs.py +77 -0
  3. {pulumi_cloudamqp-3.18.0a1707975863 → pulumi_cloudamqp-3.18.0a1708333468}/pulumi_cloudamqp/notification.py +143 -27
  4. {pulumi_cloudamqp-3.18.0a1707975863 → pulumi_cloudamqp-3.18.0a1708333468}/pulumi_cloudamqp/outputs.py +61 -0
  5. {pulumi_cloudamqp-3.18.0a1707975863 → pulumi_cloudamqp-3.18.0a1708333468}/pulumi_cloudamqp.egg-info/PKG-INFO +1 -1
  6. {pulumi_cloudamqp-3.18.0a1707975863 → pulumi_cloudamqp-3.18.0a1708333468}/pyproject.toml +1 -1
  7. {pulumi_cloudamqp-3.18.0a1707975863 → pulumi_cloudamqp-3.18.0a1708333468}/README.md +0 -0
  8. {pulumi_cloudamqp-3.18.0a1707975863 → pulumi_cloudamqp-3.18.0a1708333468}/pulumi_cloudamqp/__init__.py +0 -0
  9. {pulumi_cloudamqp-3.18.0a1707975863 → pulumi_cloudamqp-3.18.0a1708333468}/pulumi_cloudamqp/_utilities.py +0 -0
  10. {pulumi_cloudamqp-3.18.0a1707975863 → pulumi_cloudamqp-3.18.0a1708333468}/pulumi_cloudamqp/account_action.py +0 -0
  11. {pulumi_cloudamqp-3.18.0a1707975863 → pulumi_cloudamqp-3.18.0a1708333468}/pulumi_cloudamqp/alarm.py +0 -0
  12. {pulumi_cloudamqp-3.18.0a1707975863 → pulumi_cloudamqp-3.18.0a1708333468}/pulumi_cloudamqp/config/__init__.py +0 -0
  13. {pulumi_cloudamqp-3.18.0a1707975863 → pulumi_cloudamqp-3.18.0a1708333468}/pulumi_cloudamqp/config/__init__.pyi +0 -0
  14. {pulumi_cloudamqp-3.18.0a1707975863 → pulumi_cloudamqp-3.18.0a1708333468}/pulumi_cloudamqp/config/vars.py +0 -0
  15. {pulumi_cloudamqp-3.18.0a1707975863 → pulumi_cloudamqp-3.18.0a1708333468}/pulumi_cloudamqp/custom_domain.py +0 -0
  16. {pulumi_cloudamqp-3.18.0a1707975863 → pulumi_cloudamqp-3.18.0a1708333468}/pulumi_cloudamqp/extra_disk_size.py +0 -0
  17. {pulumi_cloudamqp-3.18.0a1707975863 → pulumi_cloudamqp-3.18.0a1708333468}/pulumi_cloudamqp/get_account.py +0 -0
  18. {pulumi_cloudamqp-3.18.0a1707975863 → pulumi_cloudamqp-3.18.0a1708333468}/pulumi_cloudamqp/get_account_vpcs.py +0 -0
  19. {pulumi_cloudamqp-3.18.0a1707975863 → pulumi_cloudamqp-3.18.0a1708333468}/pulumi_cloudamqp/get_alarm.py +0 -0
  20. {pulumi_cloudamqp-3.18.0a1707975863 → pulumi_cloudamqp-3.18.0a1708333468}/pulumi_cloudamqp/get_credentials.py +0 -0
  21. {pulumi_cloudamqp-3.18.0a1707975863 → pulumi_cloudamqp-3.18.0a1708333468}/pulumi_cloudamqp/get_instance.py +0 -0
  22. {pulumi_cloudamqp-3.18.0a1707975863 → pulumi_cloudamqp-3.18.0a1708333468}/pulumi_cloudamqp/get_nodes.py +0 -0
  23. {pulumi_cloudamqp-3.18.0a1707975863 → pulumi_cloudamqp-3.18.0a1708333468}/pulumi_cloudamqp/get_notification.py +0 -0
  24. {pulumi_cloudamqp-3.18.0a1707975863 → pulumi_cloudamqp-3.18.0a1708333468}/pulumi_cloudamqp/get_plugins.py +0 -0
  25. {pulumi_cloudamqp-3.18.0a1707975863 → pulumi_cloudamqp-3.18.0a1708333468}/pulumi_cloudamqp/get_plugins_community.py +0 -0
  26. {pulumi_cloudamqp-3.18.0a1707975863 → pulumi_cloudamqp-3.18.0a1708333468}/pulumi_cloudamqp/get_upgradable_versions.py +0 -0
  27. {pulumi_cloudamqp-3.18.0a1707975863 → pulumi_cloudamqp-3.18.0a1708333468}/pulumi_cloudamqp/get_vpc_gcp_info.py +0 -0
  28. {pulumi_cloudamqp-3.18.0a1707975863 → pulumi_cloudamqp-3.18.0a1708333468}/pulumi_cloudamqp/get_vpc_info.py +0 -0
  29. {pulumi_cloudamqp-3.18.0a1707975863 → pulumi_cloudamqp-3.18.0a1708333468}/pulumi_cloudamqp/instance.py +0 -0
  30. {pulumi_cloudamqp-3.18.0a1707975863 → pulumi_cloudamqp-3.18.0a1708333468}/pulumi_cloudamqp/integration_aws_eventbridge.py +0 -0
  31. {pulumi_cloudamqp-3.18.0a1707975863 → pulumi_cloudamqp-3.18.0a1708333468}/pulumi_cloudamqp/integration_log.py +0 -0
  32. {pulumi_cloudamqp-3.18.0a1707975863 → pulumi_cloudamqp-3.18.0a1708333468}/pulumi_cloudamqp/integration_metric.py +0 -0
  33. {pulumi_cloudamqp-3.18.0a1707975863 → pulumi_cloudamqp-3.18.0a1708333468}/pulumi_cloudamqp/node_actions.py +0 -0
  34. {pulumi_cloudamqp-3.18.0a1707975863 → pulumi_cloudamqp-3.18.0a1708333468}/pulumi_cloudamqp/plugin.py +0 -0
  35. {pulumi_cloudamqp-3.18.0a1707975863 → pulumi_cloudamqp-3.18.0a1708333468}/pulumi_cloudamqp/plugin_community.py +0 -0
  36. {pulumi_cloudamqp-3.18.0a1707975863 → pulumi_cloudamqp-3.18.0a1708333468}/pulumi_cloudamqp/privatelink_aws.py +0 -0
  37. {pulumi_cloudamqp-3.18.0a1707975863 → pulumi_cloudamqp-3.18.0a1708333468}/pulumi_cloudamqp/privatelink_azure.py +0 -0
  38. {pulumi_cloudamqp-3.18.0a1707975863 → pulumi_cloudamqp-3.18.0a1708333468}/pulumi_cloudamqp/provider.py +0 -0
  39. {pulumi_cloudamqp-3.18.0a1707975863 → pulumi_cloudamqp-3.18.0a1708333468}/pulumi_cloudamqp/pulumi-plugin.json +0 -0
  40. {pulumi_cloudamqp-3.18.0a1707975863 → pulumi_cloudamqp-3.18.0a1708333468}/pulumi_cloudamqp/py.typed +0 -0
  41. {pulumi_cloudamqp-3.18.0a1707975863 → pulumi_cloudamqp-3.18.0a1708333468}/pulumi_cloudamqp/rabbit_configuration.py +0 -0
  42. {pulumi_cloudamqp-3.18.0a1707975863 → pulumi_cloudamqp-3.18.0a1708333468}/pulumi_cloudamqp/security_firewall.py +0 -0
  43. {pulumi_cloudamqp-3.18.0a1707975863 → pulumi_cloudamqp-3.18.0a1708333468}/pulumi_cloudamqp/upgrade_rabbitmq.py +0 -0
  44. {pulumi_cloudamqp-3.18.0a1707975863 → pulumi_cloudamqp-3.18.0a1708333468}/pulumi_cloudamqp/vpc.py +0 -0
  45. {pulumi_cloudamqp-3.18.0a1707975863 → pulumi_cloudamqp-3.18.0a1708333468}/pulumi_cloudamqp/vpc_connect.py +0 -0
  46. {pulumi_cloudamqp-3.18.0a1707975863 → pulumi_cloudamqp-3.18.0a1708333468}/pulumi_cloudamqp/vpc_gcp_peering.py +0 -0
  47. {pulumi_cloudamqp-3.18.0a1707975863 → pulumi_cloudamqp-3.18.0a1708333468}/pulumi_cloudamqp/vpc_peering.py +0 -0
  48. {pulumi_cloudamqp-3.18.0a1707975863 → pulumi_cloudamqp-3.18.0a1708333468}/pulumi_cloudamqp/webhook.py +0 -0
  49. {pulumi_cloudamqp-3.18.0a1707975863 → pulumi_cloudamqp-3.18.0a1708333468}/pulumi_cloudamqp.egg-info/SOURCES.txt +0 -0
  50. {pulumi_cloudamqp-3.18.0a1707975863 → pulumi_cloudamqp-3.18.0a1708333468}/pulumi_cloudamqp.egg-info/dependency_links.txt +0 -0
  51. {pulumi_cloudamqp-3.18.0a1707975863 → pulumi_cloudamqp-3.18.0a1708333468}/pulumi_cloudamqp.egg-info/requires.txt +0 -0
  52. {pulumi_cloudamqp-3.18.0a1707975863 → pulumi_cloudamqp-3.18.0a1708333468}/pulumi_cloudamqp.egg-info/top_level.txt +0 -0
  53. {pulumi_cloudamqp-3.18.0a1707975863 → pulumi_cloudamqp-3.18.0a1708333468}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pulumi_cloudamqp
3
- Version: 3.18.0a1707975863
3
+ Version: 3.18.0a1708333468
4
4
  Summary: A Pulumi package for creating and managing CloudAMQP resources.
5
5
  License: Apache-2.0
6
6
  Project-URL: Homepage, https://pulumi.io
@@ -12,6 +12,7 @@ from . import _utilities
12
12
  __all__ = [
13
13
  'ExtraDiskSizeNodeArgs',
14
14
  'InstanceCopySettingArgs',
15
+ 'NotificationResponderArgs',
15
16
  'SecurityFirewallRuleArgs',
16
17
  ]
17
18
 
@@ -107,6 +108,82 @@ class InstanceCopySettingArgs:
107
108
  pulumi.set(self, "subscription_id", value)
108
109
 
109
110
 
111
+ @pulumi.input_type
112
+ class NotificationResponderArgs:
113
+ def __init__(__self__, *,
114
+ type: pulumi.Input[str],
115
+ id: Optional[pulumi.Input[str]] = None,
116
+ name: Optional[pulumi.Input[str]] = None,
117
+ username: Optional[pulumi.Input[str]] = None):
118
+ """
119
+ :param pulumi.Input[str] type: Type of responder. [`team`, `user`, `escalation`, `schedule`]
120
+ :param pulumi.Input[str] id: Identifier in UUID format
121
+ :param pulumi.Input[str] name: Name of the responder
122
+ :param pulumi.Input[str] username: Username of the responder
123
+
124
+ Responders of type `team`, `escalation` and `schedule` can use either id or name.
125
+ While `user` can use either id or username.
126
+ """
127
+ pulumi.set(__self__, "type", type)
128
+ if id is not None:
129
+ pulumi.set(__self__, "id", id)
130
+ if name is not None:
131
+ pulumi.set(__self__, "name", name)
132
+ if username is not None:
133
+ pulumi.set(__self__, "username", username)
134
+
135
+ @property
136
+ @pulumi.getter
137
+ def type(self) -> pulumi.Input[str]:
138
+ """
139
+ Type of responder. [`team`, `user`, `escalation`, `schedule`]
140
+ """
141
+ return pulumi.get(self, "type")
142
+
143
+ @type.setter
144
+ def type(self, value: pulumi.Input[str]):
145
+ pulumi.set(self, "type", value)
146
+
147
+ @property
148
+ @pulumi.getter
149
+ def id(self) -> Optional[pulumi.Input[str]]:
150
+ """
151
+ Identifier in UUID format
152
+ """
153
+ return pulumi.get(self, "id")
154
+
155
+ @id.setter
156
+ def id(self, value: Optional[pulumi.Input[str]]):
157
+ pulumi.set(self, "id", value)
158
+
159
+ @property
160
+ @pulumi.getter
161
+ def name(self) -> Optional[pulumi.Input[str]]:
162
+ """
163
+ Name of the responder
164
+ """
165
+ return pulumi.get(self, "name")
166
+
167
+ @name.setter
168
+ def name(self, value: Optional[pulumi.Input[str]]):
169
+ pulumi.set(self, "name", value)
170
+
171
+ @property
172
+ @pulumi.getter
173
+ def username(self) -> Optional[pulumi.Input[str]]:
174
+ """
175
+ Username of the responder
176
+
177
+ Responders of type `team`, `escalation` and `schedule` can use either id or name.
178
+ While `user` can use either id or username.
179
+ """
180
+ return pulumi.get(self, "username")
181
+
182
+ @username.setter
183
+ def username(self, value: Optional[pulumi.Input[str]]):
184
+ pulumi.set(self, "username", value)
185
+
186
+
110
187
  @pulumi.input_type
111
188
  class SecurityFirewallRuleArgs:
112
189
  def __init__(__self__, *,
@@ -8,6 +8,8 @@ import pulumi
8
8
  import pulumi.runtime
9
9
  from typing import Any, Mapping, Optional, Sequence, Union, overload
10
10
  from . import _utilities
11
+ from . import outputs
12
+ from ._inputs import *
11
13
 
12
14
  __all__ = ['NotificationArgs', 'Notification']
13
15
 
@@ -18,14 +20,21 @@ class NotificationArgs:
18
20
  type: pulumi.Input[str],
19
21
  value: pulumi.Input[str],
20
22
  name: Optional[pulumi.Input[str]] = None,
21
- options: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None):
23
+ options: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
24
+ responders: Optional[pulumi.Input[Sequence[pulumi.Input['NotificationResponderArgs']]]] = None):
22
25
  """
23
26
  The set of arguments for constructing a Notification resource.
24
27
  :param pulumi.Input[int] instance_id: The CloudAMQP instance ID.
25
- :param pulumi.Input[str] type: Type of the notification. See valid options below.
28
+ :param pulumi.Input[str] type: Type of responder. [`team`, `user`, `escalation`, `schedule`]
26
29
  :param pulumi.Input[str] value: Integration/API key or endpoint to send the notification.
27
- :param pulumi.Input[str] name: Display name of the recipient.
30
+ :param pulumi.Input[str] name: Name of the responder
28
31
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] options: Options argument (e.g. `rk` used for VictorOps routing key).
32
+ :param pulumi.Input[Sequence[pulumi.Input['NotificationResponderArgs']]] responders: An array of reponders (only for OpsGenie). Each `responders` block
33
+ consists of the field documented below.
34
+
35
+ ___
36
+
37
+ The `responders` block consists of:
29
38
  """
30
39
  pulumi.set(__self__, "instance_id", instance_id)
31
40
  pulumi.set(__self__, "type", type)
@@ -34,6 +43,8 @@ class NotificationArgs:
34
43
  pulumi.set(__self__, "name", name)
35
44
  if options is not None:
36
45
  pulumi.set(__self__, "options", options)
46
+ if responders is not None:
47
+ pulumi.set(__self__, "responders", responders)
37
48
 
38
49
  @property
39
50
  @pulumi.getter(name="instanceId")
@@ -51,7 +62,7 @@ class NotificationArgs:
51
62
  @pulumi.getter
52
63
  def type(self) -> pulumi.Input[str]:
53
64
  """
54
- Type of the notification. See valid options below.
65
+ Type of responder. [`team`, `user`, `escalation`, `schedule`]
55
66
  """
56
67
  return pulumi.get(self, "type")
57
68
 
@@ -75,7 +86,7 @@ class NotificationArgs:
75
86
  @pulumi.getter
76
87
  def name(self) -> Optional[pulumi.Input[str]]:
77
88
  """
78
- Display name of the recipient.
89
+ Name of the responder
79
90
  """
80
91
  return pulumi.get(self, "name")
81
92
 
@@ -95,6 +106,23 @@ class NotificationArgs:
95
106
  def options(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
96
107
  pulumi.set(self, "options", value)
97
108
 
109
+ @property
110
+ @pulumi.getter
111
+ def responders(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NotificationResponderArgs']]]]:
112
+ """
113
+ An array of reponders (only for OpsGenie). Each `responders` block
114
+ consists of the field documented below.
115
+
116
+ ___
117
+
118
+ The `responders` block consists of:
119
+ """
120
+ return pulumi.get(self, "responders")
121
+
122
+ @responders.setter
123
+ def responders(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['NotificationResponderArgs']]]]):
124
+ pulumi.set(self, "responders", value)
125
+
98
126
 
99
127
  @pulumi.input_type
100
128
  class _NotificationState:
@@ -102,14 +130,21 @@ class _NotificationState:
102
130
  instance_id: Optional[pulumi.Input[int]] = None,
103
131
  name: Optional[pulumi.Input[str]] = None,
104
132
  options: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
133
+ responders: Optional[pulumi.Input[Sequence[pulumi.Input['NotificationResponderArgs']]]] = None,
105
134
  type: Optional[pulumi.Input[str]] = None,
106
135
  value: Optional[pulumi.Input[str]] = None):
107
136
  """
108
137
  Input properties used for looking up and filtering Notification resources.
109
138
  :param pulumi.Input[int] instance_id: The CloudAMQP instance ID.
110
- :param pulumi.Input[str] name: Display name of the recipient.
139
+ :param pulumi.Input[str] name: Name of the responder
111
140
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] options: Options argument (e.g. `rk` used for VictorOps routing key).
112
- :param pulumi.Input[str] type: Type of the notification. See valid options below.
141
+ :param pulumi.Input[Sequence[pulumi.Input['NotificationResponderArgs']]] responders: An array of reponders (only for OpsGenie). Each `responders` block
142
+ consists of the field documented below.
143
+
144
+ ___
145
+
146
+ The `responders` block consists of:
147
+ :param pulumi.Input[str] type: Type of responder. [`team`, `user`, `escalation`, `schedule`]
113
148
  :param pulumi.Input[str] value: Integration/API key or endpoint to send the notification.
114
149
  """
115
150
  if instance_id is not None:
@@ -118,6 +153,8 @@ class _NotificationState:
118
153
  pulumi.set(__self__, "name", name)
119
154
  if options is not None:
120
155
  pulumi.set(__self__, "options", options)
156
+ if responders is not None:
157
+ pulumi.set(__self__, "responders", responders)
121
158
  if type is not None:
122
159
  pulumi.set(__self__, "type", type)
123
160
  if value is not None:
@@ -139,7 +176,7 @@ class _NotificationState:
139
176
  @pulumi.getter
140
177
  def name(self) -> Optional[pulumi.Input[str]]:
141
178
  """
142
- Display name of the recipient.
179
+ Name of the responder
143
180
  """
144
181
  return pulumi.get(self, "name")
145
182
 
@@ -159,11 +196,28 @@ class _NotificationState:
159
196
  def options(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
160
197
  pulumi.set(self, "options", value)
161
198
 
199
+ @property
200
+ @pulumi.getter
201
+ def responders(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NotificationResponderArgs']]]]:
202
+ """
203
+ An array of reponders (only for OpsGenie). Each `responders` block
204
+ consists of the field documented below.
205
+
206
+ ___
207
+
208
+ The `responders` block consists of:
209
+ """
210
+ return pulumi.get(self, "responders")
211
+
212
+ @responders.setter
213
+ def responders(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['NotificationResponderArgs']]]]):
214
+ pulumi.set(self, "responders", value)
215
+
162
216
  @property
163
217
  @pulumi.getter
164
218
  def type(self) -> Optional[pulumi.Input[str]]:
165
219
  """
166
- Type of the notification. See valid options below.
220
+ Type of responder. [`team`, `user`, `escalation`, `schedule`]
167
221
  """
168
222
  return pulumi.get(self, "type")
169
223
 
@@ -192,11 +246,14 @@ class Notification(pulumi.CustomResource):
192
246
  instance_id: Optional[pulumi.Input[int]] = None,
193
247
  name: Optional[pulumi.Input[str]] = None,
194
248
  options: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
249
+ responders: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NotificationResponderArgs']]]]] = None,
195
250
  type: Optional[pulumi.Input[str]] = None,
196
251
  value: Optional[pulumi.Input[str]] = None,
197
252
  __props__=None):
198
253
  """
199
- This resource allows you to create and manage recipients to receive alarm notifications. There will always be a default recipient created upon instance creation. This recipient will use team email and receive notifications from default alarms.
254
+ This resource allows you to create and manage recipients to receive alarm notifications. There will
255
+ always be a default recipient created upon instance creation. This recipient will use team email and
256
+ receive notifications from default alarms.
200
257
 
201
258
  Available for all subscription plans.
202
259
 
@@ -221,7 +278,7 @@ class Notification(pulumi.CustomResource):
221
278
 
222
279
  <details>
223
280
  <summary>
224
- <b>OpsGenie recipient</b>
281
+ <b>OpsGenie recipient with optional responders</b>
225
282
  </summary>
226
283
 
227
284
  ```python
@@ -231,14 +288,24 @@ class Notification(pulumi.CustomResource):
231
288
  opsgenie_recipient = cloudamqp.Notification("opsgenieRecipient",
232
289
  instance_id=cloudamqp_instance["instance"]["id"],
233
290
  type="opsgenie",
234
- value="<api-key>")
291
+ value="<api-key>",
292
+ responders=[
293
+ cloudamqp.NotificationResponderArgs(
294
+ type="team",
295
+ id="<team-uuid>",
296
+ ),
297
+ cloudamqp.NotificationResponderArgs(
298
+ type="user",
299
+ username="<username>",
300
+ ),
301
+ ])
235
302
  ```
236
303
 
237
304
  </details>
238
305
 
239
306
  <details>
240
307
  <summary>
241
- <b>Pagerduty recipient</b>
308
+ <b>Pagerduty recipient with optional dedup key</b>
242
309
  </summary>
243
310
 
244
311
  ```python
@@ -292,7 +359,7 @@ class Notification(pulumi.CustomResource):
292
359
 
293
360
  <details>
294
361
  <summary>
295
- <b>Victorops recipient</b>
362
+ <b>Victorops recipient with optional routing key (rk)</b>
296
363
  </summary>
297
364
 
298
365
  ```python
@@ -353,7 +420,11 @@ class Notification(pulumi.CustomResource):
353
420
 
354
421
  ## Import
355
422
 
356
- `cloudamqp_notification` can be imported using CloudAMQP internal identifier of a recipient together (CSV separated) with the instance identifier. To retrieve the identifier of a recipient, use [CloudAMQP API](https://docs.cloudamqp.com/cloudamqp_api.html#list-notification-recipients)
423
+ `cloudamqp_notification` can be imported using CloudAMQP internal identifier of a recipient together
424
+
425
+ (CSV separated) with the instance identifier. To retrieve the identifier of a recipient, use
426
+
427
+ [CloudAMQP API](https://docs.cloudamqp.com/cloudamqp_api.html#list-notification-recipients)
357
428
 
358
429
  ```sh
359
430
  $ pulumi import cloudamqp:index/notification:Notification recipient <id>,<instance_id>`
@@ -362,9 +433,15 @@ class Notification(pulumi.CustomResource):
362
433
  :param str resource_name: The name of the resource.
363
434
  :param pulumi.ResourceOptions opts: Options for the resource.
364
435
  :param pulumi.Input[int] instance_id: The CloudAMQP instance ID.
365
- :param pulumi.Input[str] name: Display name of the recipient.
436
+ :param pulumi.Input[str] name: Name of the responder
366
437
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] options: Options argument (e.g. `rk` used for VictorOps routing key).
367
- :param pulumi.Input[str] type: Type of the notification. See valid options below.
438
+ :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NotificationResponderArgs']]]] responders: An array of reponders (only for OpsGenie). Each `responders` block
439
+ consists of the field documented below.
440
+
441
+ ___
442
+
443
+ The `responders` block consists of:
444
+ :param pulumi.Input[str] type: Type of responder. [`team`, `user`, `escalation`, `schedule`]
368
445
  :param pulumi.Input[str] value: Integration/API key or endpoint to send the notification.
369
446
  """
370
447
  ...
@@ -374,7 +451,9 @@ class Notification(pulumi.CustomResource):
374
451
  args: NotificationArgs,
375
452
  opts: Optional[pulumi.ResourceOptions] = None):
376
453
  """
377
- This resource allows you to create and manage recipients to receive alarm notifications. There will always be a default recipient created upon instance creation. This recipient will use team email and receive notifications from default alarms.
454
+ This resource allows you to create and manage recipients to receive alarm notifications. There will
455
+ always be a default recipient created upon instance creation. This recipient will use team email and
456
+ receive notifications from default alarms.
378
457
 
379
458
  Available for all subscription plans.
380
459
 
@@ -399,7 +478,7 @@ class Notification(pulumi.CustomResource):
399
478
 
400
479
  <details>
401
480
  <summary>
402
- <b>OpsGenie recipient</b>
481
+ <b>OpsGenie recipient with optional responders</b>
403
482
  </summary>
404
483
 
405
484
  ```python
@@ -409,14 +488,24 @@ class Notification(pulumi.CustomResource):
409
488
  opsgenie_recipient = cloudamqp.Notification("opsgenieRecipient",
410
489
  instance_id=cloudamqp_instance["instance"]["id"],
411
490
  type="opsgenie",
412
- value="<api-key>")
491
+ value="<api-key>",
492
+ responders=[
493
+ cloudamqp.NotificationResponderArgs(
494
+ type="team",
495
+ id="<team-uuid>",
496
+ ),
497
+ cloudamqp.NotificationResponderArgs(
498
+ type="user",
499
+ username="<username>",
500
+ ),
501
+ ])
413
502
  ```
414
503
 
415
504
  </details>
416
505
 
417
506
  <details>
418
507
  <summary>
419
- <b>Pagerduty recipient</b>
508
+ <b>Pagerduty recipient with optional dedup key</b>
420
509
  </summary>
421
510
 
422
511
  ```python
@@ -470,7 +559,7 @@ class Notification(pulumi.CustomResource):
470
559
 
471
560
  <details>
472
561
  <summary>
473
- <b>Victorops recipient</b>
562
+ <b>Victorops recipient with optional routing key (rk)</b>
474
563
  </summary>
475
564
 
476
565
  ```python
@@ -531,7 +620,11 @@ class Notification(pulumi.CustomResource):
531
620
 
532
621
  ## Import
533
622
 
534
- `cloudamqp_notification` can be imported using CloudAMQP internal identifier of a recipient together (CSV separated) with the instance identifier. To retrieve the identifier of a recipient, use [CloudAMQP API](https://docs.cloudamqp.com/cloudamqp_api.html#list-notification-recipients)
623
+ `cloudamqp_notification` can be imported using CloudAMQP internal identifier of a recipient together
624
+
625
+ (CSV separated) with the instance identifier. To retrieve the identifier of a recipient, use
626
+
627
+ [CloudAMQP API](https://docs.cloudamqp.com/cloudamqp_api.html#list-notification-recipients)
535
628
 
536
629
  ```sh
537
630
  $ pulumi import cloudamqp:index/notification:Notification recipient <id>,<instance_id>`
@@ -555,6 +648,7 @@ class Notification(pulumi.CustomResource):
555
648
  instance_id: Optional[pulumi.Input[int]] = None,
556
649
  name: Optional[pulumi.Input[str]] = None,
557
650
  options: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
651
+ responders: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NotificationResponderArgs']]]]] = None,
558
652
  type: Optional[pulumi.Input[str]] = None,
559
653
  value: Optional[pulumi.Input[str]] = None,
560
654
  __props__=None):
@@ -571,6 +665,7 @@ class Notification(pulumi.CustomResource):
571
665
  __props__.__dict__["instance_id"] = instance_id
572
666
  __props__.__dict__["name"] = name
573
667
  __props__.__dict__["options"] = options
668
+ __props__.__dict__["responders"] = responders
574
669
  if type is None and not opts.urn:
575
670
  raise TypeError("Missing required property 'type'")
576
671
  __props__.__dict__["type"] = type
@@ -590,6 +685,7 @@ class Notification(pulumi.CustomResource):
590
685
  instance_id: Optional[pulumi.Input[int]] = None,
591
686
  name: Optional[pulumi.Input[str]] = None,
592
687
  options: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
688
+ responders: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NotificationResponderArgs']]]]] = None,
593
689
  type: Optional[pulumi.Input[str]] = None,
594
690
  value: Optional[pulumi.Input[str]] = None) -> 'Notification':
595
691
  """
@@ -600,9 +696,15 @@ class Notification(pulumi.CustomResource):
600
696
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
601
697
  :param pulumi.ResourceOptions opts: Options for the resource.
602
698
  :param pulumi.Input[int] instance_id: The CloudAMQP instance ID.
603
- :param pulumi.Input[str] name: Display name of the recipient.
699
+ :param pulumi.Input[str] name: Name of the responder
604
700
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] options: Options argument (e.g. `rk` used for VictorOps routing key).
605
- :param pulumi.Input[str] type: Type of the notification. See valid options below.
701
+ :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NotificationResponderArgs']]]] responders: An array of reponders (only for OpsGenie). Each `responders` block
702
+ consists of the field documented below.
703
+
704
+ ___
705
+
706
+ The `responders` block consists of:
707
+ :param pulumi.Input[str] type: Type of responder. [`team`, `user`, `escalation`, `schedule`]
606
708
  :param pulumi.Input[str] value: Integration/API key or endpoint to send the notification.
607
709
  """
608
710
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
@@ -612,6 +714,7 @@ class Notification(pulumi.CustomResource):
612
714
  __props__.__dict__["instance_id"] = instance_id
613
715
  __props__.__dict__["name"] = name
614
716
  __props__.__dict__["options"] = options
717
+ __props__.__dict__["responders"] = responders
615
718
  __props__.__dict__["type"] = type
616
719
  __props__.__dict__["value"] = value
617
720
  return Notification(resource_name, opts=opts, __props__=__props__)
@@ -628,7 +731,7 @@ class Notification(pulumi.CustomResource):
628
731
  @pulumi.getter
629
732
  def name(self) -> pulumi.Output[str]:
630
733
  """
631
- Display name of the recipient.
734
+ Name of the responder
632
735
  """
633
736
  return pulumi.get(self, "name")
634
737
 
@@ -640,11 +743,24 @@ class Notification(pulumi.CustomResource):
640
743
  """
641
744
  return pulumi.get(self, "options")
642
745
 
746
+ @property
747
+ @pulumi.getter
748
+ def responders(self) -> pulumi.Output[Optional[Sequence['outputs.NotificationResponder']]]:
749
+ """
750
+ An array of reponders (only for OpsGenie). Each `responders` block
751
+ consists of the field documented below.
752
+
753
+ ___
754
+
755
+ The `responders` block consists of:
756
+ """
757
+ return pulumi.get(self, "responders")
758
+
643
759
  @property
644
760
  @pulumi.getter
645
761
  def type(self) -> pulumi.Output[str]:
646
762
  """
647
- Type of the notification. See valid options below.
763
+ Type of responder. [`team`, `user`, `escalation`, `schedule`]
648
764
  """
649
765
  return pulumi.get(self, "type")
650
766
 
@@ -12,6 +12,7 @@ from . import _utilities
12
12
  __all__ = [
13
13
  'ExtraDiskSizeNode',
14
14
  'InstanceCopySetting',
15
+ 'NotificationResponder',
15
16
  'SecurityFirewallRule',
16
17
  'GetAccountInstanceResult',
17
18
  'GetAccountVpcsVpcResult',
@@ -128,6 +129,66 @@ class InstanceCopySetting(dict):
128
129
  return pulumi.get(self, "subscription_id")
129
130
 
130
131
 
132
+ @pulumi.output_type
133
+ class NotificationResponder(dict):
134
+ def __init__(__self__, *,
135
+ type: str,
136
+ id: Optional[str] = None,
137
+ name: Optional[str] = None,
138
+ username: Optional[str] = None):
139
+ """
140
+ :param str type: Type of responder. [`team`, `user`, `escalation`, `schedule`]
141
+ :param str id: Identifier in UUID format
142
+ :param str name: Name of the responder
143
+ :param str username: Username of the responder
144
+
145
+ Responders of type `team`, `escalation` and `schedule` can use either id or name.
146
+ While `user` can use either id or username.
147
+ """
148
+ pulumi.set(__self__, "type", type)
149
+ if id is not None:
150
+ pulumi.set(__self__, "id", id)
151
+ if name is not None:
152
+ pulumi.set(__self__, "name", name)
153
+ if username is not None:
154
+ pulumi.set(__self__, "username", username)
155
+
156
+ @property
157
+ @pulumi.getter
158
+ def type(self) -> str:
159
+ """
160
+ Type of responder. [`team`, `user`, `escalation`, `schedule`]
161
+ """
162
+ return pulumi.get(self, "type")
163
+
164
+ @property
165
+ @pulumi.getter
166
+ def id(self) -> Optional[str]:
167
+ """
168
+ Identifier in UUID format
169
+ """
170
+ return pulumi.get(self, "id")
171
+
172
+ @property
173
+ @pulumi.getter
174
+ def name(self) -> Optional[str]:
175
+ """
176
+ Name of the responder
177
+ """
178
+ return pulumi.get(self, "name")
179
+
180
+ @property
181
+ @pulumi.getter
182
+ def username(self) -> Optional[str]:
183
+ """
184
+ Username of the responder
185
+
186
+ Responders of type `team`, `escalation` and `schedule` can use either id or name.
187
+ While `user` can use either id or username.
188
+ """
189
+ return pulumi.get(self, "username")
190
+
191
+
131
192
  @pulumi.output_type
132
193
  class SecurityFirewallRule(dict):
133
194
  def __init__(__self__, *,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pulumi_cloudamqp
3
- Version: 3.18.0a1707975863
3
+ Version: 3.18.0a1708333468
4
4
  Summary: A Pulumi package for creating and managing CloudAMQP resources.
5
5
  License: Apache-2.0
6
6
  Project-URL: Homepage, https://pulumi.io
@@ -5,7 +5,7 @@
5
5
  keywords = ["pulumi", "cloudamqp"]
6
6
  readme = "README.md"
7
7
  requires-python = ">=3.8"
8
- version = "3.18.0a1707975863"
8
+ version = "3.18.0a1708333468"
9
9
  [project.license]
10
10
  text = "Apache-2.0"
11
11
  [project.urls]