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
@@ -901,12 +901,36 @@ class IntegrationMetric(pulumi.CustomResource):
901
901
 
902
902
  `cloudamqp_integration_metric`can be imported using the resource identifier together with CloudAMQP
903
903
 
904
- instance identifier. The name and identifier are CSV separated, see example below.
904
+ instance identifier (CSV separated). To retrieve the resource identifier, use
905
+
906
+ [CloudAMQP API list integrations].
907
+
908
+ From Terraform v1.5.0, the `import` block can be used to import this resource:
909
+
910
+ hcl
911
+
912
+ import {
913
+
914
+ to = cloudamqp_alarm.alarm
915
+
916
+ id = format("<id>,%s", cloudamqp_instance.instance.id)
917
+
918
+ }
919
+
920
+ Or use Terraform CLI:
905
921
 
906
922
  ```sh
907
923
  $ pulumi import cloudamqp:index/integrationMetric:IntegrationMetric <resource_name> <resource_id>,<instance_id>`
908
924
  ```
909
925
 
926
+ [CloudAMQP API add integrations]: https://docs.cloudamqp.com/cloudamqp_api.html#add-metrics-integration
927
+
928
+ [CloudAMQP API list integrations]: https://docs.cloudamqp.com/cloudamqp_api.html#list-metrics-integrations
929
+
930
+ [Datadog documentation]: https://docs.datadoghq.com/getting_started/tagging/#define-tags
931
+
932
+ [integration type reference]: #integration-type-reference
933
+
910
934
  :param str resource_name: The name of the resource.
911
935
  :param pulumi.ResourceOptions opts: Options for the resource.
912
936
  :param pulumi.Input[str] access_key_id: AWS access key identifier. (Cloudwatch)
@@ -1092,12 +1116,36 @@ class IntegrationMetric(pulumi.CustomResource):
1092
1116
 
1093
1117
  `cloudamqp_integration_metric`can be imported using the resource identifier together with CloudAMQP
1094
1118
 
1095
- instance identifier. The name and identifier are CSV separated, see example below.
1119
+ instance identifier (CSV separated). To retrieve the resource identifier, use
1120
+
1121
+ [CloudAMQP API list integrations].
1122
+
1123
+ From Terraform v1.5.0, the `import` block can be used to import this resource:
1124
+
1125
+ hcl
1126
+
1127
+ import {
1128
+
1129
+ to = cloudamqp_alarm.alarm
1130
+
1131
+ id = format("<id>,%s", cloudamqp_instance.instance.id)
1132
+
1133
+ }
1134
+
1135
+ Or use Terraform CLI:
1096
1136
 
1097
1137
  ```sh
1098
1138
  $ pulumi import cloudamqp:index/integrationMetric:IntegrationMetric <resource_name> <resource_id>,<instance_id>`
1099
1139
  ```
1100
1140
 
1141
+ [CloudAMQP API add integrations]: https://docs.cloudamqp.com/cloudamqp_api.html#add-metrics-integration
1142
+
1143
+ [CloudAMQP API list integrations]: https://docs.cloudamqp.com/cloudamqp_api.html#list-metrics-integrations
1144
+
1145
+ [Datadog documentation]: https://docs.datadoghq.com/getting_started/tagging/#define-tags
1146
+
1147
+ [integration type reference]: #integration-type-reference
1148
+
1101
1149
  :param str resource_name: The name of the resource.
1102
1150
  :param IntegrationMetricArgs args: The arguments to use to populate this resource's properties.
1103
1151
  :param pulumi.ResourceOptions opts: Options for the resource.
@@ -0,0 +1,515 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import copy
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from . import _utilities
16
+
17
+ __all__ = ['MaintenanceWindowArgs', 'MaintenanceWindow']
18
+
19
+ @pulumi.input_type
20
+ class MaintenanceWindowArgs:
21
+ def __init__(__self__, *,
22
+ instance_id: pulumi.Input[int],
23
+ automatic_updates: Optional[pulumi.Input[str]] = None,
24
+ preferred_day: Optional[pulumi.Input[str]] = None,
25
+ preferred_time: Optional[pulumi.Input[str]] = None):
26
+ """
27
+ The set of arguments for constructing a MaintenanceWindow resource.
28
+ :param pulumi.Input[int] instance_id: The CloudAMQP instance ID.
29
+ :param pulumi.Input[str] automatic_updates: Allow scheduling of a maintenance for version update
30
+ once a new LavinMQ version been released.
31
+ :param pulumi.Input[str] preferred_day: Preferred day of the week when to schedule maintenance.
32
+ :param pulumi.Input[str] preferred_time: Preferred time (UTC) of the day when to schedule maintenance.
33
+ """
34
+ pulumi.set(__self__, "instance_id", instance_id)
35
+ if automatic_updates is not None:
36
+ pulumi.set(__self__, "automatic_updates", automatic_updates)
37
+ if preferred_day is not None:
38
+ pulumi.set(__self__, "preferred_day", preferred_day)
39
+ if preferred_time is not None:
40
+ pulumi.set(__self__, "preferred_time", preferred_time)
41
+
42
+ @property
43
+ @pulumi.getter(name="instanceId")
44
+ def instance_id(self) -> pulumi.Input[int]:
45
+ """
46
+ The CloudAMQP instance ID.
47
+ """
48
+ return pulumi.get(self, "instance_id")
49
+
50
+ @instance_id.setter
51
+ def instance_id(self, value: pulumi.Input[int]):
52
+ pulumi.set(self, "instance_id", value)
53
+
54
+ @property
55
+ @pulumi.getter(name="automaticUpdates")
56
+ def automatic_updates(self) -> Optional[pulumi.Input[str]]:
57
+ """
58
+ Allow scheduling of a maintenance for version update
59
+ once a new LavinMQ version been released.
60
+ """
61
+ return pulumi.get(self, "automatic_updates")
62
+
63
+ @automatic_updates.setter
64
+ def automatic_updates(self, value: Optional[pulumi.Input[str]]):
65
+ pulumi.set(self, "automatic_updates", value)
66
+
67
+ @property
68
+ @pulumi.getter(name="preferredDay")
69
+ def preferred_day(self) -> Optional[pulumi.Input[str]]:
70
+ """
71
+ Preferred day of the week when to schedule maintenance.
72
+ """
73
+ return pulumi.get(self, "preferred_day")
74
+
75
+ @preferred_day.setter
76
+ def preferred_day(self, value: Optional[pulumi.Input[str]]):
77
+ pulumi.set(self, "preferred_day", value)
78
+
79
+ @property
80
+ @pulumi.getter(name="preferredTime")
81
+ def preferred_time(self) -> Optional[pulumi.Input[str]]:
82
+ """
83
+ Preferred time (UTC) of the day when to schedule maintenance.
84
+ """
85
+ return pulumi.get(self, "preferred_time")
86
+
87
+ @preferred_time.setter
88
+ def preferred_time(self, value: Optional[pulumi.Input[str]]):
89
+ pulumi.set(self, "preferred_time", value)
90
+
91
+
92
+ @pulumi.input_type
93
+ class _MaintenanceWindowState:
94
+ def __init__(__self__, *,
95
+ automatic_updates: Optional[pulumi.Input[str]] = None,
96
+ instance_id: Optional[pulumi.Input[int]] = None,
97
+ preferred_day: Optional[pulumi.Input[str]] = None,
98
+ preferred_time: Optional[pulumi.Input[str]] = None):
99
+ """
100
+ Input properties used for looking up and filtering MaintenanceWindow resources.
101
+ :param pulumi.Input[str] automatic_updates: Allow scheduling of a maintenance for version update
102
+ once a new LavinMQ version been released.
103
+ :param pulumi.Input[int] instance_id: The CloudAMQP instance ID.
104
+ :param pulumi.Input[str] preferred_day: Preferred day of the week when to schedule maintenance.
105
+ :param pulumi.Input[str] preferred_time: Preferred time (UTC) of the day when to schedule maintenance.
106
+ """
107
+ if automatic_updates is not None:
108
+ pulumi.set(__self__, "automatic_updates", automatic_updates)
109
+ if instance_id is not None:
110
+ pulumi.set(__self__, "instance_id", instance_id)
111
+ if preferred_day is not None:
112
+ pulumi.set(__self__, "preferred_day", preferred_day)
113
+ if preferred_time is not None:
114
+ pulumi.set(__self__, "preferred_time", preferred_time)
115
+
116
+ @property
117
+ @pulumi.getter(name="automaticUpdates")
118
+ def automatic_updates(self) -> Optional[pulumi.Input[str]]:
119
+ """
120
+ Allow scheduling of a maintenance for version update
121
+ once a new LavinMQ version been released.
122
+ """
123
+ return pulumi.get(self, "automatic_updates")
124
+
125
+ @automatic_updates.setter
126
+ def automatic_updates(self, value: Optional[pulumi.Input[str]]):
127
+ pulumi.set(self, "automatic_updates", value)
128
+
129
+ @property
130
+ @pulumi.getter(name="instanceId")
131
+ def instance_id(self) -> Optional[pulumi.Input[int]]:
132
+ """
133
+ The CloudAMQP instance ID.
134
+ """
135
+ return pulumi.get(self, "instance_id")
136
+
137
+ @instance_id.setter
138
+ def instance_id(self, value: Optional[pulumi.Input[int]]):
139
+ pulumi.set(self, "instance_id", value)
140
+
141
+ @property
142
+ @pulumi.getter(name="preferredDay")
143
+ def preferred_day(self) -> Optional[pulumi.Input[str]]:
144
+ """
145
+ Preferred day of the week when to schedule maintenance.
146
+ """
147
+ return pulumi.get(self, "preferred_day")
148
+
149
+ @preferred_day.setter
150
+ def preferred_day(self, value: Optional[pulumi.Input[str]]):
151
+ pulumi.set(self, "preferred_day", value)
152
+
153
+ @property
154
+ @pulumi.getter(name="preferredTime")
155
+ def preferred_time(self) -> Optional[pulumi.Input[str]]:
156
+ """
157
+ Preferred time (UTC) of the day when to schedule maintenance.
158
+ """
159
+ return pulumi.get(self, "preferred_time")
160
+
161
+ @preferred_time.setter
162
+ def preferred_time(self, value: Optional[pulumi.Input[str]]):
163
+ pulumi.set(self, "preferred_time", value)
164
+
165
+
166
+ class MaintenanceWindow(pulumi.CustomResource):
167
+ @overload
168
+ def __init__(__self__,
169
+ resource_name: str,
170
+ opts: Optional[pulumi.ResourceOptions] = None,
171
+ automatic_updates: Optional[pulumi.Input[str]] = None,
172
+ instance_id: Optional[pulumi.Input[int]] = None,
173
+ preferred_day: Optional[pulumi.Input[str]] = None,
174
+ preferred_time: Optional[pulumi.Input[str]] = None,
175
+ __props__=None):
176
+ """
177
+ This resource allows you to set the preferred start of new scheduled maintenances. The maintenance
178
+ windows are 3 hours long and CloudAMQP attempts to begin the maintenance as close as possible to the
179
+ preferred start. A maintenance will never start before the window.
180
+
181
+ Available for dedicated subscription plans.
182
+
183
+ ## Example Usage
184
+
185
+ <details>
186
+ <summary>
187
+ <b>Set the preferred maintenance start</b>
188
+ </summary>
189
+
190
+ ```python
191
+ import pulumi
192
+ import pulumi_cloudamqp as cloudamqp
193
+
194
+ this = cloudamqp.MaintenanceWindow("this",
195
+ instance_id=instance["id"],
196
+ preferred_day="Monday",
197
+ preferred_time="23:00")
198
+ ```
199
+
200
+ </details>
201
+
202
+ <details>
203
+ <summary>
204
+ <b>Set the preferred maintenance start with automatic updates</b>
205
+ </summary>
206
+
207
+ When setting the automatic updates to "on", a maintenance for version update will be scheduled once
208
+ a new LavinMQ version been released.
209
+
210
+ ```python
211
+ import pulumi
212
+ import pulumi_cloudamqp as cloudamqp
213
+
214
+ this = cloudamqp.MaintenanceWindow("this",
215
+ instance_id=instance["id"],
216
+ preferred_day="Monday",
217
+ preferred_time="23:00",
218
+ automatic_updates="on")
219
+ ```
220
+
221
+ </details>
222
+
223
+ <details>
224
+ <summary>
225
+ <b>Only set preferred time of day</b>
226
+ </summary>
227
+
228
+ ```python
229
+ import pulumi
230
+ import pulumi_cloudamqp as cloudamqp
231
+
232
+ this = cloudamqp.MaintenanceWindow("this",
233
+ instance_id=instance["id"],
234
+ preferred_time="23:00")
235
+ ```
236
+
237
+ </details>
238
+
239
+ <details>
240
+ <summary>
241
+ <b>Only set preferred day of week</b>
242
+ </summary>
243
+
244
+ ```python
245
+ import pulumi
246
+ import pulumi_cloudamqp as cloudamqp
247
+
248
+ this = cloudamqp.MaintenanceWindow("this",
249
+ instance_id=instance["id"],
250
+ preferred_day="Monday")
251
+ ```
252
+
253
+ </details>
254
+
255
+ ## Dependency
256
+
257
+ This resource depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
258
+
259
+ ## Import
260
+
261
+ `cloudamqp_maintenance_window` can be imported using CloudAMQP instance identifier. To retrieve the
262
+
263
+ identifier of an instance, use [CloudAMQP API list instances].
264
+
265
+ From Terraform v1.5.0, the `import` block can be used to import this resource:
266
+
267
+ hcl
268
+
269
+ import {
270
+
271
+ to = cloudamqp_maintenance_window.this
272
+
273
+ id = cloudamqp_instance.instance.id
274
+
275
+ }
276
+
277
+ Or with Terraform CLI:
278
+
279
+ ```sh
280
+ $ pulumi import cloudamqp:index/maintenanceWindow:MaintenanceWindow this <id>`
281
+ ```
282
+
283
+ [CloudAMQP API list instances]: https://docs.cloudamqp.com/#list-instances
284
+
285
+ [format]: https://developer.hashicorp.com/terraform/language/functions/formatdate#specification-syntax
286
+
287
+ :param str resource_name: The name of the resource.
288
+ :param pulumi.ResourceOptions opts: Options for the resource.
289
+ :param pulumi.Input[str] automatic_updates: Allow scheduling of a maintenance for version update
290
+ once a new LavinMQ version been released.
291
+ :param pulumi.Input[int] instance_id: The CloudAMQP instance ID.
292
+ :param pulumi.Input[str] preferred_day: Preferred day of the week when to schedule maintenance.
293
+ :param pulumi.Input[str] preferred_time: Preferred time (UTC) of the day when to schedule maintenance.
294
+ """
295
+ ...
296
+ @overload
297
+ def __init__(__self__,
298
+ resource_name: str,
299
+ args: MaintenanceWindowArgs,
300
+ opts: Optional[pulumi.ResourceOptions] = None):
301
+ """
302
+ This resource allows you to set the preferred start of new scheduled maintenances. The maintenance
303
+ windows are 3 hours long and CloudAMQP attempts to begin the maintenance as close as possible to the
304
+ preferred start. A maintenance will never start before the window.
305
+
306
+ Available for dedicated subscription plans.
307
+
308
+ ## Example Usage
309
+
310
+ <details>
311
+ <summary>
312
+ <b>Set the preferred maintenance start</b>
313
+ </summary>
314
+
315
+ ```python
316
+ import pulumi
317
+ import pulumi_cloudamqp as cloudamqp
318
+
319
+ this = cloudamqp.MaintenanceWindow("this",
320
+ instance_id=instance["id"],
321
+ preferred_day="Monday",
322
+ preferred_time="23:00")
323
+ ```
324
+
325
+ </details>
326
+
327
+ <details>
328
+ <summary>
329
+ <b>Set the preferred maintenance start with automatic updates</b>
330
+ </summary>
331
+
332
+ When setting the automatic updates to "on", a maintenance for version update will be scheduled once
333
+ a new LavinMQ version been released.
334
+
335
+ ```python
336
+ import pulumi
337
+ import pulumi_cloudamqp as cloudamqp
338
+
339
+ this = cloudamqp.MaintenanceWindow("this",
340
+ instance_id=instance["id"],
341
+ preferred_day="Monday",
342
+ preferred_time="23:00",
343
+ automatic_updates="on")
344
+ ```
345
+
346
+ </details>
347
+
348
+ <details>
349
+ <summary>
350
+ <b>Only set preferred time of day</b>
351
+ </summary>
352
+
353
+ ```python
354
+ import pulumi
355
+ import pulumi_cloudamqp as cloudamqp
356
+
357
+ this = cloudamqp.MaintenanceWindow("this",
358
+ instance_id=instance["id"],
359
+ preferred_time="23:00")
360
+ ```
361
+
362
+ </details>
363
+
364
+ <details>
365
+ <summary>
366
+ <b>Only set preferred day of week</b>
367
+ </summary>
368
+
369
+ ```python
370
+ import pulumi
371
+ import pulumi_cloudamqp as cloudamqp
372
+
373
+ this = cloudamqp.MaintenanceWindow("this",
374
+ instance_id=instance["id"],
375
+ preferred_day="Monday")
376
+ ```
377
+
378
+ </details>
379
+
380
+ ## Dependency
381
+
382
+ This resource depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
383
+
384
+ ## Import
385
+
386
+ `cloudamqp_maintenance_window` can be imported using CloudAMQP instance identifier. To retrieve the
387
+
388
+ identifier of an instance, use [CloudAMQP API list instances].
389
+
390
+ From Terraform v1.5.0, the `import` block can be used to import this resource:
391
+
392
+ hcl
393
+
394
+ import {
395
+
396
+ to = cloudamqp_maintenance_window.this
397
+
398
+ id = cloudamqp_instance.instance.id
399
+
400
+ }
401
+
402
+ Or with Terraform CLI:
403
+
404
+ ```sh
405
+ $ pulumi import cloudamqp:index/maintenanceWindow:MaintenanceWindow this <id>`
406
+ ```
407
+
408
+ [CloudAMQP API list instances]: https://docs.cloudamqp.com/#list-instances
409
+
410
+ [format]: https://developer.hashicorp.com/terraform/language/functions/formatdate#specification-syntax
411
+
412
+ :param str resource_name: The name of the resource.
413
+ :param MaintenanceWindowArgs args: The arguments to use to populate this resource's properties.
414
+ :param pulumi.ResourceOptions opts: Options for the resource.
415
+ """
416
+ ...
417
+ def __init__(__self__, resource_name: str, *args, **kwargs):
418
+ resource_args, opts = _utilities.get_resource_args_opts(MaintenanceWindowArgs, pulumi.ResourceOptions, *args, **kwargs)
419
+ if resource_args is not None:
420
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
421
+ else:
422
+ __self__._internal_init(resource_name, *args, **kwargs)
423
+
424
+ def _internal_init(__self__,
425
+ resource_name: str,
426
+ opts: Optional[pulumi.ResourceOptions] = None,
427
+ automatic_updates: Optional[pulumi.Input[str]] = None,
428
+ instance_id: Optional[pulumi.Input[int]] = None,
429
+ preferred_day: Optional[pulumi.Input[str]] = None,
430
+ preferred_time: Optional[pulumi.Input[str]] = None,
431
+ __props__=None):
432
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
433
+ if not isinstance(opts, pulumi.ResourceOptions):
434
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
435
+ if opts.id is None:
436
+ if __props__ is not None:
437
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
438
+ __props__ = MaintenanceWindowArgs.__new__(MaintenanceWindowArgs)
439
+
440
+ __props__.__dict__["automatic_updates"] = automatic_updates
441
+ if instance_id is None and not opts.urn:
442
+ raise TypeError("Missing required property 'instance_id'")
443
+ __props__.__dict__["instance_id"] = instance_id
444
+ __props__.__dict__["preferred_day"] = preferred_day
445
+ __props__.__dict__["preferred_time"] = preferred_time
446
+ super(MaintenanceWindow, __self__).__init__(
447
+ 'cloudamqp:index/maintenanceWindow:MaintenanceWindow',
448
+ resource_name,
449
+ __props__,
450
+ opts)
451
+
452
+ @staticmethod
453
+ def get(resource_name: str,
454
+ id: pulumi.Input[str],
455
+ opts: Optional[pulumi.ResourceOptions] = None,
456
+ automatic_updates: Optional[pulumi.Input[str]] = None,
457
+ instance_id: Optional[pulumi.Input[int]] = None,
458
+ preferred_day: Optional[pulumi.Input[str]] = None,
459
+ preferred_time: Optional[pulumi.Input[str]] = None) -> 'MaintenanceWindow':
460
+ """
461
+ Get an existing MaintenanceWindow resource's state with the given name, id, and optional extra
462
+ properties used to qualify the lookup.
463
+
464
+ :param str resource_name: The unique name of the resulting resource.
465
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
466
+ :param pulumi.ResourceOptions opts: Options for the resource.
467
+ :param pulumi.Input[str] automatic_updates: Allow scheduling of a maintenance for version update
468
+ once a new LavinMQ version been released.
469
+ :param pulumi.Input[int] instance_id: The CloudAMQP instance ID.
470
+ :param pulumi.Input[str] preferred_day: Preferred day of the week when to schedule maintenance.
471
+ :param pulumi.Input[str] preferred_time: Preferred time (UTC) of the day when to schedule maintenance.
472
+ """
473
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
474
+
475
+ __props__ = _MaintenanceWindowState.__new__(_MaintenanceWindowState)
476
+
477
+ __props__.__dict__["automatic_updates"] = automatic_updates
478
+ __props__.__dict__["instance_id"] = instance_id
479
+ __props__.__dict__["preferred_day"] = preferred_day
480
+ __props__.__dict__["preferred_time"] = preferred_time
481
+ return MaintenanceWindow(resource_name, opts=opts, __props__=__props__)
482
+
483
+ @property
484
+ @pulumi.getter(name="automaticUpdates")
485
+ def automatic_updates(self) -> pulumi.Output[str]:
486
+ """
487
+ Allow scheduling of a maintenance for version update
488
+ once a new LavinMQ version been released.
489
+ """
490
+ return pulumi.get(self, "automatic_updates")
491
+
492
+ @property
493
+ @pulumi.getter(name="instanceId")
494
+ def instance_id(self) -> pulumi.Output[int]:
495
+ """
496
+ The CloudAMQP instance ID.
497
+ """
498
+ return pulumi.get(self, "instance_id")
499
+
500
+ @property
501
+ @pulumi.getter(name="preferredDay")
502
+ def preferred_day(self) -> pulumi.Output[Optional[str]]:
503
+ """
504
+ Preferred day of the week when to schedule maintenance.
505
+ """
506
+ return pulumi.get(self, "preferred_day")
507
+
508
+ @property
509
+ @pulumi.getter(name="preferredTime")
510
+ def preferred_time(self) -> pulumi.Output[Optional[str]]:
511
+ """
512
+ Preferred time (UTC) of the day when to schedule maintenance.
513
+ """
514
+ return pulumi.get(self, "preferred_time")
515
+
@@ -177,9 +177,6 @@ class NodeActions(pulumi.CustomResource):
177
177
 
178
178
  </details>
179
179
 
180
- Using data source `get_nodes` to restart RabbitMQ on all nodes.</br>
181
- ***Note: RabbitMQ restart on multiple nodes need to be chained, so one node restart at the time.***
182
-
183
180
  <details>
184
181
  <summary>
185
182
  <b>
@@ -187,6 +184,10 @@ class NodeActions(pulumi.CustomResource):
187
184
  </b>
188
185
  </summary>
189
186
 
187
+ Using data source `get_nodes` to restart RabbitMQ on all nodes.
188
+
189
+ > **Note:** RabbitMQ restart on multiple nodes need to be chained, let one node restart at the time.
190
+
190
191
  ```python
191
192
  import pulumi
192
193
  import pulumi_cloudamqp as cloudamqp
@@ -256,7 +257,16 @@ class NodeActions(pulumi.CustomResource):
256
257
 
257
258
  ## Action reference
258
259
 
259
- Valid options for action.
260
+ Valid actions for ***LavinMQ***.
261
+
262
+ | Action | Info |
263
+ |--------------|------------------------------------|
264
+ | start | Start LavinMQ |
265
+ | stop | Stop LavinMQ |
266
+ | restart | Restart LavinMQ |
267
+ | reboot | Reboot the node |
268
+
269
+ Valid actions for ***RabbitMQ***.
260
270
 
261
271
  | Action | Info |
262
272
  |--------------|------------------------------------|
@@ -268,7 +278,8 @@ class NodeActions(pulumi.CustomResource):
268
278
 
269
279
  ## Dependency
270
280
 
271
- This resource depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id` and node name.
281
+ This resource depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id` and node
282
+ name.
272
283
 
273
284
  ## Import
274
285
 
@@ -313,9 +324,6 @@ class NodeActions(pulumi.CustomResource):
313
324
 
314
325
  </details>
315
326
 
316
- Using data source `get_nodes` to restart RabbitMQ on all nodes.</br>
317
- ***Note: RabbitMQ restart on multiple nodes need to be chained, so one node restart at the time.***
318
-
319
327
  <details>
320
328
  <summary>
321
329
  <b>
@@ -323,6 +331,10 @@ class NodeActions(pulumi.CustomResource):
323
331
  </b>
324
332
  </summary>
325
333
 
334
+ Using data source `get_nodes` to restart RabbitMQ on all nodes.
335
+
336
+ > **Note:** RabbitMQ restart on multiple nodes need to be chained, let one node restart at the time.
337
+
326
338
  ```python
327
339
  import pulumi
328
340
  import pulumi_cloudamqp as cloudamqp
@@ -392,7 +404,16 @@ class NodeActions(pulumi.CustomResource):
392
404
 
393
405
  ## Action reference
394
406
 
395
- Valid options for action.
407
+ Valid actions for ***LavinMQ***.
408
+
409
+ | Action | Info |
410
+ |--------------|------------------------------------|
411
+ | start | Start LavinMQ |
412
+ | stop | Stop LavinMQ |
413
+ | restart | Restart LavinMQ |
414
+ | reboot | Reboot the node |
415
+
416
+ Valid actions for ***RabbitMQ***.
396
417
 
397
418
  | Action | Info |
398
419
  |--------------|------------------------------------|
@@ -404,7 +425,8 @@ class NodeActions(pulumi.CustomResource):
404
425
 
405
426
  ## Dependency
406
427
 
407
- This resource depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id` and node name.
428
+ This resource depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id` and node
429
+ name.
408
430
 
409
431
  ## Import
410
432