pulumi-cloudamqp 3.21.0a1743571485__py3-none-any.whl → 3.22.0__py3-none-any.whl

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

Potentially problematic release.


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

Files changed (51) hide show
  1. pulumi_cloudamqp/__init__.py +12 -0
  2. pulumi_cloudamqp/_inputs.py +92 -72
  3. pulumi_cloudamqp/account_action.py +42 -31
  4. pulumi_cloudamqp/alarm.py +232 -168
  5. pulumi_cloudamqp/config/__init__.py +1 -0
  6. pulumi_cloudamqp/config/__init__.pyi +1 -0
  7. pulumi_cloudamqp/config/vars.py +1 -0
  8. pulumi_cloudamqp/custom_domain.py +84 -38
  9. pulumi_cloudamqp/extra_disk_size.py +175 -155
  10. pulumi_cloudamqp/get_account.py +10 -3
  11. pulumi_cloudamqp/get_account_vpcs.py +15 -41
  12. pulumi_cloudamqp/get_alarm.py +74 -67
  13. pulumi_cloudamqp/get_alarms.py +165 -0
  14. pulumi_cloudamqp/get_credentials.py +19 -26
  15. pulumi_cloudamqp/get_instance.py +75 -25
  16. pulumi_cloudamqp/get_nodes.py +10 -56
  17. pulumi_cloudamqp/get_notification.py +39 -41
  18. pulumi_cloudamqp/get_notifications.py +135 -0
  19. pulumi_cloudamqp/get_plugins.py +28 -54
  20. pulumi_cloudamqp/get_plugins_community.py +29 -52
  21. pulumi_cloudamqp/get_upgradable_versions.py +19 -24
  22. pulumi_cloudamqp/get_vpc_gcp_info.py +44 -138
  23. pulumi_cloudamqp/get_vpc_info.py +34 -127
  24. pulumi_cloudamqp/instance.py +560 -333
  25. pulumi_cloudamqp/integration_aws_eventbridge.py +185 -117
  26. pulumi_cloudamqp/integration_log.py +491 -402
  27. pulumi_cloudamqp/integration_metric.py +348 -296
  28. pulumi_cloudamqp/maintenance_window.py +519 -0
  29. pulumi_cloudamqp/node_actions.py +85 -59
  30. pulumi_cloudamqp/notification.py +177 -92
  31. pulumi_cloudamqp/outputs.py +419 -125
  32. pulumi_cloudamqp/plugin.py +173 -105
  33. pulumi_cloudamqp/plugin_community.py +171 -107
  34. pulumi_cloudamqp/privatelink_aws.py +143 -347
  35. pulumi_cloudamqp/privatelink_azure.py +145 -345
  36. pulumi_cloudamqp/provider.py +25 -21
  37. pulumi_cloudamqp/pulumi-plugin.json +1 -1
  38. pulumi_cloudamqp/rabbit_configuration.py +337 -210
  39. pulumi_cloudamqp/security_firewall.py +114 -57
  40. pulumi_cloudamqp/upgrade_lavinmq.py +32 -102
  41. pulumi_cloudamqp/upgrade_rabbitmq.py +56 -299
  42. pulumi_cloudamqp/vpc.py +115 -79
  43. pulumi_cloudamqp/vpc_connect.py +222 -606
  44. pulumi_cloudamqp/vpc_gcp_peering.py +230 -591
  45. pulumi_cloudamqp/vpc_peering.py +123 -105
  46. pulumi_cloudamqp/webhook.py +146 -103
  47. {pulumi_cloudamqp-3.21.0a1743571485.dist-info → pulumi_cloudamqp-3.22.0.dist-info}/METADATA +1 -1
  48. pulumi_cloudamqp-3.22.0.dist-info/RECORD +52 -0
  49. {pulumi_cloudamqp-3.21.0a1743571485.dist-info → pulumi_cloudamqp-3.22.0.dist-info}/WHEEL +1 -1
  50. pulumi_cloudamqp-3.21.0a1743571485.dist-info/RECORD +0 -49
  51. {pulumi_cloudamqp-3.21.0a1743571485.dist-info → pulumi_cloudamqp-3.22.0.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
@@ -42,7 +43,7 @@ class GetCredentialsResult:
42
43
 
43
44
  @property
44
45
  @pulumi.getter
45
- def id(self) -> str:
46
+ def id(self) -> builtins.str:
46
47
  """
47
48
  The provider-assigned unique ID for this managed resource.
48
49
  """
@@ -50,17 +51,23 @@ class GetCredentialsResult:
50
51
 
51
52
  @property
52
53
  @pulumi.getter(name="instanceId")
53
- def instance_id(self) -> int:
54
+ def instance_id(self) -> builtins.int:
54
55
  return pulumi.get(self, "instance_id")
55
56
 
56
57
  @property
57
58
  @pulumi.getter
58
- def password(self) -> str:
59
+ def password(self) -> builtins.str:
60
+ """
61
+ (Sensitive) The password used by the `username`.
62
+ """
59
63
  return pulumi.get(self, "password")
60
64
 
61
65
  @property
62
66
  @pulumi.getter
63
- def username(self) -> str:
67
+ def username(self) -> builtins.str:
68
+ """
69
+ (Sensitive) The username for the configured user in Rabbit MQ.
70
+ """
64
71
  return pulumi.get(self, "username")
65
72
 
66
73
 
@@ -76,10 +83,11 @@ class AwaitableGetCredentialsResult(GetCredentialsResult):
76
83
  username=self.username)
77
84
 
78
85
 
79
- def get_credentials(instance_id: Optional[int] = None,
86
+ def get_credentials(instance_id: Optional[builtins.int] = None,
80
87
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCredentialsResult:
81
88
  """
82
- Use this data source to retrieve information about the credentials of the configured user in Rabbit MQ. Information is extracted from `cloudamqp_instance.instance.url`.
89
+ Use this data source to retrieve information about the credentials of the configured user in
90
+ RabbitMQ. Information is extracted from `cloudamqp_instance.instance.url`.
83
91
 
84
92
  ## Example Usage
85
93
 
@@ -90,20 +98,12 @@ def get_credentials(instance_id: Optional[int] = None,
90
98
  credentials = cloudamqp.get_credentials(instance_id=instance["id"])
91
99
  ```
92
100
 
93
- ## Attributes reference
94
-
95
- All attributes reference are computed.
96
-
97
- * `id` - The identifier for this data source.
98
- * `username` - (Sensitive) The username for the configured user in Rabbit MQ.
99
- * `password` - (Sensitive) The password used by the `username`.
100
-
101
101
  ## Dependency
102
102
 
103
103
  This data source depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
104
104
 
105
105
 
106
- :param int instance_id: The CloudAMQP instance identifier.
106
+ :param builtins.int instance_id: The CloudAMQP instance identifier.
107
107
  """
108
108
  __args__ = dict()
109
109
  __args__['instanceId'] = instance_id
@@ -115,10 +115,11 @@ def get_credentials(instance_id: Optional[int] = None,
115
115
  instance_id=pulumi.get(__ret__, 'instance_id'),
116
116
  password=pulumi.get(__ret__, 'password'),
117
117
  username=pulumi.get(__ret__, 'username'))
118
- def get_credentials_output(instance_id: Optional[pulumi.Input[int]] = None,
118
+ def get_credentials_output(instance_id: Optional[pulumi.Input[builtins.int]] = None,
119
119
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetCredentialsResult]:
120
120
  """
121
- Use this data source to retrieve information about the credentials of the configured user in Rabbit MQ. Information is extracted from `cloudamqp_instance.instance.url`.
121
+ Use this data source to retrieve information about the credentials of the configured user in
122
+ RabbitMQ. Information is extracted from `cloudamqp_instance.instance.url`.
122
123
 
123
124
  ## Example Usage
124
125
 
@@ -129,20 +130,12 @@ def get_credentials_output(instance_id: Optional[pulumi.Input[int]] = None,
129
130
  credentials = cloudamqp.get_credentials(instance_id=instance["id"])
130
131
  ```
131
132
 
132
- ## Attributes reference
133
-
134
- All attributes reference are computed.
135
-
136
- * `id` - The identifier for this data source.
137
- * `username` - (Sensitive) The username for the configured user in Rabbit MQ.
138
- * `password` - (Sensitive) The password used by the `username`.
139
-
140
133
  ## Dependency
141
134
 
142
135
  This data source depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
143
136
 
144
137
 
145
- :param int instance_id: The CloudAMQP instance identifier.
138
+ :param builtins.int instance_id: The CloudAMQP instance identifier.
146
139
  """
147
140
  __args__ = dict()
148
141
  __args__['instanceId'] = instance_id
@@ -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
@@ -87,32 +88,47 @@ class GetInstanceResult:
87
88
 
88
89
  @property
89
90
  @pulumi.getter
90
- def apikey(self) -> str:
91
+ def apikey(self) -> builtins.str:
92
+ """
93
+ (Sensitive) The API key to secondary API handing alarms, integration etc.
94
+ """
91
95
  return pulumi.get(self, "apikey")
92
96
 
93
97
  @property
94
98
  @pulumi.getter
95
- def backend(self) -> str:
99
+ def backend(self) -> builtins.str:
100
+ """
101
+ Information if the CloudAMQP instance runs either RabbitMQ or LavinMQ.
102
+ """
96
103
  return pulumi.get(self, "backend")
97
104
 
98
105
  @property
99
106
  @pulumi.getter
100
- def dedicated(self) -> bool:
107
+ def dedicated(self) -> builtins.bool:
108
+ """
109
+ Information if the CloudAMQP instance is shared or dedicated.
110
+ """
101
111
  return pulumi.get(self, "dedicated")
102
112
 
103
113
  @property
104
114
  @pulumi.getter
105
- def host(self) -> str:
115
+ def host(self) -> builtins.str:
116
+ """
117
+ The external hostname for the CloudAMQP instance.
118
+ """
106
119
  return pulumi.get(self, "host")
107
120
 
108
121
  @property
109
122
  @pulumi.getter(name="hostInternal")
110
- def host_internal(self) -> str:
123
+ def host_internal(self) -> builtins.str:
124
+ """
125
+ The internal hostname for the CloudAMQP instance.
126
+ """
111
127
  return pulumi.get(self, "host_internal")
112
128
 
113
129
  @property
114
130
  @pulumi.getter
115
- def id(self) -> str:
131
+ def id(self) -> builtins.str:
116
132
  """
117
133
  The provider-assigned unique ID for this managed resource.
118
134
  """
@@ -120,67 +136,99 @@ class GetInstanceResult:
120
136
 
121
137
  @property
122
138
  @pulumi.getter(name="instanceId")
123
- def instance_id(self) -> int:
139
+ def instance_id(self) -> builtins.int:
124
140
  return pulumi.get(self, "instance_id")
125
141
 
126
142
  @property
127
143
  @pulumi.getter
128
- def name(self) -> str:
144
+ def name(self) -> builtins.str:
145
+ """
146
+ The name of the CloudAMQP instance.
147
+ """
129
148
  return pulumi.get(self, "name")
130
149
 
131
150
  @property
132
151
  @pulumi.getter(name="noDefaultAlarms")
133
- def no_default_alarms(self) -> bool:
152
+ def no_default_alarms(self) -> builtins.bool:
134
153
  return pulumi.get(self, "no_default_alarms")
135
154
 
136
155
  @property
137
156
  @pulumi.getter
138
- def nodes(self) -> int:
157
+ def nodes(self) -> builtins.int:
158
+ """
159
+ Number of nodes in the cluster of the CloudAMQP instance.
160
+ """
139
161
  return pulumi.get(self, "nodes")
140
162
 
141
163
  @property
142
164
  @pulumi.getter
143
- def plan(self) -> str:
165
+ def plan(self) -> builtins.str:
166
+ """
167
+ The subscription plan for the CloudAMQP instance.
168
+ """
144
169
  return pulumi.get(self, "plan")
145
170
 
146
171
  @property
147
172
  @pulumi.getter
148
- def ready(self) -> bool:
173
+ def ready(self) -> builtins.bool:
149
174
  return pulumi.get(self, "ready")
150
175
 
151
176
  @property
152
177
  @pulumi.getter
153
- def region(self) -> str:
178
+ def region(self) -> builtins.str:
179
+ """
180
+ The cloud platform and region that host the CloudAMQP instance,
181
+ `{platform}::{region}`.
182
+ """
154
183
  return pulumi.get(self, "region")
155
184
 
156
185
  @property
157
186
  @pulumi.getter(name="rmqVersion")
158
- def rmq_version(self) -> str:
187
+ def rmq_version(self) -> builtins.str:
188
+ """
189
+ The version of installed Rabbit MQ.
190
+ """
159
191
  return pulumi.get(self, "rmq_version")
160
192
 
161
193
  @property
162
194
  @pulumi.getter
163
- def tags(self) -> Sequence[str]:
195
+ def tags(self) -> Sequence[builtins.str]:
196
+ """
197
+ Tags the CloudAMQP instance with categories.
198
+ """
164
199
  return pulumi.get(self, "tags")
165
200
 
166
201
  @property
167
202
  @pulumi.getter
168
- def url(self) -> str:
203
+ def url(self) -> builtins.str:
204
+ """
205
+ (Sensitive) The AMQP URL (uses the internal hostname if the instance was created
206
+ with VPC), used by clients to connect for pub/sub.
207
+ """
169
208
  return pulumi.get(self, "url")
170
209
 
171
210
  @property
172
211
  @pulumi.getter
173
- def vhost(self) -> str:
212
+ def vhost(self) -> builtins.str:
213
+ """
214
+ The virtual host configured in Rabbit MQ.
215
+ """
174
216
  return pulumi.get(self, "vhost")
175
217
 
176
218
  @property
177
219
  @pulumi.getter(name="vpcId")
178
- def vpc_id(self) -> int:
220
+ def vpc_id(self) -> builtins.int:
221
+ """
222
+ ID of the VPC configured for the CloudAMQP instance.
223
+ """
179
224
  return pulumi.get(self, "vpc_id")
180
225
 
181
226
  @property
182
227
  @pulumi.getter(name="vpcSubnet")
183
- def vpc_subnet(self) -> str:
228
+ def vpc_subnet(self) -> builtins.str:
229
+ """
230
+ Dedicated VPC subnet configured for the CloudAMQP instance.
231
+ """
184
232
  return pulumi.get(self, "vpc_subnet")
185
233
 
186
234
 
@@ -211,13 +259,14 @@ class AwaitableGetInstanceResult(GetInstanceResult):
211
259
  vpc_subnet=self.vpc_subnet)
212
260
 
213
261
 
214
- def get_instance(instance_id: Optional[int] = None,
262
+ def get_instance(instance_id: Optional[builtins.int] = None,
215
263
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetInstanceResult:
216
264
  """
217
- Use this data source to retrieve information about an already created CloudAMQP instance. In order to retrieve the correct information, the CoudAMQP instance identifier is needed.
265
+ Use this data source to retrieve information about an already created CloudAMQP instance. In order
266
+ to retrieve the correct information, the CoudAMQP instance identifier is needed.
218
267
 
219
268
 
220
- :param int instance_id: The CloudAMQP instance identifier.
269
+ :param builtins.int instance_id: The CloudAMQP instance identifier.
221
270
  """
222
271
  __args__ = dict()
223
272
  __args__['instanceId'] = instance_id
@@ -244,13 +293,14 @@ def get_instance(instance_id: Optional[int] = None,
244
293
  vhost=pulumi.get(__ret__, 'vhost'),
245
294
  vpc_id=pulumi.get(__ret__, 'vpc_id'),
246
295
  vpc_subnet=pulumi.get(__ret__, 'vpc_subnet'))
247
- def get_instance_output(instance_id: Optional[pulumi.Input[int]] = None,
296
+ def get_instance_output(instance_id: Optional[pulumi.Input[builtins.int]] = None,
248
297
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetInstanceResult]:
249
298
  """
250
- Use this data source to retrieve information about an already created CloudAMQP instance. In order to retrieve the correct information, the CoudAMQP instance identifier is needed.
299
+ Use this data source to retrieve information about an already created CloudAMQP instance. In order
300
+ to retrieve the correct information, the CoudAMQP instance identifier is needed.
251
301
 
252
302
 
253
- :param int instance_id: The CloudAMQP instance identifier.
303
+ :param builtins.int instance_id: The CloudAMQP instance identifier.
254
304
  """
255
305
  __args__ = dict()
256
306
  __args__['instanceId'] = instance_id
@@ -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
@@ -40,7 +41,7 @@ class GetNodesResult:
40
41
 
41
42
  @property
42
43
  @pulumi.getter
43
- def id(self) -> str:
44
+ def id(self) -> builtins.str:
44
45
  """
45
46
  The provider-assigned unique ID for this managed resource.
46
47
  """
@@ -48,12 +49,15 @@ class GetNodesResult:
48
49
 
49
50
  @property
50
51
  @pulumi.getter(name="instanceId")
51
- def instance_id(self) -> int:
52
+ def instance_id(self) -> builtins.int:
52
53
  return pulumi.get(self, "instance_id")
53
54
 
54
55
  @property
55
56
  @pulumi.getter
56
57
  def nodes(self) -> Sequence['outputs.GetNodesNodeResult']:
58
+ """
59
+ An array of node information. Each `nodes` block consists of the fields documented below.
60
+ """
57
61
  return pulumi.get(self, "nodes")
58
62
 
59
63
 
@@ -68,7 +72,7 @@ class AwaitableGetNodesResult(GetNodesResult):
68
72
  nodes=self.nodes)
69
73
 
70
74
 
71
- def get_nodes(instance_id: Optional[int] = None,
75
+ def get_nodes(instance_id: Optional[builtins.int] = None,
72
76
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNodesResult:
73
77
  """
74
78
  Use this data source to retrieve information about the node(s) created by CloudAMQP instance.
@@ -82,37 +86,12 @@ def get_nodes(instance_id: Optional[int] = None,
82
86
  nodes = cloudamqp.get_nodes(instance_id=instance["id"])
83
87
  ```
84
88
 
85
- ## Attributes reference
86
-
87
- All attributes reference are computed
88
-
89
- * `id` - The identifier for this resource.
90
- * `nodes` - An array of node information. Each `nodes` block consists of the fields documented below.
91
-
92
- ***
93
-
94
- The `nodes` block consist of
95
-
96
- * `hostname` - External hostname assigned to the node.
97
- * `hostname_internal` - Internal hostname assigned to the node.
98
- * `name` - Name of the node.
99
- * `running` - Is the node running?
100
- * `rabbitmq_version` - Currently configured Rabbit MQ version on the node.
101
- * `erlang_version` - Currently used Erlang version on the node.
102
- * `hipe` - Enable or disable High-performance Erlang.
103
- * `configured` - Is the node configured?
104
- * `disk_size` - Subscription plan disk size
105
- * `additional_disk_size` - Additional added disk size
106
- * `availability_zone` - Availability zone the node is hosted in.
107
-
108
- ***Note:*** *Total disk size = disk_size + additional_disk_size*
109
-
110
89
  ## Dependency
111
90
 
112
91
  This data source depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
113
92
 
114
93
 
115
- :param int instance_id: The CloudAMQP instance identifier.
94
+ :param builtins.int instance_id: The CloudAMQP instance identifier.
116
95
  """
117
96
  __args__ = dict()
118
97
  __args__['instanceId'] = instance_id
@@ -123,7 +102,7 @@ def get_nodes(instance_id: Optional[int] = None,
123
102
  id=pulumi.get(__ret__, 'id'),
124
103
  instance_id=pulumi.get(__ret__, 'instance_id'),
125
104
  nodes=pulumi.get(__ret__, 'nodes'))
126
- def get_nodes_output(instance_id: Optional[pulumi.Input[int]] = None,
105
+ def get_nodes_output(instance_id: Optional[pulumi.Input[builtins.int]] = None,
127
106
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetNodesResult]:
128
107
  """
129
108
  Use this data source to retrieve information about the node(s) created by CloudAMQP instance.
@@ -137,37 +116,12 @@ def get_nodes_output(instance_id: Optional[pulumi.Input[int]] = None,
137
116
  nodes = cloudamqp.get_nodes(instance_id=instance["id"])
138
117
  ```
139
118
 
140
- ## Attributes reference
141
-
142
- All attributes reference are computed
143
-
144
- * `id` - The identifier for this resource.
145
- * `nodes` - An array of node information. Each `nodes` block consists of the fields documented below.
146
-
147
- ***
148
-
149
- The `nodes` block consist of
150
-
151
- * `hostname` - External hostname assigned to the node.
152
- * `hostname_internal` - Internal hostname assigned to the node.
153
- * `name` - Name of the node.
154
- * `running` - Is the node running?
155
- * `rabbitmq_version` - Currently configured Rabbit MQ version on the node.
156
- * `erlang_version` - Currently used Erlang version on the node.
157
- * `hipe` - Enable or disable High-performance Erlang.
158
- * `configured` - Is the node configured?
159
- * `disk_size` - Subscription plan disk size
160
- * `additional_disk_size` - Additional added disk size
161
- * `availability_zone` - Availability zone the node is hosted in.
162
-
163
- ***Note:*** *Total disk size = disk_size + additional_disk_size*
164
-
165
119
  ## Dependency
166
120
 
167
121
  This data source depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
168
122
 
169
123
 
170
- :param int instance_id: The CloudAMQP instance identifier.
124
+ :param builtins.int instance_id: The CloudAMQP instance identifier.
171
125
  """
172
126
  __args__ = dict()
173
127
  __args__['instanceId'] = instance_id
@@ -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
@@ -51,7 +52,7 @@ class GetNotificationResult:
51
52
 
52
53
  @property
53
54
  @pulumi.getter
54
- def id(self) -> str:
55
+ def id(self) -> builtins.str:
55
56
  """
56
57
  The provider-assigned unique ID for this managed resource.
57
58
  """
@@ -59,32 +60,41 @@ class GetNotificationResult:
59
60
 
60
61
  @property
61
62
  @pulumi.getter(name="instanceId")
62
- def instance_id(self) -> int:
63
+ def instance_id(self) -> builtins.int:
63
64
  return pulumi.get(self, "instance_id")
64
65
 
65
66
  @property
66
67
  @pulumi.getter
67
- def name(self) -> Optional[str]:
68
+ def name(self) -> Optional[builtins.str]:
68
69
  return pulumi.get(self, "name")
69
70
 
70
71
  @property
71
72
  @pulumi.getter
72
- def options(self) -> Optional[Mapping[str, str]]:
73
+ def options(self) -> Optional[Mapping[str, builtins.str]]:
74
+ """
75
+ Options argument (e.g. `rk` used for VictorOps routing key).
76
+ """
73
77
  return pulumi.get(self, "options")
74
78
 
75
79
  @property
76
80
  @pulumi.getter(name="recipientId")
77
- def recipient_id(self) -> Optional[int]:
81
+ def recipient_id(self) -> Optional[builtins.int]:
78
82
  return pulumi.get(self, "recipient_id")
79
83
 
80
84
  @property
81
85
  @pulumi.getter
82
- def type(self) -> str:
86
+ def type(self) -> builtins.str:
87
+ """
88
+ The type of the recipient.
89
+ """
83
90
  return pulumi.get(self, "type")
84
91
 
85
92
  @property
86
93
  @pulumi.getter
87
- def value(self) -> str:
94
+ def value(self) -> builtins.str:
95
+ """
96
+ The notification endpoint, where to send the notification.
97
+ """
88
98
  return pulumi.get(self, "value")
89
99
 
90
100
 
@@ -103,13 +113,15 @@ class AwaitableGetNotificationResult(GetNotificationResult):
103
113
  value=self.value)
104
114
 
105
115
 
106
- def get_notification(instance_id: Optional[int] = None,
107
- name: Optional[str] = None,
108
- options: Optional[Mapping[str, str]] = None,
109
- recipient_id: Optional[int] = None,
116
+ def get_notification(instance_id: Optional[builtins.int] = None,
117
+ name: Optional[builtins.str] = None,
118
+ options: Optional[Mapping[str, builtins.str]] = None,
119
+ recipient_id: Optional[builtins.int] = None,
110
120
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNotificationResult:
111
121
  """
112
- Use this data source to retrieve information about default or created recipients. The recipient will receive notifications assigned to an alarm that has triggered. To retrieve the recipient either use `recipient_id` or `name`.
122
+ Use this data source to retrieve information about default or created recipients. The recipient will
123
+ receive notifications assigned to an alarm that has triggered. To retrieve the recipient either use
124
+ `recipient_id` or `name`.
113
125
 
114
126
  ## Example Usage
115
127
 
@@ -121,23 +133,15 @@ def get_notification(instance_id: Optional[int] = None,
121
133
  name="default")
122
134
  ```
123
135
 
124
- ## Attributes reference
125
-
126
- All attributes reference are computed
127
-
128
- * `id` - The identifier for this resource.
129
- * `type` - The type of the recipient.
130
- * `value` - The notification endpoint, where to send the notification.
131
- * `options`- Options argument (e.g. `rk` used for VictorOps routing key).
132
-
133
136
  ## Dependency
134
137
 
135
138
  This data source depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
136
139
 
137
140
 
138
- :param int instance_id: The CloudAMQP instance identifier.
139
- :param str name: The name set for the recipient.
140
- :param int recipient_id: The recipient identifier.
141
+ :param builtins.int instance_id: The CloudAMQP instance identifier.
142
+ :param builtins.str name: The name set for the recipient.
143
+ :param Mapping[str, builtins.str] options: Options argument (e.g. `rk` used for VictorOps routing key).
144
+ :param builtins.int recipient_id: The recipient identifier.
141
145
  """
142
146
  __args__ = dict()
143
147
  __args__['instanceId'] = instance_id
@@ -155,13 +159,15 @@ def get_notification(instance_id: Optional[int] = None,
155
159
  recipient_id=pulumi.get(__ret__, 'recipient_id'),
156
160
  type=pulumi.get(__ret__, 'type'),
157
161
  value=pulumi.get(__ret__, 'value'))
158
- def get_notification_output(instance_id: Optional[pulumi.Input[int]] = None,
159
- name: Optional[pulumi.Input[Optional[str]]] = None,
160
- options: Optional[pulumi.Input[Optional[Mapping[str, str]]]] = None,
161
- recipient_id: Optional[pulumi.Input[Optional[int]]] = None,
162
+ def get_notification_output(instance_id: Optional[pulumi.Input[builtins.int]] = None,
163
+ name: Optional[pulumi.Input[Optional[builtins.str]]] = None,
164
+ options: Optional[pulumi.Input[Optional[Mapping[str, builtins.str]]]] = None,
165
+ recipient_id: Optional[pulumi.Input[Optional[builtins.int]]] = None,
162
166
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetNotificationResult]:
163
167
  """
164
- Use this data source to retrieve information about default or created recipients. The recipient will receive notifications assigned to an alarm that has triggered. To retrieve the recipient either use `recipient_id` or `name`.
168
+ Use this data source to retrieve information about default or created recipients. The recipient will
169
+ receive notifications assigned to an alarm that has triggered. To retrieve the recipient either use
170
+ `recipient_id` or `name`.
165
171
 
166
172
  ## Example Usage
167
173
 
@@ -173,23 +179,15 @@ def get_notification_output(instance_id: Optional[pulumi.Input[int]] = None,
173
179
  name="default")
174
180
  ```
175
181
 
176
- ## Attributes reference
177
-
178
- All attributes reference are computed
179
-
180
- * `id` - The identifier for this resource.
181
- * `type` - The type of the recipient.
182
- * `value` - The notification endpoint, where to send the notification.
183
- * `options`- Options argument (e.g. `rk` used for VictorOps routing key).
184
-
185
182
  ## Dependency
186
183
 
187
184
  This data source depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
188
185
 
189
186
 
190
- :param int instance_id: The CloudAMQP instance identifier.
191
- :param str name: The name set for the recipient.
192
- :param int recipient_id: The recipient identifier.
187
+ :param builtins.int instance_id: The CloudAMQP instance identifier.
188
+ :param builtins.str name: The name set for the recipient.
189
+ :param Mapping[str, builtins.str] options: Options argument (e.g. `rk` used for VictorOps routing key).
190
+ :param builtins.int recipient_id: The recipient identifier.
193
191
  """
194
192
  __args__ = dict()
195
193
  __args__['instanceId'] = instance_id