pulumi-cloudamqp 3.21.0a1743571485__py3-none-any.whl → 3.22.0a1744182778__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 (49) hide show
  1. pulumi_cloudamqp/__init__.py +10 -0
  2. pulumi_cloudamqp/_inputs.py +92 -72
  3. pulumi_cloudamqp/account_action.py +39 -31
  4. pulumi_cloudamqp/alarm.py +229 -168
  5. pulumi_cloudamqp/config/__init__.py +1 -0
  6. pulumi_cloudamqp/config/__init__.pyi +1 -0
  7. pulumi_cloudamqp/config/vars.py +1 -0
  8. pulumi_cloudamqp/custom_domain.py +81 -38
  9. pulumi_cloudamqp/extra_disk_size.py +172 -155
  10. pulumi_cloudamqp/get_account.py +10 -3
  11. pulumi_cloudamqp/get_account_vpcs.py +15 -41
  12. pulumi_cloudamqp/get_alarm.py +74 -67
  13. pulumi_cloudamqp/get_credentials.py +19 -26
  14. pulumi_cloudamqp/get_instance.py +75 -25
  15. pulumi_cloudamqp/get_nodes.py +10 -56
  16. pulumi_cloudamqp/get_notification.py +39 -41
  17. pulumi_cloudamqp/get_plugins.py +28 -54
  18. pulumi_cloudamqp/get_plugins_community.py +29 -52
  19. pulumi_cloudamqp/get_upgradable_versions.py +19 -24
  20. pulumi_cloudamqp/get_vpc_gcp_info.py +44 -138
  21. pulumi_cloudamqp/get_vpc_info.py +34 -127
  22. pulumi_cloudamqp/instance.py +557 -333
  23. pulumi_cloudamqp/integration_aws_eventbridge.py +182 -117
  24. pulumi_cloudamqp/integration_log.py +488 -402
  25. pulumi_cloudamqp/integration_metric.py +345 -296
  26. pulumi_cloudamqp/maintenance_window.py +516 -0
  27. pulumi_cloudamqp/node_actions.py +82 -59
  28. pulumi_cloudamqp/notification.py +174 -92
  29. pulumi_cloudamqp/outputs.py +216 -125
  30. pulumi_cloudamqp/plugin.py +170 -105
  31. pulumi_cloudamqp/plugin_community.py +168 -107
  32. pulumi_cloudamqp/privatelink_aws.py +140 -347
  33. pulumi_cloudamqp/privatelink_azure.py +142 -345
  34. pulumi_cloudamqp/provider.py +22 -21
  35. pulumi_cloudamqp/pulumi-plugin.json +1 -1
  36. pulumi_cloudamqp/rabbit_configuration.py +334 -210
  37. pulumi_cloudamqp/security_firewall.py +111 -57
  38. pulumi_cloudamqp/upgrade_lavinmq.py +29 -102
  39. pulumi_cloudamqp/upgrade_rabbitmq.py +53 -299
  40. pulumi_cloudamqp/vpc.py +112 -79
  41. pulumi_cloudamqp/vpc_connect.py +219 -606
  42. pulumi_cloudamqp/vpc_gcp_peering.py +227 -591
  43. pulumi_cloudamqp/vpc_peering.py +120 -105
  44. pulumi_cloudamqp/webhook.py +143 -103
  45. {pulumi_cloudamqp-3.21.0a1743571485.dist-info → pulumi_cloudamqp-3.22.0a1744182778.dist-info}/METADATA +1 -1
  46. pulumi_cloudamqp-3.22.0a1744182778.dist-info/RECORD +50 -0
  47. pulumi_cloudamqp-3.21.0a1743571485.dist-info/RECORD +0 -49
  48. {pulumi_cloudamqp-3.21.0a1743571485.dist-info → pulumi_cloudamqp-3.22.0a1744182778.dist-info}/WHEEL +0 -0
  49. {pulumi_cloudamqp-3.21.0a1743571485.dist-info → pulumi_cloudamqp-3.22.0a1744182778.dist-info}/top_level.txt +0 -0
@@ -2,6 +2,7 @@
2
2
  # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
+ import builtins
5
6
  import copy
6
7
  import warnings
7
8
  import sys
@@ -19,14 +20,15 @@ __all__ = ['UpgradeRabbitmqArgs', 'UpgradeRabbitmq']
19
20
  @pulumi.input_type
20
21
  class UpgradeRabbitmqArgs:
21
22
  def __init__(__self__, *,
22
- instance_id: pulumi.Input[int],
23
- current_version: Optional[pulumi.Input[str]] = None,
24
- new_version: Optional[pulumi.Input[str]] = None):
23
+ instance_id: pulumi.Input[builtins.int],
24
+ current_version: Optional[pulumi.Input[builtins.str]] = None,
25
+ new_version: Optional[pulumi.Input[builtins.str]] = None):
25
26
  """
26
27
  The set of arguments for constructing a UpgradeRabbitmq resource.
27
- :param pulumi.Input[int] instance_id: The CloudAMQP instance identifier
28
- :param pulumi.Input[str] current_version: Helper argument to change upgrade behaviour to latest possible version
29
- :param pulumi.Input[str] new_version: The new version to upgrade to
28
+ :param pulumi.Input[builtins.int] instance_id: The CloudAMQP instance identifier
29
+ :param pulumi.Input[builtins.str] current_version: Helper argument to change upgrade behaviour to latest possible
30
+ version
31
+ :param pulumi.Input[builtins.str] new_version: The new version to upgrade to
30
32
  """
31
33
  pulumi.set(__self__, "instance_id", instance_id)
32
34
  if current_version is not None:
@@ -36,52 +38,54 @@ class UpgradeRabbitmqArgs:
36
38
 
37
39
  @property
38
40
  @pulumi.getter(name="instanceId")
39
- def instance_id(self) -> pulumi.Input[int]:
41
+ def instance_id(self) -> pulumi.Input[builtins.int]:
40
42
  """
41
43
  The CloudAMQP instance identifier
42
44
  """
43
45
  return pulumi.get(self, "instance_id")
44
46
 
45
47
  @instance_id.setter
46
- def instance_id(self, value: pulumi.Input[int]):
48
+ def instance_id(self, value: pulumi.Input[builtins.int]):
47
49
  pulumi.set(self, "instance_id", value)
48
50
 
49
51
  @property
50
52
  @pulumi.getter(name="currentVersion")
51
- def current_version(self) -> Optional[pulumi.Input[str]]:
53
+ def current_version(self) -> Optional[pulumi.Input[builtins.str]]:
52
54
  """
53
- Helper argument to change upgrade behaviour to latest possible version
55
+ Helper argument to change upgrade behaviour to latest possible
56
+ version
54
57
  """
55
58
  return pulumi.get(self, "current_version")
56
59
 
57
60
  @current_version.setter
58
- def current_version(self, value: Optional[pulumi.Input[str]]):
61
+ def current_version(self, value: Optional[pulumi.Input[builtins.str]]):
59
62
  pulumi.set(self, "current_version", value)
60
63
 
61
64
  @property
62
65
  @pulumi.getter(name="newVersion")
63
- def new_version(self) -> Optional[pulumi.Input[str]]:
66
+ def new_version(self) -> Optional[pulumi.Input[builtins.str]]:
64
67
  """
65
68
  The new version to upgrade to
66
69
  """
67
70
  return pulumi.get(self, "new_version")
68
71
 
69
72
  @new_version.setter
70
- def new_version(self, value: Optional[pulumi.Input[str]]):
73
+ def new_version(self, value: Optional[pulumi.Input[builtins.str]]):
71
74
  pulumi.set(self, "new_version", value)
72
75
 
73
76
 
74
77
  @pulumi.input_type
75
78
  class _UpgradeRabbitmqState:
76
79
  def __init__(__self__, *,
77
- current_version: Optional[pulumi.Input[str]] = None,
78
- instance_id: Optional[pulumi.Input[int]] = None,
79
- new_version: Optional[pulumi.Input[str]] = None):
80
+ current_version: Optional[pulumi.Input[builtins.str]] = None,
81
+ instance_id: Optional[pulumi.Input[builtins.int]] = None,
82
+ new_version: Optional[pulumi.Input[builtins.str]] = None):
80
83
  """
81
84
  Input properties used for looking up and filtering UpgradeRabbitmq resources.
82
- :param pulumi.Input[str] current_version: Helper argument to change upgrade behaviour to latest possible version
83
- :param pulumi.Input[int] instance_id: The CloudAMQP instance identifier
84
- :param pulumi.Input[str] new_version: The new version to upgrade to
85
+ :param pulumi.Input[builtins.str] current_version: Helper argument to change upgrade behaviour to latest possible
86
+ version
87
+ :param pulumi.Input[builtins.int] instance_id: The CloudAMQP instance identifier
88
+ :param pulumi.Input[builtins.str] new_version: The new version to upgrade to
85
89
  """
86
90
  if current_version is not None:
87
91
  pulumi.set(__self__, "current_version", current_version)
@@ -92,38 +96,39 @@ class _UpgradeRabbitmqState:
92
96
 
93
97
  @property
94
98
  @pulumi.getter(name="currentVersion")
95
- def current_version(self) -> Optional[pulumi.Input[str]]:
99
+ def current_version(self) -> Optional[pulumi.Input[builtins.str]]:
96
100
  """
97
- Helper argument to change upgrade behaviour to latest possible version
101
+ Helper argument to change upgrade behaviour to latest possible
102
+ version
98
103
  """
99
104
  return pulumi.get(self, "current_version")
100
105
 
101
106
  @current_version.setter
102
- def current_version(self, value: Optional[pulumi.Input[str]]):
107
+ def current_version(self, value: Optional[pulumi.Input[builtins.str]]):
103
108
  pulumi.set(self, "current_version", value)
104
109
 
105
110
  @property
106
111
  @pulumi.getter(name="instanceId")
107
- def instance_id(self) -> Optional[pulumi.Input[int]]:
112
+ def instance_id(self) -> Optional[pulumi.Input[builtins.int]]:
108
113
  """
109
114
  The CloudAMQP instance identifier
110
115
  """
111
116
  return pulumi.get(self, "instance_id")
112
117
 
113
118
  @instance_id.setter
114
- def instance_id(self, value: Optional[pulumi.Input[int]]):
119
+ def instance_id(self, value: Optional[pulumi.Input[builtins.int]]):
115
120
  pulumi.set(self, "instance_id", value)
116
121
 
117
122
  @property
118
123
  @pulumi.getter(name="newVersion")
119
- def new_version(self) -> Optional[pulumi.Input[str]]:
124
+ def new_version(self) -> Optional[pulumi.Input[builtins.str]]:
120
125
  """
121
126
  The new version to upgrade to
122
127
  """
123
128
  return pulumi.get(self, "new_version")
124
129
 
125
130
  @new_version.setter
126
- def new_version(self, value: Optional[pulumi.Input[str]]):
131
+ def new_version(self, value: Optional[pulumi.Input[builtins.str]]):
127
132
  pulumi.set(self, "new_version", value)
128
133
 
129
134
 
@@ -132,147 +137,21 @@ class UpgradeRabbitmq(pulumi.CustomResource):
132
137
  def __init__(__self__,
133
138
  resource_name: str,
134
139
  opts: Optional[pulumi.ResourceOptions] = None,
135
- current_version: Optional[pulumi.Input[str]] = None,
136
- instance_id: Optional[pulumi.Input[int]] = None,
137
- new_version: Optional[pulumi.Input[str]] = None,
140
+ current_version: Optional[pulumi.Input[builtins.str]] = None,
141
+ instance_id: Optional[pulumi.Input[builtins.int]] = None,
142
+ new_version: Optional[pulumi.Input[builtins.str]] = None,
138
143
  __props__=None):
139
144
  """
140
- 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.
141
-
142
- There is three different ways to trigger the version upgrade
143
-
144
- > - Specify RabbitMQ version to upgrade to
145
- > - Upgrade to latest RabbitMQ version
146
- > - Old behaviour to upgrade to latest RabbitMQ version
147
-
148
- See, below example usage for the difference.
149
-
150
- Only available for dedicated subscription plans running ***RabbitMQ***.
151
-
152
- ## Example Usage
153
-
154
- <details>
155
- <summary>
156
- <b>
157
- <i>Specify version upgrade, from v1.31.0</i>
158
- </b>
159
- </summary>
160
-
161
- Specify the version to upgrade to. List available upgradable versions, use [CloudAMQP API](https://docs.cloudamqp.com/cloudamqp_api.html#get-available-versions).
162
- After the upgrade finished, there can still be newer versions available.
163
-
164
- ```python
165
- import pulumi
166
- import pulumi_cloudamqp as cloudamqp
167
-
168
- instance = cloudamqp.Instance("instance",
169
- name="rabbitmq-version-upgrade-test",
170
- plan="bunny-1",
171
- region="amazon-web-services::us-west-1")
172
- upgrade = cloudamqp.UpgradeRabbitmq("upgrade",
173
- instance_id=instance.id,
174
- new_version="3.13.2")
175
- ```
176
-
177
- </details>
178
-
179
- <details>
180
- <summary>
181
- <b>
182
- <i>Upgrade to latest possible version, from v1.31.0</i>
183
- </b>
184
- </summary>
185
-
186
- This will upgrade RabbitMQ to the latest possible version detected by the data source `get_upgradable_versions`.
187
- Multiple runs can be needed to upgrade the version even further.
188
-
189
- ```python
190
- import pulumi
191
- import pulumi_cloudamqp as cloudamqp
192
-
193
- instance = cloudamqp.Instance("instance",
194
- name="rabbitmq-version-upgrade-test",
195
- plan="bunny-1",
196
- region="amazon-web-services::us-west-1")
197
- upgradable_versions = instance.id.apply(lambda id: cloudamqp.get_upgradable_versions_output(instance_id=id))
198
- upgrade = cloudamqp.UpgradeRabbitmq("upgrade",
199
- instance_id=instance.id,
200
- current_version=instance.rmq_version,
201
- new_version=upgradable_versions.new_rabbitmq_version)
202
- ```
203
-
204
- </details>
205
-
206
- <details>
207
- <summary>
208
- <b>
209
- <i>Upgrade to latest possible version, before v1.31.0</i>
210
- </b>
211
- </summary>
212
-
213
- Old behaviour of the upgrading the RabbitMQ version. No longer recommended.
214
-
215
- ```python
216
- import pulumi
217
- import pulumi_cloudamqp as cloudamqp
218
-
219
- # Retrieve latest possible upgradable versions for RabbitMQ and Erlang
220
- versions = cloudamqp.get_upgradable_versions(instance_id=instance["id"])
221
- # Invoke automatically upgrade to latest possible upgradable versions for RabbitMQ and Erlang
222
- upgrade = cloudamqp.UpgradeRabbitmq("upgrade", instance_id=instance["id"])
223
- ```
224
-
225
- ```python
226
- import pulumi
227
- import pulumi_cloudamqp as cloudamqp
228
-
229
- # Retrieve latest possible upgradable versions for RabbitMQ and Erlang
230
- versions = cloudamqp.get_upgradable_versions(instance_id=instance["id"])
231
- ```
232
-
233
- If newer version is still available to be upgradable in the data source, re-run again.
234
-
235
- ```python
236
- import pulumi
237
- import pulumi_cloudamqp as cloudamqp
238
-
239
- # Retrieve latest possible upgradable versions for RabbitMQ and Erlang
240
- versions = cloudamqp.get_upgradable_versions(instance_id=instance["id"])
241
- # Invoke automatically upgrade to latest possible upgradable versions for RabbitMQ and Erlang
242
- upgrade = cloudamqp.UpgradeRabbitmq("upgrade", instance_id=instance["id"])
243
- ```
244
-
245
- </details>
246
-
247
- ## Important Upgrade Information
248
-
249
- > - All single node upgrades will require some downtime since RabbitMQ needs a restart.
250
- > - 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.
251
- > - Auto delete queues (queues that are marked AD) will be deleted during the update.
252
- > - 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.
253
- > - TLS 1.0 and 1.1 will not be supported after the update.
254
-
255
- ## Multiple runs
256
-
257
- 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.
258
-
259
- Example steps needed when starting at RabbitMQ version 3.12.2
260
-
261
- | Version | Supported upgrading versions | Min version to upgrade Erlang |
262
- |------------------|-------------------------------------------|-------------------------------|
263
- | 3.12.2 | 3.12.4, 3.12.6, 3.12.10, 3.12.12, 3.12.13 | 3.12.13 |
264
- | 3.12.13 | 3.13.2 | 3.13.2 |
265
- | 3.13.2 | - | - |
266
-
267
145
  ## Import
268
146
 
269
147
  Not possible to import this resource.
270
148
 
271
149
  :param str resource_name: The name of the resource.
272
150
  :param pulumi.ResourceOptions opts: Options for the resource.
273
- :param pulumi.Input[str] current_version: Helper argument to change upgrade behaviour to latest possible version
274
- :param pulumi.Input[int] instance_id: The CloudAMQP instance identifier
275
- :param pulumi.Input[str] new_version: The new version to upgrade to
151
+ :param pulumi.Input[builtins.str] current_version: Helper argument to change upgrade behaviour to latest possible
152
+ version
153
+ :param pulumi.Input[builtins.int] instance_id: The CloudAMQP instance identifier
154
+ :param pulumi.Input[builtins.str] new_version: The new version to upgrade to
276
155
  """
277
156
  ...
278
157
  @overload
@@ -281,133 +160,6 @@ class UpgradeRabbitmq(pulumi.CustomResource):
281
160
  args: UpgradeRabbitmqArgs,
282
161
  opts: Optional[pulumi.ResourceOptions] = None):
283
162
  """
284
- 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.
285
-
286
- There is three different ways to trigger the version upgrade
287
-
288
- > - Specify RabbitMQ version to upgrade to
289
- > - Upgrade to latest RabbitMQ version
290
- > - Old behaviour to upgrade to latest RabbitMQ version
291
-
292
- See, below example usage for the difference.
293
-
294
- Only available for dedicated subscription plans running ***RabbitMQ***.
295
-
296
- ## Example Usage
297
-
298
- <details>
299
- <summary>
300
- <b>
301
- <i>Specify version upgrade, from v1.31.0</i>
302
- </b>
303
- </summary>
304
-
305
- Specify the version to upgrade to. List available upgradable versions, use [CloudAMQP API](https://docs.cloudamqp.com/cloudamqp_api.html#get-available-versions).
306
- After the upgrade finished, there can still be newer versions available.
307
-
308
- ```python
309
- import pulumi
310
- import pulumi_cloudamqp as cloudamqp
311
-
312
- instance = cloudamqp.Instance("instance",
313
- name="rabbitmq-version-upgrade-test",
314
- plan="bunny-1",
315
- region="amazon-web-services::us-west-1")
316
- upgrade = cloudamqp.UpgradeRabbitmq("upgrade",
317
- instance_id=instance.id,
318
- new_version="3.13.2")
319
- ```
320
-
321
- </details>
322
-
323
- <details>
324
- <summary>
325
- <b>
326
- <i>Upgrade to latest possible version, from v1.31.0</i>
327
- </b>
328
- </summary>
329
-
330
- This will upgrade RabbitMQ to the latest possible version detected by the data source `get_upgradable_versions`.
331
- Multiple runs can be needed to upgrade the version even further.
332
-
333
- ```python
334
- import pulumi
335
- import pulumi_cloudamqp as cloudamqp
336
-
337
- instance = cloudamqp.Instance("instance",
338
- name="rabbitmq-version-upgrade-test",
339
- plan="bunny-1",
340
- region="amazon-web-services::us-west-1")
341
- upgradable_versions = instance.id.apply(lambda id: cloudamqp.get_upgradable_versions_output(instance_id=id))
342
- upgrade = cloudamqp.UpgradeRabbitmq("upgrade",
343
- instance_id=instance.id,
344
- current_version=instance.rmq_version,
345
- new_version=upgradable_versions.new_rabbitmq_version)
346
- ```
347
-
348
- </details>
349
-
350
- <details>
351
- <summary>
352
- <b>
353
- <i>Upgrade to latest possible version, before v1.31.0</i>
354
- </b>
355
- </summary>
356
-
357
- Old behaviour of the upgrading the RabbitMQ version. No longer recommended.
358
-
359
- ```python
360
- import pulumi
361
- import pulumi_cloudamqp as cloudamqp
362
-
363
- # Retrieve latest possible upgradable versions for RabbitMQ and Erlang
364
- versions = cloudamqp.get_upgradable_versions(instance_id=instance["id"])
365
- # Invoke automatically upgrade to latest possible upgradable versions for RabbitMQ and Erlang
366
- upgrade = cloudamqp.UpgradeRabbitmq("upgrade", instance_id=instance["id"])
367
- ```
368
-
369
- ```python
370
- import pulumi
371
- import pulumi_cloudamqp as cloudamqp
372
-
373
- # Retrieve latest possible upgradable versions for RabbitMQ and Erlang
374
- versions = cloudamqp.get_upgradable_versions(instance_id=instance["id"])
375
- ```
376
-
377
- If newer version is still available to be upgradable in the data source, re-run again.
378
-
379
- ```python
380
- import pulumi
381
- import pulumi_cloudamqp as cloudamqp
382
-
383
- # Retrieve latest possible upgradable versions for RabbitMQ and Erlang
384
- versions = cloudamqp.get_upgradable_versions(instance_id=instance["id"])
385
- # Invoke automatically upgrade to latest possible upgradable versions for RabbitMQ and Erlang
386
- upgrade = cloudamqp.UpgradeRabbitmq("upgrade", instance_id=instance["id"])
387
- ```
388
-
389
- </details>
390
-
391
- ## Important Upgrade Information
392
-
393
- > - All single node upgrades will require some downtime since RabbitMQ needs a restart.
394
- > - 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.
395
- > - Auto delete queues (queues that are marked AD) will be deleted during the update.
396
- > - 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.
397
- > - TLS 1.0 and 1.1 will not be supported after the update.
398
-
399
- ## Multiple runs
400
-
401
- 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.
402
-
403
- Example steps needed when starting at RabbitMQ version 3.12.2
404
-
405
- | Version | Supported upgrading versions | Min version to upgrade Erlang |
406
- |------------------|-------------------------------------------|-------------------------------|
407
- | 3.12.2 | 3.12.4, 3.12.6, 3.12.10, 3.12.12, 3.12.13 | 3.12.13 |
408
- | 3.12.13 | 3.13.2 | 3.13.2 |
409
- | 3.13.2 | - | - |
410
-
411
163
  ## Import
412
164
 
413
165
  Not possible to import this resource.
@@ -427,9 +179,9 @@ class UpgradeRabbitmq(pulumi.CustomResource):
427
179
  def _internal_init(__self__,
428
180
  resource_name: str,
429
181
  opts: Optional[pulumi.ResourceOptions] = None,
430
- current_version: Optional[pulumi.Input[str]] = None,
431
- instance_id: Optional[pulumi.Input[int]] = None,
432
- new_version: Optional[pulumi.Input[str]] = None,
182
+ current_version: Optional[pulumi.Input[builtins.str]] = None,
183
+ instance_id: Optional[pulumi.Input[builtins.int]] = None,
184
+ new_version: Optional[pulumi.Input[builtins.str]] = None,
433
185
  __props__=None):
434
186
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
435
187
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -454,9 +206,9 @@ class UpgradeRabbitmq(pulumi.CustomResource):
454
206
  def get(resource_name: str,
455
207
  id: pulumi.Input[str],
456
208
  opts: Optional[pulumi.ResourceOptions] = None,
457
- current_version: Optional[pulumi.Input[str]] = None,
458
- instance_id: Optional[pulumi.Input[int]] = None,
459
- new_version: Optional[pulumi.Input[str]] = None) -> 'UpgradeRabbitmq':
209
+ current_version: Optional[pulumi.Input[builtins.str]] = None,
210
+ instance_id: Optional[pulumi.Input[builtins.int]] = None,
211
+ new_version: Optional[pulumi.Input[builtins.str]] = None) -> 'UpgradeRabbitmq':
460
212
  """
461
213
  Get an existing UpgradeRabbitmq resource's state with the given name, id, and optional extra
462
214
  properties used to qualify the lookup.
@@ -464,9 +216,10 @@ class UpgradeRabbitmq(pulumi.CustomResource):
464
216
  :param str resource_name: The unique name of the resulting resource.
465
217
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
466
218
  :param pulumi.ResourceOptions opts: Options for the resource.
467
- :param pulumi.Input[str] current_version: Helper argument to change upgrade behaviour to latest possible version
468
- :param pulumi.Input[int] instance_id: The CloudAMQP instance identifier
469
- :param pulumi.Input[str] new_version: The new version to upgrade to
219
+ :param pulumi.Input[builtins.str] current_version: Helper argument to change upgrade behaviour to latest possible
220
+ version
221
+ :param pulumi.Input[builtins.int] instance_id: The CloudAMQP instance identifier
222
+ :param pulumi.Input[builtins.str] new_version: The new version to upgrade to
470
223
  """
471
224
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
472
225
 
@@ -479,15 +232,16 @@ class UpgradeRabbitmq(pulumi.CustomResource):
479
232
 
480
233
  @property
481
234
  @pulumi.getter(name="currentVersion")
482
- def current_version(self) -> pulumi.Output[Optional[str]]:
235
+ def current_version(self) -> pulumi.Output[Optional[builtins.str]]:
483
236
  """
484
- Helper argument to change upgrade behaviour to latest possible version
237
+ Helper argument to change upgrade behaviour to latest possible
238
+ version
485
239
  """
486
240
  return pulumi.get(self, "current_version")
487
241
 
488
242
  @property
489
243
  @pulumi.getter(name="instanceId")
490
- def instance_id(self) -> pulumi.Output[int]:
244
+ def instance_id(self) -> pulumi.Output[builtins.int]:
491
245
  """
492
246
  The CloudAMQP instance identifier
493
247
  """
@@ -495,7 +249,7 @@ class UpgradeRabbitmq(pulumi.CustomResource):
495
249
 
496
250
  @property
497
251
  @pulumi.getter(name="newVersion")
498
- def new_version(self) -> pulumi.Output[Optional[str]]:
252
+ def new_version(self) -> pulumi.Output[Optional[builtins.str]]:
499
253
  """
500
254
  The new version to upgrade to
501
255
  """