pulumi-cloudamqp 3.21.0a1743485311__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.
- pulumi_cloudamqp/__init__.py +9 -0
- pulumi_cloudamqp/_inputs.py +28 -9
- pulumi_cloudamqp/account_action.py +14 -7
- pulumi_cloudamqp/alarm.py +90 -30
- pulumi_cloudamqp/custom_domain.py +52 -10
- pulumi_cloudamqp/extra_disk_size.py +117 -101
- pulumi_cloudamqp/get_account.py +8 -2
- pulumi_cloudamqp/get_account_vpcs.py +13 -40
- pulumi_cloudamqp/get_alarm.py +50 -44
- pulumi_cloudamqp/get_credentials.py +10 -18
- pulumi_cloudamqp/get_instance.py +51 -2
- pulumi_cloudamqp/get_nodes.py +3 -50
- pulumi_cloudamqp/get_notification.py +17 -20
- pulumi_cloudamqp/get_plugins.py +15 -42
- pulumi_cloudamqp/get_plugins_community.py +16 -40
- pulumi_cloudamqp/get_upgradable_versions.py +10 -16
- pulumi_cloudamqp/get_vpc_gcp_info.py +23 -118
- pulumi_cloudamqp/get_vpc_info.py +18 -112
- pulumi_cloudamqp/instance.py +400 -177
- pulumi_cloudamqp/integration_aws_eventbridge.py +90 -26
- pulumi_cloudamqp/integration_log.py +135 -50
- pulumi_cloudamqp/integration_metric.py +50 -2
- pulumi_cloudamqp/maintenance_window.py +515 -0
- pulumi_cloudamqp/node_actions.py +32 -10
- pulumi_cloudamqp/notification.py +103 -22
- pulumi_cloudamqp/outputs.py +118 -28
- pulumi_cloudamqp/plugin.py +89 -25
- pulumi_cloudamqp/plugin_community.py +87 -27
- pulumi_cloudamqp/privatelink_aws.py +62 -270
- pulumi_cloudamqp/privatelink_azure.py +64 -268
- pulumi_cloudamqp/pulumi-plugin.json +1 -1
- pulumi_cloudamqp/rabbit_configuration.py +209 -86
- pulumi_cloudamqp/security_firewall.py +76 -23
- pulumi_cloudamqp/upgrade_lavinmq.py +0 -74
- pulumi_cloudamqp/upgrade_rabbitmq.py +14 -261
- pulumi_cloudamqp/vpc.py +48 -16
- pulumi_cloudamqp/vpc_connect.py +111 -499
- pulumi_cloudamqp/vpc_gcp_peering.py +141 -506
- pulumi_cloudamqp/vpc_peering.py +50 -36
- pulumi_cloudamqp/webhook.py +48 -9
- {pulumi_cloudamqp-3.21.0a1743485311.dist-info → pulumi_cloudamqp-3.21.0a1744082841.dist-info}/METADATA +1 -1
- pulumi_cloudamqp-3.21.0a1744082841.dist-info/RECORD +50 -0
- pulumi_cloudamqp-3.21.0a1743485311.dist-info/RECORD +0 -49
- {pulumi_cloudamqp-3.21.0a1743485311.dist-info → pulumi_cloudamqp-3.21.0a1744082841.dist-info}/WHEEL +0 -0
- {pulumi_cloudamqp-3.21.0a1743485311.dist-info → pulumi_cloudamqp-3.21.0a1744082841.dist-info}/top_level.txt +0 -0
|
@@ -34,19 +34,32 @@ class RabbitConfigurationArgs:
|
|
|
34
34
|
"""
|
|
35
35
|
The set of arguments for constructing a RabbitConfiguration resource.
|
|
36
36
|
:param pulumi.Input[int] instance_id: The CloudAMQP instance ID.
|
|
37
|
-
:param pulumi.Input[int] channel_max: Set the maximum permissible number of
|
|
38
|
-
|
|
39
|
-
:param pulumi.Input[
|
|
40
|
-
|
|
41
|
-
:param pulumi.Input[int]
|
|
42
|
-
|
|
37
|
+
:param pulumi.Input[int] channel_max: Set the maximum permissible number of
|
|
38
|
+
channels per connection.
|
|
39
|
+
:param pulumi.Input[str] cluster_partition_handling: Set how the cluster should handle network
|
|
40
|
+
partition.
|
|
41
|
+
:param pulumi.Input[int] connection_max: Set the maximum permissible number of
|
|
42
|
+
connection.
|
|
43
|
+
:param pulumi.Input[int] consumer_timeout: A consumer that has recevied a message and
|
|
44
|
+
does not acknowledge that message within the timeout in
|
|
45
|
+
milliseconds
|
|
46
|
+
:param pulumi.Input[int] heartbeat: Set the server AMQP 0-9-1 heartbeat timeout
|
|
47
|
+
in seconds.
|
|
48
|
+
:param pulumi.Input[str] log_exchange_level: Log level for the logger used for log
|
|
49
|
+
integrations and the CloudAMQP Console log view.
|
|
43
50
|
|
|
44
|
-
|
|
45
|
-
:param pulumi.Input[int] max_message_size: The largest allowed message payload size in
|
|
46
|
-
|
|
47
|
-
:param pulumi.Input[int]
|
|
48
|
-
|
|
49
|
-
|
|
51
|
+
***Note:*** Requires a restart of RabbitMQ to be applied.
|
|
52
|
+
:param pulumi.Input[int] max_message_size: The largest allowed message payload size in
|
|
53
|
+
bytes.
|
|
54
|
+
:param pulumi.Input[int] queue_index_embed_msgs_below: Size in bytes below which to embed messages
|
|
55
|
+
in the queue index. 0 will turn off payload embedding in the
|
|
56
|
+
queue index.
|
|
57
|
+
:param pulumi.Input[int] sleep: Configurable sleep time in seconds between retries
|
|
58
|
+
for RabbitMQ configuration. Default set to 60 seconds.
|
|
59
|
+
:param pulumi.Input[int] timeout: Configurable timeout time in seconds for RabbitMQ
|
|
60
|
+
configuration. Default set to 3600 seconds.
|
|
61
|
+
:param pulumi.Input[float] vm_memory_high_watermark: When the server will enter memory based
|
|
62
|
+
flow-control as relative to the maximum available memory.
|
|
50
63
|
"""
|
|
51
64
|
pulumi.set(__self__, "instance_id", instance_id)
|
|
52
65
|
if channel_max is not None:
|
|
@@ -88,7 +101,8 @@ class RabbitConfigurationArgs:
|
|
|
88
101
|
@pulumi.getter(name="channelMax")
|
|
89
102
|
def channel_max(self) -> Optional[pulumi.Input[int]]:
|
|
90
103
|
"""
|
|
91
|
-
Set the maximum permissible number of
|
|
104
|
+
Set the maximum permissible number of
|
|
105
|
+
channels per connection.
|
|
92
106
|
"""
|
|
93
107
|
return pulumi.get(self, "channel_max")
|
|
94
108
|
|
|
@@ -100,7 +114,8 @@ class RabbitConfigurationArgs:
|
|
|
100
114
|
@pulumi.getter(name="clusterPartitionHandling")
|
|
101
115
|
def cluster_partition_handling(self) -> Optional[pulumi.Input[str]]:
|
|
102
116
|
"""
|
|
103
|
-
Set how the cluster should handle network
|
|
117
|
+
Set how the cluster should handle network
|
|
118
|
+
partition.
|
|
104
119
|
"""
|
|
105
120
|
return pulumi.get(self, "cluster_partition_handling")
|
|
106
121
|
|
|
@@ -112,7 +127,8 @@ class RabbitConfigurationArgs:
|
|
|
112
127
|
@pulumi.getter(name="connectionMax")
|
|
113
128
|
def connection_max(self) -> Optional[pulumi.Input[int]]:
|
|
114
129
|
"""
|
|
115
|
-
Set the maximum permissible number of
|
|
130
|
+
Set the maximum permissible number of
|
|
131
|
+
connection.
|
|
116
132
|
"""
|
|
117
133
|
return pulumi.get(self, "connection_max")
|
|
118
134
|
|
|
@@ -124,7 +140,9 @@ class RabbitConfigurationArgs:
|
|
|
124
140
|
@pulumi.getter(name="consumerTimeout")
|
|
125
141
|
def consumer_timeout(self) -> Optional[pulumi.Input[int]]:
|
|
126
142
|
"""
|
|
127
|
-
A consumer that has recevied a message and
|
|
143
|
+
A consumer that has recevied a message and
|
|
144
|
+
does not acknowledge that message within the timeout in
|
|
145
|
+
milliseconds
|
|
128
146
|
"""
|
|
129
147
|
return pulumi.get(self, "consumer_timeout")
|
|
130
148
|
|
|
@@ -136,7 +154,8 @@ class RabbitConfigurationArgs:
|
|
|
136
154
|
@pulumi.getter
|
|
137
155
|
def heartbeat(self) -> Optional[pulumi.Input[int]]:
|
|
138
156
|
"""
|
|
139
|
-
Set the server AMQP 0-9-1 heartbeat timeout
|
|
157
|
+
Set the server AMQP 0-9-1 heartbeat timeout
|
|
158
|
+
in seconds.
|
|
140
159
|
"""
|
|
141
160
|
return pulumi.get(self, "heartbeat")
|
|
142
161
|
|
|
@@ -148,9 +167,10 @@ class RabbitConfigurationArgs:
|
|
|
148
167
|
@pulumi.getter(name="logExchangeLevel")
|
|
149
168
|
def log_exchange_level(self) -> Optional[pulumi.Input[str]]:
|
|
150
169
|
"""
|
|
151
|
-
Log level for the logger used for log
|
|
170
|
+
Log level for the logger used for log
|
|
171
|
+
integrations and the CloudAMQP Console log view.
|
|
152
172
|
|
|
153
|
-
|
|
173
|
+
***Note:*** Requires a restart of RabbitMQ to be applied.
|
|
154
174
|
"""
|
|
155
175
|
return pulumi.get(self, "log_exchange_level")
|
|
156
176
|
|
|
@@ -162,7 +182,8 @@ class RabbitConfigurationArgs:
|
|
|
162
182
|
@pulumi.getter(name="maxMessageSize")
|
|
163
183
|
def max_message_size(self) -> Optional[pulumi.Input[int]]:
|
|
164
184
|
"""
|
|
165
|
-
The largest allowed message payload size in
|
|
185
|
+
The largest allowed message payload size in
|
|
186
|
+
bytes.
|
|
166
187
|
"""
|
|
167
188
|
return pulumi.get(self, "max_message_size")
|
|
168
189
|
|
|
@@ -174,7 +195,9 @@ class RabbitConfigurationArgs:
|
|
|
174
195
|
@pulumi.getter(name="queueIndexEmbedMsgsBelow")
|
|
175
196
|
def queue_index_embed_msgs_below(self) -> Optional[pulumi.Input[int]]:
|
|
176
197
|
"""
|
|
177
|
-
Size in bytes below which to embed messages
|
|
198
|
+
Size in bytes below which to embed messages
|
|
199
|
+
in the queue index. 0 will turn off payload embedding in the
|
|
200
|
+
queue index.
|
|
178
201
|
"""
|
|
179
202
|
return pulumi.get(self, "queue_index_embed_msgs_below")
|
|
180
203
|
|
|
@@ -186,7 +209,8 @@ class RabbitConfigurationArgs:
|
|
|
186
209
|
@pulumi.getter
|
|
187
210
|
def sleep(self) -> Optional[pulumi.Input[int]]:
|
|
188
211
|
"""
|
|
189
|
-
Configurable sleep time in seconds between retries
|
|
212
|
+
Configurable sleep time in seconds between retries
|
|
213
|
+
for RabbitMQ configuration. Default set to 60 seconds.
|
|
190
214
|
"""
|
|
191
215
|
return pulumi.get(self, "sleep")
|
|
192
216
|
|
|
@@ -198,7 +222,8 @@ class RabbitConfigurationArgs:
|
|
|
198
222
|
@pulumi.getter
|
|
199
223
|
def timeout(self) -> Optional[pulumi.Input[int]]:
|
|
200
224
|
"""
|
|
201
|
-
Configurable timeout time in seconds for RabbitMQ
|
|
225
|
+
Configurable timeout time in seconds for RabbitMQ
|
|
226
|
+
configuration. Default set to 3600 seconds.
|
|
202
227
|
"""
|
|
203
228
|
return pulumi.get(self, "timeout")
|
|
204
229
|
|
|
@@ -210,7 +235,8 @@ class RabbitConfigurationArgs:
|
|
|
210
235
|
@pulumi.getter(name="vmMemoryHighWatermark")
|
|
211
236
|
def vm_memory_high_watermark(self) -> Optional[pulumi.Input[float]]:
|
|
212
237
|
"""
|
|
213
|
-
When the server will enter memory based
|
|
238
|
+
When the server will enter memory based
|
|
239
|
+
flow-control as relative to the maximum available memory.
|
|
214
240
|
"""
|
|
215
241
|
return pulumi.get(self, "vm_memory_high_watermark")
|
|
216
242
|
|
|
@@ -236,20 +262,33 @@ class _RabbitConfigurationState:
|
|
|
236
262
|
vm_memory_high_watermark: Optional[pulumi.Input[float]] = None):
|
|
237
263
|
"""
|
|
238
264
|
Input properties used for looking up and filtering RabbitConfiguration resources.
|
|
239
|
-
:param pulumi.Input[int] channel_max: Set the maximum permissible number of
|
|
240
|
-
|
|
241
|
-
:param pulumi.Input[
|
|
242
|
-
|
|
243
|
-
:param pulumi.Input[int]
|
|
265
|
+
:param pulumi.Input[int] channel_max: Set the maximum permissible number of
|
|
266
|
+
channels per connection.
|
|
267
|
+
:param pulumi.Input[str] cluster_partition_handling: Set how the cluster should handle network
|
|
268
|
+
partition.
|
|
269
|
+
:param pulumi.Input[int] connection_max: Set the maximum permissible number of
|
|
270
|
+
connection.
|
|
271
|
+
:param pulumi.Input[int] consumer_timeout: A consumer that has recevied a message and
|
|
272
|
+
does not acknowledge that message within the timeout in
|
|
273
|
+
milliseconds
|
|
274
|
+
:param pulumi.Input[int] heartbeat: Set the server AMQP 0-9-1 heartbeat timeout
|
|
275
|
+
in seconds.
|
|
244
276
|
:param pulumi.Input[int] instance_id: The CloudAMQP instance ID.
|
|
245
|
-
:param pulumi.Input[str] log_exchange_level: Log level for the logger used for log
|
|
277
|
+
:param pulumi.Input[str] log_exchange_level: Log level for the logger used for log
|
|
278
|
+
integrations and the CloudAMQP Console log view.
|
|
246
279
|
|
|
247
|
-
|
|
248
|
-
:param pulumi.Input[int] max_message_size: The largest allowed message payload size in
|
|
249
|
-
|
|
250
|
-
:param pulumi.Input[int]
|
|
251
|
-
|
|
252
|
-
|
|
280
|
+
***Note:*** Requires a restart of RabbitMQ to be applied.
|
|
281
|
+
:param pulumi.Input[int] max_message_size: The largest allowed message payload size in
|
|
282
|
+
bytes.
|
|
283
|
+
:param pulumi.Input[int] queue_index_embed_msgs_below: Size in bytes below which to embed messages
|
|
284
|
+
in the queue index. 0 will turn off payload embedding in the
|
|
285
|
+
queue index.
|
|
286
|
+
:param pulumi.Input[int] sleep: Configurable sleep time in seconds between retries
|
|
287
|
+
for RabbitMQ configuration. Default set to 60 seconds.
|
|
288
|
+
:param pulumi.Input[int] timeout: Configurable timeout time in seconds for RabbitMQ
|
|
289
|
+
configuration. Default set to 3600 seconds.
|
|
290
|
+
:param pulumi.Input[float] vm_memory_high_watermark: When the server will enter memory based
|
|
291
|
+
flow-control as relative to the maximum available memory.
|
|
253
292
|
"""
|
|
254
293
|
if channel_max is not None:
|
|
255
294
|
pulumi.set(__self__, "channel_max", channel_max)
|
|
@@ -280,7 +319,8 @@ class _RabbitConfigurationState:
|
|
|
280
319
|
@pulumi.getter(name="channelMax")
|
|
281
320
|
def channel_max(self) -> Optional[pulumi.Input[int]]:
|
|
282
321
|
"""
|
|
283
|
-
Set the maximum permissible number of
|
|
322
|
+
Set the maximum permissible number of
|
|
323
|
+
channels per connection.
|
|
284
324
|
"""
|
|
285
325
|
return pulumi.get(self, "channel_max")
|
|
286
326
|
|
|
@@ -292,7 +332,8 @@ class _RabbitConfigurationState:
|
|
|
292
332
|
@pulumi.getter(name="clusterPartitionHandling")
|
|
293
333
|
def cluster_partition_handling(self) -> Optional[pulumi.Input[str]]:
|
|
294
334
|
"""
|
|
295
|
-
Set how the cluster should handle network
|
|
335
|
+
Set how the cluster should handle network
|
|
336
|
+
partition.
|
|
296
337
|
"""
|
|
297
338
|
return pulumi.get(self, "cluster_partition_handling")
|
|
298
339
|
|
|
@@ -304,7 +345,8 @@ class _RabbitConfigurationState:
|
|
|
304
345
|
@pulumi.getter(name="connectionMax")
|
|
305
346
|
def connection_max(self) -> Optional[pulumi.Input[int]]:
|
|
306
347
|
"""
|
|
307
|
-
Set the maximum permissible number of
|
|
348
|
+
Set the maximum permissible number of
|
|
349
|
+
connection.
|
|
308
350
|
"""
|
|
309
351
|
return pulumi.get(self, "connection_max")
|
|
310
352
|
|
|
@@ -316,7 +358,9 @@ class _RabbitConfigurationState:
|
|
|
316
358
|
@pulumi.getter(name="consumerTimeout")
|
|
317
359
|
def consumer_timeout(self) -> Optional[pulumi.Input[int]]:
|
|
318
360
|
"""
|
|
319
|
-
A consumer that has recevied a message and
|
|
361
|
+
A consumer that has recevied a message and
|
|
362
|
+
does not acknowledge that message within the timeout in
|
|
363
|
+
milliseconds
|
|
320
364
|
"""
|
|
321
365
|
return pulumi.get(self, "consumer_timeout")
|
|
322
366
|
|
|
@@ -328,7 +372,8 @@ class _RabbitConfigurationState:
|
|
|
328
372
|
@pulumi.getter
|
|
329
373
|
def heartbeat(self) -> Optional[pulumi.Input[int]]:
|
|
330
374
|
"""
|
|
331
|
-
Set the server AMQP 0-9-1 heartbeat timeout
|
|
375
|
+
Set the server AMQP 0-9-1 heartbeat timeout
|
|
376
|
+
in seconds.
|
|
332
377
|
"""
|
|
333
378
|
return pulumi.get(self, "heartbeat")
|
|
334
379
|
|
|
@@ -352,9 +397,10 @@ class _RabbitConfigurationState:
|
|
|
352
397
|
@pulumi.getter(name="logExchangeLevel")
|
|
353
398
|
def log_exchange_level(self) -> Optional[pulumi.Input[str]]:
|
|
354
399
|
"""
|
|
355
|
-
Log level for the logger used for log
|
|
400
|
+
Log level for the logger used for log
|
|
401
|
+
integrations and the CloudAMQP Console log view.
|
|
356
402
|
|
|
357
|
-
|
|
403
|
+
***Note:*** Requires a restart of RabbitMQ to be applied.
|
|
358
404
|
"""
|
|
359
405
|
return pulumi.get(self, "log_exchange_level")
|
|
360
406
|
|
|
@@ -366,7 +412,8 @@ class _RabbitConfigurationState:
|
|
|
366
412
|
@pulumi.getter(name="maxMessageSize")
|
|
367
413
|
def max_message_size(self) -> Optional[pulumi.Input[int]]:
|
|
368
414
|
"""
|
|
369
|
-
The largest allowed message payload size in
|
|
415
|
+
The largest allowed message payload size in
|
|
416
|
+
bytes.
|
|
370
417
|
"""
|
|
371
418
|
return pulumi.get(self, "max_message_size")
|
|
372
419
|
|
|
@@ -378,7 +425,9 @@ class _RabbitConfigurationState:
|
|
|
378
425
|
@pulumi.getter(name="queueIndexEmbedMsgsBelow")
|
|
379
426
|
def queue_index_embed_msgs_below(self) -> Optional[pulumi.Input[int]]:
|
|
380
427
|
"""
|
|
381
|
-
Size in bytes below which to embed messages
|
|
428
|
+
Size in bytes below which to embed messages
|
|
429
|
+
in the queue index. 0 will turn off payload embedding in the
|
|
430
|
+
queue index.
|
|
382
431
|
"""
|
|
383
432
|
return pulumi.get(self, "queue_index_embed_msgs_below")
|
|
384
433
|
|
|
@@ -390,7 +439,8 @@ class _RabbitConfigurationState:
|
|
|
390
439
|
@pulumi.getter
|
|
391
440
|
def sleep(self) -> Optional[pulumi.Input[int]]:
|
|
392
441
|
"""
|
|
393
|
-
Configurable sleep time in seconds between retries
|
|
442
|
+
Configurable sleep time in seconds between retries
|
|
443
|
+
for RabbitMQ configuration. Default set to 60 seconds.
|
|
394
444
|
"""
|
|
395
445
|
return pulumi.get(self, "sleep")
|
|
396
446
|
|
|
@@ -402,7 +452,8 @@ class _RabbitConfigurationState:
|
|
|
402
452
|
@pulumi.getter
|
|
403
453
|
def timeout(self) -> Optional[pulumi.Input[int]]:
|
|
404
454
|
"""
|
|
405
|
-
Configurable timeout time in seconds for RabbitMQ
|
|
455
|
+
Configurable timeout time in seconds for RabbitMQ
|
|
456
|
+
configuration. Default set to 3600 seconds.
|
|
406
457
|
"""
|
|
407
458
|
return pulumi.get(self, "timeout")
|
|
408
459
|
|
|
@@ -414,7 +465,8 @@ class _RabbitConfigurationState:
|
|
|
414
465
|
@pulumi.getter(name="vmMemoryHighWatermark")
|
|
415
466
|
def vm_memory_high_watermark(self) -> Optional[pulumi.Input[float]]:
|
|
416
467
|
"""
|
|
417
|
-
When the server will enter memory based
|
|
468
|
+
When the server will enter memory based
|
|
469
|
+
flow-control as relative to the maximum available memory.
|
|
418
470
|
"""
|
|
419
471
|
return pulumi.get(self, "vm_memory_high_watermark")
|
|
420
472
|
|
|
@@ -444,7 +496,23 @@ class RabbitConfiguration(pulumi.CustomResource):
|
|
|
444
496
|
"""
|
|
445
497
|
## Import
|
|
446
498
|
|
|
447
|
-
`cloudamqp_rabbitmq_configuration` can be imported using the CloudAMQP instance identifier.
|
|
499
|
+
`cloudamqp_rabbitmq_configuration` can be imported using the CloudAMQP instance identifier. To
|
|
500
|
+
|
|
501
|
+
retrieve the identifier, use [CloudAMQP API list intances].
|
|
502
|
+
|
|
503
|
+
From Terraform v1.5.0, the `import` block can be used to import this resource:
|
|
504
|
+
|
|
505
|
+
hcl
|
|
506
|
+
|
|
507
|
+
import {
|
|
508
|
+
|
|
509
|
+
to = cloudamqp_rabbitmq_configuration.config
|
|
510
|
+
|
|
511
|
+
id = cloudamqp_instance.instance.id
|
|
512
|
+
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
Or use Terraform CLI:
|
|
448
516
|
|
|
449
517
|
```sh
|
|
450
518
|
$ pulumi import cloudamqp:index/rabbitConfiguration:RabbitConfiguration config <instance_id>`
|
|
@@ -452,20 +520,33 @@ class RabbitConfiguration(pulumi.CustomResource):
|
|
|
452
520
|
|
|
453
521
|
:param str resource_name: The name of the resource.
|
|
454
522
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
455
|
-
:param pulumi.Input[int] channel_max: Set the maximum permissible number of
|
|
456
|
-
|
|
457
|
-
:param pulumi.Input[
|
|
458
|
-
|
|
459
|
-
:param pulumi.Input[int]
|
|
523
|
+
:param pulumi.Input[int] channel_max: Set the maximum permissible number of
|
|
524
|
+
channels per connection.
|
|
525
|
+
:param pulumi.Input[str] cluster_partition_handling: Set how the cluster should handle network
|
|
526
|
+
partition.
|
|
527
|
+
:param pulumi.Input[int] connection_max: Set the maximum permissible number of
|
|
528
|
+
connection.
|
|
529
|
+
:param pulumi.Input[int] consumer_timeout: A consumer that has recevied a message and
|
|
530
|
+
does not acknowledge that message within the timeout in
|
|
531
|
+
milliseconds
|
|
532
|
+
:param pulumi.Input[int] heartbeat: Set the server AMQP 0-9-1 heartbeat timeout
|
|
533
|
+
in seconds.
|
|
460
534
|
:param pulumi.Input[int] instance_id: The CloudAMQP instance ID.
|
|
461
|
-
:param pulumi.Input[str] log_exchange_level: Log level for the logger used for log
|
|
535
|
+
:param pulumi.Input[str] log_exchange_level: Log level for the logger used for log
|
|
536
|
+
integrations and the CloudAMQP Console log view.
|
|
462
537
|
|
|
463
|
-
|
|
464
|
-
:param pulumi.Input[int] max_message_size: The largest allowed message payload size in
|
|
465
|
-
|
|
466
|
-
:param pulumi.Input[int]
|
|
467
|
-
|
|
468
|
-
|
|
538
|
+
***Note:*** Requires a restart of RabbitMQ to be applied.
|
|
539
|
+
:param pulumi.Input[int] max_message_size: The largest allowed message payload size in
|
|
540
|
+
bytes.
|
|
541
|
+
:param pulumi.Input[int] queue_index_embed_msgs_below: Size in bytes below which to embed messages
|
|
542
|
+
in the queue index. 0 will turn off payload embedding in the
|
|
543
|
+
queue index.
|
|
544
|
+
:param pulumi.Input[int] sleep: Configurable sleep time in seconds between retries
|
|
545
|
+
for RabbitMQ configuration. Default set to 60 seconds.
|
|
546
|
+
:param pulumi.Input[int] timeout: Configurable timeout time in seconds for RabbitMQ
|
|
547
|
+
configuration. Default set to 3600 seconds.
|
|
548
|
+
:param pulumi.Input[float] vm_memory_high_watermark: When the server will enter memory based
|
|
549
|
+
flow-control as relative to the maximum available memory.
|
|
469
550
|
"""
|
|
470
551
|
...
|
|
471
552
|
@overload
|
|
@@ -476,7 +557,23 @@ class RabbitConfiguration(pulumi.CustomResource):
|
|
|
476
557
|
"""
|
|
477
558
|
## Import
|
|
478
559
|
|
|
479
|
-
`cloudamqp_rabbitmq_configuration` can be imported using the CloudAMQP instance identifier.
|
|
560
|
+
`cloudamqp_rabbitmq_configuration` can be imported using the CloudAMQP instance identifier. To
|
|
561
|
+
|
|
562
|
+
retrieve the identifier, use [CloudAMQP API list intances].
|
|
563
|
+
|
|
564
|
+
From Terraform v1.5.0, the `import` block can be used to import this resource:
|
|
565
|
+
|
|
566
|
+
hcl
|
|
567
|
+
|
|
568
|
+
import {
|
|
569
|
+
|
|
570
|
+
to = cloudamqp_rabbitmq_configuration.config
|
|
571
|
+
|
|
572
|
+
id = cloudamqp_instance.instance.id
|
|
573
|
+
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
Or use Terraform CLI:
|
|
480
577
|
|
|
481
578
|
```sh
|
|
482
579
|
$ pulumi import cloudamqp:index/rabbitConfiguration:RabbitConfiguration config <instance_id>`
|
|
@@ -561,20 +658,33 @@ class RabbitConfiguration(pulumi.CustomResource):
|
|
|
561
658
|
:param str resource_name: The unique name of the resulting resource.
|
|
562
659
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
563
660
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
564
|
-
:param pulumi.Input[int] channel_max: Set the maximum permissible number of
|
|
565
|
-
|
|
566
|
-
:param pulumi.Input[
|
|
567
|
-
|
|
568
|
-
:param pulumi.Input[int]
|
|
661
|
+
:param pulumi.Input[int] channel_max: Set the maximum permissible number of
|
|
662
|
+
channels per connection.
|
|
663
|
+
:param pulumi.Input[str] cluster_partition_handling: Set how the cluster should handle network
|
|
664
|
+
partition.
|
|
665
|
+
:param pulumi.Input[int] connection_max: Set the maximum permissible number of
|
|
666
|
+
connection.
|
|
667
|
+
:param pulumi.Input[int] consumer_timeout: A consumer that has recevied a message and
|
|
668
|
+
does not acknowledge that message within the timeout in
|
|
669
|
+
milliseconds
|
|
670
|
+
:param pulumi.Input[int] heartbeat: Set the server AMQP 0-9-1 heartbeat timeout
|
|
671
|
+
in seconds.
|
|
569
672
|
:param pulumi.Input[int] instance_id: The CloudAMQP instance ID.
|
|
570
|
-
:param pulumi.Input[str] log_exchange_level: Log level for the logger used for log
|
|
673
|
+
:param pulumi.Input[str] log_exchange_level: Log level for the logger used for log
|
|
674
|
+
integrations and the CloudAMQP Console log view.
|
|
571
675
|
|
|
572
|
-
|
|
573
|
-
:param pulumi.Input[int] max_message_size: The largest allowed message payload size in
|
|
574
|
-
|
|
575
|
-
:param pulumi.Input[int]
|
|
576
|
-
|
|
577
|
-
|
|
676
|
+
***Note:*** Requires a restart of RabbitMQ to be applied.
|
|
677
|
+
:param pulumi.Input[int] max_message_size: The largest allowed message payload size in
|
|
678
|
+
bytes.
|
|
679
|
+
:param pulumi.Input[int] queue_index_embed_msgs_below: Size in bytes below which to embed messages
|
|
680
|
+
in the queue index. 0 will turn off payload embedding in the
|
|
681
|
+
queue index.
|
|
682
|
+
:param pulumi.Input[int] sleep: Configurable sleep time in seconds between retries
|
|
683
|
+
for RabbitMQ configuration. Default set to 60 seconds.
|
|
684
|
+
:param pulumi.Input[int] timeout: Configurable timeout time in seconds for RabbitMQ
|
|
685
|
+
configuration. Default set to 3600 seconds.
|
|
686
|
+
:param pulumi.Input[float] vm_memory_high_watermark: When the server will enter memory based
|
|
687
|
+
flow-control as relative to the maximum available memory.
|
|
578
688
|
"""
|
|
579
689
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
580
690
|
|
|
@@ -598,7 +708,8 @@ class RabbitConfiguration(pulumi.CustomResource):
|
|
|
598
708
|
@pulumi.getter(name="channelMax")
|
|
599
709
|
def channel_max(self) -> pulumi.Output[int]:
|
|
600
710
|
"""
|
|
601
|
-
Set the maximum permissible number of
|
|
711
|
+
Set the maximum permissible number of
|
|
712
|
+
channels per connection.
|
|
602
713
|
"""
|
|
603
714
|
return pulumi.get(self, "channel_max")
|
|
604
715
|
|
|
@@ -606,7 +717,8 @@ class RabbitConfiguration(pulumi.CustomResource):
|
|
|
606
717
|
@pulumi.getter(name="clusterPartitionHandling")
|
|
607
718
|
def cluster_partition_handling(self) -> pulumi.Output[str]:
|
|
608
719
|
"""
|
|
609
|
-
Set how the cluster should handle network
|
|
720
|
+
Set how the cluster should handle network
|
|
721
|
+
partition.
|
|
610
722
|
"""
|
|
611
723
|
return pulumi.get(self, "cluster_partition_handling")
|
|
612
724
|
|
|
@@ -614,7 +726,8 @@ class RabbitConfiguration(pulumi.CustomResource):
|
|
|
614
726
|
@pulumi.getter(name="connectionMax")
|
|
615
727
|
def connection_max(self) -> pulumi.Output[int]:
|
|
616
728
|
"""
|
|
617
|
-
Set the maximum permissible number of
|
|
729
|
+
Set the maximum permissible number of
|
|
730
|
+
connection.
|
|
618
731
|
"""
|
|
619
732
|
return pulumi.get(self, "connection_max")
|
|
620
733
|
|
|
@@ -622,7 +735,9 @@ class RabbitConfiguration(pulumi.CustomResource):
|
|
|
622
735
|
@pulumi.getter(name="consumerTimeout")
|
|
623
736
|
def consumer_timeout(self) -> pulumi.Output[int]:
|
|
624
737
|
"""
|
|
625
|
-
A consumer that has recevied a message and
|
|
738
|
+
A consumer that has recevied a message and
|
|
739
|
+
does not acknowledge that message within the timeout in
|
|
740
|
+
milliseconds
|
|
626
741
|
"""
|
|
627
742
|
return pulumi.get(self, "consumer_timeout")
|
|
628
743
|
|
|
@@ -630,7 +745,8 @@ class RabbitConfiguration(pulumi.CustomResource):
|
|
|
630
745
|
@pulumi.getter
|
|
631
746
|
def heartbeat(self) -> pulumi.Output[int]:
|
|
632
747
|
"""
|
|
633
|
-
Set the server AMQP 0-9-1 heartbeat timeout
|
|
748
|
+
Set the server AMQP 0-9-1 heartbeat timeout
|
|
749
|
+
in seconds.
|
|
634
750
|
"""
|
|
635
751
|
return pulumi.get(self, "heartbeat")
|
|
636
752
|
|
|
@@ -646,9 +762,10 @@ class RabbitConfiguration(pulumi.CustomResource):
|
|
|
646
762
|
@pulumi.getter(name="logExchangeLevel")
|
|
647
763
|
def log_exchange_level(self) -> pulumi.Output[str]:
|
|
648
764
|
"""
|
|
649
|
-
Log level for the logger used for log
|
|
765
|
+
Log level for the logger used for log
|
|
766
|
+
integrations and the CloudAMQP Console log view.
|
|
650
767
|
|
|
651
|
-
|
|
768
|
+
***Note:*** Requires a restart of RabbitMQ to be applied.
|
|
652
769
|
"""
|
|
653
770
|
return pulumi.get(self, "log_exchange_level")
|
|
654
771
|
|
|
@@ -656,7 +773,8 @@ class RabbitConfiguration(pulumi.CustomResource):
|
|
|
656
773
|
@pulumi.getter(name="maxMessageSize")
|
|
657
774
|
def max_message_size(self) -> pulumi.Output[int]:
|
|
658
775
|
"""
|
|
659
|
-
The largest allowed message payload size in
|
|
776
|
+
The largest allowed message payload size in
|
|
777
|
+
bytes.
|
|
660
778
|
"""
|
|
661
779
|
return pulumi.get(self, "max_message_size")
|
|
662
780
|
|
|
@@ -664,7 +782,9 @@ class RabbitConfiguration(pulumi.CustomResource):
|
|
|
664
782
|
@pulumi.getter(name="queueIndexEmbedMsgsBelow")
|
|
665
783
|
def queue_index_embed_msgs_below(self) -> pulumi.Output[int]:
|
|
666
784
|
"""
|
|
667
|
-
Size in bytes below which to embed messages
|
|
785
|
+
Size in bytes below which to embed messages
|
|
786
|
+
in the queue index. 0 will turn off payload embedding in the
|
|
787
|
+
queue index.
|
|
668
788
|
"""
|
|
669
789
|
return pulumi.get(self, "queue_index_embed_msgs_below")
|
|
670
790
|
|
|
@@ -672,7 +792,8 @@ class RabbitConfiguration(pulumi.CustomResource):
|
|
|
672
792
|
@pulumi.getter
|
|
673
793
|
def sleep(self) -> pulumi.Output[Optional[int]]:
|
|
674
794
|
"""
|
|
675
|
-
Configurable sleep time in seconds between retries
|
|
795
|
+
Configurable sleep time in seconds between retries
|
|
796
|
+
for RabbitMQ configuration. Default set to 60 seconds.
|
|
676
797
|
"""
|
|
677
798
|
return pulumi.get(self, "sleep")
|
|
678
799
|
|
|
@@ -680,7 +801,8 @@ class RabbitConfiguration(pulumi.CustomResource):
|
|
|
680
801
|
@pulumi.getter
|
|
681
802
|
def timeout(self) -> pulumi.Output[Optional[int]]:
|
|
682
803
|
"""
|
|
683
|
-
Configurable timeout time in seconds for RabbitMQ
|
|
804
|
+
Configurable timeout time in seconds for RabbitMQ
|
|
805
|
+
configuration. Default set to 3600 seconds.
|
|
684
806
|
"""
|
|
685
807
|
return pulumi.get(self, "timeout")
|
|
686
808
|
|
|
@@ -688,7 +810,8 @@ class RabbitConfiguration(pulumi.CustomResource):
|
|
|
688
810
|
@pulumi.getter(name="vmMemoryHighWatermark")
|
|
689
811
|
def vm_memory_high_watermark(self) -> pulumi.Output[float]:
|
|
690
812
|
"""
|
|
691
|
-
When the server will enter memory based
|
|
813
|
+
When the server will enter memory based
|
|
814
|
+
flow-control as relative to the maximum available memory.
|
|
692
815
|
"""
|
|
693
816
|
return pulumi.get(self, "vm_memory_high_watermark")
|
|
694
817
|
|