pulumi-cloudamqp 3.19.0a1723819514__py3-none-any.whl → 3.19.0a1724238815__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.
- pulumi_cloudamqp/pulumi-plugin.json +1 -1
- pulumi_cloudamqp/upgrade_rabbitmq.py +279 -17
- {pulumi_cloudamqp-3.19.0a1723819514.dist-info → pulumi_cloudamqp-3.19.0a1724238815.dist-info}/METADATA +1 -1
- {pulumi_cloudamqp-3.19.0a1723819514.dist-info → pulumi_cloudamqp-3.19.0a1724238815.dist-info}/RECORD +6 -6
- {pulumi_cloudamqp-3.19.0a1723819514.dist-info → pulumi_cloudamqp-3.19.0a1724238815.dist-info}/WHEEL +1 -1
- {pulumi_cloudamqp-3.19.0a1723819514.dist-info → pulumi_cloudamqp-3.19.0a1724238815.dist-info}/top_level.txt +0 -0
|
@@ -14,12 +14,20 @@ __all__ = ['UpgradeRabbitmqArgs', 'UpgradeRabbitmq']
|
|
|
14
14
|
@pulumi.input_type
|
|
15
15
|
class UpgradeRabbitmqArgs:
|
|
16
16
|
def __init__(__self__, *,
|
|
17
|
-
instance_id: pulumi.Input[int]
|
|
17
|
+
instance_id: pulumi.Input[int],
|
|
18
|
+
current_version: Optional[pulumi.Input[str]] = None,
|
|
19
|
+
new_version: Optional[pulumi.Input[str]] = None):
|
|
18
20
|
"""
|
|
19
21
|
The set of arguments for constructing a UpgradeRabbitmq resource.
|
|
20
22
|
:param pulumi.Input[int] instance_id: The CloudAMQP instance identifier
|
|
23
|
+
:param pulumi.Input[str] current_version: Helper argument to change upgrade behaviour to latest possible version
|
|
24
|
+
:param pulumi.Input[str] new_version: The new version to upgrade to
|
|
21
25
|
"""
|
|
22
26
|
pulumi.set(__self__, "instance_id", instance_id)
|
|
27
|
+
if current_version is not None:
|
|
28
|
+
pulumi.set(__self__, "current_version", current_version)
|
|
29
|
+
if new_version is not None:
|
|
30
|
+
pulumi.set(__self__, "new_version", new_version)
|
|
23
31
|
|
|
24
32
|
@property
|
|
25
33
|
@pulumi.getter(name="instanceId")
|
|
@@ -33,17 +41,61 @@ class UpgradeRabbitmqArgs:
|
|
|
33
41
|
def instance_id(self, value: pulumi.Input[int]):
|
|
34
42
|
pulumi.set(self, "instance_id", value)
|
|
35
43
|
|
|
44
|
+
@property
|
|
45
|
+
@pulumi.getter(name="currentVersion")
|
|
46
|
+
def current_version(self) -> Optional[pulumi.Input[str]]:
|
|
47
|
+
"""
|
|
48
|
+
Helper argument to change upgrade behaviour to latest possible version
|
|
49
|
+
"""
|
|
50
|
+
return pulumi.get(self, "current_version")
|
|
51
|
+
|
|
52
|
+
@current_version.setter
|
|
53
|
+
def current_version(self, value: Optional[pulumi.Input[str]]):
|
|
54
|
+
pulumi.set(self, "current_version", value)
|
|
55
|
+
|
|
56
|
+
@property
|
|
57
|
+
@pulumi.getter(name="newVersion")
|
|
58
|
+
def new_version(self) -> Optional[pulumi.Input[str]]:
|
|
59
|
+
"""
|
|
60
|
+
The new version to upgrade to
|
|
61
|
+
"""
|
|
62
|
+
return pulumi.get(self, "new_version")
|
|
63
|
+
|
|
64
|
+
@new_version.setter
|
|
65
|
+
def new_version(self, value: Optional[pulumi.Input[str]]):
|
|
66
|
+
pulumi.set(self, "new_version", value)
|
|
67
|
+
|
|
36
68
|
|
|
37
69
|
@pulumi.input_type
|
|
38
70
|
class _UpgradeRabbitmqState:
|
|
39
71
|
def __init__(__self__, *,
|
|
40
|
-
|
|
72
|
+
current_version: Optional[pulumi.Input[str]] = None,
|
|
73
|
+
instance_id: Optional[pulumi.Input[int]] = None,
|
|
74
|
+
new_version: Optional[pulumi.Input[str]] = None):
|
|
41
75
|
"""
|
|
42
76
|
Input properties used for looking up and filtering UpgradeRabbitmq resources.
|
|
77
|
+
:param pulumi.Input[str] current_version: Helper argument to change upgrade behaviour to latest possible version
|
|
43
78
|
:param pulumi.Input[int] instance_id: The CloudAMQP instance identifier
|
|
79
|
+
:param pulumi.Input[str] new_version: The new version to upgrade to
|
|
44
80
|
"""
|
|
81
|
+
if current_version is not None:
|
|
82
|
+
pulumi.set(__self__, "current_version", current_version)
|
|
45
83
|
if instance_id is not None:
|
|
46
84
|
pulumi.set(__self__, "instance_id", instance_id)
|
|
85
|
+
if new_version is not None:
|
|
86
|
+
pulumi.set(__self__, "new_version", new_version)
|
|
87
|
+
|
|
88
|
+
@property
|
|
89
|
+
@pulumi.getter(name="currentVersion")
|
|
90
|
+
def current_version(self) -> Optional[pulumi.Input[str]]:
|
|
91
|
+
"""
|
|
92
|
+
Helper argument to change upgrade behaviour to latest possible version
|
|
93
|
+
"""
|
|
94
|
+
return pulumi.get(self, "current_version")
|
|
95
|
+
|
|
96
|
+
@current_version.setter
|
|
97
|
+
def current_version(self, value: Optional[pulumi.Input[str]]):
|
|
98
|
+
pulumi.set(self, "current_version", value)
|
|
47
99
|
|
|
48
100
|
@property
|
|
49
101
|
@pulumi.getter(name="instanceId")
|
|
@@ -57,28 +109,104 @@ class _UpgradeRabbitmqState:
|
|
|
57
109
|
def instance_id(self, value: Optional[pulumi.Input[int]]):
|
|
58
110
|
pulumi.set(self, "instance_id", value)
|
|
59
111
|
|
|
112
|
+
@property
|
|
113
|
+
@pulumi.getter(name="newVersion")
|
|
114
|
+
def new_version(self) -> Optional[pulumi.Input[str]]:
|
|
115
|
+
"""
|
|
116
|
+
The new version to upgrade to
|
|
117
|
+
"""
|
|
118
|
+
return pulumi.get(self, "new_version")
|
|
119
|
+
|
|
120
|
+
@new_version.setter
|
|
121
|
+
def new_version(self, value: Optional[pulumi.Input[str]]):
|
|
122
|
+
pulumi.set(self, "new_version", value)
|
|
123
|
+
|
|
60
124
|
|
|
61
125
|
class UpgradeRabbitmq(pulumi.CustomResource):
|
|
62
126
|
@overload
|
|
63
127
|
def __init__(__self__,
|
|
64
128
|
resource_name: str,
|
|
65
129
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
130
|
+
current_version: Optional[pulumi.Input[str]] = None,
|
|
66
131
|
instance_id: Optional[pulumi.Input[int]] = None,
|
|
132
|
+
new_version: Optional[pulumi.Input[str]] = None,
|
|
67
133
|
__props__=None):
|
|
68
134
|
"""
|
|
69
|
-
This resource allows you to
|
|
135
|
+
This resource allows you to upgrade RabbitMQ version. Depending on initial versions of RabbitMQ and Erlang of the CloudAMQP instance, multiple runs may be needed to get to the latest or wanted version. Reason for this is certain supported RabbitMQ version will also automatically upgrade Erlang version.
|
|
70
136
|
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
> -
|
|
74
|
-
> -
|
|
75
|
-
> -
|
|
76
|
-
|
|
137
|
+
There is three different ways to trigger the version upgrade
|
|
138
|
+
|
|
139
|
+
> - Specify RabbitMQ version to upgrade to
|
|
140
|
+
> - Upgrade to latest RabbitMQ version
|
|
141
|
+
> - Old behaviour to upgrade to latest RabbitMQ version
|
|
142
|
+
|
|
143
|
+
See, below example usage for the difference.
|
|
77
144
|
|
|
78
145
|
Only available for dedicated subscription plans running ***RabbitMQ***.
|
|
79
146
|
|
|
80
147
|
## Example Usage
|
|
81
148
|
|
|
149
|
+
<details>
|
|
150
|
+
<summary>
|
|
151
|
+
<b>
|
|
152
|
+
<i>Specify version upgrade, from v1.40.0</i>
|
|
153
|
+
</b>
|
|
154
|
+
</summary>
|
|
155
|
+
|
|
156
|
+
Specify the version to upgrade to. List available upgradable versions, use [CloudAMQP API](https://docs.cloudamqp.com/cloudamqp_api.html#get-available-versions).
|
|
157
|
+
After the upgrade finished, there can still be newer versions available.
|
|
158
|
+
|
|
159
|
+
```python
|
|
160
|
+
import pulumi
|
|
161
|
+
import pulumi_cloudamqp as cloudamqp
|
|
162
|
+
|
|
163
|
+
instance = cloudamqp.Instance("instance",
|
|
164
|
+
name="rabbitmq-version-upgrade-test",
|
|
165
|
+
plan="bunny-1",
|
|
166
|
+
region="amazon-web-services::us-west-1")
|
|
167
|
+
upgrade = cloudamqp.UpgradeRabbitmq("upgrade",
|
|
168
|
+
instance_id=instance.id,
|
|
169
|
+
new_version="3.13.2")
|
|
170
|
+
```
|
|
171
|
+
|
|
172
|
+
</details>
|
|
173
|
+
|
|
174
|
+
<details>
|
|
175
|
+
<summary>
|
|
176
|
+
<b>
|
|
177
|
+
<i>Upgrade to latest possible version, from v1.40.0</i>
|
|
178
|
+
</b>
|
|
179
|
+
</summary>
|
|
180
|
+
|
|
181
|
+
This will upgrade RabbitMQ to the latest possible version detected by the data source `get_upgradable_versions`.
|
|
182
|
+
Multiple runs can be needed to upgrade the version even further.
|
|
183
|
+
|
|
184
|
+
```python
|
|
185
|
+
import pulumi
|
|
186
|
+
import pulumi_cloudamqp as cloudamqp
|
|
187
|
+
|
|
188
|
+
instance = cloudamqp.Instance("instance",
|
|
189
|
+
name="rabbitmq-version-upgrade-test",
|
|
190
|
+
plan="bunny-1",
|
|
191
|
+
region="amazon-web-services::us-west-1")
|
|
192
|
+
upgradable_versions = instance.id.apply(lambda id: cloudamqp.get_upgradable_versions_output(instance_id=id))
|
|
193
|
+
upgrade = cloudamqp.UpgradeRabbitmq("upgrade",
|
|
194
|
+
instance_id=instance.id,
|
|
195
|
+
current_version=instance.rmq_version,
|
|
196
|
+
new_version=upgradable_versions.new_rabbitmq_version)
|
|
197
|
+
```
|
|
198
|
+
|
|
199
|
+
</details>
|
|
200
|
+
|
|
201
|
+
<details>
|
|
202
|
+
<summary>
|
|
203
|
+
<b>
|
|
204
|
+
<i>Upgrade to latest possible version, before v1.40.0</i>
|
|
205
|
+
</b>
|
|
206
|
+
</summary>
|
|
207
|
+
|
|
208
|
+
Old behaviour of the upgrading the RabbitMQ version. No longer recommended.
|
|
209
|
+
|
|
82
210
|
```python
|
|
83
211
|
import pulumi
|
|
84
212
|
import pulumi_cloudamqp as cloudamqp
|
|
@@ -109,13 +237,37 @@ class UpgradeRabbitmq(pulumi.CustomResource):
|
|
|
109
237
|
upgrade = cloudamqp.UpgradeRabbitmq("upgrade", instance_id=instance["id"])
|
|
110
238
|
```
|
|
111
239
|
|
|
240
|
+
</details>
|
|
241
|
+
|
|
242
|
+
## Important Upgrade Information
|
|
243
|
+
|
|
244
|
+
> - All single node upgrades will require some downtime since RabbitMQ needs a restart.
|
|
245
|
+
> - From RabbitMQ version 3.9, rolling upgrades between minor versions (e.g. 3.9 to 3.10), in a multi-node cluster are possible without downtime. This means that one node is upgraded at a time while the other nodes are still running. For versions older than 3.9, patch version upgrades (e.g. 3.8.x to 3.8.y) are possible without downtime in a multi-node cluster, but minor version upgrades will require downtime.
|
|
246
|
+
> - Auto delete queues (queues that are marked AD) will be deleted during the update.
|
|
247
|
+
> - Any custom plugins support has installed on your behalf will be disabled and you need to contact support@cloudamqp.com and ask to have them re-installed.
|
|
248
|
+
> - TLS 1.0 and 1.1 will not be supported after the update.
|
|
249
|
+
|
|
250
|
+
## Multiple runs
|
|
251
|
+
|
|
252
|
+
Depending on initial versions of RabbitMQ and Erlang of the CloudAMQP instance, multiple runs may be needed to get to the latest or wanted version.
|
|
253
|
+
|
|
254
|
+
Example steps needed when starting at RabbitMQ version 3.12.2
|
|
255
|
+
|
|
256
|
+
| Version | Supported upgrading versions | Min version to upgrade Erlang |
|
|
257
|
+
|------------------|-------------------------------------------|-------------------------------|
|
|
258
|
+
| 3.12.2 | 3.12.4, 3.12.6, 3.12.10, 3.12.12, 3.12.13 | 3.12.13 |
|
|
259
|
+
| 3.12.13 | 3.13.2 | 3.13.2 |
|
|
260
|
+
| 3.13.2 | - | - |
|
|
261
|
+
|
|
112
262
|
## Import
|
|
113
263
|
|
|
114
264
|
Not possible to import this resource.
|
|
115
265
|
|
|
116
266
|
:param str resource_name: The name of the resource.
|
|
117
267
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
268
|
+
:param pulumi.Input[str] current_version: Helper argument to change upgrade behaviour to latest possible version
|
|
118
269
|
:param pulumi.Input[int] instance_id: The CloudAMQP instance identifier
|
|
270
|
+
:param pulumi.Input[str] new_version: The new version to upgrade to
|
|
119
271
|
"""
|
|
120
272
|
...
|
|
121
273
|
@overload
|
|
@@ -124,19 +276,81 @@ class UpgradeRabbitmq(pulumi.CustomResource):
|
|
|
124
276
|
args: UpgradeRabbitmqArgs,
|
|
125
277
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
126
278
|
"""
|
|
127
|
-
This resource allows you to
|
|
279
|
+
This resource allows you to upgrade RabbitMQ version. Depending on initial versions of RabbitMQ and Erlang of the CloudAMQP instance, multiple runs may be needed to get to the latest or wanted version. Reason for this is certain supported RabbitMQ version will also automatically upgrade Erlang version.
|
|
128
280
|
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
> -
|
|
132
|
-
> -
|
|
133
|
-
> -
|
|
134
|
-
|
|
281
|
+
There is three different ways to trigger the version upgrade
|
|
282
|
+
|
|
283
|
+
> - Specify RabbitMQ version to upgrade to
|
|
284
|
+
> - Upgrade to latest RabbitMQ version
|
|
285
|
+
> - Old behaviour to upgrade to latest RabbitMQ version
|
|
286
|
+
|
|
287
|
+
See, below example usage for the difference.
|
|
135
288
|
|
|
136
289
|
Only available for dedicated subscription plans running ***RabbitMQ***.
|
|
137
290
|
|
|
138
291
|
## Example Usage
|
|
139
292
|
|
|
293
|
+
<details>
|
|
294
|
+
<summary>
|
|
295
|
+
<b>
|
|
296
|
+
<i>Specify version upgrade, from v1.40.0</i>
|
|
297
|
+
</b>
|
|
298
|
+
</summary>
|
|
299
|
+
|
|
300
|
+
Specify the version to upgrade to. List available upgradable versions, use [CloudAMQP API](https://docs.cloudamqp.com/cloudamqp_api.html#get-available-versions).
|
|
301
|
+
After the upgrade finished, there can still be newer versions available.
|
|
302
|
+
|
|
303
|
+
```python
|
|
304
|
+
import pulumi
|
|
305
|
+
import pulumi_cloudamqp as cloudamqp
|
|
306
|
+
|
|
307
|
+
instance = cloudamqp.Instance("instance",
|
|
308
|
+
name="rabbitmq-version-upgrade-test",
|
|
309
|
+
plan="bunny-1",
|
|
310
|
+
region="amazon-web-services::us-west-1")
|
|
311
|
+
upgrade = cloudamqp.UpgradeRabbitmq("upgrade",
|
|
312
|
+
instance_id=instance.id,
|
|
313
|
+
new_version="3.13.2")
|
|
314
|
+
```
|
|
315
|
+
|
|
316
|
+
</details>
|
|
317
|
+
|
|
318
|
+
<details>
|
|
319
|
+
<summary>
|
|
320
|
+
<b>
|
|
321
|
+
<i>Upgrade to latest possible version, from v1.40.0</i>
|
|
322
|
+
</b>
|
|
323
|
+
</summary>
|
|
324
|
+
|
|
325
|
+
This will upgrade RabbitMQ to the latest possible version detected by the data source `get_upgradable_versions`.
|
|
326
|
+
Multiple runs can be needed to upgrade the version even further.
|
|
327
|
+
|
|
328
|
+
```python
|
|
329
|
+
import pulumi
|
|
330
|
+
import pulumi_cloudamqp as cloudamqp
|
|
331
|
+
|
|
332
|
+
instance = cloudamqp.Instance("instance",
|
|
333
|
+
name="rabbitmq-version-upgrade-test",
|
|
334
|
+
plan="bunny-1",
|
|
335
|
+
region="amazon-web-services::us-west-1")
|
|
336
|
+
upgradable_versions = instance.id.apply(lambda id: cloudamqp.get_upgradable_versions_output(instance_id=id))
|
|
337
|
+
upgrade = cloudamqp.UpgradeRabbitmq("upgrade",
|
|
338
|
+
instance_id=instance.id,
|
|
339
|
+
current_version=instance.rmq_version,
|
|
340
|
+
new_version=upgradable_versions.new_rabbitmq_version)
|
|
341
|
+
```
|
|
342
|
+
|
|
343
|
+
</details>
|
|
344
|
+
|
|
345
|
+
<details>
|
|
346
|
+
<summary>
|
|
347
|
+
<b>
|
|
348
|
+
<i>Upgrade to latest possible version, before v1.40.0</i>
|
|
349
|
+
</b>
|
|
350
|
+
</summary>
|
|
351
|
+
|
|
352
|
+
Old behaviour of the upgrading the RabbitMQ version. No longer recommended.
|
|
353
|
+
|
|
140
354
|
```python
|
|
141
355
|
import pulumi
|
|
142
356
|
import pulumi_cloudamqp as cloudamqp
|
|
@@ -167,6 +381,28 @@ class UpgradeRabbitmq(pulumi.CustomResource):
|
|
|
167
381
|
upgrade = cloudamqp.UpgradeRabbitmq("upgrade", instance_id=instance["id"])
|
|
168
382
|
```
|
|
169
383
|
|
|
384
|
+
</details>
|
|
385
|
+
|
|
386
|
+
## Important Upgrade Information
|
|
387
|
+
|
|
388
|
+
> - All single node upgrades will require some downtime since RabbitMQ needs a restart.
|
|
389
|
+
> - From RabbitMQ version 3.9, rolling upgrades between minor versions (e.g. 3.9 to 3.10), in a multi-node cluster are possible without downtime. This means that one node is upgraded at a time while the other nodes are still running. For versions older than 3.9, patch version upgrades (e.g. 3.8.x to 3.8.y) are possible without downtime in a multi-node cluster, but minor version upgrades will require downtime.
|
|
390
|
+
> - Auto delete queues (queues that are marked AD) will be deleted during the update.
|
|
391
|
+
> - Any custom plugins support has installed on your behalf will be disabled and you need to contact support@cloudamqp.com and ask to have them re-installed.
|
|
392
|
+
> - TLS 1.0 and 1.1 will not be supported after the update.
|
|
393
|
+
|
|
394
|
+
## Multiple runs
|
|
395
|
+
|
|
396
|
+
Depending on initial versions of RabbitMQ and Erlang of the CloudAMQP instance, multiple runs may be needed to get to the latest or wanted version.
|
|
397
|
+
|
|
398
|
+
Example steps needed when starting at RabbitMQ version 3.12.2
|
|
399
|
+
|
|
400
|
+
| Version | Supported upgrading versions | Min version to upgrade Erlang |
|
|
401
|
+
|------------------|-------------------------------------------|-------------------------------|
|
|
402
|
+
| 3.12.2 | 3.12.4, 3.12.6, 3.12.10, 3.12.12, 3.12.13 | 3.12.13 |
|
|
403
|
+
| 3.12.13 | 3.13.2 | 3.13.2 |
|
|
404
|
+
| 3.13.2 | - | - |
|
|
405
|
+
|
|
170
406
|
## Import
|
|
171
407
|
|
|
172
408
|
Not possible to import this resource.
|
|
@@ -186,7 +422,9 @@ class UpgradeRabbitmq(pulumi.CustomResource):
|
|
|
186
422
|
def _internal_init(__self__,
|
|
187
423
|
resource_name: str,
|
|
188
424
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
425
|
+
current_version: Optional[pulumi.Input[str]] = None,
|
|
189
426
|
instance_id: Optional[pulumi.Input[int]] = None,
|
|
427
|
+
new_version: Optional[pulumi.Input[str]] = None,
|
|
190
428
|
__props__=None):
|
|
191
429
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
192
430
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -196,9 +434,11 @@ class UpgradeRabbitmq(pulumi.CustomResource):
|
|
|
196
434
|
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
197
435
|
__props__ = UpgradeRabbitmqArgs.__new__(UpgradeRabbitmqArgs)
|
|
198
436
|
|
|
437
|
+
__props__.__dict__["current_version"] = current_version
|
|
199
438
|
if instance_id is None and not opts.urn:
|
|
200
439
|
raise TypeError("Missing required property 'instance_id'")
|
|
201
440
|
__props__.__dict__["instance_id"] = instance_id
|
|
441
|
+
__props__.__dict__["new_version"] = new_version
|
|
202
442
|
super(UpgradeRabbitmq, __self__).__init__(
|
|
203
443
|
'cloudamqp:index/upgradeRabbitmq:UpgradeRabbitmq',
|
|
204
444
|
resource_name,
|
|
@@ -209,7 +449,9 @@ class UpgradeRabbitmq(pulumi.CustomResource):
|
|
|
209
449
|
def get(resource_name: str,
|
|
210
450
|
id: pulumi.Input[str],
|
|
211
451
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
212
|
-
|
|
452
|
+
current_version: Optional[pulumi.Input[str]] = None,
|
|
453
|
+
instance_id: Optional[pulumi.Input[int]] = None,
|
|
454
|
+
new_version: Optional[pulumi.Input[str]] = None) -> 'UpgradeRabbitmq':
|
|
213
455
|
"""
|
|
214
456
|
Get an existing UpgradeRabbitmq resource's state with the given name, id, and optional extra
|
|
215
457
|
properties used to qualify the lookup.
|
|
@@ -217,15 +459,27 @@ class UpgradeRabbitmq(pulumi.CustomResource):
|
|
|
217
459
|
:param str resource_name: The unique name of the resulting resource.
|
|
218
460
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
219
461
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
462
|
+
:param pulumi.Input[str] current_version: Helper argument to change upgrade behaviour to latest possible version
|
|
220
463
|
:param pulumi.Input[int] instance_id: The CloudAMQP instance identifier
|
|
464
|
+
:param pulumi.Input[str] new_version: The new version to upgrade to
|
|
221
465
|
"""
|
|
222
466
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
223
467
|
|
|
224
468
|
__props__ = _UpgradeRabbitmqState.__new__(_UpgradeRabbitmqState)
|
|
225
469
|
|
|
470
|
+
__props__.__dict__["current_version"] = current_version
|
|
226
471
|
__props__.__dict__["instance_id"] = instance_id
|
|
472
|
+
__props__.__dict__["new_version"] = new_version
|
|
227
473
|
return UpgradeRabbitmq(resource_name, opts=opts, __props__=__props__)
|
|
228
474
|
|
|
475
|
+
@property
|
|
476
|
+
@pulumi.getter(name="currentVersion")
|
|
477
|
+
def current_version(self) -> pulumi.Output[Optional[str]]:
|
|
478
|
+
"""
|
|
479
|
+
Helper argument to change upgrade behaviour to latest possible version
|
|
480
|
+
"""
|
|
481
|
+
return pulumi.get(self, "current_version")
|
|
482
|
+
|
|
229
483
|
@property
|
|
230
484
|
@pulumi.getter(name="instanceId")
|
|
231
485
|
def instance_id(self) -> pulumi.Output[int]:
|
|
@@ -234,3 +488,11 @@ class UpgradeRabbitmq(pulumi.CustomResource):
|
|
|
234
488
|
"""
|
|
235
489
|
return pulumi.get(self, "instance_id")
|
|
236
490
|
|
|
491
|
+
@property
|
|
492
|
+
@pulumi.getter(name="newVersion")
|
|
493
|
+
def new_version(self) -> pulumi.Output[Optional[str]]:
|
|
494
|
+
"""
|
|
495
|
+
The new version to upgrade to
|
|
496
|
+
"""
|
|
497
|
+
return pulumi.get(self, "new_version")
|
|
498
|
+
|
{pulumi_cloudamqp-3.19.0a1723819514.dist-info → pulumi_cloudamqp-3.19.0a1724238815.dist-info}/RECORD
RENAMED
|
@@ -29,11 +29,11 @@ pulumi_cloudamqp/plugin_community.py,sha256=Qwu7EfyGQ9BMMdXvKLrXioiVauDMxPNdmMlG
|
|
|
29
29
|
pulumi_cloudamqp/privatelink_aws.py,sha256=kEaLaTYaIYzHHqeX4SDMRHQr9vC7tIQ_fnguXQvwcVo,27833
|
|
30
30
|
pulumi_cloudamqp/privatelink_azure.py,sha256=5-4XIXFf8WBdtSma_zv2vE55acOB2b9AMLwsMIIRklQ,27089
|
|
31
31
|
pulumi_cloudamqp/provider.py,sha256=IwRPYsuoOzrUzVP2gmjIZ59mGte5_b0cd8_HYF0HhRc,6548
|
|
32
|
-
pulumi_cloudamqp/pulumi-plugin.json,sha256=
|
|
32
|
+
pulumi_cloudamqp/pulumi-plugin.json,sha256=uCLNhhByHXA5N1kgfIFc4aoVCZuAYb_Xh6noG0yPuLg,86
|
|
33
33
|
pulumi_cloudamqp/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
34
34
|
pulumi_cloudamqp/rabbit_configuration.py,sha256=9qT6ABDHPcurBcmlckrHJ_tt-SV5vGARHpF9xXWa0Pc,32730
|
|
35
35
|
pulumi_cloudamqp/security_firewall.py,sha256=CVvmLhcosWi6qbqUhRWONE-Gf0OzgIsJc-iLhlDJNu4,11717
|
|
36
|
-
pulumi_cloudamqp/upgrade_rabbitmq.py,sha256=
|
|
36
|
+
pulumi_cloudamqp/upgrade_rabbitmq.py,sha256=gnIs-kBMrnU6E_HWWZaI07KGcS0tGzlxP4oDYdwqgJ0,21312
|
|
37
37
|
pulumi_cloudamqp/vpc.py,sha256=IpI_5Gqxjio5LO9AbVEDQQS43xxPDRY0RUZaJK80Odw,14630
|
|
38
38
|
pulumi_cloudamqp/vpc_connect.py,sha256=9znqhMo8y8U0YMeOw06zFTy0lSNfQT7xQX_aXgjCNws,44752
|
|
39
39
|
pulumi_cloudamqp/vpc_gcp_peering.py,sha256=gkhCSI7y5fRiFVmqIXRbur4R26a98bTFvUeVtc4knQg,35437
|
|
@@ -42,7 +42,7 @@ pulumi_cloudamqp/webhook.py,sha256=szPc8AXkT-5xk3JfGOBdBcPMnnkZr02fpD_beQ_uyzI,1
|
|
|
42
42
|
pulumi_cloudamqp/config/__init__.py,sha256=cfY0smRZD3fDVc93ZIAxEl_IM2pynmXB52n3Ahzi030,285
|
|
43
43
|
pulumi_cloudamqp/config/__init__.pyi,sha256=UHTIxCey3Zv15sJPQ4FzkPz4--aJNEcw9OwBw7Q2kzc,549
|
|
44
44
|
pulumi_cloudamqp/config/vars.py,sha256=oFfIlqwVoffHyMowmkb9op1W1MBcSamLeviHi6IZino,939
|
|
45
|
-
pulumi_cloudamqp-3.19.
|
|
46
|
-
pulumi_cloudamqp-3.19.
|
|
47
|
-
pulumi_cloudamqp-3.19.
|
|
48
|
-
pulumi_cloudamqp-3.19.
|
|
45
|
+
pulumi_cloudamqp-3.19.0a1724238815.dist-info/METADATA,sha256=TMZc_spxGIby31Emp6yd-yxLPo7e-SDNnGDhBhJYdFM,2755
|
|
46
|
+
pulumi_cloudamqp-3.19.0a1724238815.dist-info/WHEEL,sha256=Mdi9PDNwEZptOjTlUcAth7XJDFtKrHYaQMPulZeBCiQ,91
|
|
47
|
+
pulumi_cloudamqp-3.19.0a1724238815.dist-info/top_level.txt,sha256=GzOcAz5c3r2TOma1_ftIXuXYIElI_XHfdRiJARoRz2g,17
|
|
48
|
+
pulumi_cloudamqp-3.19.0a1724238815.dist-info/RECORD,,
|
|
File without changes
|