pulumi-cloudamqp 3.18.0a1710156088__py3-none-any.whl → 3.21.0a1736832130__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 (48) hide show
  1. pulumi_cloudamqp/__init__.py +9 -0
  2. pulumi_cloudamqp/_inputs.py +157 -6
  3. pulumi_cloudamqp/_utilities.py +41 -5
  4. pulumi_cloudamqp/account_action.py +5 -0
  5. pulumi_cloudamqp/alarm.py +5 -130
  6. pulumi_cloudamqp/config/__init__.pyi +5 -0
  7. pulumi_cloudamqp/config/vars.py +5 -0
  8. pulumi_cloudamqp/custom_domain.py +7 -6
  9. pulumi_cloudamqp/extra_disk_size.py +44 -31
  10. pulumi_cloudamqp/get_account.py +12 -77
  11. pulumi_cloudamqp/get_account_vpcs.py +12 -9
  12. pulumi_cloudamqp/get_alarm.py +29 -11
  13. pulumi_cloudamqp/get_credentials.py +17 -11
  14. pulumi_cloudamqp/get_instance.py +30 -5
  15. pulumi_cloudamqp/get_nodes.py +20 -11
  16. pulumi_cloudamqp/get_notification.py +23 -11
  17. pulumi_cloudamqp/get_plugins.py +49 -14
  18. pulumi_cloudamqp/get_plugins_community.py +49 -14
  19. pulumi_cloudamqp/get_upgradable_versions.py +17 -11
  20. pulumi_cloudamqp/get_vpc_gcp_info.py +26 -17
  21. pulumi_cloudamqp/get_vpc_info.py +23 -17
  22. pulumi_cloudamqp/instance.py +68 -147
  23. pulumi_cloudamqp/integration_aws_eventbridge.py +9 -6
  24. pulumi_cloudamqp/integration_log.py +120 -121
  25. pulumi_cloudamqp/integration_metric.py +326 -23
  26. pulumi_cloudamqp/node_actions.py +57 -58
  27. pulumi_cloudamqp/notification.py +114 -87
  28. pulumi_cloudamqp/outputs.py +71 -60
  29. pulumi_cloudamqp/plugin.py +54 -35
  30. pulumi_cloudamqp/plugin_community.py +54 -35
  31. pulumi_cloudamqp/privatelink_aws.py +43 -74
  32. pulumi_cloudamqp/privatelink_azure.py +43 -74
  33. pulumi_cloudamqp/provider.py +5 -5
  34. pulumi_cloudamqp/pulumi-plugin.json +2 -1
  35. pulumi_cloudamqp/rabbit_configuration.py +5 -0
  36. pulumi_cloudamqp/security_firewall.py +70 -24
  37. pulumi_cloudamqp/upgrade_lavinmq.py +276 -0
  38. pulumi_cloudamqp/upgrade_rabbitmq.py +300 -39
  39. pulumi_cloudamqp/vpc.py +13 -6
  40. pulumi_cloudamqp/vpc_connect.py +57 -102
  41. pulumi_cloudamqp/vpc_gcp_peering.py +260 -139
  42. pulumi_cloudamqp/vpc_peering.py +19 -2
  43. pulumi_cloudamqp/webhook.py +91 -90
  44. {pulumi_cloudamqp-3.18.0a1710156088.dist-info → pulumi_cloudamqp-3.21.0a1736832130.dist-info}/METADATA +7 -6
  45. pulumi_cloudamqp-3.21.0a1736832130.dist-info/RECORD +49 -0
  46. {pulumi_cloudamqp-3.18.0a1710156088.dist-info → pulumi_cloudamqp-3.21.0a1736832130.dist-info}/WHEEL +1 -1
  47. pulumi_cloudamqp-3.18.0a1710156088.dist-info/RECORD +0 -48
  48. {pulumi_cloudamqp-3.18.0a1710156088.dist-info → pulumi_cloudamqp-3.21.0a1736832130.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,276 @@
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__ = ['UpgradeLavinmqArgs', 'UpgradeLavinmq']
18
+
19
+ @pulumi.input_type
20
+ class UpgradeLavinmqArgs:
21
+ def __init__(__self__, *,
22
+ instance_id: pulumi.Input[int],
23
+ new_version: Optional[pulumi.Input[str]] = None):
24
+ """
25
+ The set of arguments for constructing a UpgradeLavinmq resource.
26
+ :param pulumi.Input[int] instance_id: The CloudAMQP instance identifier
27
+ :param pulumi.Input[str] new_version: The new version to upgrade to
28
+ """
29
+ pulumi.set(__self__, "instance_id", instance_id)
30
+ if new_version is not None:
31
+ pulumi.set(__self__, "new_version", new_version)
32
+
33
+ @property
34
+ @pulumi.getter(name="instanceId")
35
+ def instance_id(self) -> pulumi.Input[int]:
36
+ """
37
+ The CloudAMQP instance identifier
38
+ """
39
+ return pulumi.get(self, "instance_id")
40
+
41
+ @instance_id.setter
42
+ def instance_id(self, value: pulumi.Input[int]):
43
+ pulumi.set(self, "instance_id", value)
44
+
45
+ @property
46
+ @pulumi.getter(name="newVersion")
47
+ def new_version(self) -> Optional[pulumi.Input[str]]:
48
+ """
49
+ The new version to upgrade to
50
+ """
51
+ return pulumi.get(self, "new_version")
52
+
53
+ @new_version.setter
54
+ def new_version(self, value: Optional[pulumi.Input[str]]):
55
+ pulumi.set(self, "new_version", value)
56
+
57
+
58
+ @pulumi.input_type
59
+ class _UpgradeLavinmqState:
60
+ def __init__(__self__, *,
61
+ instance_id: Optional[pulumi.Input[int]] = None,
62
+ new_version: Optional[pulumi.Input[str]] = None):
63
+ """
64
+ Input properties used for looking up and filtering UpgradeLavinmq resources.
65
+ :param pulumi.Input[int] instance_id: The CloudAMQP instance identifier
66
+ :param pulumi.Input[str] new_version: The new version to upgrade to
67
+ """
68
+ if instance_id is not None:
69
+ pulumi.set(__self__, "instance_id", instance_id)
70
+ if new_version is not None:
71
+ pulumi.set(__self__, "new_version", new_version)
72
+
73
+ @property
74
+ @pulumi.getter(name="instanceId")
75
+ def instance_id(self) -> Optional[pulumi.Input[int]]:
76
+ """
77
+ The CloudAMQP instance identifier
78
+ """
79
+ return pulumi.get(self, "instance_id")
80
+
81
+ @instance_id.setter
82
+ def instance_id(self, value: Optional[pulumi.Input[int]]):
83
+ pulumi.set(self, "instance_id", value)
84
+
85
+ @property
86
+ @pulumi.getter(name="newVersion")
87
+ def new_version(self) -> Optional[pulumi.Input[str]]:
88
+ """
89
+ The new version to upgrade to
90
+ """
91
+ return pulumi.get(self, "new_version")
92
+
93
+ @new_version.setter
94
+ def new_version(self, value: Optional[pulumi.Input[str]]):
95
+ pulumi.set(self, "new_version", value)
96
+
97
+
98
+ class UpgradeLavinmq(pulumi.CustomResource):
99
+ @overload
100
+ def __init__(__self__,
101
+ resource_name: str,
102
+ opts: Optional[pulumi.ResourceOptions] = None,
103
+ instance_id: Optional[pulumi.Input[int]] = None,
104
+ new_version: Optional[pulumi.Input[str]] = None,
105
+ __props__=None):
106
+ """
107
+ This resource allows you to upgrade LavinMQ version.
108
+
109
+ See below example usage.
110
+
111
+ Only available for dedicated subscription plans running ***LavinMQ***.
112
+
113
+ ## Example Usage
114
+
115
+ <details>
116
+ <summary>
117
+ <b>
118
+ <i>Upgrade LavinMQ, specify which version to upgrade to, from v1.32.0</i>
119
+ </b>
120
+ </summary>
121
+
122
+ Specify the version to upgrade to. List available upgradable versions, use [CloudAMQP API](https://docs.cloudamqp.com/cloudamqp_api.html#get-available-versions).
123
+
124
+ ```python
125
+ import pulumi
126
+ import pulumi_cloudamqp as cloudamqp
127
+
128
+ instance = cloudamqp.Instance("instance",
129
+ name="lavinmq-version-upgrade-test",
130
+ plan="lynx-1",
131
+ region="amazon-web-services::us-west-1")
132
+ upgrade = cloudamqp.UpgradeLavinmq("upgrade",
133
+ instance_id=instance.id,
134
+ new_version="1.3.1")
135
+ ```
136
+
137
+ </details>
138
+
139
+ ## Important Upgrade Information
140
+
141
+ > - All single node upgrades will require some downtime since LavinMQ needs a restart.
142
+ > - Auto delete queues (queues that are marked AD) will be deleted during the update.
143
+
144
+ ## Import
145
+
146
+ Not possible to import this resource.
147
+
148
+ :param str resource_name: The name of the resource.
149
+ :param pulumi.ResourceOptions opts: Options for the resource.
150
+ :param pulumi.Input[int] instance_id: The CloudAMQP instance identifier
151
+ :param pulumi.Input[str] new_version: The new version to upgrade to
152
+ """
153
+ ...
154
+ @overload
155
+ def __init__(__self__,
156
+ resource_name: str,
157
+ args: UpgradeLavinmqArgs,
158
+ opts: Optional[pulumi.ResourceOptions] = None):
159
+ """
160
+ This resource allows you to upgrade LavinMQ version.
161
+
162
+ See below example usage.
163
+
164
+ Only available for dedicated subscription plans running ***LavinMQ***.
165
+
166
+ ## Example Usage
167
+
168
+ <details>
169
+ <summary>
170
+ <b>
171
+ <i>Upgrade LavinMQ, specify which version to upgrade to, from v1.32.0</i>
172
+ </b>
173
+ </summary>
174
+
175
+ Specify the version to upgrade to. List available upgradable versions, use [CloudAMQP API](https://docs.cloudamqp.com/cloudamqp_api.html#get-available-versions).
176
+
177
+ ```python
178
+ import pulumi
179
+ import pulumi_cloudamqp as cloudamqp
180
+
181
+ instance = cloudamqp.Instance("instance",
182
+ name="lavinmq-version-upgrade-test",
183
+ plan="lynx-1",
184
+ region="amazon-web-services::us-west-1")
185
+ upgrade = cloudamqp.UpgradeLavinmq("upgrade",
186
+ instance_id=instance.id,
187
+ new_version="1.3.1")
188
+ ```
189
+
190
+ </details>
191
+
192
+ ## Important Upgrade Information
193
+
194
+ > - All single node upgrades will require some downtime since LavinMQ needs a restart.
195
+ > - Auto delete queues (queues that are marked AD) will be deleted during the update.
196
+
197
+ ## Import
198
+
199
+ Not possible to import this resource.
200
+
201
+ :param str resource_name: The name of the resource.
202
+ :param UpgradeLavinmqArgs args: The arguments to use to populate this resource's properties.
203
+ :param pulumi.ResourceOptions opts: Options for the resource.
204
+ """
205
+ ...
206
+ def __init__(__self__, resource_name: str, *args, **kwargs):
207
+ resource_args, opts = _utilities.get_resource_args_opts(UpgradeLavinmqArgs, pulumi.ResourceOptions, *args, **kwargs)
208
+ if resource_args is not None:
209
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
210
+ else:
211
+ __self__._internal_init(resource_name, *args, **kwargs)
212
+
213
+ def _internal_init(__self__,
214
+ resource_name: str,
215
+ opts: Optional[pulumi.ResourceOptions] = None,
216
+ instance_id: Optional[pulumi.Input[int]] = None,
217
+ new_version: Optional[pulumi.Input[str]] = None,
218
+ __props__=None):
219
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
220
+ if not isinstance(opts, pulumi.ResourceOptions):
221
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
222
+ if opts.id is None:
223
+ if __props__ is not None:
224
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
225
+ __props__ = UpgradeLavinmqArgs.__new__(UpgradeLavinmqArgs)
226
+
227
+ if instance_id is None and not opts.urn:
228
+ raise TypeError("Missing required property 'instance_id'")
229
+ __props__.__dict__["instance_id"] = instance_id
230
+ __props__.__dict__["new_version"] = new_version
231
+ super(UpgradeLavinmq, __self__).__init__(
232
+ 'cloudamqp:index/upgradeLavinmq:UpgradeLavinmq',
233
+ resource_name,
234
+ __props__,
235
+ opts)
236
+
237
+ @staticmethod
238
+ def get(resource_name: str,
239
+ id: pulumi.Input[str],
240
+ opts: Optional[pulumi.ResourceOptions] = None,
241
+ instance_id: Optional[pulumi.Input[int]] = None,
242
+ new_version: Optional[pulumi.Input[str]] = None) -> 'UpgradeLavinmq':
243
+ """
244
+ Get an existing UpgradeLavinmq resource's state with the given name, id, and optional extra
245
+ properties used to qualify the lookup.
246
+
247
+ :param str resource_name: The unique name of the resulting resource.
248
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
249
+ :param pulumi.ResourceOptions opts: Options for the resource.
250
+ :param pulumi.Input[int] instance_id: The CloudAMQP instance identifier
251
+ :param pulumi.Input[str] new_version: The new version to upgrade to
252
+ """
253
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
254
+
255
+ __props__ = _UpgradeLavinmqState.__new__(_UpgradeLavinmqState)
256
+
257
+ __props__.__dict__["instance_id"] = instance_id
258
+ __props__.__dict__["new_version"] = new_version
259
+ return UpgradeLavinmq(resource_name, opts=opts, __props__=__props__)
260
+
261
+ @property
262
+ @pulumi.getter(name="instanceId")
263
+ def instance_id(self) -> pulumi.Output[int]:
264
+ """
265
+ The CloudAMQP instance identifier
266
+ """
267
+ return pulumi.get(self, "instance_id")
268
+
269
+ @property
270
+ @pulumi.getter(name="newVersion")
271
+ def new_version(self) -> pulumi.Output[Optional[str]]:
272
+ """
273
+ The new version to upgrade to
274
+ """
275
+ return pulumi.get(self, "new_version")
276
+