pulumi-cloudamqp 3.21.0a1743571485__py3-none-any.whl → 3.21.0a1744082841__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 (45) hide show
  1. pulumi_cloudamqp/__init__.py +9 -0
  2. pulumi_cloudamqp/_inputs.py +28 -9
  3. pulumi_cloudamqp/account_action.py +14 -7
  4. pulumi_cloudamqp/alarm.py +90 -30
  5. pulumi_cloudamqp/custom_domain.py +52 -10
  6. pulumi_cloudamqp/extra_disk_size.py +117 -101
  7. pulumi_cloudamqp/get_account.py +8 -2
  8. pulumi_cloudamqp/get_account_vpcs.py +13 -40
  9. pulumi_cloudamqp/get_alarm.py +50 -44
  10. pulumi_cloudamqp/get_credentials.py +10 -18
  11. pulumi_cloudamqp/get_instance.py +51 -2
  12. pulumi_cloudamqp/get_nodes.py +3 -50
  13. pulumi_cloudamqp/get_notification.py +17 -20
  14. pulumi_cloudamqp/get_plugins.py +15 -42
  15. pulumi_cloudamqp/get_plugins_community.py +16 -40
  16. pulumi_cloudamqp/get_upgradable_versions.py +10 -16
  17. pulumi_cloudamqp/get_vpc_gcp_info.py +23 -118
  18. pulumi_cloudamqp/get_vpc_info.py +18 -112
  19. pulumi_cloudamqp/instance.py +400 -177
  20. pulumi_cloudamqp/integration_aws_eventbridge.py +90 -26
  21. pulumi_cloudamqp/integration_log.py +135 -50
  22. pulumi_cloudamqp/integration_metric.py +50 -2
  23. pulumi_cloudamqp/maintenance_window.py +515 -0
  24. pulumi_cloudamqp/node_actions.py +32 -10
  25. pulumi_cloudamqp/notification.py +103 -22
  26. pulumi_cloudamqp/outputs.py +118 -28
  27. pulumi_cloudamqp/plugin.py +89 -25
  28. pulumi_cloudamqp/plugin_community.py +87 -27
  29. pulumi_cloudamqp/privatelink_aws.py +62 -270
  30. pulumi_cloudamqp/privatelink_azure.py +64 -268
  31. pulumi_cloudamqp/pulumi-plugin.json +1 -1
  32. pulumi_cloudamqp/rabbit_configuration.py +209 -86
  33. pulumi_cloudamqp/security_firewall.py +76 -23
  34. pulumi_cloudamqp/upgrade_lavinmq.py +0 -74
  35. pulumi_cloudamqp/upgrade_rabbitmq.py +14 -261
  36. pulumi_cloudamqp/vpc.py +48 -16
  37. pulumi_cloudamqp/vpc_connect.py +111 -499
  38. pulumi_cloudamqp/vpc_gcp_peering.py +141 -506
  39. pulumi_cloudamqp/vpc_peering.py +50 -36
  40. pulumi_cloudamqp/webhook.py +48 -9
  41. {pulumi_cloudamqp-3.21.0a1743571485.dist-info → pulumi_cloudamqp-3.21.0a1744082841.dist-info}/METADATA +1 -1
  42. pulumi_cloudamqp-3.21.0a1744082841.dist-info/RECORD +50 -0
  43. pulumi_cloudamqp-3.21.0a1743571485.dist-info/RECORD +0 -49
  44. {pulumi_cloudamqp-3.21.0a1743571485.dist-info → pulumi_cloudamqp-3.21.0a1744082841.dist-info}/WHEEL +0 -0
  45. {pulumi_cloudamqp-3.21.0a1743571485.dist-info → pulumi_cloudamqp-3.21.0a1744082841.dist-info}/top_level.txt +0 -0
@@ -75,6 +75,9 @@ class GetAlarmResult:
75
75
  @property
76
76
  @pulumi.getter
77
77
  def enabled(self) -> bool:
78
+ """
79
+ Enable/disable status of the alarm.
80
+ """
78
81
  return pulumi.get(self, "enabled")
79
82
 
80
83
  @property
@@ -93,26 +96,43 @@ class GetAlarmResult:
93
96
  @property
94
97
  @pulumi.getter(name="messageType")
95
98
  def message_type(self) -> str:
99
+ """
100
+ Message type `(total, unacked, ready)` used by queue alarm type.
101
+ """
96
102
  return pulumi.get(self, "message_type")
97
103
 
98
104
  @property
99
105
  @pulumi.getter(name="queueRegex")
100
106
  def queue_regex(self) -> str:
107
+ """
108
+ Regular expression for which queue to check.
109
+ """
101
110
  return pulumi.get(self, "queue_regex")
102
111
 
103
112
  @property
104
113
  @pulumi.getter
105
114
  def recipients(self) -> Sequence[int]:
115
+ """
116
+ Identifier for recipient to be notified.
117
+ """
106
118
  return pulumi.get(self, "recipients")
107
119
 
108
120
  @property
109
121
  @pulumi.getter(name="reminderInterval")
110
122
  def reminder_interval(self) -> int:
123
+ """
124
+ The reminder interval (in seconds) to resend the alarm if not resolved.
125
+ Set to 0 for no reminders.
126
+ """
111
127
  return pulumi.get(self, "reminder_interval")
112
128
 
113
129
  @property
114
130
  @pulumi.getter(name="timeThreshold")
115
131
  def time_threshold(self) -> int:
132
+ """
133
+ The time interval (in seconds) the `value_threshold` should be active
134
+ before trigger an alarm.
135
+ """
116
136
  return pulumi.get(self, "time_threshold")
117
137
 
118
138
  @property
@@ -123,16 +143,26 @@ class GetAlarmResult:
123
143
  @property
124
144
  @pulumi.getter(name="valueCalculation")
125
145
  def value_calculation(self) -> Optional[str]:
146
+ """
147
+ Disk value threshold calculation, `(fixed, percentage)` of disk space
148
+ remaining.
149
+ """
126
150
  return pulumi.get(self, "value_calculation")
127
151
 
128
152
  @property
129
153
  @pulumi.getter(name="valueThreshold")
130
154
  def value_threshold(self) -> int:
155
+ """
156
+ The value threshold that triggers the alarm.
157
+ """
131
158
  return pulumi.get(self, "value_threshold")
132
159
 
133
160
  @property
134
161
  @pulumi.getter(name="vhostRegex")
135
162
  def vhost_regex(self) -> str:
163
+ """
164
+ Regular expression for which vhost to check
165
+ """
136
166
  return pulumi.get(self, "vhost_regex")
137
167
 
138
168
 
@@ -163,7 +193,8 @@ def get_alarm(alarm_id: Optional[int] = None,
163
193
  value_calculation: Optional[str] = None,
164
194
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAlarmResult:
165
195
  """
166
- Use this data source to retrieve information about default or created alarms. Either use `alarm_id` or `type` to retrieve the alarm.
196
+ Use this data source to retrieve information about default or created alarms. Either use `alarm_id`
197
+ or `type` to retrieve the alarm.
167
198
 
168
199
  ## Example Usage
169
200
 
@@ -175,36 +206,23 @@ def get_alarm(alarm_id: Optional[int] = None,
175
206
  type="cpu")
176
207
  ```
177
208
 
178
- ## Attributes reference
179
-
180
- All attributes reference are computed
181
-
182
- * `id` - The identifier for this resource.
183
- * `enabled` - Enable/disable status of the alarm.
184
- * `value_threshold` - The value threshold that triggers the alarm.
185
- * `reminder_interval` - The reminder interval (in seconds) to resend the alarm if not resolved. Set to 0 for no reminders.
186
- * `time_threshold` - The time interval (in seconds) the `value_threshold` should be active before trigger an alarm.
187
- * `queue_regex` - Regular expression for which queue to check.
188
- * `vhost_regex` - Regular expression for which vhost to check
189
- * `recipients` - Identifier for recipient to be notified.
190
- * `message_type` - Message type `(total, unacked, ready)` used by queue alarm type.
191
-
192
- Specific attribute for `disk` alarm
193
-
194
- * `value_calculation` - Disk value threshold calculation, `(fixed, percentage)` of disk space remaining.
195
-
196
209
  ## Dependency
197
210
 
198
211
  This data source depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
199
212
 
200
- ## Alarm types
213
+ ## Alarm Types
201
214
 
202
215
  `cpu, memory, disk, queue, connection, flow, consumer, netsplit, server_unreachable, notice`
203
216
 
204
217
 
205
- :param int alarm_id: The alarm identifier. Either use this or `type` to give `Alarm` necessary information to retrieve the alarm.
218
+ :param int alarm_id: The alarm identifier. Either use this or `type` to give
219
+ `Alarm` necessary information to retrieve the alarm.
206
220
  :param int instance_id: The CloudAMQP instance identifier.
207
- :param str type: The alarm type. Either use this or `alarm_id` to give `Alarm` necessary information when retrieve the alarm. Supported alarm types
221
+ :param str type: The alarm type. Either use this or `alarm_id` to give `Alarm`
222
+ necessary information when retrieve the alarm. Supported
223
+ alarm types.
224
+ :param str value_calculation: Disk value threshold calculation, `(fixed, percentage)` of disk space
225
+ remaining.
208
226
  """
209
227
  __args__ = dict()
210
228
  __args__['alarmId'] = alarm_id
@@ -234,7 +252,8 @@ def get_alarm_output(alarm_id: Optional[pulumi.Input[Optional[int]]] = None,
234
252
  value_calculation: Optional[pulumi.Input[Optional[str]]] = None,
235
253
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAlarmResult]:
236
254
  """
237
- Use this data source to retrieve information about default or created alarms. Either use `alarm_id` or `type` to retrieve the alarm.
255
+ Use this data source to retrieve information about default or created alarms. Either use `alarm_id`
256
+ or `type` to retrieve the alarm.
238
257
 
239
258
  ## Example Usage
240
259
 
@@ -246,36 +265,23 @@ def get_alarm_output(alarm_id: Optional[pulumi.Input[Optional[int]]] = None,
246
265
  type="cpu")
247
266
  ```
248
267
 
249
- ## Attributes reference
250
-
251
- All attributes reference are computed
252
-
253
- * `id` - The identifier for this resource.
254
- * `enabled` - Enable/disable status of the alarm.
255
- * `value_threshold` - The value threshold that triggers the alarm.
256
- * `reminder_interval` - The reminder interval (in seconds) to resend the alarm if not resolved. Set to 0 for no reminders.
257
- * `time_threshold` - The time interval (in seconds) the `value_threshold` should be active before trigger an alarm.
258
- * `queue_regex` - Regular expression for which queue to check.
259
- * `vhost_regex` - Regular expression for which vhost to check
260
- * `recipients` - Identifier for recipient to be notified.
261
- * `message_type` - Message type `(total, unacked, ready)` used by queue alarm type.
262
-
263
- Specific attribute for `disk` alarm
264
-
265
- * `value_calculation` - Disk value threshold calculation, `(fixed, percentage)` of disk space remaining.
266
-
267
268
  ## Dependency
268
269
 
269
270
  This data source depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
270
271
 
271
- ## Alarm types
272
+ ## Alarm Types
272
273
 
273
274
  `cpu, memory, disk, queue, connection, flow, consumer, netsplit, server_unreachable, notice`
274
275
 
275
276
 
276
- :param int alarm_id: The alarm identifier. Either use this or `type` to give `Alarm` necessary information to retrieve the alarm.
277
+ :param int alarm_id: The alarm identifier. Either use this or `type` to give
278
+ `Alarm` necessary information to retrieve the alarm.
277
279
  :param int instance_id: The CloudAMQP instance identifier.
278
- :param str type: The alarm type. Either use this or `alarm_id` to give `Alarm` necessary information when retrieve the alarm. Supported alarm types
280
+ :param str type: The alarm type. Either use this or `alarm_id` to give `Alarm`
281
+ necessary information when retrieve the alarm. Supported
282
+ alarm types.
283
+ :param str value_calculation: Disk value threshold calculation, `(fixed, percentage)` of disk space
284
+ remaining.
279
285
  """
280
286
  __args__ = dict()
281
287
  __args__['alarmId'] = alarm_id
@@ -56,11 +56,17 @@ class GetCredentialsResult:
56
56
  @property
57
57
  @pulumi.getter
58
58
  def password(self) -> str:
59
+ """
60
+ (Sensitive) The password used by the `username`.
61
+ """
59
62
  return pulumi.get(self, "password")
60
63
 
61
64
  @property
62
65
  @pulumi.getter
63
66
  def username(self) -> str:
67
+ """
68
+ (Sensitive) The username for the configured user in Rabbit MQ.
69
+ """
64
70
  return pulumi.get(self, "username")
65
71
 
66
72
 
@@ -79,7 +85,8 @@ class AwaitableGetCredentialsResult(GetCredentialsResult):
79
85
  def get_credentials(instance_id: Optional[int] = None,
80
86
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCredentialsResult:
81
87
  """
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`.
88
+ Use this data source to retrieve information about the credentials of the configured user in
89
+ RabbitMQ. Information is extracted from `cloudamqp_instance.instance.url`.
83
90
 
84
91
  ## Example Usage
85
92
 
@@ -90,14 +97,6 @@ def get_credentials(instance_id: Optional[int] = None,
90
97
  credentials = cloudamqp.get_credentials(instance_id=instance["id"])
91
98
  ```
92
99
 
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
100
  ## Dependency
102
101
 
103
102
  This data source depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
@@ -118,7 +117,8 @@ def get_credentials(instance_id: Optional[int] = None,
118
117
  def get_credentials_output(instance_id: Optional[pulumi.Input[int]] = None,
119
118
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetCredentialsResult]:
120
119
  """
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`.
120
+ Use this data source to retrieve information about the credentials of the configured user in
121
+ RabbitMQ. Information is extracted from `cloudamqp_instance.instance.url`.
122
122
 
123
123
  ## Example Usage
124
124
 
@@ -129,14 +129,6 @@ def get_credentials_output(instance_id: Optional[pulumi.Input[int]] = None,
129
129
  credentials = cloudamqp.get_credentials(instance_id=instance["id"])
130
130
  ```
131
131
 
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
132
  ## Dependency
141
133
 
142
134
  This data source depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
@@ -88,26 +88,41 @@ class GetInstanceResult:
88
88
  @property
89
89
  @pulumi.getter
90
90
  def apikey(self) -> str:
91
+ """
92
+ (Sensitive) The API key to secondary API handing alarms, integration etc.
93
+ """
91
94
  return pulumi.get(self, "apikey")
92
95
 
93
96
  @property
94
97
  @pulumi.getter
95
98
  def backend(self) -> str:
99
+ """
100
+ Information if the CloudAMQP instance runs either RabbitMQ or LavinMQ.
101
+ """
96
102
  return pulumi.get(self, "backend")
97
103
 
98
104
  @property
99
105
  @pulumi.getter
100
106
  def dedicated(self) -> bool:
107
+ """
108
+ Information if the CloudAMQP instance is shared or dedicated.
109
+ """
101
110
  return pulumi.get(self, "dedicated")
102
111
 
103
112
  @property
104
113
  @pulumi.getter
105
114
  def host(self) -> str:
115
+ """
116
+ The external hostname for the CloudAMQP instance.
117
+ """
106
118
  return pulumi.get(self, "host")
107
119
 
108
120
  @property
109
121
  @pulumi.getter(name="hostInternal")
110
122
  def host_internal(self) -> str:
123
+ """
124
+ The internal hostname for the CloudAMQP instance.
125
+ """
111
126
  return pulumi.get(self, "host_internal")
112
127
 
113
128
  @property
@@ -126,6 +141,9 @@ class GetInstanceResult:
126
141
  @property
127
142
  @pulumi.getter
128
143
  def name(self) -> str:
144
+ """
145
+ The name of the CloudAMQP instance.
146
+ """
129
147
  return pulumi.get(self, "name")
130
148
 
131
149
  @property
@@ -136,11 +154,17 @@ class GetInstanceResult:
136
154
  @property
137
155
  @pulumi.getter
138
156
  def nodes(self) -> int:
157
+ """
158
+ Number of nodes in the cluster of the CloudAMQP instance.
159
+ """
139
160
  return pulumi.get(self, "nodes")
140
161
 
141
162
  @property
142
163
  @pulumi.getter
143
164
  def plan(self) -> str:
165
+ """
166
+ The subscription plan for the CloudAMQP instance.
167
+ """
144
168
  return pulumi.get(self, "plan")
145
169
 
146
170
  @property
@@ -151,36 +175,59 @@ class GetInstanceResult:
151
175
  @property
152
176
  @pulumi.getter
153
177
  def region(self) -> str:
178
+ """
179
+ The cloud platform and region that host the CloudAMQP instance,
180
+ `{platform}::{region}`.
181
+ """
154
182
  return pulumi.get(self, "region")
155
183
 
156
184
  @property
157
185
  @pulumi.getter(name="rmqVersion")
158
186
  def rmq_version(self) -> str:
187
+ """
188
+ The version of installed Rabbit MQ.
189
+ """
159
190
  return pulumi.get(self, "rmq_version")
160
191
 
161
192
  @property
162
193
  @pulumi.getter
163
194
  def tags(self) -> Sequence[str]:
195
+ """
196
+ Tags the CloudAMQP instance with categories.
197
+ """
164
198
  return pulumi.get(self, "tags")
165
199
 
166
200
  @property
167
201
  @pulumi.getter
168
202
  def url(self) -> str:
203
+ """
204
+ (Sensitive) The AMQP URL (uses the internal hostname if the instance was created
205
+ with VPC), used by clients to connect for pub/sub.
206
+ """
169
207
  return pulumi.get(self, "url")
170
208
 
171
209
  @property
172
210
  @pulumi.getter
173
211
  def vhost(self) -> str:
212
+ """
213
+ The virtual host configured in Rabbit MQ.
214
+ """
174
215
  return pulumi.get(self, "vhost")
175
216
 
176
217
  @property
177
218
  @pulumi.getter(name="vpcId")
178
219
  def vpc_id(self) -> int:
220
+ """
221
+ ID of the VPC configured for the CloudAMQP instance.
222
+ """
179
223
  return pulumi.get(self, "vpc_id")
180
224
 
181
225
  @property
182
226
  @pulumi.getter(name="vpcSubnet")
183
227
  def vpc_subnet(self) -> str:
228
+ """
229
+ Dedicated VPC subnet configured for the CloudAMQP instance.
230
+ """
184
231
  return pulumi.get(self, "vpc_subnet")
185
232
 
186
233
 
@@ -214,7 +261,8 @@ class AwaitableGetInstanceResult(GetInstanceResult):
214
261
  def get_instance(instance_id: Optional[int] = None,
215
262
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetInstanceResult:
216
263
  """
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.
264
+ Use this data source to retrieve information about an already created CloudAMQP instance. In order
265
+ to retrieve the correct information, the CoudAMQP instance identifier is needed.
218
266
 
219
267
 
220
268
  :param int instance_id: The CloudAMQP instance identifier.
@@ -247,7 +295,8 @@ def get_instance(instance_id: Optional[int] = None,
247
295
  def get_instance_output(instance_id: Optional[pulumi.Input[int]] = None,
248
296
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetInstanceResult]:
249
297
  """
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.
298
+ Use this data source to retrieve information about an already created CloudAMQP instance. In order
299
+ to retrieve the correct information, the CoudAMQP instance identifier is needed.
251
300
 
252
301
 
253
302
  :param int instance_id: The CloudAMQP instance identifier.
@@ -54,6 +54,9 @@ class GetNodesResult:
54
54
  @property
55
55
  @pulumi.getter
56
56
  def nodes(self) -> Sequence['outputs.GetNodesNodeResult']:
57
+ """
58
+ An array of node information. Each `nodes` block consists of the fields documented below.
59
+ """
57
60
  return pulumi.get(self, "nodes")
58
61
 
59
62
 
@@ -82,31 +85,6 @@ def get_nodes(instance_id: Optional[int] = None,
82
85
  nodes = cloudamqp.get_nodes(instance_id=instance["id"])
83
86
  ```
84
87
 
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
88
  ## Dependency
111
89
 
112
90
  This data source depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
@@ -137,31 +115,6 @@ def get_nodes_output(instance_id: Optional[pulumi.Input[int]] = None,
137
115
  nodes = cloudamqp.get_nodes(instance_id=instance["id"])
138
116
  ```
139
117
 
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
118
  ## Dependency
166
119
 
167
120
  This data source depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
@@ -70,6 +70,9 @@ class GetNotificationResult:
70
70
  @property
71
71
  @pulumi.getter
72
72
  def options(self) -> Optional[Mapping[str, str]]:
73
+ """
74
+ Options argument (e.g. `rk` used for VictorOps routing key).
75
+ """
73
76
  return pulumi.get(self, "options")
74
77
 
75
78
  @property
@@ -80,11 +83,17 @@ class GetNotificationResult:
80
83
  @property
81
84
  @pulumi.getter
82
85
  def type(self) -> str:
86
+ """
87
+ The type of the recipient.
88
+ """
83
89
  return pulumi.get(self, "type")
84
90
 
85
91
  @property
86
92
  @pulumi.getter
87
93
  def value(self) -> str:
94
+ """
95
+ The notification endpoint, where to send the notification.
96
+ """
88
97
  return pulumi.get(self, "value")
89
98
 
90
99
 
@@ -109,7 +118,9 @@ def get_notification(instance_id: Optional[int] = None,
109
118
  recipient_id: Optional[int] = None,
110
119
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNotificationResult:
111
120
  """
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`.
121
+ Use this data source to retrieve information about default or created recipients. The recipient will
122
+ receive notifications assigned to an alarm that has triggered. To retrieve the recipient either use
123
+ `recipient_id` or `name`.
113
124
 
114
125
  ## Example Usage
115
126
 
@@ -121,15 +132,6 @@ def get_notification(instance_id: Optional[int] = None,
121
132
  name="default")
122
133
  ```
123
134
 
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
135
  ## Dependency
134
136
 
135
137
  This data source depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
@@ -137,6 +139,7 @@ def get_notification(instance_id: Optional[int] = None,
137
139
 
138
140
  :param int instance_id: The CloudAMQP instance identifier.
139
141
  :param str name: The name set for the recipient.
142
+ :param Mapping[str, str] options: Options argument (e.g. `rk` used for VictorOps routing key).
140
143
  :param int recipient_id: The recipient identifier.
141
144
  """
142
145
  __args__ = dict()
@@ -161,7 +164,9 @@ def get_notification_output(instance_id: Optional[pulumi.Input[int]] = None,
161
164
  recipient_id: Optional[pulumi.Input[Optional[int]]] = None,
162
165
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetNotificationResult]:
163
166
  """
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`.
167
+ Use this data source to retrieve information about default or created recipients. The recipient will
168
+ receive notifications assigned to an alarm that has triggered. To retrieve the recipient either use
169
+ `recipient_id` or `name`.
165
170
 
166
171
  ## Example Usage
167
172
 
@@ -173,15 +178,6 @@ def get_notification_output(instance_id: Optional[pulumi.Input[int]] = None,
173
178
  name="default")
174
179
  ```
175
180
 
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
181
  ## Dependency
186
182
 
187
183
  This data source depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
@@ -189,6 +185,7 @@ def get_notification_output(instance_id: Optional[pulumi.Input[int]] = None,
189
185
 
190
186
  :param int instance_id: The CloudAMQP instance identifier.
191
187
  :param str name: The name set for the recipient.
188
+ :param Mapping[str, str] options: Options argument (e.g. `rk` used for VictorOps routing key).
192
189
  :param int recipient_id: The recipient identifier.
193
190
  """
194
191
  __args__ = dict()
@@ -60,6 +60,9 @@ class GetPluginsResult:
60
60
  @property
61
61
  @pulumi.getter
62
62
  def plugins(self) -> Sequence['outputs.GetPluginsPluginResult']:
63
+ """
64
+ An array of plugins. Each `plugins` block consists of the fields documented below.
65
+ """
63
66
  return pulumi.get(self, "plugins")
64
67
 
65
68
  @property
@@ -91,7 +94,8 @@ def get_plugins(instance_id: Optional[int] = None,
91
94
  timeout: Optional[int] = None,
92
95
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPluginsResult:
93
96
  """
94
- Use this data source to retrieve information about installed and available plugins for the CloudAMQP instance.
97
+ Use this data source to retrieve information about installed and available plugins for the CloudAMQP
98
+ instance.
95
99
 
96
100
  ## Example Usage
97
101
 
@@ -102,32 +106,16 @@ def get_plugins(instance_id: Optional[int] = None,
102
106
  plugins = cloudamqp.get_plugins(instance_id=instance["id"])
103
107
  ```
104
108
 
105
- ## Attributes reference
106
-
107
- All attributes reference are computed
108
-
109
- * `id` - The identifier for this resource.
110
- * `plugins` - An array of plugins. Each `plugins` block consists of the fields documented below.
111
- * `sleep` - (Optional) Configurable sleep time (seconds) for retries when requesting information
112
- about plugins. Default set to 10 seconds. *Available from v1.29.0*
113
- * `timeout` - (Optional) - Configurable timeout time (seconds) for retries when requesting
114
- information about plugins. Default set to 1800 seconds. *Available from v1.29.0*
115
-
116
- ***
117
-
118
- The `plugins` block consist of
119
-
120
- * `name` - The type of the recipient.
121
- * `version` - Rabbit MQ version that the plugins are shipped with.
122
- * `description` - Description of what the plugin does.
123
- * `enabled` - Enable or disable information for the plugin.
124
-
125
109
  ## Dependency
126
110
 
127
111
  This data source depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
128
112
 
129
113
 
130
114
  :param int instance_id: The CloudAMQP instance identifier.
115
+ :param int sleep: Configurable sleep time (seconds) for retries when requesting
116
+ information about plugins. Default set to 10 seconds.
117
+ :param int timeout: Configurable timeout time (seconds) for retries when requesting
118
+ information about plugins. Default set to 1800 seconds.
131
119
  """
132
120
  __args__ = dict()
133
121
  __args__['instanceId'] = instance_id
@@ -147,7 +135,8 @@ def get_plugins_output(instance_id: Optional[pulumi.Input[int]] = None,
147
135
  timeout: Optional[pulumi.Input[Optional[int]]] = None,
148
136
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetPluginsResult]:
149
137
  """
150
- Use this data source to retrieve information about installed and available plugins for the CloudAMQP instance.
138
+ Use this data source to retrieve information about installed and available plugins for the CloudAMQP
139
+ instance.
151
140
 
152
141
  ## Example Usage
153
142
 
@@ -158,32 +147,16 @@ def get_plugins_output(instance_id: Optional[pulumi.Input[int]] = None,
158
147
  plugins = cloudamqp.get_plugins(instance_id=instance["id"])
159
148
  ```
160
149
 
161
- ## Attributes reference
162
-
163
- All attributes reference are computed
164
-
165
- * `id` - The identifier for this resource.
166
- * `plugins` - An array of plugins. Each `plugins` block consists of the fields documented below.
167
- * `sleep` - (Optional) Configurable sleep time (seconds) for retries when requesting information
168
- about plugins. Default set to 10 seconds. *Available from v1.29.0*
169
- * `timeout` - (Optional) - Configurable timeout time (seconds) for retries when requesting
170
- information about plugins. Default set to 1800 seconds. *Available from v1.29.0*
171
-
172
- ***
173
-
174
- The `plugins` block consist of
175
-
176
- * `name` - The type of the recipient.
177
- * `version` - Rabbit MQ version that the plugins are shipped with.
178
- * `description` - Description of what the plugin does.
179
- * `enabled` - Enable or disable information for the plugin.
180
-
181
150
  ## Dependency
182
151
 
183
152
  This data source depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
184
153
 
185
154
 
186
155
  :param int instance_id: The CloudAMQP instance identifier.
156
+ :param int sleep: Configurable sleep time (seconds) for retries when requesting
157
+ information about plugins. Default set to 10 seconds.
158
+ :param int timeout: Configurable timeout time (seconds) for retries when requesting
159
+ information about plugins. Default set to 1800 seconds.
187
160
  """
188
161
  __args__ = dict()
189
162
  __args__['instanceId'] = instance_id