pulumi-cloudamqp 3.21.0a1743571485__py3-none-any.whl → 3.21.0a1744082841__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 +9 -0
- pulumi_cloudamqp/_inputs.py +28 -9
- pulumi_cloudamqp/account_action.py +14 -7
- pulumi_cloudamqp/alarm.py +90 -30
- pulumi_cloudamqp/custom_domain.py +52 -10
- pulumi_cloudamqp/extra_disk_size.py +117 -101
- pulumi_cloudamqp/get_account.py +8 -2
- pulumi_cloudamqp/get_account_vpcs.py +13 -40
- pulumi_cloudamqp/get_alarm.py +50 -44
- pulumi_cloudamqp/get_credentials.py +10 -18
- pulumi_cloudamqp/get_instance.py +51 -2
- pulumi_cloudamqp/get_nodes.py +3 -50
- pulumi_cloudamqp/get_notification.py +17 -20
- pulumi_cloudamqp/get_plugins.py +15 -42
- pulumi_cloudamqp/get_plugins_community.py +16 -40
- pulumi_cloudamqp/get_upgradable_versions.py +10 -16
- pulumi_cloudamqp/get_vpc_gcp_info.py +23 -118
- pulumi_cloudamqp/get_vpc_info.py +18 -112
- pulumi_cloudamqp/instance.py +400 -177
- pulumi_cloudamqp/integration_aws_eventbridge.py +90 -26
- pulumi_cloudamqp/integration_log.py +135 -50
- pulumi_cloudamqp/integration_metric.py +50 -2
- pulumi_cloudamqp/maintenance_window.py +515 -0
- pulumi_cloudamqp/node_actions.py +32 -10
- pulumi_cloudamqp/notification.py +103 -22
- pulumi_cloudamqp/outputs.py +118 -28
- pulumi_cloudamqp/plugin.py +89 -25
- pulumi_cloudamqp/plugin_community.py +87 -27
- pulumi_cloudamqp/privatelink_aws.py +62 -270
- pulumi_cloudamqp/privatelink_azure.py +64 -268
- pulumi_cloudamqp/pulumi-plugin.json +1 -1
- pulumi_cloudamqp/rabbit_configuration.py +209 -86
- pulumi_cloudamqp/security_firewall.py +76 -23
- pulumi_cloudamqp/upgrade_lavinmq.py +0 -74
- pulumi_cloudamqp/upgrade_rabbitmq.py +14 -261
- pulumi_cloudamqp/vpc.py +48 -16
- pulumi_cloudamqp/vpc_connect.py +111 -499
- pulumi_cloudamqp/vpc_gcp_peering.py +141 -506
- pulumi_cloudamqp/vpc_peering.py +50 -36
- pulumi_cloudamqp/webhook.py +48 -9
- {pulumi_cloudamqp-3.21.0a1743571485.dist-info → pulumi_cloudamqp-3.21.0a1744082841.dist-info}/METADATA +1 -1
- pulumi_cloudamqp-3.21.0a1744082841.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.21.0a1744082841.dist-info}/WHEEL +0 -0
- {pulumi_cloudamqp-3.21.0a1743571485.dist-info → pulumi_cloudamqp-3.21.0a1744082841.dist-info}/top_level.txt +0 -0
|
@@ -60,6 +60,10 @@ class GetPluginsCommunityResult:
|
|
|
60
60
|
@property
|
|
61
61
|
@pulumi.getter
|
|
62
62
|
def plugins(self) -> Sequence['outputs.GetPluginsCommunityPluginResult']:
|
|
63
|
+
"""
|
|
64
|
+
An array of community plugins. Each `plugins` block consists of the fields documented
|
|
65
|
+
below.
|
|
66
|
+
"""
|
|
63
67
|
return pulumi.get(self, "plugins")
|
|
64
68
|
|
|
65
69
|
@property
|
|
@@ -91,7 +95,8 @@ def get_plugins_community(instance_id: Optional[int] = None,
|
|
|
91
95
|
timeout: Optional[int] = None,
|
|
92
96
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPluginsCommunityResult:
|
|
93
97
|
"""
|
|
94
|
-
Use this data source to retrieve information about available community plugins for the CloudAMQP
|
|
98
|
+
Use this data source to retrieve information about available community plugins for the CloudAMQP
|
|
99
|
+
instance.
|
|
95
100
|
|
|
96
101
|
## Example Usage
|
|
97
102
|
|
|
@@ -102,31 +107,16 @@ def get_plugins_community(instance_id: Optional[int] = None,
|
|
|
102
107
|
communit_plugins = cloudamqp.get_plugins_community(instance_id=instance["id"])
|
|
103
108
|
```
|
|
104
109
|
|
|
105
|
-
## Attributes reference
|
|
106
|
-
|
|
107
|
-
All attributes reference are computed
|
|
108
|
-
|
|
109
|
-
* `id` - The identifier for this resource.
|
|
110
|
-
* `plugins` - An array of community plugins. Each `plugins` block consists of the fields documented below.
|
|
111
|
-
* `sleep` - (Optional) Configurable sleep time (seconds) for retries when requesting information
|
|
112
|
-
about community plugins. Default set to 10 seconds. *Available from v1.29.0*
|
|
113
|
-
* `timeout` - (Optional) - Configurable timeout time (seconds) for retries when requesting
|
|
114
|
-
information about community plugins. Default set to 1800 seconds. *Available from v1.29.0*
|
|
115
|
-
|
|
116
|
-
***
|
|
117
|
-
|
|
118
|
-
The `plugins` block consists of
|
|
119
|
-
|
|
120
|
-
* `name` - The type of the recipient.
|
|
121
|
-
* `require` - Min. required Rabbit MQ version to be used.
|
|
122
|
-
* `description` - Description of what the plugin does.
|
|
123
|
-
|
|
124
110
|
## Dependency
|
|
125
111
|
|
|
126
112
|
This data source depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
|
|
127
113
|
|
|
128
114
|
|
|
129
115
|
:param int instance_id: The CloudAMQP instance identifier.
|
|
116
|
+
:param int sleep: Configurable sleep time (seconds) for retries when requesting
|
|
117
|
+
information about community plugins. Default set to 10 seconds.
|
|
118
|
+
:param int timeout: Configurable timeout time (seconds) for retries when requesting
|
|
119
|
+
information about community plugins. Default set to 1800 seconds.
|
|
130
120
|
"""
|
|
131
121
|
__args__ = dict()
|
|
132
122
|
__args__['instanceId'] = instance_id
|
|
@@ -146,7 +136,8 @@ def get_plugins_community_output(instance_id: Optional[pulumi.Input[int]] = None
|
|
|
146
136
|
timeout: Optional[pulumi.Input[Optional[int]]] = None,
|
|
147
137
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetPluginsCommunityResult]:
|
|
148
138
|
"""
|
|
149
|
-
Use this data source to retrieve information about available community plugins for the CloudAMQP
|
|
139
|
+
Use this data source to retrieve information about available community plugins for the CloudAMQP
|
|
140
|
+
instance.
|
|
150
141
|
|
|
151
142
|
## Example Usage
|
|
152
143
|
|
|
@@ -157,31 +148,16 @@ def get_plugins_community_output(instance_id: Optional[pulumi.Input[int]] = None
|
|
|
157
148
|
communit_plugins = cloudamqp.get_plugins_community(instance_id=instance["id"])
|
|
158
149
|
```
|
|
159
150
|
|
|
160
|
-
## Attributes reference
|
|
161
|
-
|
|
162
|
-
All attributes reference are computed
|
|
163
|
-
|
|
164
|
-
* `id` - The identifier for this resource.
|
|
165
|
-
* `plugins` - An array of community plugins. Each `plugins` block consists of the fields documented below.
|
|
166
|
-
* `sleep` - (Optional) Configurable sleep time (seconds) for retries when requesting information
|
|
167
|
-
about community plugins. Default set to 10 seconds. *Available from v1.29.0*
|
|
168
|
-
* `timeout` - (Optional) - Configurable timeout time (seconds) for retries when requesting
|
|
169
|
-
information about community plugins. Default set to 1800 seconds. *Available from v1.29.0*
|
|
170
|
-
|
|
171
|
-
***
|
|
172
|
-
|
|
173
|
-
The `plugins` block consists of
|
|
174
|
-
|
|
175
|
-
* `name` - The type of the recipient.
|
|
176
|
-
* `require` - Min. required Rabbit MQ version to be used.
|
|
177
|
-
* `description` - Description of what the plugin does.
|
|
178
|
-
|
|
179
151
|
## Dependency
|
|
180
152
|
|
|
181
153
|
This data source depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
|
|
182
154
|
|
|
183
155
|
|
|
184
156
|
:param int instance_id: The CloudAMQP instance identifier.
|
|
157
|
+
:param int sleep: Configurable sleep time (seconds) for retries when requesting
|
|
158
|
+
information about community plugins. Default set to 10 seconds.
|
|
159
|
+
:param int timeout: Configurable timeout time (seconds) for retries when requesting
|
|
160
|
+
information about community plugins. Default set to 1800 seconds.
|
|
185
161
|
"""
|
|
186
162
|
__args__ = dict()
|
|
187
163
|
__args__['instanceId'] = instance_id
|
|
@@ -56,11 +56,17 @@ class GetUpgradableVersionsResult:
|
|
|
56
56
|
@property
|
|
57
57
|
@pulumi.getter(name="newErlangVersion")
|
|
58
58
|
def new_erlang_version(self) -> str:
|
|
59
|
+
"""
|
|
60
|
+
Possible upgradable version for Erlang.
|
|
61
|
+
"""
|
|
59
62
|
return pulumi.get(self, "new_erlang_version")
|
|
60
63
|
|
|
61
64
|
@property
|
|
62
65
|
@pulumi.getter(name="newRabbitmqVersion")
|
|
63
66
|
def new_rabbitmq_version(self) -> str:
|
|
67
|
+
"""
|
|
68
|
+
Possible upgradable version for RabbitMQ.
|
|
69
|
+
"""
|
|
64
70
|
return pulumi.get(self, "new_rabbitmq_version")
|
|
65
71
|
|
|
66
72
|
|
|
@@ -79,7 +85,8 @@ class AwaitableGetUpgradableVersionsResult(GetUpgradableVersionsResult):
|
|
|
79
85
|
def get_upgradable_versions(instance_id: Optional[int] = None,
|
|
80
86
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetUpgradableVersionsResult:
|
|
81
87
|
"""
|
|
82
|
-
Use this data source to retrieve information about possible upgradable versions for RabbitMQ and
|
|
88
|
+
Use this data source to retrieve information about possible upgradable versions for RabbitMQ and
|
|
89
|
+
Erlang.
|
|
83
90
|
|
|
84
91
|
## Example Usage
|
|
85
92
|
|
|
@@ -90,13 +97,6 @@ def get_upgradable_versions(instance_id: Optional[int] = None,
|
|
|
90
97
|
versions = cloudamqp.get_upgradable_versions(instance_id=instance["id"])
|
|
91
98
|
```
|
|
92
99
|
|
|
93
|
-
## Attributes reference
|
|
94
|
-
|
|
95
|
-
All attributes reference are computed
|
|
96
|
-
|
|
97
|
-
* `new_rabbitmq_version` - Possible upgradable version for RabbitMQ.
|
|
98
|
-
* `new_erlang_version` - Possible upgradable version for Erlang.
|
|
99
|
-
|
|
100
100
|
## Dependency
|
|
101
101
|
|
|
102
102
|
This data source depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
|
|
@@ -117,7 +117,8 @@ def get_upgradable_versions(instance_id: Optional[int] = None,
|
|
|
117
117
|
def get_upgradable_versions_output(instance_id: Optional[pulumi.Input[int]] = None,
|
|
118
118
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetUpgradableVersionsResult]:
|
|
119
119
|
"""
|
|
120
|
-
Use this data source to retrieve information about possible upgradable versions for RabbitMQ and
|
|
120
|
+
Use this data source to retrieve information about possible upgradable versions for RabbitMQ and
|
|
121
|
+
Erlang.
|
|
121
122
|
|
|
122
123
|
## Example Usage
|
|
123
124
|
|
|
@@ -128,13 +129,6 @@ def get_upgradable_versions_output(instance_id: Optional[pulumi.Input[int]] = No
|
|
|
128
129
|
versions = cloudamqp.get_upgradable_versions(instance_id=instance["id"])
|
|
129
130
|
```
|
|
130
131
|
|
|
131
|
-
## Attributes reference
|
|
132
|
-
|
|
133
|
-
All attributes reference are computed
|
|
134
|
-
|
|
135
|
-
* `new_rabbitmq_version` - Possible upgradable version for RabbitMQ.
|
|
136
|
-
* `new_erlang_version` - Possible upgradable version for Erlang.
|
|
137
|
-
|
|
138
132
|
## Dependency
|
|
139
133
|
|
|
140
134
|
This data source depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
|
|
@@ -68,11 +68,17 @@ class GetVpcGcpInfoResult:
|
|
|
68
68
|
@property
|
|
69
69
|
@pulumi.getter
|
|
70
70
|
def name(self) -> str:
|
|
71
|
+
"""
|
|
72
|
+
The name of the VPC.
|
|
73
|
+
"""
|
|
71
74
|
return pulumi.get(self, "name")
|
|
72
75
|
|
|
73
76
|
@property
|
|
74
77
|
@pulumi.getter
|
|
75
78
|
def network(self) -> str:
|
|
79
|
+
"""
|
|
80
|
+
VPC network uri.
|
|
81
|
+
"""
|
|
76
82
|
return pulumi.get(self, "network")
|
|
77
83
|
|
|
78
84
|
@property
|
|
@@ -93,6 +99,9 @@ class GetVpcGcpInfoResult:
|
|
|
93
99
|
@property
|
|
94
100
|
@pulumi.getter(name="vpcSubnet")
|
|
95
101
|
def vpc_subnet(self) -> str:
|
|
102
|
+
"""
|
|
103
|
+
Dedicated VPC subnet.
|
|
104
|
+
"""
|
|
96
105
|
return pulumi.get(self, "vpc_subnet")
|
|
97
106
|
|
|
98
107
|
|
|
@@ -118,70 +127,18 @@ def get_vpc_gcp_info(instance_id: Optional[int] = None,
|
|
|
118
127
|
vpc_id: Optional[str] = None,
|
|
119
128
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetVpcGcpInfoResult:
|
|
120
129
|
"""
|
|
121
|
-
Use this data source to
|
|
122
|
-
|
|
123
|
-
> **Note:** Only available for CloudAMQP instances/VPCs hosted in Google Cloud Platform (GCP).
|
|
124
|
-
|
|
125
|
-
## Example Usage
|
|
126
|
-
|
|
127
|
-
<details>
|
|
128
|
-
<summary>
|
|
129
|
-
<b>
|
|
130
|
-
<i>AWS VPC peering pre v1.16.0</i>
|
|
131
|
-
</b>
|
|
132
|
-
</summary>
|
|
133
|
-
|
|
134
|
-
```python
|
|
135
|
-
import pulumi
|
|
136
|
-
import pulumi_cloudamqp as cloudamqp
|
|
137
|
-
|
|
138
|
-
vpc_info = cloudamqp.get_vpc_gcp_info(instance_id=instance["id"])
|
|
139
|
-
```
|
|
140
|
-
|
|
141
|
-
</details>
|
|
142
|
-
|
|
143
|
-
<details>
|
|
144
|
-
<summary>
|
|
145
|
-
<b>
|
|
146
|
-
<i>AWS VPC peering post v1.16.0 (Managed VPC)</i>
|
|
147
|
-
</b>
|
|
148
|
-
</summary>
|
|
149
|
-
|
|
150
|
-
```python
|
|
151
|
-
import pulumi
|
|
152
|
-
import pulumi_cloudamqp as cloudamqp
|
|
153
|
-
|
|
154
|
-
vpc_info = cloudamqp.get_vpc_gcp_info(vpc_id=vpc["id"])
|
|
155
|
-
```
|
|
156
|
-
|
|
157
|
-
</details>
|
|
158
|
-
|
|
159
|
-
## Attributes reference
|
|
160
|
-
|
|
161
|
-
All attributes reference are computed
|
|
162
|
-
|
|
163
|
-
* `id` - The identifier for this resource.
|
|
164
|
-
* `name` - The name of the VPC.
|
|
165
|
-
* `vpc_subnet` - Dedicated VPC subnet.
|
|
166
|
-
* `network` - VPC network uri.
|
|
167
|
-
|
|
168
|
-
## Dependency
|
|
169
|
-
|
|
170
|
-
*Pre v1.16.0*
|
|
171
|
-
This resource depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
|
|
172
|
-
|
|
173
|
-
*Post v1.16.0*
|
|
174
|
-
This resource depends on CloudAMQP managed VPC identifier, `cloudamqp_vpc.vpc.id` or instance identifier, `cloudamqp_instance.instance.id`.
|
|
175
|
-
|
|
130
|
+
Use this data source to access information about an existing resource.
|
|
176
131
|
|
|
177
132
|
:param int instance_id: The CloudAMQP instance identifier.
|
|
178
133
|
|
|
179
|
-
***Deprecated
|
|
180
|
-
:param int sleep: Configurable sleep time (seconds) between retries when reading peering.
|
|
181
|
-
|
|
134
|
+
***Deprecated:*** from [v1.16.0], will be removed in next major version (v2.0)
|
|
135
|
+
:param int sleep: Configurable sleep time (seconds) between retries when reading peering.
|
|
136
|
+
Default set to 10 seconds.
|
|
137
|
+
:param int timeout: Configurable timeout time (seconds) before retries times out. Default
|
|
138
|
+
set to 1800 seconds.
|
|
182
139
|
:param str vpc_id: The managed VPC identifier.
|
|
183
140
|
|
|
184
|
-
***Note
|
|
141
|
+
***Note:*** Available from [v1.16.0], will be removed in next major version (v2.0)
|
|
185
142
|
"""
|
|
186
143
|
__args__ = dict()
|
|
187
144
|
__args__['instanceId'] = instance_id
|
|
@@ -206,70 +163,18 @@ def get_vpc_gcp_info_output(instance_id: Optional[pulumi.Input[Optional[int]]] =
|
|
|
206
163
|
vpc_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
207
164
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetVpcGcpInfoResult]:
|
|
208
165
|
"""
|
|
209
|
-
Use this data source to
|
|
210
|
-
|
|
211
|
-
> **Note:** Only available for CloudAMQP instances/VPCs hosted in Google Cloud Platform (GCP).
|
|
212
|
-
|
|
213
|
-
## Example Usage
|
|
214
|
-
|
|
215
|
-
<details>
|
|
216
|
-
<summary>
|
|
217
|
-
<b>
|
|
218
|
-
<i>AWS VPC peering pre v1.16.0</i>
|
|
219
|
-
</b>
|
|
220
|
-
</summary>
|
|
221
|
-
|
|
222
|
-
```python
|
|
223
|
-
import pulumi
|
|
224
|
-
import pulumi_cloudamqp as cloudamqp
|
|
225
|
-
|
|
226
|
-
vpc_info = cloudamqp.get_vpc_gcp_info(instance_id=instance["id"])
|
|
227
|
-
```
|
|
228
|
-
|
|
229
|
-
</details>
|
|
230
|
-
|
|
231
|
-
<details>
|
|
232
|
-
<summary>
|
|
233
|
-
<b>
|
|
234
|
-
<i>AWS VPC peering post v1.16.0 (Managed VPC)</i>
|
|
235
|
-
</b>
|
|
236
|
-
</summary>
|
|
237
|
-
|
|
238
|
-
```python
|
|
239
|
-
import pulumi
|
|
240
|
-
import pulumi_cloudamqp as cloudamqp
|
|
241
|
-
|
|
242
|
-
vpc_info = cloudamqp.get_vpc_gcp_info(vpc_id=vpc["id"])
|
|
243
|
-
```
|
|
244
|
-
|
|
245
|
-
</details>
|
|
246
|
-
|
|
247
|
-
## Attributes reference
|
|
248
|
-
|
|
249
|
-
All attributes reference are computed
|
|
250
|
-
|
|
251
|
-
* `id` - The identifier for this resource.
|
|
252
|
-
* `name` - The name of the VPC.
|
|
253
|
-
* `vpc_subnet` - Dedicated VPC subnet.
|
|
254
|
-
* `network` - VPC network uri.
|
|
255
|
-
|
|
256
|
-
## Dependency
|
|
257
|
-
|
|
258
|
-
*Pre v1.16.0*
|
|
259
|
-
This resource depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
|
|
260
|
-
|
|
261
|
-
*Post v1.16.0*
|
|
262
|
-
This resource depends on CloudAMQP managed VPC identifier, `cloudamqp_vpc.vpc.id` or instance identifier, `cloudamqp_instance.instance.id`.
|
|
263
|
-
|
|
166
|
+
Use this data source to access information about an existing resource.
|
|
264
167
|
|
|
265
168
|
:param int instance_id: The CloudAMQP instance identifier.
|
|
266
169
|
|
|
267
|
-
***Deprecated
|
|
268
|
-
:param int sleep: Configurable sleep time (seconds) between retries when reading peering.
|
|
269
|
-
|
|
170
|
+
***Deprecated:*** from [v1.16.0], will be removed in next major version (v2.0)
|
|
171
|
+
:param int sleep: Configurable sleep time (seconds) between retries when reading peering.
|
|
172
|
+
Default set to 10 seconds.
|
|
173
|
+
:param int timeout: Configurable timeout time (seconds) before retries times out. Default
|
|
174
|
+
set to 1800 seconds.
|
|
270
175
|
:param str vpc_id: The managed VPC identifier.
|
|
271
176
|
|
|
272
|
-
***Note
|
|
177
|
+
***Note:*** Available from [v1.16.0], will be removed in next major version (v2.0)
|
|
273
178
|
"""
|
|
274
179
|
__args__ = dict()
|
|
275
180
|
__args__['instanceId'] = instance_id
|
pulumi_cloudamqp/get_vpc_info.py
CHANGED
|
@@ -65,16 +65,25 @@ class GetVpcInfoResult:
|
|
|
65
65
|
@property
|
|
66
66
|
@pulumi.getter
|
|
67
67
|
def name(self) -> str:
|
|
68
|
+
"""
|
|
69
|
+
The name of the CloudAMQP instance.
|
|
70
|
+
"""
|
|
68
71
|
return pulumi.get(self, "name")
|
|
69
72
|
|
|
70
73
|
@property
|
|
71
74
|
@pulumi.getter(name="ownerId")
|
|
72
75
|
def owner_id(self) -> str:
|
|
76
|
+
"""
|
|
77
|
+
AWS account identifier.
|
|
78
|
+
"""
|
|
73
79
|
return pulumi.get(self, "owner_id")
|
|
74
80
|
|
|
75
81
|
@property
|
|
76
82
|
@pulumi.getter(name="securityGroupId")
|
|
77
83
|
def security_group_id(self) -> str:
|
|
84
|
+
"""
|
|
85
|
+
AWS security group identifier.
|
|
86
|
+
"""
|
|
78
87
|
return pulumi.get(self, "security_group_id")
|
|
79
88
|
|
|
80
89
|
@property
|
|
@@ -85,6 +94,9 @@ class GetVpcInfoResult:
|
|
|
85
94
|
@property
|
|
86
95
|
@pulumi.getter(name="vpcSubnet")
|
|
87
96
|
def vpc_subnet(self) -> str:
|
|
97
|
+
"""
|
|
98
|
+
Dedicated VPC subnet.
|
|
99
|
+
"""
|
|
88
100
|
return pulumi.get(self, "vpc_subnet")
|
|
89
101
|
|
|
90
102
|
|
|
@@ -107,67 +119,14 @@ def get_vpc_info(instance_id: Optional[int] = None,
|
|
|
107
119
|
vpc_id: Optional[str] = None,
|
|
108
120
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetVpcInfoResult:
|
|
109
121
|
"""
|
|
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.
|
|
155
|
-
|
|
156
|
-
## Dependency
|
|
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
|
-
|
|
122
|
+
Use this data source to access information about an existing resource.
|
|
164
123
|
|
|
165
124
|
:param int instance_id: The CloudAMQP instance identifier.
|
|
166
125
|
|
|
167
|
-
***Deprecated
|
|
126
|
+
***Deprecated:*** from [v1.16.0], will be removed in next major version (v2.0)
|
|
168
127
|
:param str vpc_id: The managed VPC identifier.
|
|
169
128
|
|
|
170
|
-
***Note
|
|
129
|
+
***Note:*** Available from [v1.16.0], will be removed in next major version (v2.0)
|
|
171
130
|
"""
|
|
172
131
|
__args__ = dict()
|
|
173
132
|
__args__['instanceId'] = instance_id
|
|
@@ -187,67 +146,14 @@ def get_vpc_info_output(instance_id: Optional[pulumi.Input[Optional[int]]] = Non
|
|
|
187
146
|
vpc_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
188
147
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetVpcInfoResult]:
|
|
189
148
|
"""
|
|
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
|
-
|
|
149
|
+
Use this data source to access information about an existing resource.
|
|
244
150
|
|
|
245
151
|
:param int instance_id: The CloudAMQP instance identifier.
|
|
246
152
|
|
|
247
|
-
***Deprecated
|
|
153
|
+
***Deprecated:*** from [v1.16.0], will be removed in next major version (v2.0)
|
|
248
154
|
:param str vpc_id: The managed VPC identifier.
|
|
249
155
|
|
|
250
|
-
***Note
|
|
156
|
+
***Note:*** Available from [v1.16.0], will be removed in next major version (v2.0)
|
|
251
157
|
"""
|
|
252
158
|
__args__ = dict()
|
|
253
159
|
__args__['instanceId'] = instance_id
|