pulumi-cloudamqp 3.17.0a1702588087__py3-none-any.whl → 3.17.1__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 +18 -0
- pulumi_cloudamqp/account_action.py +198 -0
- pulumi_cloudamqp/get_plugins.py +12 -0
- pulumi_cloudamqp/get_plugins_community.py +12 -0
- pulumi_cloudamqp/get_vpc_gcp_info.py +35 -1
- pulumi_cloudamqp/instance.py +2 -2
- pulumi_cloudamqp/outputs.py +34 -2
- pulumi_cloudamqp/plugin.py +109 -1
- pulumi_cloudamqp/plugin_community.py +111 -3
- pulumi_cloudamqp/privatelink_aws.py +66 -22
- pulumi_cloudamqp/privatelink_azure.py +87 -36
- pulumi_cloudamqp/vpc_connect.py +1015 -0
- pulumi_cloudamqp/vpc_gcp_peering.py +139 -56
- {pulumi_cloudamqp-3.17.0a1702588087.dist-info → pulumi_cloudamqp-3.17.1.dist-info}/METADATA +1 -1
- {pulumi_cloudamqp-3.17.0a1702588087.dist-info → pulumi_cloudamqp-3.17.1.dist-info}/RECORD +17 -15
- {pulumi_cloudamqp-3.17.0a1702588087.dist-info → pulumi_cloudamqp-3.17.1.dist-info}/WHEEL +0 -0
- {pulumi_cloudamqp-3.17.0a1702588087.dist-info → pulumi_cloudamqp-3.17.1.dist-info}/top_level.txt +0 -0
pulumi_cloudamqp/__init__.py
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
from . import _utilities
|
|
6
6
|
import typing
|
|
7
7
|
# Export this package's modules as members:
|
|
8
|
+
from .account_action import *
|
|
8
9
|
from .alarm import *
|
|
9
10
|
from .custom_domain import *
|
|
10
11
|
from .extra_disk_size import *
|
|
@@ -35,6 +36,7 @@ from .rabbit_configuration import *
|
|
|
35
36
|
from .security_firewall import *
|
|
36
37
|
from .upgrade_rabbitmq import *
|
|
37
38
|
from .vpc import *
|
|
39
|
+
from .vpc_connect import *
|
|
38
40
|
from .vpc_gcp_peering import *
|
|
39
41
|
from .vpc_peering import *
|
|
40
42
|
from .webhook import *
|
|
@@ -51,6 +53,14 @@ else:
|
|
|
51
53
|
_utilities.register(
|
|
52
54
|
resource_modules="""
|
|
53
55
|
[
|
|
56
|
+
{
|
|
57
|
+
"pkg": "cloudamqp",
|
|
58
|
+
"mod": "index/accountAction",
|
|
59
|
+
"fqn": "pulumi_cloudamqp",
|
|
60
|
+
"classes": {
|
|
61
|
+
"cloudamqp:index/accountAction:AccountAction": "AccountAction"
|
|
62
|
+
}
|
|
63
|
+
},
|
|
54
64
|
{
|
|
55
65
|
"pkg": "cloudamqp",
|
|
56
66
|
"mod": "index/alarm",
|
|
@@ -187,6 +197,14 @@ _utilities.register(
|
|
|
187
197
|
"cloudamqp:index/vpc:Vpc": "Vpc"
|
|
188
198
|
}
|
|
189
199
|
},
|
|
200
|
+
{
|
|
201
|
+
"pkg": "cloudamqp",
|
|
202
|
+
"mod": "index/vpcConnect",
|
|
203
|
+
"fqn": "pulumi_cloudamqp",
|
|
204
|
+
"classes": {
|
|
205
|
+
"cloudamqp:index/vpcConnect:VpcConnect": "VpcConnect"
|
|
206
|
+
}
|
|
207
|
+
},
|
|
190
208
|
{
|
|
191
209
|
"pkg": "cloudamqp",
|
|
192
210
|
"mod": "index/vpcGcpPeering",
|
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import copy
|
|
6
|
+
import warnings
|
|
7
|
+
import pulumi
|
|
8
|
+
import pulumi.runtime
|
|
9
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
10
|
+
from . import _utilities
|
|
11
|
+
|
|
12
|
+
__all__ = ['AccountActionArgs', 'AccountAction']
|
|
13
|
+
|
|
14
|
+
@pulumi.input_type
|
|
15
|
+
class AccountActionArgs:
|
|
16
|
+
def __init__(__self__, *,
|
|
17
|
+
action: pulumi.Input[str],
|
|
18
|
+
instance_id: pulumi.Input[int]):
|
|
19
|
+
"""
|
|
20
|
+
The set of arguments for constructing a AccountAction resource.
|
|
21
|
+
:param pulumi.Input[str] action: The action to be invoked. Allowed actions `rotate-password`, `rotate-apikey`.
|
|
22
|
+
:param pulumi.Input[int] instance_id: The CloudAMQP instance ID.
|
|
23
|
+
"""
|
|
24
|
+
pulumi.set(__self__, "action", action)
|
|
25
|
+
pulumi.set(__self__, "instance_id", instance_id)
|
|
26
|
+
|
|
27
|
+
@property
|
|
28
|
+
@pulumi.getter
|
|
29
|
+
def action(self) -> pulumi.Input[str]:
|
|
30
|
+
"""
|
|
31
|
+
The action to be invoked. Allowed actions `rotate-password`, `rotate-apikey`.
|
|
32
|
+
"""
|
|
33
|
+
return pulumi.get(self, "action")
|
|
34
|
+
|
|
35
|
+
@action.setter
|
|
36
|
+
def action(self, value: pulumi.Input[str]):
|
|
37
|
+
pulumi.set(self, "action", value)
|
|
38
|
+
|
|
39
|
+
@property
|
|
40
|
+
@pulumi.getter(name="instanceId")
|
|
41
|
+
def instance_id(self) -> pulumi.Input[int]:
|
|
42
|
+
"""
|
|
43
|
+
The CloudAMQP instance ID.
|
|
44
|
+
"""
|
|
45
|
+
return pulumi.get(self, "instance_id")
|
|
46
|
+
|
|
47
|
+
@instance_id.setter
|
|
48
|
+
def instance_id(self, value: pulumi.Input[int]):
|
|
49
|
+
pulumi.set(self, "instance_id", value)
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
@pulumi.input_type
|
|
53
|
+
class _AccountActionState:
|
|
54
|
+
def __init__(__self__, *,
|
|
55
|
+
action: Optional[pulumi.Input[str]] = None,
|
|
56
|
+
instance_id: Optional[pulumi.Input[int]] = None):
|
|
57
|
+
"""
|
|
58
|
+
Input properties used for looking up and filtering AccountAction resources.
|
|
59
|
+
:param pulumi.Input[str] action: The action to be invoked. Allowed actions `rotate-password`, `rotate-apikey`.
|
|
60
|
+
:param pulumi.Input[int] instance_id: The CloudAMQP instance ID.
|
|
61
|
+
"""
|
|
62
|
+
if action is not None:
|
|
63
|
+
pulumi.set(__self__, "action", action)
|
|
64
|
+
if instance_id is not None:
|
|
65
|
+
pulumi.set(__self__, "instance_id", instance_id)
|
|
66
|
+
|
|
67
|
+
@property
|
|
68
|
+
@pulumi.getter
|
|
69
|
+
def action(self) -> Optional[pulumi.Input[str]]:
|
|
70
|
+
"""
|
|
71
|
+
The action to be invoked. Allowed actions `rotate-password`, `rotate-apikey`.
|
|
72
|
+
"""
|
|
73
|
+
return pulumi.get(self, "action")
|
|
74
|
+
|
|
75
|
+
@action.setter
|
|
76
|
+
def action(self, value: Optional[pulumi.Input[str]]):
|
|
77
|
+
pulumi.set(self, "action", value)
|
|
78
|
+
|
|
79
|
+
@property
|
|
80
|
+
@pulumi.getter(name="instanceId")
|
|
81
|
+
def instance_id(self) -> Optional[pulumi.Input[int]]:
|
|
82
|
+
"""
|
|
83
|
+
The CloudAMQP instance ID.
|
|
84
|
+
"""
|
|
85
|
+
return pulumi.get(self, "instance_id")
|
|
86
|
+
|
|
87
|
+
@instance_id.setter
|
|
88
|
+
def instance_id(self, value: Optional[pulumi.Input[int]]):
|
|
89
|
+
pulumi.set(self, "instance_id", value)
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
class AccountAction(pulumi.CustomResource):
|
|
93
|
+
@overload
|
|
94
|
+
def __init__(__self__,
|
|
95
|
+
resource_name: str,
|
|
96
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
97
|
+
action: Optional[pulumi.Input[str]] = None,
|
|
98
|
+
instance_id: Optional[pulumi.Input[int]] = None,
|
|
99
|
+
__props__=None):
|
|
100
|
+
"""
|
|
101
|
+
## Import
|
|
102
|
+
|
|
103
|
+
Not possible to import this resource.
|
|
104
|
+
|
|
105
|
+
:param str resource_name: The name of the resource.
|
|
106
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
107
|
+
:param pulumi.Input[str] action: The action to be invoked. Allowed actions `rotate-password`, `rotate-apikey`.
|
|
108
|
+
:param pulumi.Input[int] instance_id: The CloudAMQP instance ID.
|
|
109
|
+
"""
|
|
110
|
+
...
|
|
111
|
+
@overload
|
|
112
|
+
def __init__(__self__,
|
|
113
|
+
resource_name: str,
|
|
114
|
+
args: AccountActionArgs,
|
|
115
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
|
116
|
+
"""
|
|
117
|
+
## Import
|
|
118
|
+
|
|
119
|
+
Not possible to import this resource.
|
|
120
|
+
|
|
121
|
+
:param str resource_name: The name of the resource.
|
|
122
|
+
:param AccountActionArgs args: The arguments to use to populate this resource's properties.
|
|
123
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
124
|
+
"""
|
|
125
|
+
...
|
|
126
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
127
|
+
resource_args, opts = _utilities.get_resource_args_opts(AccountActionArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
128
|
+
if resource_args is not None:
|
|
129
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
130
|
+
else:
|
|
131
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
|
132
|
+
|
|
133
|
+
def _internal_init(__self__,
|
|
134
|
+
resource_name: str,
|
|
135
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
136
|
+
action: Optional[pulumi.Input[str]] = None,
|
|
137
|
+
instance_id: Optional[pulumi.Input[int]] = None,
|
|
138
|
+
__props__=None):
|
|
139
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
140
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
|
141
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
142
|
+
if opts.id is None:
|
|
143
|
+
if __props__ is not None:
|
|
144
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
145
|
+
__props__ = AccountActionArgs.__new__(AccountActionArgs)
|
|
146
|
+
|
|
147
|
+
if action is None and not opts.urn:
|
|
148
|
+
raise TypeError("Missing required property 'action'")
|
|
149
|
+
__props__.__dict__["action"] = action
|
|
150
|
+
if instance_id is None and not opts.urn:
|
|
151
|
+
raise TypeError("Missing required property 'instance_id'")
|
|
152
|
+
__props__.__dict__["instance_id"] = instance_id
|
|
153
|
+
super(AccountAction, __self__).__init__(
|
|
154
|
+
'cloudamqp:index/accountAction:AccountAction',
|
|
155
|
+
resource_name,
|
|
156
|
+
__props__,
|
|
157
|
+
opts)
|
|
158
|
+
|
|
159
|
+
@staticmethod
|
|
160
|
+
def get(resource_name: str,
|
|
161
|
+
id: pulumi.Input[str],
|
|
162
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
163
|
+
action: Optional[pulumi.Input[str]] = None,
|
|
164
|
+
instance_id: Optional[pulumi.Input[int]] = None) -> 'AccountAction':
|
|
165
|
+
"""
|
|
166
|
+
Get an existing AccountAction resource's state with the given name, id, and optional extra
|
|
167
|
+
properties used to qualify the lookup.
|
|
168
|
+
|
|
169
|
+
:param str resource_name: The unique name of the resulting resource.
|
|
170
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
171
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
172
|
+
:param pulumi.Input[str] action: The action to be invoked. Allowed actions `rotate-password`, `rotate-apikey`.
|
|
173
|
+
:param pulumi.Input[int] instance_id: The CloudAMQP instance ID.
|
|
174
|
+
"""
|
|
175
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
176
|
+
|
|
177
|
+
__props__ = _AccountActionState.__new__(_AccountActionState)
|
|
178
|
+
|
|
179
|
+
__props__.__dict__["action"] = action
|
|
180
|
+
__props__.__dict__["instance_id"] = instance_id
|
|
181
|
+
return AccountAction(resource_name, opts=opts, __props__=__props__)
|
|
182
|
+
|
|
183
|
+
@property
|
|
184
|
+
@pulumi.getter
|
|
185
|
+
def action(self) -> pulumi.Output[str]:
|
|
186
|
+
"""
|
|
187
|
+
The action to be invoked. Allowed actions `rotate-password`, `rotate-apikey`.
|
|
188
|
+
"""
|
|
189
|
+
return pulumi.get(self, "action")
|
|
190
|
+
|
|
191
|
+
@property
|
|
192
|
+
@pulumi.getter(name="instanceId")
|
|
193
|
+
def instance_id(self) -> pulumi.Output[int]:
|
|
194
|
+
"""
|
|
195
|
+
The CloudAMQP instance ID.
|
|
196
|
+
"""
|
|
197
|
+
return pulumi.get(self, "instance_id")
|
|
198
|
+
|
pulumi_cloudamqp/get_plugins.py
CHANGED
|
@@ -66,6 +66,8 @@ class AwaitableGetPluginsResult(GetPluginsResult):
|
|
|
66
66
|
def get_plugins(instance_id: Optional[int] = None,
|
|
67
67
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPluginsResult:
|
|
68
68
|
"""
|
|
69
|
+
Use this data source to retrieve information about installed and available plugins for the CloudAMQP instance.
|
|
70
|
+
|
|
69
71
|
## Example Usage
|
|
70
72
|
|
|
71
73
|
```python
|
|
@@ -80,6 +82,10 @@ def get_plugins(instance_id: Optional[int] = None,
|
|
|
80
82
|
|
|
81
83
|
* `id` - The identifier for this resource.
|
|
82
84
|
* `plugins` - An array of plugins. Each `plugins` block consists of the fields documented below.
|
|
85
|
+
* `sleep` - (Optional) Configurable sleep time (seconds) for retries when requesting information
|
|
86
|
+
about plugins. Default set to 10 seconds. *Available from v1.29.0*
|
|
87
|
+
* `timeout` - (Optional) - Configurable timeout time (seconds) for retries when requesting
|
|
88
|
+
information about plugins. Default set to 1800 seconds. *Available from v1.29.0*
|
|
83
89
|
|
|
84
90
|
***
|
|
85
91
|
|
|
@@ -112,6 +118,8 @@ def get_plugins(instance_id: Optional[int] = None,
|
|
|
112
118
|
def get_plugins_output(instance_id: Optional[pulumi.Input[int]] = None,
|
|
113
119
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPluginsResult]:
|
|
114
120
|
"""
|
|
121
|
+
Use this data source to retrieve information about installed and available plugins for the CloudAMQP instance.
|
|
122
|
+
|
|
115
123
|
## Example Usage
|
|
116
124
|
|
|
117
125
|
```python
|
|
@@ -126,6 +134,10 @@ def get_plugins_output(instance_id: Optional[pulumi.Input[int]] = None,
|
|
|
126
134
|
|
|
127
135
|
* `id` - The identifier for this resource.
|
|
128
136
|
* `plugins` - An array of plugins. Each `plugins` block consists of the fields documented below.
|
|
137
|
+
* `sleep` - (Optional) Configurable sleep time (seconds) for retries when requesting information
|
|
138
|
+
about plugins. Default set to 10 seconds. *Available from v1.29.0*
|
|
139
|
+
* `timeout` - (Optional) - Configurable timeout time (seconds) for retries when requesting
|
|
140
|
+
information about plugins. Default set to 1800 seconds. *Available from v1.29.0*
|
|
129
141
|
|
|
130
142
|
***
|
|
131
143
|
|
|
@@ -66,6 +66,8 @@ class AwaitableGetPluginsCommunityResult(GetPluginsCommunityResult):
|
|
|
66
66
|
def get_plugins_community(instance_id: Optional[int] = None,
|
|
67
67
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPluginsCommunityResult:
|
|
68
68
|
"""
|
|
69
|
+
Use this data source to retrieve information about available community plugins for the CloudAMQP instance.
|
|
70
|
+
|
|
69
71
|
## Example Usage
|
|
70
72
|
|
|
71
73
|
```python
|
|
@@ -80,6 +82,10 @@ def get_plugins_community(instance_id: Optional[int] = None,
|
|
|
80
82
|
|
|
81
83
|
* `id` - The identifier for this resource.
|
|
82
84
|
* `plugins` - An array of community plugins. Each `plugins` block consists of the fields documented below.
|
|
85
|
+
* `sleep` - (Optional) Configurable sleep time (seconds) for retries when requesting information
|
|
86
|
+
about community plugins. Default set to 10 seconds. *Available from v1.29.0*
|
|
87
|
+
* `timeout` - (Optional) - Configurable timeout time (seconds) for retries when requesting
|
|
88
|
+
information about community plugins. Default set to 1800 seconds. *Available from v1.29.0*
|
|
83
89
|
|
|
84
90
|
***
|
|
85
91
|
|
|
@@ -111,6 +117,8 @@ def get_plugins_community(instance_id: Optional[int] = None,
|
|
|
111
117
|
def get_plugins_community_output(instance_id: Optional[pulumi.Input[int]] = None,
|
|
112
118
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPluginsCommunityResult]:
|
|
113
119
|
"""
|
|
120
|
+
Use this data source to retrieve information about available community plugins for the CloudAMQP instance.
|
|
121
|
+
|
|
114
122
|
## Example Usage
|
|
115
123
|
|
|
116
124
|
```python
|
|
@@ -125,6 +133,10 @@ def get_plugins_community_output(instance_id: Optional[pulumi.Input[int]] = None
|
|
|
125
133
|
|
|
126
134
|
* `id` - The identifier for this resource.
|
|
127
135
|
* `plugins` - An array of community plugins. Each `plugins` block consists of the fields documented below.
|
|
136
|
+
* `sleep` - (Optional) Configurable sleep time (seconds) for retries when requesting information
|
|
137
|
+
about community plugins. Default set to 10 seconds. *Available from v1.29.0*
|
|
138
|
+
* `timeout` - (Optional) - Configurable timeout time (seconds) for retries when requesting
|
|
139
|
+
information about community plugins. Default set to 1800 seconds. *Available from v1.29.0*
|
|
128
140
|
|
|
129
141
|
***
|
|
130
142
|
|
|
@@ -21,7 +21,7 @@ class GetVpcGcpInfoResult:
|
|
|
21
21
|
"""
|
|
22
22
|
A collection of values returned by getVpcGcpInfo.
|
|
23
23
|
"""
|
|
24
|
-
def __init__(__self__, id=None, instance_id=None, name=None, network=None, vpc_id=None, vpc_subnet=None):
|
|
24
|
+
def __init__(__self__, id=None, instance_id=None, name=None, network=None, sleep=None, timeout=None, vpc_id=None, vpc_subnet=None):
|
|
25
25
|
if id and not isinstance(id, str):
|
|
26
26
|
raise TypeError("Expected argument 'id' to be a str")
|
|
27
27
|
pulumi.set(__self__, "id", id)
|
|
@@ -34,6 +34,12 @@ class GetVpcGcpInfoResult:
|
|
|
34
34
|
if network and not isinstance(network, str):
|
|
35
35
|
raise TypeError("Expected argument 'network' to be a str")
|
|
36
36
|
pulumi.set(__self__, "network", network)
|
|
37
|
+
if sleep and not isinstance(sleep, int):
|
|
38
|
+
raise TypeError("Expected argument 'sleep' to be a int")
|
|
39
|
+
pulumi.set(__self__, "sleep", sleep)
|
|
40
|
+
if timeout and not isinstance(timeout, int):
|
|
41
|
+
raise TypeError("Expected argument 'timeout' to be a int")
|
|
42
|
+
pulumi.set(__self__, "timeout", timeout)
|
|
37
43
|
if vpc_id and not isinstance(vpc_id, str):
|
|
38
44
|
raise TypeError("Expected argument 'vpc_id' to be a str")
|
|
39
45
|
pulumi.set(__self__, "vpc_id", vpc_id)
|
|
@@ -64,6 +70,16 @@ class GetVpcGcpInfoResult:
|
|
|
64
70
|
def network(self) -> str:
|
|
65
71
|
return pulumi.get(self, "network")
|
|
66
72
|
|
|
73
|
+
@property
|
|
74
|
+
@pulumi.getter
|
|
75
|
+
def sleep(self) -> Optional[int]:
|
|
76
|
+
return pulumi.get(self, "sleep")
|
|
77
|
+
|
|
78
|
+
@property
|
|
79
|
+
@pulumi.getter
|
|
80
|
+
def timeout(self) -> Optional[int]:
|
|
81
|
+
return pulumi.get(self, "timeout")
|
|
82
|
+
|
|
67
83
|
@property
|
|
68
84
|
@pulumi.getter(name="vpcId")
|
|
69
85
|
def vpc_id(self) -> Optional[str]:
|
|
@@ -85,11 +101,15 @@ class AwaitableGetVpcGcpInfoResult(GetVpcGcpInfoResult):
|
|
|
85
101
|
instance_id=self.instance_id,
|
|
86
102
|
name=self.name,
|
|
87
103
|
network=self.network,
|
|
104
|
+
sleep=self.sleep,
|
|
105
|
+
timeout=self.timeout,
|
|
88
106
|
vpc_id=self.vpc_id,
|
|
89
107
|
vpc_subnet=self.vpc_subnet)
|
|
90
108
|
|
|
91
109
|
|
|
92
110
|
def get_vpc_gcp_info(instance_id: Optional[int] = None,
|
|
111
|
+
sleep: Optional[int] = None,
|
|
112
|
+
timeout: Optional[int] = None,
|
|
93
113
|
vpc_id: Optional[str] = None,
|
|
94
114
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetVpcGcpInfoResult:
|
|
95
115
|
"""
|
|
@@ -110,6 +130,7 @@ def get_vpc_gcp_info(instance_id: Optional[int] = None,
|
|
|
110
130
|
|
|
111
131
|
vpc_info = cloudamqp.get_vpc_gcp_info(instance_id=cloudamqp_instance["instance"]["id"])
|
|
112
132
|
```
|
|
133
|
+
|
|
113
134
|
</details>
|
|
114
135
|
|
|
115
136
|
<details>
|
|
@@ -125,6 +146,7 @@ def get_vpc_gcp_info(instance_id: Optional[int] = None,
|
|
|
125
146
|
|
|
126
147
|
vpc_info = cloudamqp.get_vpc_gcp_info(vpc_id=cloudamqp_vpc["vpc"]["id"])
|
|
127
148
|
```
|
|
149
|
+
|
|
128
150
|
</details>
|
|
129
151
|
## Attributes reference
|
|
130
152
|
|
|
@@ -147,12 +169,16 @@ def get_vpc_gcp_info(instance_id: Optional[int] = None,
|
|
|
147
169
|
:param int instance_id: The CloudAMQP instance identifier.
|
|
148
170
|
|
|
149
171
|
***Deprecated: Changed from required to optional in v1.16.0 will be removed in next major version (v2.0)***
|
|
172
|
+
:param int sleep: Configurable sleep time (seconds) between retries when reading peering. Default set to 10 seconds.
|
|
173
|
+
:param int timeout: Configurable timeout time (seconds) before retries times out. Default set to 1800 seconds.
|
|
150
174
|
:param str vpc_id: The managed VPC identifier.
|
|
151
175
|
|
|
152
176
|
***Note: Added as optional in version v1.16.0 and will be required in next major version (v2.0)***
|
|
153
177
|
"""
|
|
154
178
|
__args__ = dict()
|
|
155
179
|
__args__['instanceId'] = instance_id
|
|
180
|
+
__args__['sleep'] = sleep
|
|
181
|
+
__args__['timeout'] = timeout
|
|
156
182
|
__args__['vpcId'] = vpc_id
|
|
157
183
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
158
184
|
__ret__ = pulumi.runtime.invoke('cloudamqp:index/getVpcGcpInfo:getVpcGcpInfo', __args__, opts=opts, typ=GetVpcGcpInfoResult).value
|
|
@@ -162,12 +188,16 @@ def get_vpc_gcp_info(instance_id: Optional[int] = None,
|
|
|
162
188
|
instance_id=pulumi.get(__ret__, 'instance_id'),
|
|
163
189
|
name=pulumi.get(__ret__, 'name'),
|
|
164
190
|
network=pulumi.get(__ret__, 'network'),
|
|
191
|
+
sleep=pulumi.get(__ret__, 'sleep'),
|
|
192
|
+
timeout=pulumi.get(__ret__, 'timeout'),
|
|
165
193
|
vpc_id=pulumi.get(__ret__, 'vpc_id'),
|
|
166
194
|
vpc_subnet=pulumi.get(__ret__, 'vpc_subnet'))
|
|
167
195
|
|
|
168
196
|
|
|
169
197
|
@_utilities.lift_output_func(get_vpc_gcp_info)
|
|
170
198
|
def get_vpc_gcp_info_output(instance_id: Optional[pulumi.Input[Optional[int]]] = None,
|
|
199
|
+
sleep: Optional[pulumi.Input[Optional[int]]] = None,
|
|
200
|
+
timeout: Optional[pulumi.Input[Optional[int]]] = None,
|
|
171
201
|
vpc_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
172
202
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVpcGcpInfoResult]:
|
|
173
203
|
"""
|
|
@@ -188,6 +218,7 @@ def get_vpc_gcp_info_output(instance_id: Optional[pulumi.Input[Optional[int]]] =
|
|
|
188
218
|
|
|
189
219
|
vpc_info = cloudamqp.get_vpc_gcp_info(instance_id=cloudamqp_instance["instance"]["id"])
|
|
190
220
|
```
|
|
221
|
+
|
|
191
222
|
</details>
|
|
192
223
|
|
|
193
224
|
<details>
|
|
@@ -203,6 +234,7 @@ def get_vpc_gcp_info_output(instance_id: Optional[pulumi.Input[Optional[int]]] =
|
|
|
203
234
|
|
|
204
235
|
vpc_info = cloudamqp.get_vpc_gcp_info(vpc_id=cloudamqp_vpc["vpc"]["id"])
|
|
205
236
|
```
|
|
237
|
+
|
|
206
238
|
</details>
|
|
207
239
|
## Attributes reference
|
|
208
240
|
|
|
@@ -225,6 +257,8 @@ def get_vpc_gcp_info_output(instance_id: Optional[pulumi.Input[Optional[int]]] =
|
|
|
225
257
|
:param int instance_id: The CloudAMQP instance identifier.
|
|
226
258
|
|
|
227
259
|
***Deprecated: Changed from required to optional in v1.16.0 will be removed in next major version (v2.0)***
|
|
260
|
+
:param int sleep: Configurable sleep time (seconds) between retries when reading peering. Default set to 10 seconds.
|
|
261
|
+
:param int timeout: Configurable timeout time (seconds) before retries times out. Default set to 1800 seconds.
|
|
228
262
|
:param str vpc_id: The managed VPC identifier.
|
|
229
263
|
|
|
230
264
|
***Note: Added as optional in version v1.16.0 and will be required in next major version (v2.0)***
|
pulumi_cloudamqp/instance.py
CHANGED
|
@@ -802,7 +802,7 @@ class Instance(pulumi.CustomResource):
|
|
|
802
802
|
$ pulumi import cloudamqp:index/instance:Instance instance <id>`
|
|
803
803
|
```
|
|
804
804
|
|
|
805
|
-
To retrieve the identifier for
|
|
805
|
+
To retrieve the identifier for an instance, either use [CloudAMQP customer API](https://docs.cloudamqp.com/#list-instances) or use the data source [`cloudamqp_account`](./data-sources/account.md) to list all available instances for an account.
|
|
806
806
|
|
|
807
807
|
:param str resource_name: The name of the resource.
|
|
808
808
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
@@ -1060,7 +1060,7 @@ class Instance(pulumi.CustomResource):
|
|
|
1060
1060
|
$ pulumi import cloudamqp:index/instance:Instance instance <id>`
|
|
1061
1061
|
```
|
|
1062
1062
|
|
|
1063
|
-
To retrieve the identifier for
|
|
1063
|
+
To retrieve the identifier for an instance, either use [CloudAMQP customer API](https://docs.cloudamqp.com/#list-instances) or use the data source [`cloudamqp_account`](./data-sources/account.md) to list all available instances for an account.
|
|
1064
1064
|
|
|
1065
1065
|
:param str resource_name: The name of the resource.
|
|
1066
1066
|
:param InstanceArgs args: The arguments to use to populate this resource's properties.
|
pulumi_cloudamqp/outputs.py
CHANGED
|
@@ -378,10 +378,16 @@ class GetPluginsCommunityPluginResult(dict):
|
|
|
378
378
|
def __init__(__self__, *,
|
|
379
379
|
description: str,
|
|
380
380
|
name: str,
|
|
381
|
-
require: str
|
|
381
|
+
require: str,
|
|
382
|
+
sleep: Optional[int] = None,
|
|
383
|
+
timeout: Optional[int] = None):
|
|
382
384
|
pulumi.set(__self__, "description", description)
|
|
383
385
|
pulumi.set(__self__, "name", name)
|
|
384
386
|
pulumi.set(__self__, "require", require)
|
|
387
|
+
if sleep is not None:
|
|
388
|
+
pulumi.set(__self__, "sleep", sleep)
|
|
389
|
+
if timeout is not None:
|
|
390
|
+
pulumi.set(__self__, "timeout", timeout)
|
|
385
391
|
|
|
386
392
|
@property
|
|
387
393
|
@pulumi.getter
|
|
@@ -398,6 +404,16 @@ class GetPluginsCommunityPluginResult(dict):
|
|
|
398
404
|
def require(self) -> str:
|
|
399
405
|
return pulumi.get(self, "require")
|
|
400
406
|
|
|
407
|
+
@property
|
|
408
|
+
@pulumi.getter
|
|
409
|
+
def sleep(self) -> Optional[int]:
|
|
410
|
+
return pulumi.get(self, "sleep")
|
|
411
|
+
|
|
412
|
+
@property
|
|
413
|
+
@pulumi.getter
|
|
414
|
+
def timeout(self) -> Optional[int]:
|
|
415
|
+
return pulumi.get(self, "timeout")
|
|
416
|
+
|
|
401
417
|
|
|
402
418
|
@pulumi.output_type
|
|
403
419
|
class GetPluginsPluginResult(dict):
|
|
@@ -405,11 +421,17 @@ class GetPluginsPluginResult(dict):
|
|
|
405
421
|
description: str,
|
|
406
422
|
enabled: bool,
|
|
407
423
|
name: str,
|
|
408
|
-
version: str
|
|
424
|
+
version: str,
|
|
425
|
+
sleep: Optional[int] = None,
|
|
426
|
+
timeout: Optional[int] = None):
|
|
409
427
|
pulumi.set(__self__, "description", description)
|
|
410
428
|
pulumi.set(__self__, "enabled", enabled)
|
|
411
429
|
pulumi.set(__self__, "name", name)
|
|
412
430
|
pulumi.set(__self__, "version", version)
|
|
431
|
+
if sleep is not None:
|
|
432
|
+
pulumi.set(__self__, "sleep", sleep)
|
|
433
|
+
if timeout is not None:
|
|
434
|
+
pulumi.set(__self__, "timeout", timeout)
|
|
413
435
|
|
|
414
436
|
@property
|
|
415
437
|
@pulumi.getter
|
|
@@ -431,4 +453,14 @@ class GetPluginsPluginResult(dict):
|
|
|
431
453
|
def version(self) -> str:
|
|
432
454
|
return pulumi.get(self, "version")
|
|
433
455
|
|
|
456
|
+
@property
|
|
457
|
+
@pulumi.getter
|
|
458
|
+
def sleep(self) -> Optional[int]:
|
|
459
|
+
return pulumi.get(self, "sleep")
|
|
460
|
+
|
|
461
|
+
@property
|
|
462
|
+
@pulumi.getter
|
|
463
|
+
def timeout(self) -> Optional[int]:
|
|
464
|
+
return pulumi.get(self, "timeout")
|
|
465
|
+
|
|
434
466
|
|