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.
- pulumi_cloudamqp/__init__.py +10 -0
- pulumi_cloudamqp/_inputs.py +92 -72
- pulumi_cloudamqp/account_action.py +39 -31
- pulumi_cloudamqp/alarm.py +229 -168
- pulumi_cloudamqp/config/__init__.py +1 -0
- pulumi_cloudamqp/config/__init__.pyi +1 -0
- pulumi_cloudamqp/config/vars.py +1 -0
- pulumi_cloudamqp/custom_domain.py +81 -38
- pulumi_cloudamqp/extra_disk_size.py +172 -155
- pulumi_cloudamqp/get_account.py +10 -3
- pulumi_cloudamqp/get_account_vpcs.py +15 -41
- pulumi_cloudamqp/get_alarm.py +74 -67
- pulumi_cloudamqp/get_credentials.py +19 -26
- pulumi_cloudamqp/get_instance.py +75 -25
- pulumi_cloudamqp/get_nodes.py +10 -56
- pulumi_cloudamqp/get_notification.py +39 -41
- pulumi_cloudamqp/get_plugins.py +28 -54
- pulumi_cloudamqp/get_plugins_community.py +29 -52
- pulumi_cloudamqp/get_upgradable_versions.py +19 -24
- pulumi_cloudamqp/get_vpc_gcp_info.py +44 -138
- pulumi_cloudamqp/get_vpc_info.py +34 -127
- pulumi_cloudamqp/instance.py +557 -333
- pulumi_cloudamqp/integration_aws_eventbridge.py +182 -117
- pulumi_cloudamqp/integration_log.py +488 -402
- pulumi_cloudamqp/integration_metric.py +345 -296
- pulumi_cloudamqp/maintenance_window.py +516 -0
- pulumi_cloudamqp/node_actions.py +82 -59
- pulumi_cloudamqp/notification.py +174 -92
- pulumi_cloudamqp/outputs.py +216 -125
- pulumi_cloudamqp/plugin.py +170 -105
- pulumi_cloudamqp/plugin_community.py +168 -107
- pulumi_cloudamqp/privatelink_aws.py +140 -347
- pulumi_cloudamqp/privatelink_azure.py +142 -345
- pulumi_cloudamqp/provider.py +22 -21
- pulumi_cloudamqp/pulumi-plugin.json +1 -1
- pulumi_cloudamqp/rabbit_configuration.py +334 -210
- pulumi_cloudamqp/security_firewall.py +111 -57
- pulumi_cloudamqp/upgrade_lavinmq.py +29 -102
- pulumi_cloudamqp/upgrade_rabbitmq.py +53 -299
- pulumi_cloudamqp/vpc.py +112 -79
- pulumi_cloudamqp/vpc_connect.py +219 -606
- pulumi_cloudamqp/vpc_gcp_peering.py +227 -591
- pulumi_cloudamqp/vpc_peering.py +120 -105
- pulumi_cloudamqp/webhook.py +143 -103
- {pulumi_cloudamqp-3.21.0a1743571485.dist-info → pulumi_cloudamqp-3.22.0a1744182778.dist-info}/METADATA +1 -1
- pulumi_cloudamqp-3.22.0a1744182778.dist-info/RECORD +50 -0
- pulumi_cloudamqp-3.21.0a1743571485.dist-info/RECORD +0 -49
- {pulumi_cloudamqp-3.21.0a1743571485.dist-info → pulumi_cloudamqp-3.22.0a1744182778.dist-info}/WHEEL +0 -0
- {pulumi_cloudamqp-3.21.0a1743571485.dist-info → pulumi_cloudamqp-3.22.0a1744182778.dist-info}/top_level.txt +0 -0
pulumi_cloudamqp/get_vpc_info.py
CHANGED
|
@@ -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
|
|
@@ -51,7 +52,7 @@ class GetVpcInfoResult:
|
|
|
51
52
|
|
|
52
53
|
@property
|
|
53
54
|
@pulumi.getter
|
|
54
|
-
def id(self) -> str:
|
|
55
|
+
def id(self) -> builtins.str:
|
|
55
56
|
"""
|
|
56
57
|
The provider-assigned unique ID for this managed resource.
|
|
57
58
|
"""
|
|
@@ -59,32 +60,44 @@ class GetVpcInfoResult:
|
|
|
59
60
|
|
|
60
61
|
@property
|
|
61
62
|
@pulumi.getter(name="instanceId")
|
|
62
|
-
def instance_id(self) -> Optional[int]:
|
|
63
|
+
def instance_id(self) -> Optional[builtins.int]:
|
|
63
64
|
return pulumi.get(self, "instance_id")
|
|
64
65
|
|
|
65
66
|
@property
|
|
66
67
|
@pulumi.getter
|
|
67
|
-
def name(self) -> str:
|
|
68
|
+
def name(self) -> builtins.str:
|
|
69
|
+
"""
|
|
70
|
+
The name of the CloudAMQP instance.
|
|
71
|
+
"""
|
|
68
72
|
return pulumi.get(self, "name")
|
|
69
73
|
|
|
70
74
|
@property
|
|
71
75
|
@pulumi.getter(name="ownerId")
|
|
72
|
-
def owner_id(self) -> str:
|
|
76
|
+
def owner_id(self) -> builtins.str:
|
|
77
|
+
"""
|
|
78
|
+
AWS account identifier.
|
|
79
|
+
"""
|
|
73
80
|
return pulumi.get(self, "owner_id")
|
|
74
81
|
|
|
75
82
|
@property
|
|
76
83
|
@pulumi.getter(name="securityGroupId")
|
|
77
|
-
def security_group_id(self) -> str:
|
|
84
|
+
def security_group_id(self) -> builtins.str:
|
|
85
|
+
"""
|
|
86
|
+
AWS security group identifier.
|
|
87
|
+
"""
|
|
78
88
|
return pulumi.get(self, "security_group_id")
|
|
79
89
|
|
|
80
90
|
@property
|
|
81
91
|
@pulumi.getter(name="vpcId")
|
|
82
|
-
def vpc_id(self) -> Optional[str]:
|
|
92
|
+
def vpc_id(self) -> Optional[builtins.str]:
|
|
83
93
|
return pulumi.get(self, "vpc_id")
|
|
84
94
|
|
|
85
95
|
@property
|
|
86
96
|
@pulumi.getter(name="vpcSubnet")
|
|
87
|
-
def vpc_subnet(self) -> str:
|
|
97
|
+
def vpc_subnet(self) -> builtins.str:
|
|
98
|
+
"""
|
|
99
|
+
Dedicated VPC subnet.
|
|
100
|
+
"""
|
|
88
101
|
return pulumi.get(self, "vpc_subnet")
|
|
89
102
|
|
|
90
103
|
|
|
@@ -103,71 +116,18 @@ class AwaitableGetVpcInfoResult(GetVpcInfoResult):
|
|
|
103
116
|
vpc_subnet=self.vpc_subnet)
|
|
104
117
|
|
|
105
118
|
|
|
106
|
-
def get_vpc_info(instance_id: Optional[int] = None,
|
|
107
|
-
vpc_id: Optional[str] = None,
|
|
119
|
+
def get_vpc_info(instance_id: Optional[builtins.int] = None,
|
|
120
|
+
vpc_id: Optional[builtins.str] = None,
|
|
108
121
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetVpcInfoResult:
|
|
109
122
|
"""
|
|
110
|
-
Use this data source to
|
|
111
|
-
|
|
112
|
-
> **Note:** Only available for CloudAMQP instances/VPCs hosted in AWS.
|
|
113
|
-
|
|
114
|
-
## Example Usage
|
|
115
|
-
|
|
116
|
-
<details>
|
|
117
|
-
<summary>
|
|
118
|
-
<b>
|
|
119
|
-
<i>AWS VPC peering pre v1.16.0</i>
|
|
120
|
-
</b>
|
|
121
|
-
</summary>
|
|
122
|
-
|
|
123
|
-
```python
|
|
124
|
-
import pulumi
|
|
125
|
-
import pulumi_cloudamqp as cloudamqp
|
|
126
|
-
|
|
127
|
-
vpc_info = cloudamqp.get_vpc_info(instance_id=instance["id"])
|
|
128
|
-
```
|
|
129
|
-
</details>
|
|
130
|
-
|
|
131
|
-
<details>
|
|
132
|
-
<summary>
|
|
133
|
-
<b>
|
|
134
|
-
<i>AWS VPC peering post v1.16.0 (Managed VPC)</i>
|
|
135
|
-
</b>
|
|
136
|
-
</summary>
|
|
137
|
-
|
|
138
|
-
```python
|
|
139
|
-
import pulumi
|
|
140
|
-
import pulumi_cloudamqp as cloudamqp
|
|
141
|
-
|
|
142
|
-
vpc_info = cloudamqp.get_vpc_info(vpc_id=vpc["id"])
|
|
143
|
-
```
|
|
144
|
-
</details>
|
|
145
|
-
|
|
146
|
-
## Attributes reference
|
|
147
|
-
|
|
148
|
-
All attributes reference are computed
|
|
149
|
-
|
|
150
|
-
* `id` - The identifier for this resource.
|
|
151
|
-
* `name` - The name of the CloudAMQP instance.
|
|
152
|
-
* `vpc_subnet` - Dedicated VPC subnet.
|
|
153
|
-
* `owner_id` - AWS account identifier.
|
|
154
|
-
* `security_group_id` - AWS security group identifier.
|
|
123
|
+
Use this data source to access information about an existing resource.
|
|
155
124
|
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
*Pre v1.16.0*
|
|
159
|
-
This resource depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
|
|
160
|
-
|
|
161
|
-
*Post v1.16.0*
|
|
162
|
-
This resource depends on CloudAMQP managed VPC identifier, `cloudamqp_vpc.vpc.id` or instance identifier, `cloudamqp_instance.instance.id`.
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
:param int instance_id: The CloudAMQP instance identifier.
|
|
125
|
+
:param builtins.int instance_id: The CloudAMQP instance identifier.
|
|
166
126
|
|
|
167
|
-
***Deprecated
|
|
168
|
-
:param str vpc_id: The managed VPC identifier.
|
|
127
|
+
***Deprecated:*** from [v1.16.0], will be removed in next major version (v2.0)
|
|
128
|
+
:param builtins.str vpc_id: The managed VPC identifier.
|
|
169
129
|
|
|
170
|
-
***Note
|
|
130
|
+
***Note:*** Available from [v1.16.0], will be removed in next major version (v2.0)
|
|
171
131
|
"""
|
|
172
132
|
__args__ = dict()
|
|
173
133
|
__args__['instanceId'] = instance_id
|
|
@@ -183,71 +143,18 @@ def get_vpc_info(instance_id: Optional[int] = None,
|
|
|
183
143
|
security_group_id=pulumi.get(__ret__, 'security_group_id'),
|
|
184
144
|
vpc_id=pulumi.get(__ret__, 'vpc_id'),
|
|
185
145
|
vpc_subnet=pulumi.get(__ret__, 'vpc_subnet'))
|
|
186
|
-
def get_vpc_info_output(instance_id: Optional[pulumi.Input[Optional[int]]] = None,
|
|
187
|
-
vpc_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
146
|
+
def get_vpc_info_output(instance_id: Optional[pulumi.Input[Optional[builtins.int]]] = None,
|
|
147
|
+
vpc_id: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
188
148
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetVpcInfoResult]:
|
|
189
149
|
"""
|
|
190
|
-
Use this data source to
|
|
191
|
-
|
|
192
|
-
> **Note:** Only available for CloudAMQP instances/VPCs hosted in AWS.
|
|
193
|
-
|
|
194
|
-
## Example Usage
|
|
195
|
-
|
|
196
|
-
<details>
|
|
197
|
-
<summary>
|
|
198
|
-
<b>
|
|
199
|
-
<i>AWS VPC peering pre v1.16.0</i>
|
|
200
|
-
</b>
|
|
201
|
-
</summary>
|
|
202
|
-
|
|
203
|
-
```python
|
|
204
|
-
import pulumi
|
|
205
|
-
import pulumi_cloudamqp as cloudamqp
|
|
206
|
-
|
|
207
|
-
vpc_info = cloudamqp.get_vpc_info(instance_id=instance["id"])
|
|
208
|
-
```
|
|
209
|
-
</details>
|
|
210
|
-
|
|
211
|
-
<details>
|
|
212
|
-
<summary>
|
|
213
|
-
<b>
|
|
214
|
-
<i>AWS VPC peering post v1.16.0 (Managed VPC)</i>
|
|
215
|
-
</b>
|
|
216
|
-
</summary>
|
|
217
|
-
|
|
218
|
-
```python
|
|
219
|
-
import pulumi
|
|
220
|
-
import pulumi_cloudamqp as cloudamqp
|
|
221
|
-
|
|
222
|
-
vpc_info = cloudamqp.get_vpc_info(vpc_id=vpc["id"])
|
|
223
|
-
```
|
|
224
|
-
</details>
|
|
225
|
-
|
|
226
|
-
## Attributes reference
|
|
227
|
-
|
|
228
|
-
All attributes reference are computed
|
|
229
|
-
|
|
230
|
-
* `id` - The identifier for this resource.
|
|
231
|
-
* `name` - The name of the CloudAMQP instance.
|
|
232
|
-
* `vpc_subnet` - Dedicated VPC subnet.
|
|
233
|
-
* `owner_id` - AWS account identifier.
|
|
234
|
-
* `security_group_id` - AWS security group identifier.
|
|
235
|
-
|
|
236
|
-
## Dependency
|
|
237
|
-
|
|
238
|
-
*Pre v1.16.0*
|
|
239
|
-
This resource depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
|
|
240
|
-
|
|
241
|
-
*Post v1.16.0*
|
|
242
|
-
This resource depends on CloudAMQP managed VPC identifier, `cloudamqp_vpc.vpc.id` or instance identifier, `cloudamqp_instance.instance.id`.
|
|
243
|
-
|
|
150
|
+
Use this data source to access information about an existing resource.
|
|
244
151
|
|
|
245
|
-
:param int instance_id: The CloudAMQP instance identifier.
|
|
152
|
+
:param builtins.int instance_id: The CloudAMQP instance identifier.
|
|
246
153
|
|
|
247
|
-
***Deprecated
|
|
248
|
-
:param str vpc_id: The managed VPC identifier.
|
|
154
|
+
***Deprecated:*** from [v1.16.0], will be removed in next major version (v2.0)
|
|
155
|
+
:param builtins.str vpc_id: The managed VPC identifier.
|
|
249
156
|
|
|
250
|
-
***Note
|
|
157
|
+
***Note:*** Available from [v1.16.0], will be removed in next major version (v2.0)
|
|
251
158
|
"""
|
|
252
159
|
__args__ = dict()
|
|
253
160
|
__args__['instanceId'] = instance_id
|