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_instance.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
|
|
@@ -87,32 +88,47 @@ class GetInstanceResult:
|
|
|
87
88
|
|
|
88
89
|
@property
|
|
89
90
|
@pulumi.getter
|
|
90
|
-
def apikey(self) -> str:
|
|
91
|
+
def apikey(self) -> builtins.str:
|
|
92
|
+
"""
|
|
93
|
+
(Sensitive) The API key to secondary API handing alarms, integration etc.
|
|
94
|
+
"""
|
|
91
95
|
return pulumi.get(self, "apikey")
|
|
92
96
|
|
|
93
97
|
@property
|
|
94
98
|
@pulumi.getter
|
|
95
|
-
def backend(self) -> str:
|
|
99
|
+
def backend(self) -> builtins.str:
|
|
100
|
+
"""
|
|
101
|
+
Information if the CloudAMQP instance runs either RabbitMQ or LavinMQ.
|
|
102
|
+
"""
|
|
96
103
|
return pulumi.get(self, "backend")
|
|
97
104
|
|
|
98
105
|
@property
|
|
99
106
|
@pulumi.getter
|
|
100
|
-
def dedicated(self) -> bool:
|
|
107
|
+
def dedicated(self) -> builtins.bool:
|
|
108
|
+
"""
|
|
109
|
+
Information if the CloudAMQP instance is shared or dedicated.
|
|
110
|
+
"""
|
|
101
111
|
return pulumi.get(self, "dedicated")
|
|
102
112
|
|
|
103
113
|
@property
|
|
104
114
|
@pulumi.getter
|
|
105
|
-
def host(self) -> str:
|
|
115
|
+
def host(self) -> builtins.str:
|
|
116
|
+
"""
|
|
117
|
+
The external hostname for the CloudAMQP instance.
|
|
118
|
+
"""
|
|
106
119
|
return pulumi.get(self, "host")
|
|
107
120
|
|
|
108
121
|
@property
|
|
109
122
|
@pulumi.getter(name="hostInternal")
|
|
110
|
-
def host_internal(self) -> str:
|
|
123
|
+
def host_internal(self) -> builtins.str:
|
|
124
|
+
"""
|
|
125
|
+
The internal hostname for the CloudAMQP instance.
|
|
126
|
+
"""
|
|
111
127
|
return pulumi.get(self, "host_internal")
|
|
112
128
|
|
|
113
129
|
@property
|
|
114
130
|
@pulumi.getter
|
|
115
|
-
def id(self) -> str:
|
|
131
|
+
def id(self) -> builtins.str:
|
|
116
132
|
"""
|
|
117
133
|
The provider-assigned unique ID for this managed resource.
|
|
118
134
|
"""
|
|
@@ -120,67 +136,99 @@ class GetInstanceResult:
|
|
|
120
136
|
|
|
121
137
|
@property
|
|
122
138
|
@pulumi.getter(name="instanceId")
|
|
123
|
-
def instance_id(self) -> int:
|
|
139
|
+
def instance_id(self) -> builtins.int:
|
|
124
140
|
return pulumi.get(self, "instance_id")
|
|
125
141
|
|
|
126
142
|
@property
|
|
127
143
|
@pulumi.getter
|
|
128
|
-
def name(self) -> str:
|
|
144
|
+
def name(self) -> builtins.str:
|
|
145
|
+
"""
|
|
146
|
+
The name of the CloudAMQP instance.
|
|
147
|
+
"""
|
|
129
148
|
return pulumi.get(self, "name")
|
|
130
149
|
|
|
131
150
|
@property
|
|
132
151
|
@pulumi.getter(name="noDefaultAlarms")
|
|
133
|
-
def no_default_alarms(self) -> bool:
|
|
152
|
+
def no_default_alarms(self) -> builtins.bool:
|
|
134
153
|
return pulumi.get(self, "no_default_alarms")
|
|
135
154
|
|
|
136
155
|
@property
|
|
137
156
|
@pulumi.getter
|
|
138
|
-
def nodes(self) -> int:
|
|
157
|
+
def nodes(self) -> builtins.int:
|
|
158
|
+
"""
|
|
159
|
+
Number of nodes in the cluster of the CloudAMQP instance.
|
|
160
|
+
"""
|
|
139
161
|
return pulumi.get(self, "nodes")
|
|
140
162
|
|
|
141
163
|
@property
|
|
142
164
|
@pulumi.getter
|
|
143
|
-
def plan(self) -> str:
|
|
165
|
+
def plan(self) -> builtins.str:
|
|
166
|
+
"""
|
|
167
|
+
The subscription plan for the CloudAMQP instance.
|
|
168
|
+
"""
|
|
144
169
|
return pulumi.get(self, "plan")
|
|
145
170
|
|
|
146
171
|
@property
|
|
147
172
|
@pulumi.getter
|
|
148
|
-
def ready(self) -> bool:
|
|
173
|
+
def ready(self) -> builtins.bool:
|
|
149
174
|
return pulumi.get(self, "ready")
|
|
150
175
|
|
|
151
176
|
@property
|
|
152
177
|
@pulumi.getter
|
|
153
|
-
def region(self) -> str:
|
|
178
|
+
def region(self) -> builtins.str:
|
|
179
|
+
"""
|
|
180
|
+
The cloud platform and region that host the CloudAMQP instance,
|
|
181
|
+
`{platform}::{region}`.
|
|
182
|
+
"""
|
|
154
183
|
return pulumi.get(self, "region")
|
|
155
184
|
|
|
156
185
|
@property
|
|
157
186
|
@pulumi.getter(name="rmqVersion")
|
|
158
|
-
def rmq_version(self) -> str:
|
|
187
|
+
def rmq_version(self) -> builtins.str:
|
|
188
|
+
"""
|
|
189
|
+
The version of installed Rabbit MQ.
|
|
190
|
+
"""
|
|
159
191
|
return pulumi.get(self, "rmq_version")
|
|
160
192
|
|
|
161
193
|
@property
|
|
162
194
|
@pulumi.getter
|
|
163
|
-
def tags(self) -> Sequence[str]:
|
|
195
|
+
def tags(self) -> Sequence[builtins.str]:
|
|
196
|
+
"""
|
|
197
|
+
Tags the CloudAMQP instance with categories.
|
|
198
|
+
"""
|
|
164
199
|
return pulumi.get(self, "tags")
|
|
165
200
|
|
|
166
201
|
@property
|
|
167
202
|
@pulumi.getter
|
|
168
|
-
def url(self) -> str:
|
|
203
|
+
def url(self) -> builtins.str:
|
|
204
|
+
"""
|
|
205
|
+
(Sensitive) The AMQP URL (uses the internal hostname if the instance was created
|
|
206
|
+
with VPC), used by clients to connect for pub/sub.
|
|
207
|
+
"""
|
|
169
208
|
return pulumi.get(self, "url")
|
|
170
209
|
|
|
171
210
|
@property
|
|
172
211
|
@pulumi.getter
|
|
173
|
-
def vhost(self) -> str:
|
|
212
|
+
def vhost(self) -> builtins.str:
|
|
213
|
+
"""
|
|
214
|
+
The virtual host configured in Rabbit MQ.
|
|
215
|
+
"""
|
|
174
216
|
return pulumi.get(self, "vhost")
|
|
175
217
|
|
|
176
218
|
@property
|
|
177
219
|
@pulumi.getter(name="vpcId")
|
|
178
|
-
def vpc_id(self) -> int:
|
|
220
|
+
def vpc_id(self) -> builtins.int:
|
|
221
|
+
"""
|
|
222
|
+
ID of the VPC configured for the CloudAMQP instance.
|
|
223
|
+
"""
|
|
179
224
|
return pulumi.get(self, "vpc_id")
|
|
180
225
|
|
|
181
226
|
@property
|
|
182
227
|
@pulumi.getter(name="vpcSubnet")
|
|
183
|
-
def vpc_subnet(self) -> str:
|
|
228
|
+
def vpc_subnet(self) -> builtins.str:
|
|
229
|
+
"""
|
|
230
|
+
Dedicated VPC subnet configured for the CloudAMQP instance.
|
|
231
|
+
"""
|
|
184
232
|
return pulumi.get(self, "vpc_subnet")
|
|
185
233
|
|
|
186
234
|
|
|
@@ -211,13 +259,14 @@ class AwaitableGetInstanceResult(GetInstanceResult):
|
|
|
211
259
|
vpc_subnet=self.vpc_subnet)
|
|
212
260
|
|
|
213
261
|
|
|
214
|
-
def get_instance(instance_id: Optional[int] = None,
|
|
262
|
+
def get_instance(instance_id: Optional[builtins.int] = None,
|
|
215
263
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetInstanceResult:
|
|
216
264
|
"""
|
|
217
|
-
Use this data source to retrieve information about an already created CloudAMQP instance. In order
|
|
265
|
+
Use this data source to retrieve information about an already created CloudAMQP instance. In order
|
|
266
|
+
to retrieve the correct information, the CoudAMQP instance identifier is needed.
|
|
218
267
|
|
|
219
268
|
|
|
220
|
-
:param int instance_id: The CloudAMQP instance identifier.
|
|
269
|
+
:param builtins.int instance_id: The CloudAMQP instance identifier.
|
|
221
270
|
"""
|
|
222
271
|
__args__ = dict()
|
|
223
272
|
__args__['instanceId'] = instance_id
|
|
@@ -244,13 +293,14 @@ def get_instance(instance_id: Optional[int] = None,
|
|
|
244
293
|
vhost=pulumi.get(__ret__, 'vhost'),
|
|
245
294
|
vpc_id=pulumi.get(__ret__, 'vpc_id'),
|
|
246
295
|
vpc_subnet=pulumi.get(__ret__, 'vpc_subnet'))
|
|
247
|
-
def get_instance_output(instance_id: Optional[pulumi.Input[int]] = None,
|
|
296
|
+
def get_instance_output(instance_id: Optional[pulumi.Input[builtins.int]] = None,
|
|
248
297
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetInstanceResult]:
|
|
249
298
|
"""
|
|
250
|
-
Use this data source to retrieve information about an already created CloudAMQP instance. In order
|
|
299
|
+
Use this data source to retrieve information about an already created CloudAMQP instance. In order
|
|
300
|
+
to retrieve the correct information, the CoudAMQP instance identifier is needed.
|
|
251
301
|
|
|
252
302
|
|
|
253
|
-
:param int instance_id: The CloudAMQP instance identifier.
|
|
303
|
+
:param builtins.int instance_id: The CloudAMQP instance identifier.
|
|
254
304
|
"""
|
|
255
305
|
__args__ = dict()
|
|
256
306
|
__args__['instanceId'] = instance_id
|
pulumi_cloudamqp/get_nodes.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
|
|
@@ -40,7 +41,7 @@ class GetNodesResult:
|
|
|
40
41
|
|
|
41
42
|
@property
|
|
42
43
|
@pulumi.getter
|
|
43
|
-
def id(self) -> str:
|
|
44
|
+
def id(self) -> builtins.str:
|
|
44
45
|
"""
|
|
45
46
|
The provider-assigned unique ID for this managed resource.
|
|
46
47
|
"""
|
|
@@ -48,12 +49,15 @@ class GetNodesResult:
|
|
|
48
49
|
|
|
49
50
|
@property
|
|
50
51
|
@pulumi.getter(name="instanceId")
|
|
51
|
-
def instance_id(self) -> int:
|
|
52
|
+
def instance_id(self) -> builtins.int:
|
|
52
53
|
return pulumi.get(self, "instance_id")
|
|
53
54
|
|
|
54
55
|
@property
|
|
55
56
|
@pulumi.getter
|
|
56
57
|
def nodes(self) -> Sequence['outputs.GetNodesNodeResult']:
|
|
58
|
+
"""
|
|
59
|
+
An array of node information. Each `nodes` block consists of the fields documented below.
|
|
60
|
+
"""
|
|
57
61
|
return pulumi.get(self, "nodes")
|
|
58
62
|
|
|
59
63
|
|
|
@@ -68,7 +72,7 @@ class AwaitableGetNodesResult(GetNodesResult):
|
|
|
68
72
|
nodes=self.nodes)
|
|
69
73
|
|
|
70
74
|
|
|
71
|
-
def get_nodes(instance_id: Optional[int] = None,
|
|
75
|
+
def get_nodes(instance_id: Optional[builtins.int] = None,
|
|
72
76
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNodesResult:
|
|
73
77
|
"""
|
|
74
78
|
Use this data source to retrieve information about the node(s) created by CloudAMQP instance.
|
|
@@ -82,37 +86,12 @@ def get_nodes(instance_id: Optional[int] = None,
|
|
|
82
86
|
nodes = cloudamqp.get_nodes(instance_id=instance["id"])
|
|
83
87
|
```
|
|
84
88
|
|
|
85
|
-
## Attributes reference
|
|
86
|
-
|
|
87
|
-
All attributes reference are computed
|
|
88
|
-
|
|
89
|
-
* `id` - The identifier for this resource.
|
|
90
|
-
* `nodes` - An array of node information. Each `nodes` block consists of the fields documented below.
|
|
91
|
-
|
|
92
|
-
***
|
|
93
|
-
|
|
94
|
-
The `nodes` block consist of
|
|
95
|
-
|
|
96
|
-
* `hostname` - External hostname assigned to the node.
|
|
97
|
-
* `hostname_internal` - Internal hostname assigned to the node.
|
|
98
|
-
* `name` - Name of the node.
|
|
99
|
-
* `running` - Is the node running?
|
|
100
|
-
* `rabbitmq_version` - Currently configured Rabbit MQ version on the node.
|
|
101
|
-
* `erlang_version` - Currently used Erlang version on the node.
|
|
102
|
-
* `hipe` - Enable or disable High-performance Erlang.
|
|
103
|
-
* `configured` - Is the node configured?
|
|
104
|
-
* `disk_size` - Subscription plan disk size
|
|
105
|
-
* `additional_disk_size` - Additional added disk size
|
|
106
|
-
* `availability_zone` - Availability zone the node is hosted in.
|
|
107
|
-
|
|
108
|
-
***Note:*** *Total disk size = disk_size + additional_disk_size*
|
|
109
|
-
|
|
110
89
|
## Dependency
|
|
111
90
|
|
|
112
91
|
This data source depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
|
|
113
92
|
|
|
114
93
|
|
|
115
|
-
:param int instance_id: The CloudAMQP instance identifier.
|
|
94
|
+
:param builtins.int instance_id: The CloudAMQP instance identifier.
|
|
116
95
|
"""
|
|
117
96
|
__args__ = dict()
|
|
118
97
|
__args__['instanceId'] = instance_id
|
|
@@ -123,7 +102,7 @@ def get_nodes(instance_id: Optional[int] = None,
|
|
|
123
102
|
id=pulumi.get(__ret__, 'id'),
|
|
124
103
|
instance_id=pulumi.get(__ret__, 'instance_id'),
|
|
125
104
|
nodes=pulumi.get(__ret__, 'nodes'))
|
|
126
|
-
def get_nodes_output(instance_id: Optional[pulumi.Input[int]] = None,
|
|
105
|
+
def get_nodes_output(instance_id: Optional[pulumi.Input[builtins.int]] = None,
|
|
127
106
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetNodesResult]:
|
|
128
107
|
"""
|
|
129
108
|
Use this data source to retrieve information about the node(s) created by CloudAMQP instance.
|
|
@@ -137,37 +116,12 @@ def get_nodes_output(instance_id: Optional[pulumi.Input[int]] = None,
|
|
|
137
116
|
nodes = cloudamqp.get_nodes(instance_id=instance["id"])
|
|
138
117
|
```
|
|
139
118
|
|
|
140
|
-
## Attributes reference
|
|
141
|
-
|
|
142
|
-
All attributes reference are computed
|
|
143
|
-
|
|
144
|
-
* `id` - The identifier for this resource.
|
|
145
|
-
* `nodes` - An array of node information. Each `nodes` block consists of the fields documented below.
|
|
146
|
-
|
|
147
|
-
***
|
|
148
|
-
|
|
149
|
-
The `nodes` block consist of
|
|
150
|
-
|
|
151
|
-
* `hostname` - External hostname assigned to the node.
|
|
152
|
-
* `hostname_internal` - Internal hostname assigned to the node.
|
|
153
|
-
* `name` - Name of the node.
|
|
154
|
-
* `running` - Is the node running?
|
|
155
|
-
* `rabbitmq_version` - Currently configured Rabbit MQ version on the node.
|
|
156
|
-
* `erlang_version` - Currently used Erlang version on the node.
|
|
157
|
-
* `hipe` - Enable or disable High-performance Erlang.
|
|
158
|
-
* `configured` - Is the node configured?
|
|
159
|
-
* `disk_size` - Subscription plan disk size
|
|
160
|
-
* `additional_disk_size` - Additional added disk size
|
|
161
|
-
* `availability_zone` - Availability zone the node is hosted in.
|
|
162
|
-
|
|
163
|
-
***Note:*** *Total disk size = disk_size + additional_disk_size*
|
|
164
|
-
|
|
165
119
|
## Dependency
|
|
166
120
|
|
|
167
121
|
This data source depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
|
|
168
122
|
|
|
169
123
|
|
|
170
|
-
:param int instance_id: The CloudAMQP instance identifier.
|
|
124
|
+
:param builtins.int instance_id: The CloudAMQP instance identifier.
|
|
171
125
|
"""
|
|
172
126
|
__args__ = dict()
|
|
173
127
|
__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
|
|
@@ -51,7 +52,7 @@ class GetNotificationResult:
|
|
|
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,41 @@ class GetNotificationResult:
|
|
|
59
60
|
|
|
60
61
|
@property
|
|
61
62
|
@pulumi.getter(name="instanceId")
|
|
62
|
-
def instance_id(self) -> int:
|
|
63
|
+
def instance_id(self) -> builtins.int:
|
|
63
64
|
return pulumi.get(self, "instance_id")
|
|
64
65
|
|
|
65
66
|
@property
|
|
66
67
|
@pulumi.getter
|
|
67
|
-
def name(self) -> Optional[str]:
|
|
68
|
+
def name(self) -> Optional[builtins.str]:
|
|
68
69
|
return pulumi.get(self, "name")
|
|
69
70
|
|
|
70
71
|
@property
|
|
71
72
|
@pulumi.getter
|
|
72
|
-
def options(self) -> Optional[Mapping[str, str]]:
|
|
73
|
+
def options(self) -> Optional[Mapping[str, builtins.str]]:
|
|
74
|
+
"""
|
|
75
|
+
Options argument (e.g. `rk` used for VictorOps routing key).
|
|
76
|
+
"""
|
|
73
77
|
return pulumi.get(self, "options")
|
|
74
78
|
|
|
75
79
|
@property
|
|
76
80
|
@pulumi.getter(name="recipientId")
|
|
77
|
-
def recipient_id(self) -> Optional[int]:
|
|
81
|
+
def recipient_id(self) -> Optional[builtins.int]:
|
|
78
82
|
return pulumi.get(self, "recipient_id")
|
|
79
83
|
|
|
80
84
|
@property
|
|
81
85
|
@pulumi.getter
|
|
82
|
-
def type(self) -> str:
|
|
86
|
+
def type(self) -> builtins.str:
|
|
87
|
+
"""
|
|
88
|
+
The type of the recipient.
|
|
89
|
+
"""
|
|
83
90
|
return pulumi.get(self, "type")
|
|
84
91
|
|
|
85
92
|
@property
|
|
86
93
|
@pulumi.getter
|
|
87
|
-
def value(self) -> str:
|
|
94
|
+
def value(self) -> builtins.str:
|
|
95
|
+
"""
|
|
96
|
+
The notification endpoint, where to send the notification.
|
|
97
|
+
"""
|
|
88
98
|
return pulumi.get(self, "value")
|
|
89
99
|
|
|
90
100
|
|
|
@@ -103,13 +113,15 @@ class AwaitableGetNotificationResult(GetNotificationResult):
|
|
|
103
113
|
value=self.value)
|
|
104
114
|
|
|
105
115
|
|
|
106
|
-
def get_notification(instance_id: Optional[int] = None,
|
|
107
|
-
name: Optional[str] = None,
|
|
108
|
-
options: Optional[Mapping[str, str]] = None,
|
|
109
|
-
recipient_id: Optional[int] = None,
|
|
116
|
+
def get_notification(instance_id: Optional[builtins.int] = None,
|
|
117
|
+
name: Optional[builtins.str] = None,
|
|
118
|
+
options: Optional[Mapping[str, builtins.str]] = None,
|
|
119
|
+
recipient_id: Optional[builtins.int] = None,
|
|
110
120
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNotificationResult:
|
|
111
121
|
"""
|
|
112
|
-
Use this data source to retrieve information about default or created recipients. The recipient will
|
|
122
|
+
Use this data source to retrieve information about default or created recipients. The recipient will
|
|
123
|
+
receive notifications assigned to an alarm that has triggered. To retrieve the recipient either use
|
|
124
|
+
`recipient_id` or `name`.
|
|
113
125
|
|
|
114
126
|
## Example Usage
|
|
115
127
|
|
|
@@ -121,23 +133,15 @@ def get_notification(instance_id: Optional[int] = None,
|
|
|
121
133
|
name="default")
|
|
122
134
|
```
|
|
123
135
|
|
|
124
|
-
## Attributes reference
|
|
125
|
-
|
|
126
|
-
All attributes reference are computed
|
|
127
|
-
|
|
128
|
-
* `id` - The identifier for this resource.
|
|
129
|
-
* `type` - The type of the recipient.
|
|
130
|
-
* `value` - The notification endpoint, where to send the notification.
|
|
131
|
-
* `options`- Options argument (e.g. `rk` used for VictorOps routing key).
|
|
132
|
-
|
|
133
136
|
## Dependency
|
|
134
137
|
|
|
135
138
|
This data source depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
|
|
136
139
|
|
|
137
140
|
|
|
138
|
-
:param int instance_id: The CloudAMQP instance identifier.
|
|
139
|
-
:param str name: The name set for the recipient.
|
|
140
|
-
:param
|
|
141
|
+
:param builtins.int instance_id: The CloudAMQP instance identifier.
|
|
142
|
+
:param builtins.str name: The name set for the recipient.
|
|
143
|
+
:param Mapping[str, builtins.str] options: Options argument (e.g. `rk` used for VictorOps routing key).
|
|
144
|
+
:param builtins.int recipient_id: The recipient identifier.
|
|
141
145
|
"""
|
|
142
146
|
__args__ = dict()
|
|
143
147
|
__args__['instanceId'] = instance_id
|
|
@@ -155,13 +159,15 @@ def get_notification(instance_id: Optional[int] = None,
|
|
|
155
159
|
recipient_id=pulumi.get(__ret__, 'recipient_id'),
|
|
156
160
|
type=pulumi.get(__ret__, 'type'),
|
|
157
161
|
value=pulumi.get(__ret__, 'value'))
|
|
158
|
-
def get_notification_output(instance_id: Optional[pulumi.Input[int]] = None,
|
|
159
|
-
name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
160
|
-
options: Optional[pulumi.Input[Optional[Mapping[str, str]]]] = None,
|
|
161
|
-
recipient_id: Optional[pulumi.Input[Optional[int]]] = None,
|
|
162
|
+
def get_notification_output(instance_id: Optional[pulumi.Input[builtins.int]] = None,
|
|
163
|
+
name: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
164
|
+
options: Optional[pulumi.Input[Optional[Mapping[str, builtins.str]]]] = None,
|
|
165
|
+
recipient_id: Optional[pulumi.Input[Optional[builtins.int]]] = None,
|
|
162
166
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetNotificationResult]:
|
|
163
167
|
"""
|
|
164
|
-
Use this data source to retrieve information about default or created recipients. The recipient will
|
|
168
|
+
Use this data source to retrieve information about default or created recipients. The recipient will
|
|
169
|
+
receive notifications assigned to an alarm that has triggered. To retrieve the recipient either use
|
|
170
|
+
`recipient_id` or `name`.
|
|
165
171
|
|
|
166
172
|
## Example Usage
|
|
167
173
|
|
|
@@ -173,23 +179,15 @@ def get_notification_output(instance_id: Optional[pulumi.Input[int]] = None,
|
|
|
173
179
|
name="default")
|
|
174
180
|
```
|
|
175
181
|
|
|
176
|
-
## Attributes reference
|
|
177
|
-
|
|
178
|
-
All attributes reference are computed
|
|
179
|
-
|
|
180
|
-
* `id` - The identifier for this resource.
|
|
181
|
-
* `type` - The type of the recipient.
|
|
182
|
-
* `value` - The notification endpoint, where to send the notification.
|
|
183
|
-
* `options`- Options argument (e.g. `rk` used for VictorOps routing key).
|
|
184
|
-
|
|
185
182
|
## Dependency
|
|
186
183
|
|
|
187
184
|
This data source depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
|
|
188
185
|
|
|
189
186
|
|
|
190
|
-
:param int instance_id: The CloudAMQP instance identifier.
|
|
191
|
-
:param str name: The name set for the recipient.
|
|
192
|
-
:param
|
|
187
|
+
:param builtins.int instance_id: The CloudAMQP instance identifier.
|
|
188
|
+
:param builtins.str name: The name set for the recipient.
|
|
189
|
+
:param Mapping[str, builtins.str] options: Options argument (e.g. `rk` used for VictorOps routing key).
|
|
190
|
+
:param builtins.int recipient_id: The recipient identifier.
|
|
193
191
|
"""
|
|
194
192
|
__args__ = dict()
|
|
195
193
|
__args__['instanceId'] = instance_id
|
pulumi_cloudamqp/get_plugins.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
|
|
@@ -46,7 +47,7 @@ class GetPluginsResult:
|
|
|
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,25 @@ class GetPluginsResult:
|
|
|
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.GetPluginsPluginResult']:
|
|
64
|
+
"""
|
|
65
|
+
An array of plugins. Each `plugins` block consists of the fields documented below.
|
|
66
|
+
"""
|
|
63
67
|
return pulumi.get(self, "plugins")
|
|
64
68
|
|
|
65
69
|
@property
|
|
66
70
|
@pulumi.getter
|
|
67
|
-
def sleep(self) -> Optional[int]:
|
|
71
|
+
def sleep(self) -> Optional[builtins.int]:
|
|
68
72
|
return pulumi.get(self, "sleep")
|
|
69
73
|
|
|
70
74
|
@property
|
|
71
75
|
@pulumi.getter
|
|
72
|
-
def timeout(self) -> Optional[int]:
|
|
76
|
+
def timeout(self) -> Optional[builtins.int]:
|
|
73
77
|
return pulumi.get(self, "timeout")
|
|
74
78
|
|
|
75
79
|
|
|
@@ -86,12 +90,13 @@ class AwaitableGetPluginsResult(GetPluginsResult):
|
|
|
86
90
|
timeout=self.timeout)
|
|
87
91
|
|
|
88
92
|
|
|
89
|
-
def get_plugins(instance_id: Optional[int] = None,
|
|
90
|
-
sleep: Optional[int] = None,
|
|
91
|
-
timeout: Optional[int] = None,
|
|
93
|
+
def get_plugins(instance_id: Optional[builtins.int] = None,
|
|
94
|
+
sleep: Optional[builtins.int] = None,
|
|
95
|
+
timeout: Optional[builtins.int] = None,
|
|
92
96
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPluginsResult:
|
|
93
97
|
"""
|
|
94
|
-
Use this data source to retrieve information about installed and available plugins for the CloudAMQP
|
|
98
|
+
Use this data source to retrieve information about installed and available plugins for the CloudAMQP
|
|
99
|
+
instance.
|
|
95
100
|
|
|
96
101
|
## Example Usage
|
|
97
102
|
|
|
@@ -102,32 +107,16 @@ def get_plugins(instance_id: Optional[int] = None,
|
|
|
102
107
|
plugins = cloudamqp.get_plugins(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 plugins. Each `plugins` block consists of the fields documented below.
|
|
111
|
-
* `sleep` - (Optional) Configurable sleep time (seconds) for retries when requesting information
|
|
112
|
-
about 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 plugins. Default set to 1800 seconds. *Available from v1.29.0*
|
|
115
|
-
|
|
116
|
-
***
|
|
117
|
-
|
|
118
|
-
The `plugins` block consist of
|
|
119
|
-
|
|
120
|
-
* `name` - The type of the recipient.
|
|
121
|
-
* `version` - Rabbit MQ version that the plugins are shipped with.
|
|
122
|
-
* `description` - Description of what the plugin does.
|
|
123
|
-
* `enabled` - Enable or disable information for the plugin.
|
|
124
|
-
|
|
125
110
|
## Dependency
|
|
126
111
|
|
|
127
112
|
This data source depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
|
|
128
113
|
|
|
129
114
|
|
|
130
|
-
:param int instance_id: The CloudAMQP instance identifier.
|
|
115
|
+
:param builtins.int instance_id: The CloudAMQP instance identifier.
|
|
116
|
+
:param builtins.int sleep: Configurable sleep time (seconds) for retries when requesting
|
|
117
|
+
information about plugins. Default set to 10 seconds.
|
|
118
|
+
:param builtins.int timeout: Configurable timeout time (seconds) for retries when requesting
|
|
119
|
+
information about plugins. Default set to 1800 seconds.
|
|
131
120
|
"""
|
|
132
121
|
__args__ = dict()
|
|
133
122
|
__args__['instanceId'] = instance_id
|
|
@@ -142,12 +131,13 @@ def get_plugins(instance_id: Optional[int] = None,
|
|
|
142
131
|
plugins=pulumi.get(__ret__, 'plugins'),
|
|
143
132
|
sleep=pulumi.get(__ret__, 'sleep'),
|
|
144
133
|
timeout=pulumi.get(__ret__, 'timeout'))
|
|
145
|
-
def get_plugins_output(instance_id: Optional[pulumi.Input[int]] = None,
|
|
146
|
-
sleep: Optional[pulumi.Input[Optional[int]]] = None,
|
|
147
|
-
timeout: Optional[pulumi.Input[Optional[int]]] = None,
|
|
134
|
+
def get_plugins_output(instance_id: Optional[pulumi.Input[builtins.int]] = None,
|
|
135
|
+
sleep: Optional[pulumi.Input[Optional[builtins.int]]] = None,
|
|
136
|
+
timeout: Optional[pulumi.Input[Optional[builtins.int]]] = None,
|
|
148
137
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetPluginsResult]:
|
|
149
138
|
"""
|
|
150
|
-
Use this data source to retrieve information about installed and available plugins for the CloudAMQP
|
|
139
|
+
Use this data source to retrieve information about installed and available plugins for the CloudAMQP
|
|
140
|
+
instance.
|
|
151
141
|
|
|
152
142
|
## Example Usage
|
|
153
143
|
|
|
@@ -158,32 +148,16 @@ def get_plugins_output(instance_id: Optional[pulumi.Input[int]] = None,
|
|
|
158
148
|
plugins = cloudamqp.get_plugins(instance_id=instance["id"])
|
|
159
149
|
```
|
|
160
150
|
|
|
161
|
-
## Attributes reference
|
|
162
|
-
|
|
163
|
-
All attributes reference are computed
|
|
164
|
-
|
|
165
|
-
* `id` - The identifier for this resource.
|
|
166
|
-
* `plugins` - An array of plugins. Each `plugins` block consists of the fields documented below.
|
|
167
|
-
* `sleep` - (Optional) Configurable sleep time (seconds) for retries when requesting information
|
|
168
|
-
about plugins. Default set to 10 seconds. *Available from v1.29.0*
|
|
169
|
-
* `timeout` - (Optional) - Configurable timeout time (seconds) for retries when requesting
|
|
170
|
-
information about plugins. Default set to 1800 seconds. *Available from v1.29.0*
|
|
171
|
-
|
|
172
|
-
***
|
|
173
|
-
|
|
174
|
-
The `plugins` block consist of
|
|
175
|
-
|
|
176
|
-
* `name` - The type of the recipient.
|
|
177
|
-
* `version` - Rabbit MQ version that the plugins are shipped with.
|
|
178
|
-
* `description` - Description of what the plugin does.
|
|
179
|
-
* `enabled` - Enable or disable information for the plugin.
|
|
180
|
-
|
|
181
151
|
## Dependency
|
|
182
152
|
|
|
183
153
|
This data source depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
|
|
184
154
|
|
|
185
155
|
|
|
186
|
-
:param int instance_id: The CloudAMQP instance identifier.
|
|
156
|
+
:param builtins.int instance_id: The CloudAMQP instance identifier.
|
|
157
|
+
:param builtins.int sleep: Configurable sleep time (seconds) for retries when requesting
|
|
158
|
+
information about plugins. Default set to 10 seconds.
|
|
159
|
+
:param builtins.int timeout: Configurable timeout time (seconds) for retries when requesting
|
|
160
|
+
information about plugins. Default set to 1800 seconds.
|
|
187
161
|
"""
|
|
188
162
|
__args__ = dict()
|
|
189
163
|
__args__['instanceId'] = instance_id
|