pulumi-cloudamqp 3.21.0a1743571485__py3-none-any.whl → 3.22.0__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 (51) hide show
  1. pulumi_cloudamqp/__init__.py +12 -0
  2. pulumi_cloudamqp/_inputs.py +92 -72
  3. pulumi_cloudamqp/account_action.py +42 -31
  4. pulumi_cloudamqp/alarm.py +232 -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 +84 -38
  9. pulumi_cloudamqp/extra_disk_size.py +175 -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_alarms.py +165 -0
  14. pulumi_cloudamqp/get_credentials.py +19 -26
  15. pulumi_cloudamqp/get_instance.py +75 -25
  16. pulumi_cloudamqp/get_nodes.py +10 -56
  17. pulumi_cloudamqp/get_notification.py +39 -41
  18. pulumi_cloudamqp/get_notifications.py +135 -0
  19. pulumi_cloudamqp/get_plugins.py +28 -54
  20. pulumi_cloudamqp/get_plugins_community.py +29 -52
  21. pulumi_cloudamqp/get_upgradable_versions.py +19 -24
  22. pulumi_cloudamqp/get_vpc_gcp_info.py +44 -138
  23. pulumi_cloudamqp/get_vpc_info.py +34 -127
  24. pulumi_cloudamqp/instance.py +560 -333
  25. pulumi_cloudamqp/integration_aws_eventbridge.py +185 -117
  26. pulumi_cloudamqp/integration_log.py +491 -402
  27. pulumi_cloudamqp/integration_metric.py +348 -296
  28. pulumi_cloudamqp/maintenance_window.py +519 -0
  29. pulumi_cloudamqp/node_actions.py +85 -59
  30. pulumi_cloudamqp/notification.py +177 -92
  31. pulumi_cloudamqp/outputs.py +419 -125
  32. pulumi_cloudamqp/plugin.py +173 -105
  33. pulumi_cloudamqp/plugin_community.py +171 -107
  34. pulumi_cloudamqp/privatelink_aws.py +143 -347
  35. pulumi_cloudamqp/privatelink_azure.py +145 -345
  36. pulumi_cloudamqp/provider.py +25 -21
  37. pulumi_cloudamqp/pulumi-plugin.json +1 -1
  38. pulumi_cloudamqp/rabbit_configuration.py +337 -210
  39. pulumi_cloudamqp/security_firewall.py +114 -57
  40. pulumi_cloudamqp/upgrade_lavinmq.py +32 -102
  41. pulumi_cloudamqp/upgrade_rabbitmq.py +56 -299
  42. pulumi_cloudamqp/vpc.py +115 -79
  43. pulumi_cloudamqp/vpc_connect.py +222 -606
  44. pulumi_cloudamqp/vpc_gcp_peering.py +230 -591
  45. pulumi_cloudamqp/vpc_peering.py +123 -105
  46. pulumi_cloudamqp/webhook.py +146 -103
  47. {pulumi_cloudamqp-3.21.0a1743571485.dist-info → pulumi_cloudamqp-3.22.0.dist-info}/METADATA +1 -1
  48. pulumi_cloudamqp-3.22.0.dist-info/RECORD +52 -0
  49. {pulumi_cloudamqp-3.21.0a1743571485.dist-info → pulumi_cloudamqp-3.22.0.dist-info}/WHEEL +1 -1
  50. pulumi_cloudamqp-3.21.0a1743571485.dist-info/RECORD +0 -49
  51. {pulumi_cloudamqp-3.21.0a1743571485.dist-info → pulumi_cloudamqp-3.22.0.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,47 +72,55 @@ 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
 
97
98
  class CustomDomain(pulumi.CustomResource):
99
+
100
+ pulumi_type = "cloudamqp:index/customDomain:CustomDomain"
101
+
98
102
  @overload
99
103
  def __init__(__self__,
100
104
  resource_name: str,
101
105
  opts: Optional[pulumi.ResourceOptions] = None,
102
- hostname: Optional[pulumi.Input[str]] = None,
103
- instance_id: Optional[pulumi.Input[int]] = None,
106
+ hostname: Optional[pulumi.Input[builtins.str]] = None,
107
+ instance_id: Optional[pulumi.Input[builtins.int]] = None,
104
108
  __props__=None):
105
109
  """
106
110
  This resource allows you to configure and manage your custom domain for the CloudAMQP instance.
107
111
 
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.
112
+ Adding a custom domain to your instance will generate a TLS certificate from [Let's Encrypt], for
113
+ the given hostname, and install it on all servers in your cluster. The certificate will be
114
+ automatically renewed going forward.
109
115
 
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.
116
+ > **WARNING:** Please note that when creating, changing or deleting the custom domain, the
117
+ listeners on your servers will be restarted in order to apply the changes. This will close your
118
+ current connections.
111
119
 
112
- Your custom domain name needs to point to your CloudAMQP hostname, preferably using a CNAME DNS record.
120
+ Your custom domain name needs to point to your CloudAMQP hostname, preferably using a CNAME DNS
121
+ record.
113
122
 
114
- Only available for dedicated subscription plans.
123
+ Only available for dedicated subscription plans running ***RabbitMQ***.
115
124
 
116
125
  ## Example Usage
117
126
 
@@ -130,18 +139,34 @@ class CustomDomain(pulumi.CustomResource):
130
139
 
131
140
  ## Import
132
141
 
133
- `cloudamqp_custom_domain` can be imported using CloudAMQP instance identifier.
142
+ `cloudamqp_custom_domain` can be imported using CloudAMQP instance identifier. To retrieve the
143
+
144
+ instance identifier, use [CloudAMQP API list instances].
145
+
146
+ hcl
147
+
148
+ import {
149
+
150
+ to = cloudamqp_alarm.alarm
151
+
152
+ id = cloudamqp_instance.instance.id
153
+
154
+ }
155
+
156
+ Or use Terraform CLI:
134
157
 
135
158
  ```sh
136
159
  $ pulumi import cloudamqp:index/customDomain:CustomDomain settings <instance_id>`
137
160
  ```
138
161
 
162
+ [CloudAMQP API list instances]: https://docs.cloudamqp.com/#list-instances
163
+
139
164
  [Let's Encrypt]: https://letsencrypt.org/
140
165
 
141
166
  :param str resource_name: The name of the resource.
142
167
  :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.
168
+ :param pulumi.Input[builtins.str] hostname: Your custom domain name.
169
+ :param pulumi.Input[builtins.int] instance_id: The CloudAMQP instance ID.
145
170
  """
146
171
  ...
147
172
  @overload
@@ -152,13 +177,18 @@ class CustomDomain(pulumi.CustomResource):
152
177
  """
153
178
  This resource allows you to configure and manage your custom domain for the CloudAMQP instance.
154
179
 
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.
180
+ Adding a custom domain to your instance will generate a TLS certificate from [Let's Encrypt], for
181
+ the given hostname, and install it on all servers in your cluster. The certificate will be
182
+ automatically renewed going forward.
156
183
 
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.
184
+ > **WARNING:** Please note that when creating, changing or deleting the custom domain, the
185
+ listeners on your servers will be restarted in order to apply the changes. This will close your
186
+ current connections.
158
187
 
159
- Your custom domain name needs to point to your CloudAMQP hostname, preferably using a CNAME DNS record.
188
+ Your custom domain name needs to point to your CloudAMQP hostname, preferably using a CNAME DNS
189
+ record.
160
190
 
161
- Only available for dedicated subscription plans.
191
+ Only available for dedicated subscription plans running ***RabbitMQ***.
162
192
 
163
193
  ## Example Usage
164
194
 
@@ -177,12 +207,28 @@ class CustomDomain(pulumi.CustomResource):
177
207
 
178
208
  ## Import
179
209
 
180
- `cloudamqp_custom_domain` can be imported using CloudAMQP instance identifier.
210
+ `cloudamqp_custom_domain` can be imported using CloudAMQP instance identifier. To retrieve the
211
+
212
+ instance identifier, use [CloudAMQP API list instances].
213
+
214
+ hcl
215
+
216
+ import {
217
+
218
+ to = cloudamqp_alarm.alarm
219
+
220
+ id = cloudamqp_instance.instance.id
221
+
222
+ }
223
+
224
+ Or use Terraform CLI:
181
225
 
182
226
  ```sh
183
227
  $ pulumi import cloudamqp:index/customDomain:CustomDomain settings <instance_id>`
184
228
  ```
185
229
 
230
+ [CloudAMQP API list instances]: https://docs.cloudamqp.com/#list-instances
231
+
186
232
  [Let's Encrypt]: https://letsencrypt.org/
187
233
 
188
234
  :param str resource_name: The name of the resource.
@@ -200,8 +246,8 @@ class CustomDomain(pulumi.CustomResource):
200
246
  def _internal_init(__self__,
201
247
  resource_name: str,
202
248
  opts: Optional[pulumi.ResourceOptions] = None,
203
- hostname: Optional[pulumi.Input[str]] = None,
204
- instance_id: Optional[pulumi.Input[int]] = None,
249
+ hostname: Optional[pulumi.Input[builtins.str]] = None,
250
+ instance_id: Optional[pulumi.Input[builtins.int]] = None,
205
251
  __props__=None):
206
252
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
207
253
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -227,8 +273,8 @@ class CustomDomain(pulumi.CustomResource):
227
273
  def get(resource_name: str,
228
274
  id: pulumi.Input[str],
229
275
  opts: Optional[pulumi.ResourceOptions] = None,
230
- hostname: Optional[pulumi.Input[str]] = None,
231
- instance_id: Optional[pulumi.Input[int]] = None) -> 'CustomDomain':
276
+ hostname: Optional[pulumi.Input[builtins.str]] = None,
277
+ instance_id: Optional[pulumi.Input[builtins.int]] = None) -> 'CustomDomain':
232
278
  """
233
279
  Get an existing CustomDomain resource's state with the given name, id, and optional extra
234
280
  properties used to qualify the lookup.
@@ -236,8 +282,8 @@ class CustomDomain(pulumi.CustomResource):
236
282
  :param str resource_name: The unique name of the resulting resource.
237
283
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
238
284
  :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.
285
+ :param pulumi.Input[builtins.str] hostname: Your custom domain name.
286
+ :param pulumi.Input[builtins.int] instance_id: The CloudAMQP instance ID.
241
287
  """
242
288
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
243
289
 
@@ -249,7 +295,7 @@ class CustomDomain(pulumi.CustomResource):
249
295
 
250
296
  @property
251
297
  @pulumi.getter
252
- def hostname(self) -> pulumi.Output[str]:
298
+ def hostname(self) -> pulumi.Output[builtins.str]:
253
299
  """
254
300
  Your custom domain name.
255
301
  """
@@ -257,7 +303,7 @@ class CustomDomain(pulumi.CustomResource):
257
303
 
258
304
  @property
259
305
  @pulumi.getter(name="instanceId")
260
- def instance_id(self) -> pulumi.Output[int]:
306
+ def instance_id(self) -> pulumi.Output[builtins.int]:
261
307
  """
262
308
  The CloudAMQP instance ID.
263
309
  """