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 sys
6
7
  from .vars import _ExportableConfig
7
8
 
@@ -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
@@ -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
@@ -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,50 +20,50 @@ __all__ = ['CustomDomainArgs', 'CustomDomain']
19
20
  @pulumi.input_type
20
21
  class CustomDomainArgs:
21
22
  def __init__(__self__, *,
22
- hostname: pulumi.Input[str],
23
- instance_id: pulumi.Input[int]):
23
+ hostname: pulumi.Input[builtins.str],
24
+ instance_id: pulumi.Input[builtins.int]):
24
25
  """
25
26
  The set of arguments for constructing a CustomDomain resource.
26
- :param pulumi.Input[str] hostname: Your custom domain name.
27
- :param pulumi.Input[int] instance_id: The CloudAMQP instance ID.
27
+ :param pulumi.Input[builtins.str] hostname: Your custom domain name.
28
+ :param pulumi.Input[builtins.int] instance_id: The CloudAMQP instance ID.
28
29
  """
29
30
  pulumi.set(__self__, "hostname", hostname)
30
31
  pulumi.set(__self__, "instance_id", instance_id)
31
32
 
32
33
  @property
33
34
  @pulumi.getter
34
- def hostname(self) -> pulumi.Input[str]:
35
+ def hostname(self) -> pulumi.Input[builtins.str]:
35
36
  """
36
37
  Your custom domain name.
37
38
  """
38
39
  return pulumi.get(self, "hostname")
39
40
 
40
41
  @hostname.setter
41
- def hostname(self, value: pulumi.Input[str]):
42
+ def hostname(self, value: pulumi.Input[builtins.str]):
42
43
  pulumi.set(self, "hostname", value)
43
44
 
44
45
  @property
45
46
  @pulumi.getter(name="instanceId")
46
- def instance_id(self) -> pulumi.Input[int]:
47
+ def instance_id(self) -> pulumi.Input[builtins.int]:
47
48
  """
48
49
  The CloudAMQP instance ID.
49
50
  """
50
51
  return pulumi.get(self, "instance_id")
51
52
 
52
53
  @instance_id.setter
53
- def instance_id(self, value: pulumi.Input[int]):
54
+ def instance_id(self, value: pulumi.Input[builtins.int]):
54
55
  pulumi.set(self, "instance_id", value)
55
56
 
56
57
 
57
58
  @pulumi.input_type
58
59
  class _CustomDomainState:
59
60
  def __init__(__self__, *,
60
- hostname: Optional[pulumi.Input[str]] = None,
61
- instance_id: Optional[pulumi.Input[int]] = None):
61
+ hostname: Optional[pulumi.Input[builtins.str]] = None,
62
+ instance_id: Optional[pulumi.Input[builtins.int]] = None):
62
63
  """
63
64
  Input properties used for looking up and filtering CustomDomain resources.
64
- :param pulumi.Input[str] hostname: Your custom domain name.
65
- :param pulumi.Input[int] instance_id: The CloudAMQP instance ID.
65
+ :param pulumi.Input[builtins.str] hostname: Your custom domain name.
66
+ :param pulumi.Input[builtins.int] instance_id: The CloudAMQP instance ID.
66
67
  """
67
68
  if hostname is not None:
68
69
  pulumi.set(__self__, "hostname", hostname)
@@ -71,26 +72,26 @@ class _CustomDomainState:
71
72
 
72
73
  @property
73
74
  @pulumi.getter
74
- def hostname(self) -> Optional[pulumi.Input[str]]:
75
+ def hostname(self) -> Optional[pulumi.Input[builtins.str]]:
75
76
  """
76
77
  Your custom domain name.
77
78
  """
78
79
  return pulumi.get(self, "hostname")
79
80
 
80
81
  @hostname.setter
81
- def hostname(self, value: Optional[pulumi.Input[str]]):
82
+ def hostname(self, value: Optional[pulumi.Input[builtins.str]]):
82
83
  pulumi.set(self, "hostname", value)
83
84
 
84
85
  @property
85
86
  @pulumi.getter(name="instanceId")
86
- def instance_id(self) -> Optional[pulumi.Input[int]]:
87
+ def instance_id(self) -> Optional[pulumi.Input[builtins.int]]:
87
88
  """
88
89
  The CloudAMQP instance ID.
89
90
  """
90
91
  return pulumi.get(self, "instance_id")
91
92
 
92
93
  @instance_id.setter
93
- def instance_id(self, value: Optional[pulumi.Input[int]]):
94
+ def instance_id(self, value: Optional[pulumi.Input[builtins.int]]):
94
95
  pulumi.set(self, "instance_id", value)
95
96
 
96
97
 
@@ -99,19 +100,24 @@ class CustomDomain(pulumi.CustomResource):
99
100
  def __init__(__self__,
100
101
  resource_name: str,
101
102
  opts: Optional[pulumi.ResourceOptions] = None,
102
- hostname: Optional[pulumi.Input[str]] = None,
103
- instance_id: Optional[pulumi.Input[int]] = None,
103
+ hostname: Optional[pulumi.Input[builtins.str]] = None,
104
+ instance_id: Optional[pulumi.Input[builtins.int]] = None,
104
105
  __props__=None):
105
106
  """
106
107
  This resource allows you to configure and manage your custom domain for the CloudAMQP instance.
107
108
 
108
- Adding a custom domain to your instance will generate a TLS certificate from [Let's Encrypt], for the given hostname, and install it on all servers in your cluster. The certificate will be automatically renewed going forward.
109
+ Adding a custom domain to your instance will generate a TLS certificate from [Let's Encrypt], for
110
+ the given hostname, and install it on all servers in your cluster. The certificate will be
111
+ automatically renewed going forward.
109
112
 
110
- > **WARNING:** Please note that when creating, changing or deleting the custom domain, the listeners on your servers will be restarted in order to apply the changes. This will close your current connections.
113
+ > **WARNING:** Please note that when creating, changing or deleting the custom domain, the
114
+ listeners on your servers will be restarted in order to apply the changes. This will close your
115
+ current connections.
111
116
 
112
- Your custom domain name needs to point to your CloudAMQP hostname, preferably using a CNAME DNS record.
117
+ Your custom domain name needs to point to your CloudAMQP hostname, preferably using a CNAME DNS
118
+ record.
113
119
 
114
- Only available for dedicated subscription plans.
120
+ Only available for dedicated subscription plans running ***RabbitMQ***.
115
121
 
116
122
  ## Example Usage
117
123
 
@@ -130,18 +136,34 @@ class CustomDomain(pulumi.CustomResource):
130
136
 
131
137
  ## Import
132
138
 
133
- `cloudamqp_custom_domain` can be imported using CloudAMQP instance identifier.
139
+ `cloudamqp_custom_domain` can be imported using CloudAMQP instance identifier. To retrieve the
140
+
141
+ instance identifier, use [CloudAMQP API list instances].
142
+
143
+ hcl
144
+
145
+ import {
146
+
147
+ to = cloudamqp_alarm.alarm
148
+
149
+ id = cloudamqp_instance.instance.id
150
+
151
+ }
152
+
153
+ Or use Terraform CLI:
134
154
 
135
155
  ```sh
136
156
  $ pulumi import cloudamqp:index/customDomain:CustomDomain settings <instance_id>`
137
157
  ```
138
158
 
159
+ [CloudAMQP API list instances]: https://docs.cloudamqp.com/#list-instances
160
+
139
161
  [Let's Encrypt]: https://letsencrypt.org/
140
162
 
141
163
  :param str resource_name: The name of the resource.
142
164
  :param pulumi.ResourceOptions opts: Options for the resource.
143
- :param pulumi.Input[str] hostname: Your custom domain name.
144
- :param pulumi.Input[int] instance_id: The CloudAMQP instance ID.
165
+ :param pulumi.Input[builtins.str] hostname: Your custom domain name.
166
+ :param pulumi.Input[builtins.int] instance_id: The CloudAMQP instance ID.
145
167
  """
146
168
  ...
147
169
  @overload
@@ -152,13 +174,18 @@ class CustomDomain(pulumi.CustomResource):
152
174
  """
153
175
  This resource allows you to configure and manage your custom domain for the CloudAMQP instance.
154
176
 
155
- Adding a custom domain to your instance will generate a TLS certificate from [Let's Encrypt], for the given hostname, and install it on all servers in your cluster. The certificate will be automatically renewed going forward.
177
+ Adding a custom domain to your instance will generate a TLS certificate from [Let's Encrypt], for
178
+ the given hostname, and install it on all servers in your cluster. The certificate will be
179
+ automatically renewed going forward.
156
180
 
157
- > **WARNING:** Please note that when creating, changing or deleting the custom domain, the listeners on your servers will be restarted in order to apply the changes. This will close your current connections.
181
+ > **WARNING:** Please note that when creating, changing or deleting the custom domain, the
182
+ listeners on your servers will be restarted in order to apply the changes. This will close your
183
+ current connections.
158
184
 
159
- Your custom domain name needs to point to your CloudAMQP hostname, preferably using a CNAME DNS record.
185
+ Your custom domain name needs to point to your CloudAMQP hostname, preferably using a CNAME DNS
186
+ record.
160
187
 
161
- Only available for dedicated subscription plans.
188
+ Only available for dedicated subscription plans running ***RabbitMQ***.
162
189
 
163
190
  ## Example Usage
164
191
 
@@ -177,12 +204,28 @@ class CustomDomain(pulumi.CustomResource):
177
204
 
178
205
  ## Import
179
206
 
180
- `cloudamqp_custom_domain` can be imported using CloudAMQP instance identifier.
207
+ `cloudamqp_custom_domain` can be imported using CloudAMQP instance identifier. To retrieve the
208
+
209
+ instance identifier, use [CloudAMQP API list instances].
210
+
211
+ hcl
212
+
213
+ import {
214
+
215
+ to = cloudamqp_alarm.alarm
216
+
217
+ id = cloudamqp_instance.instance.id
218
+
219
+ }
220
+
221
+ Or use Terraform CLI:
181
222
 
182
223
  ```sh
183
224
  $ pulumi import cloudamqp:index/customDomain:CustomDomain settings <instance_id>`
184
225
  ```
185
226
 
227
+ [CloudAMQP API list instances]: https://docs.cloudamqp.com/#list-instances
228
+
186
229
  [Let's Encrypt]: https://letsencrypt.org/
187
230
 
188
231
  :param str resource_name: The name of the resource.
@@ -200,8 +243,8 @@ class CustomDomain(pulumi.CustomResource):
200
243
  def _internal_init(__self__,
201
244
  resource_name: str,
202
245
  opts: Optional[pulumi.ResourceOptions] = None,
203
- hostname: Optional[pulumi.Input[str]] = None,
204
- instance_id: Optional[pulumi.Input[int]] = None,
246
+ hostname: Optional[pulumi.Input[builtins.str]] = None,
247
+ instance_id: Optional[pulumi.Input[builtins.int]] = None,
205
248
  __props__=None):
206
249
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
207
250
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -227,8 +270,8 @@ class CustomDomain(pulumi.CustomResource):
227
270
  def get(resource_name: str,
228
271
  id: pulumi.Input[str],
229
272
  opts: Optional[pulumi.ResourceOptions] = None,
230
- hostname: Optional[pulumi.Input[str]] = None,
231
- instance_id: Optional[pulumi.Input[int]] = None) -> 'CustomDomain':
273
+ hostname: Optional[pulumi.Input[builtins.str]] = None,
274
+ instance_id: Optional[pulumi.Input[builtins.int]] = None) -> 'CustomDomain':
232
275
  """
233
276
  Get an existing CustomDomain resource's state with the given name, id, and optional extra
234
277
  properties used to qualify the lookup.
@@ -236,8 +279,8 @@ class CustomDomain(pulumi.CustomResource):
236
279
  :param str resource_name: The unique name of the resulting resource.
237
280
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
238
281
  :param pulumi.ResourceOptions opts: Options for the resource.
239
- :param pulumi.Input[str] hostname: Your custom domain name.
240
- :param pulumi.Input[int] instance_id: The CloudAMQP instance ID.
282
+ :param pulumi.Input[builtins.str] hostname: Your custom domain name.
283
+ :param pulumi.Input[builtins.int] instance_id: The CloudAMQP instance ID.
241
284
  """
242
285
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
243
286
 
@@ -249,7 +292,7 @@ class CustomDomain(pulumi.CustomResource):
249
292
 
250
293
  @property
251
294
  @pulumi.getter
252
- def hostname(self) -> pulumi.Output[str]:
295
+ def hostname(self) -> pulumi.Output[builtins.str]:
253
296
  """
254
297
  Your custom domain name.
255
298
  """
@@ -257,7 +300,7 @@ class CustomDomain(pulumi.CustomResource):
257
300
 
258
301
  @property
259
302
  @pulumi.getter(name="instanceId")
260
- def instance_id(self) -> pulumi.Output[int]:
303
+ def instance_id(self) -> pulumi.Output[builtins.int]:
261
304
  """
262
305
  The CloudAMQP instance ID.
263
306
  """