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 copy
6
7
  import warnings
7
8
  import sys
@@ -46,7 +47,7 @@ class GetPluginsCommunityResult:
46
47
 
47
48
  @property
48
49
  @pulumi.getter
49
- def id(self) -> str:
50
+ def id(self) -> builtins.str:
50
51
  """
51
52
  The provider-assigned unique ID for this managed resource.
52
53
  """
@@ -54,22 +55,26 @@ class GetPluginsCommunityResult:
54
55
 
55
56
  @property
56
57
  @pulumi.getter(name="instanceId")
57
- def instance_id(self) -> int:
58
+ def instance_id(self) -> builtins.int:
58
59
  return pulumi.get(self, "instance_id")
59
60
 
60
61
  @property
61
62
  @pulumi.getter
62
63
  def plugins(self) -> Sequence['outputs.GetPluginsCommunityPluginResult']:
64
+ """
65
+ An array of community plugins. Each `plugins` block consists of the fields documented
66
+ below.
67
+ """
63
68
  return pulumi.get(self, "plugins")
64
69
 
65
70
  @property
66
71
  @pulumi.getter
67
- def sleep(self) -> Optional[int]:
72
+ def sleep(self) -> Optional[builtins.int]:
68
73
  return pulumi.get(self, "sleep")
69
74
 
70
75
  @property
71
76
  @pulumi.getter
72
- def timeout(self) -> Optional[int]:
77
+ def timeout(self) -> Optional[builtins.int]:
73
78
  return pulumi.get(self, "timeout")
74
79
 
75
80
 
@@ -86,12 +91,13 @@ class AwaitableGetPluginsCommunityResult(GetPluginsCommunityResult):
86
91
  timeout=self.timeout)
87
92
 
88
93
 
89
- def get_plugins_community(instance_id: Optional[int] = None,
90
- sleep: Optional[int] = None,
91
- timeout: Optional[int] = None,
94
+ def get_plugins_community(instance_id: Optional[builtins.int] = None,
95
+ sleep: Optional[builtins.int] = None,
96
+ timeout: Optional[builtins.int] = None,
92
97
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPluginsCommunityResult:
93
98
  """
94
- Use this data source to retrieve information about available community plugins for the CloudAMQP instance.
99
+ Use this data source to retrieve information about available community plugins for the CloudAMQP
100
+ instance.
95
101
 
96
102
  ## Example Usage
97
103
 
@@ -102,31 +108,16 @@ def get_plugins_community(instance_id: Optional[int] = None,
102
108
  communit_plugins = cloudamqp.get_plugins_community(instance_id=instance["id"])
103
109
  ```
104
110
 
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
111
  ## Dependency
125
112
 
126
113
  This data source depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
127
114
 
128
115
 
129
- :param int instance_id: The CloudAMQP instance identifier.
116
+ :param builtins.int instance_id: The CloudAMQP instance identifier.
117
+ :param builtins.int sleep: Configurable sleep time (seconds) for retries when requesting
118
+ information about community plugins. Default set to 10 seconds.
119
+ :param builtins.int timeout: Configurable timeout time (seconds) for retries when requesting
120
+ information about community plugins. Default set to 1800 seconds.
130
121
  """
131
122
  __args__ = dict()
132
123
  __args__['instanceId'] = instance_id
@@ -141,12 +132,13 @@ def get_plugins_community(instance_id: Optional[int] = None,
141
132
  plugins=pulumi.get(__ret__, 'plugins'),
142
133
  sleep=pulumi.get(__ret__, 'sleep'),
143
134
  timeout=pulumi.get(__ret__, 'timeout'))
144
- def get_plugins_community_output(instance_id: Optional[pulumi.Input[int]] = None,
145
- sleep: Optional[pulumi.Input[Optional[int]]] = None,
146
- timeout: Optional[pulumi.Input[Optional[int]]] = None,
135
+ def get_plugins_community_output(instance_id: Optional[pulumi.Input[builtins.int]] = None,
136
+ sleep: Optional[pulumi.Input[Optional[builtins.int]]] = None,
137
+ timeout: Optional[pulumi.Input[Optional[builtins.int]]] = None,
147
138
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetPluginsCommunityResult]:
148
139
  """
149
- Use this data source to retrieve information about available community plugins for the CloudAMQP instance.
140
+ Use this data source to retrieve information about available community plugins for the CloudAMQP
141
+ instance.
150
142
 
151
143
  ## Example Usage
152
144
 
@@ -157,31 +149,16 @@ def get_plugins_community_output(instance_id: Optional[pulumi.Input[int]] = None
157
149
  communit_plugins = cloudamqp.get_plugins_community(instance_id=instance["id"])
158
150
  ```
159
151
 
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
152
  ## Dependency
180
153
 
181
154
  This data source depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
182
155
 
183
156
 
184
- :param int instance_id: The CloudAMQP instance identifier.
157
+ :param builtins.int instance_id: The CloudAMQP instance identifier.
158
+ :param builtins.int sleep: Configurable sleep time (seconds) for retries when requesting
159
+ information about community plugins. Default set to 10 seconds.
160
+ :param builtins.int timeout: Configurable timeout time (seconds) for retries when requesting
161
+ information about community plugins. Default set to 1800 seconds.
185
162
  """
186
163
  __args__ = dict()
187
164
  __args__['instanceId'] = instance_id
@@ -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
@@ -42,7 +43,7 @@ class GetUpgradableVersionsResult:
42
43
 
43
44
  @property
44
45
  @pulumi.getter
45
- def id(self) -> str:
46
+ def id(self) -> builtins.str:
46
47
  """
47
48
  The provider-assigned unique ID for this managed resource.
48
49
  """
@@ -50,17 +51,23 @@ class GetUpgradableVersionsResult:
50
51
 
51
52
  @property
52
53
  @pulumi.getter(name="instanceId")
53
- def instance_id(self) -> int:
54
+ def instance_id(self) -> builtins.int:
54
55
  return pulumi.get(self, "instance_id")
55
56
 
56
57
  @property
57
58
  @pulumi.getter(name="newErlangVersion")
58
- def new_erlang_version(self) -> str:
59
+ def new_erlang_version(self) -> builtins.str:
60
+ """
61
+ Possible upgradable version for Erlang.
62
+ """
59
63
  return pulumi.get(self, "new_erlang_version")
60
64
 
61
65
  @property
62
66
  @pulumi.getter(name="newRabbitmqVersion")
63
- def new_rabbitmq_version(self) -> str:
67
+ def new_rabbitmq_version(self) -> builtins.str:
68
+ """
69
+ Possible upgradable version for RabbitMQ.
70
+ """
64
71
  return pulumi.get(self, "new_rabbitmq_version")
65
72
 
66
73
 
@@ -76,10 +83,11 @@ class AwaitableGetUpgradableVersionsResult(GetUpgradableVersionsResult):
76
83
  new_rabbitmq_version=self.new_rabbitmq_version)
77
84
 
78
85
 
79
- def get_upgradable_versions(instance_id: Optional[int] = None,
86
+ def get_upgradable_versions(instance_id: Optional[builtins.int] = None,
80
87
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetUpgradableVersionsResult:
81
88
  """
82
- Use this data source to retrieve information about possible upgradable versions for RabbitMQ and Erlang.
89
+ Use this data source to retrieve information about possible upgradable versions for RabbitMQ and
90
+ Erlang.
83
91
 
84
92
  ## Example Usage
85
93
 
@@ -90,19 +98,12 @@ def get_upgradable_versions(instance_id: Optional[int] = None,
90
98
  versions = cloudamqp.get_upgradable_versions(instance_id=instance["id"])
91
99
  ```
92
100
 
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
101
  ## Dependency
101
102
 
102
103
  This data source depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
103
104
 
104
105
 
105
- :param int instance_id: The CloudAMQP instance identifier.
106
+ :param builtins.int instance_id: The CloudAMQP instance identifier.
106
107
  """
107
108
  __args__ = dict()
108
109
  __args__['instanceId'] = instance_id
@@ -114,10 +115,11 @@ def get_upgradable_versions(instance_id: Optional[int] = None,
114
115
  instance_id=pulumi.get(__ret__, 'instance_id'),
115
116
  new_erlang_version=pulumi.get(__ret__, 'new_erlang_version'),
116
117
  new_rabbitmq_version=pulumi.get(__ret__, 'new_rabbitmq_version'))
117
- def get_upgradable_versions_output(instance_id: Optional[pulumi.Input[int]] = None,
118
+ def get_upgradable_versions_output(instance_id: Optional[pulumi.Input[builtins.int]] = None,
118
119
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetUpgradableVersionsResult]:
119
120
  """
120
- Use this data source to retrieve information about possible upgradable versions for RabbitMQ and Erlang.
121
+ Use this data source to retrieve information about possible upgradable versions for RabbitMQ and
122
+ Erlang.
121
123
 
122
124
  ## Example Usage
123
125
 
@@ -128,19 +130,12 @@ def get_upgradable_versions_output(instance_id: Optional[pulumi.Input[int]] = No
128
130
  versions = cloudamqp.get_upgradable_versions(instance_id=instance["id"])
129
131
  ```
130
132
 
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
133
  ## Dependency
139
134
 
140
135
  This data source depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
141
136
 
142
137
 
143
- :param int instance_id: The CloudAMQP instance identifier.
138
+ :param builtins.int instance_id: The CloudAMQP instance identifier.
144
139
  """
145
140
  __args__ = dict()
146
141
  __args__['instanceId'] = instance_id
@@ -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
@@ -54,7 +55,7 @@ class GetVpcGcpInfoResult:
54
55
 
55
56
  @property
56
57
  @pulumi.getter
57
- def id(self) -> str:
58
+ def id(self) -> builtins.str:
58
59
  """
59
60
  The provider-assigned unique ID for this managed resource.
60
61
  """
@@ -62,37 +63,46 @@ class GetVpcGcpInfoResult:
62
63
 
63
64
  @property
64
65
  @pulumi.getter(name="instanceId")
65
- def instance_id(self) -> Optional[int]:
66
+ def instance_id(self) -> Optional[builtins.int]:
66
67
  return pulumi.get(self, "instance_id")
67
68
 
68
69
  @property
69
70
  @pulumi.getter
70
- def name(self) -> str:
71
+ def name(self) -> builtins.str:
72
+ """
73
+ The name of the VPC.
74
+ """
71
75
  return pulumi.get(self, "name")
72
76
 
73
77
  @property
74
78
  @pulumi.getter
75
- def network(self) -> str:
79
+ def network(self) -> builtins.str:
80
+ """
81
+ VPC network uri.
82
+ """
76
83
  return pulumi.get(self, "network")
77
84
 
78
85
  @property
79
86
  @pulumi.getter
80
- def sleep(self) -> Optional[int]:
87
+ def sleep(self) -> Optional[builtins.int]:
81
88
  return pulumi.get(self, "sleep")
82
89
 
83
90
  @property
84
91
  @pulumi.getter
85
- def timeout(self) -> Optional[int]:
92
+ def timeout(self) -> Optional[builtins.int]:
86
93
  return pulumi.get(self, "timeout")
87
94
 
88
95
  @property
89
96
  @pulumi.getter(name="vpcId")
90
- def vpc_id(self) -> Optional[str]:
97
+ def vpc_id(self) -> Optional[builtins.str]:
91
98
  return pulumi.get(self, "vpc_id")
92
99
 
93
100
  @property
94
101
  @pulumi.getter(name="vpcSubnet")
95
- def vpc_subnet(self) -> str:
102
+ def vpc_subnet(self) -> builtins.str:
103
+ """
104
+ Dedicated VPC subnet.
105
+ """
96
106
  return pulumi.get(self, "vpc_subnet")
97
107
 
98
108
 
@@ -112,76 +122,24 @@ class AwaitableGetVpcGcpInfoResult(GetVpcGcpInfoResult):
112
122
  vpc_subnet=self.vpc_subnet)
113
123
 
114
124
 
115
- def get_vpc_gcp_info(instance_id: Optional[int] = None,
116
- sleep: Optional[int] = None,
117
- timeout: Optional[int] = None,
118
- vpc_id: Optional[str] = None,
125
+ def get_vpc_gcp_info(instance_id: Optional[builtins.int] = None,
126
+ sleep: Optional[builtins.int] = None,
127
+ timeout: Optional[builtins.int] = None,
128
+ vpc_id: Optional[builtins.str] = None,
119
129
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetVpcGcpInfoResult:
120
130
  """
121
- Use this data source to retrieve information about VPC for a CloudAMQP instance.
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
131
+ Use this data source to access information about an existing resource.
169
132
 
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
-
176
-
177
- :param int instance_id: The CloudAMQP instance identifier.
133
+ :param builtins.int instance_id: The CloudAMQP instance identifier.
178
134
 
179
- ***Deprecated: Changed from required to optional in v1.16.0 will be removed in next major version (v2.0)***
180
- :param int sleep: Configurable sleep time (seconds) between retries when reading peering. Default set to 10 seconds.
181
- :param int timeout: Configurable timeout time (seconds) before retries times out. Default set to 1800 seconds.
182
- :param str vpc_id: The managed VPC identifier.
135
+ ***Deprecated:*** from [v1.16.0], will be removed in next major version (v2.0)
136
+ :param builtins.int sleep: Configurable sleep time (seconds) between retries when reading peering.
137
+ Default set to 10 seconds.
138
+ :param builtins.int timeout: Configurable timeout time (seconds) before retries times out. Default
139
+ set to 1800 seconds.
140
+ :param builtins.str vpc_id: The managed VPC identifier.
183
141
 
184
- ***Note: Added as optional in version v1.16.0 and will be required in next major version (v2.0)***
142
+ ***Note:*** Available from [v1.16.0], will be removed in next major version (v2.0)
185
143
  """
186
144
  __args__ = dict()
187
145
  __args__['instanceId'] = instance_id
@@ -200,76 +158,24 @@ def get_vpc_gcp_info(instance_id: Optional[int] = None,
200
158
  timeout=pulumi.get(__ret__, 'timeout'),
201
159
  vpc_id=pulumi.get(__ret__, 'vpc_id'),
202
160
  vpc_subnet=pulumi.get(__ret__, 'vpc_subnet'))
203
- def get_vpc_gcp_info_output(instance_id: Optional[pulumi.Input[Optional[int]]] = None,
204
- sleep: Optional[pulumi.Input[Optional[int]]] = None,
205
- timeout: Optional[pulumi.Input[Optional[int]]] = None,
206
- vpc_id: Optional[pulumi.Input[Optional[str]]] = None,
161
+ def get_vpc_gcp_info_output(instance_id: Optional[pulumi.Input[Optional[builtins.int]]] = None,
162
+ sleep: Optional[pulumi.Input[Optional[builtins.int]]] = None,
163
+ timeout: Optional[pulumi.Input[Optional[builtins.int]]] = None,
164
+ vpc_id: Optional[pulumi.Input[Optional[builtins.str]]] = None,
207
165
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetVpcGcpInfoResult]:
208
166
  """
209
- Use this data source to retrieve information about VPC for a CloudAMQP instance.
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
-
167
+ Use this data source to access information about an existing resource.
264
168
 
265
- :param int instance_id: The CloudAMQP instance identifier.
169
+ :param builtins.int instance_id: The CloudAMQP instance identifier.
266
170
 
267
- ***Deprecated: Changed from required to optional in v1.16.0 will be removed in next major version (v2.0)***
268
- :param int sleep: Configurable sleep time (seconds) between retries when reading peering. Default set to 10 seconds.
269
- :param int timeout: Configurable timeout time (seconds) before retries times out. Default set to 1800 seconds.
270
- :param str vpc_id: The managed VPC identifier.
171
+ ***Deprecated:*** from [v1.16.0], will be removed in next major version (v2.0)
172
+ :param builtins.int sleep: Configurable sleep time (seconds) between retries when reading peering.
173
+ Default set to 10 seconds.
174
+ :param builtins.int timeout: Configurable timeout time (seconds) before retries times out. Default
175
+ set to 1800 seconds.
176
+ :param builtins.str vpc_id: The managed VPC identifier.
271
177
 
272
- ***Note: Added as optional in version v1.16.0 and will be required in next major version (v2.0)***
178
+ ***Note:*** Available from [v1.16.0], will be removed in next major version (v2.0)
273
179
  """
274
180
  __args__ = dict()
275
181
  __args__['instanceId'] = instance_id