pulumi-cloudamqp 3.21.0a1743485311__tar.gz → 3.21.0a1744082841__tar.gz
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-3.21.0a1743485311 → pulumi_cloudamqp-3.21.0a1744082841}/PKG-INFO +1 -1
- {pulumi_cloudamqp-3.21.0a1743485311 → pulumi_cloudamqp-3.21.0a1744082841}/pulumi_cloudamqp/__init__.py +9 -0
- {pulumi_cloudamqp-3.21.0a1743485311 → pulumi_cloudamqp-3.21.0a1744082841}/pulumi_cloudamqp/_inputs.py +28 -9
- {pulumi_cloudamqp-3.21.0a1743485311 → pulumi_cloudamqp-3.21.0a1744082841}/pulumi_cloudamqp/account_action.py +14 -7
- {pulumi_cloudamqp-3.21.0a1743485311 → pulumi_cloudamqp-3.21.0a1744082841}/pulumi_cloudamqp/alarm.py +90 -30
- {pulumi_cloudamqp-3.21.0a1743485311 → pulumi_cloudamqp-3.21.0a1744082841}/pulumi_cloudamqp/custom_domain.py +52 -10
- {pulumi_cloudamqp-3.21.0a1743485311 → pulumi_cloudamqp-3.21.0a1744082841}/pulumi_cloudamqp/extra_disk_size.py +117 -101
- {pulumi_cloudamqp-3.21.0a1743485311 → pulumi_cloudamqp-3.21.0a1744082841}/pulumi_cloudamqp/get_account.py +8 -2
- {pulumi_cloudamqp-3.21.0a1743485311 → pulumi_cloudamqp-3.21.0a1744082841}/pulumi_cloudamqp/get_account_vpcs.py +13 -40
- {pulumi_cloudamqp-3.21.0a1743485311 → pulumi_cloudamqp-3.21.0a1744082841}/pulumi_cloudamqp/get_alarm.py +50 -44
- {pulumi_cloudamqp-3.21.0a1743485311 → pulumi_cloudamqp-3.21.0a1744082841}/pulumi_cloudamqp/get_credentials.py +10 -18
- {pulumi_cloudamqp-3.21.0a1743485311 → pulumi_cloudamqp-3.21.0a1744082841}/pulumi_cloudamqp/get_instance.py +51 -2
- {pulumi_cloudamqp-3.21.0a1743485311 → pulumi_cloudamqp-3.21.0a1744082841}/pulumi_cloudamqp/get_nodes.py +3 -50
- {pulumi_cloudamqp-3.21.0a1743485311 → pulumi_cloudamqp-3.21.0a1744082841}/pulumi_cloudamqp/get_notification.py +17 -20
- {pulumi_cloudamqp-3.21.0a1743485311 → pulumi_cloudamqp-3.21.0a1744082841}/pulumi_cloudamqp/get_plugins.py +15 -42
- {pulumi_cloudamqp-3.21.0a1743485311 → pulumi_cloudamqp-3.21.0a1744082841}/pulumi_cloudamqp/get_plugins_community.py +16 -40
- {pulumi_cloudamqp-3.21.0a1743485311 → pulumi_cloudamqp-3.21.0a1744082841}/pulumi_cloudamqp/get_upgradable_versions.py +10 -16
- {pulumi_cloudamqp-3.21.0a1743485311 → pulumi_cloudamqp-3.21.0a1744082841}/pulumi_cloudamqp/get_vpc_gcp_info.py +23 -118
- {pulumi_cloudamqp-3.21.0a1743485311 → pulumi_cloudamqp-3.21.0a1744082841}/pulumi_cloudamqp/get_vpc_info.py +18 -112
- {pulumi_cloudamqp-3.21.0a1743485311 → pulumi_cloudamqp-3.21.0a1744082841}/pulumi_cloudamqp/instance.py +400 -177
- {pulumi_cloudamqp-3.21.0a1743485311 → pulumi_cloudamqp-3.21.0a1744082841}/pulumi_cloudamqp/integration_aws_eventbridge.py +90 -26
- {pulumi_cloudamqp-3.21.0a1743485311 → pulumi_cloudamqp-3.21.0a1744082841}/pulumi_cloudamqp/integration_log.py +135 -50
- {pulumi_cloudamqp-3.21.0a1743485311 → pulumi_cloudamqp-3.21.0a1744082841}/pulumi_cloudamqp/integration_metric.py +50 -2
- pulumi_cloudamqp-3.21.0a1744082841/pulumi_cloudamqp/maintenance_window.py +515 -0
- {pulumi_cloudamqp-3.21.0a1743485311 → pulumi_cloudamqp-3.21.0a1744082841}/pulumi_cloudamqp/node_actions.py +32 -10
- {pulumi_cloudamqp-3.21.0a1743485311 → pulumi_cloudamqp-3.21.0a1744082841}/pulumi_cloudamqp/notification.py +103 -22
- {pulumi_cloudamqp-3.21.0a1743485311 → pulumi_cloudamqp-3.21.0a1744082841}/pulumi_cloudamqp/outputs.py +118 -28
- {pulumi_cloudamqp-3.21.0a1743485311 → pulumi_cloudamqp-3.21.0a1744082841}/pulumi_cloudamqp/plugin.py +89 -25
- {pulumi_cloudamqp-3.21.0a1743485311 → pulumi_cloudamqp-3.21.0a1744082841}/pulumi_cloudamqp/plugin_community.py +87 -27
- {pulumi_cloudamqp-3.21.0a1743485311 → pulumi_cloudamqp-3.21.0a1744082841}/pulumi_cloudamqp/privatelink_aws.py +62 -270
- {pulumi_cloudamqp-3.21.0a1743485311 → pulumi_cloudamqp-3.21.0a1744082841}/pulumi_cloudamqp/privatelink_azure.py +64 -268
- {pulumi_cloudamqp-3.21.0a1743485311 → pulumi_cloudamqp-3.21.0a1744082841}/pulumi_cloudamqp/pulumi-plugin.json +1 -1
- {pulumi_cloudamqp-3.21.0a1743485311 → pulumi_cloudamqp-3.21.0a1744082841}/pulumi_cloudamqp/rabbit_configuration.py +209 -86
- {pulumi_cloudamqp-3.21.0a1743485311 → pulumi_cloudamqp-3.21.0a1744082841}/pulumi_cloudamqp/security_firewall.py +76 -23
- {pulumi_cloudamqp-3.21.0a1743485311 → pulumi_cloudamqp-3.21.0a1744082841}/pulumi_cloudamqp/upgrade_lavinmq.py +0 -74
- pulumi_cloudamqp-3.21.0a1744082841/pulumi_cloudamqp/upgrade_rabbitmq.py +256 -0
- {pulumi_cloudamqp-3.21.0a1743485311 → pulumi_cloudamqp-3.21.0a1744082841}/pulumi_cloudamqp/vpc.py +48 -16
- pulumi_cloudamqp-3.21.0a1744082841/pulumi_cloudamqp/vpc_connect.py +660 -0
- pulumi_cloudamqp-3.21.0a1744082841/pulumi_cloudamqp/vpc_gcp_peering.py +588 -0
- {pulumi_cloudamqp-3.21.0a1743485311 → pulumi_cloudamqp-3.21.0a1744082841}/pulumi_cloudamqp/vpc_peering.py +50 -36
- {pulumi_cloudamqp-3.21.0a1743485311 → pulumi_cloudamqp-3.21.0a1744082841}/pulumi_cloudamqp/webhook.py +48 -9
- {pulumi_cloudamqp-3.21.0a1743485311 → pulumi_cloudamqp-3.21.0a1744082841}/pulumi_cloudamqp.egg-info/PKG-INFO +1 -1
- {pulumi_cloudamqp-3.21.0a1743485311 → pulumi_cloudamqp-3.21.0a1744082841}/pulumi_cloudamqp.egg-info/SOURCES.txt +1 -0
- {pulumi_cloudamqp-3.21.0a1743485311 → pulumi_cloudamqp-3.21.0a1744082841}/pyproject.toml +1 -1
- pulumi_cloudamqp-3.21.0a1743485311/pulumi_cloudamqp/upgrade_rabbitmq.py +0 -503
- pulumi_cloudamqp-3.21.0a1743485311/pulumi_cloudamqp/vpc_connect.py +0 -1048
- pulumi_cloudamqp-3.21.0a1743485311/pulumi_cloudamqp/vpc_gcp_peering.py +0 -953
- {pulumi_cloudamqp-3.21.0a1743485311 → pulumi_cloudamqp-3.21.0a1744082841}/README.md +0 -0
- {pulumi_cloudamqp-3.21.0a1743485311 → pulumi_cloudamqp-3.21.0a1744082841}/pulumi_cloudamqp/_utilities.py +0 -0
- {pulumi_cloudamqp-3.21.0a1743485311 → pulumi_cloudamqp-3.21.0a1744082841}/pulumi_cloudamqp/config/__init__.py +0 -0
- {pulumi_cloudamqp-3.21.0a1743485311 → pulumi_cloudamqp-3.21.0a1744082841}/pulumi_cloudamqp/config/__init__.pyi +0 -0
- {pulumi_cloudamqp-3.21.0a1743485311 → pulumi_cloudamqp-3.21.0a1744082841}/pulumi_cloudamqp/config/vars.py +0 -0
- {pulumi_cloudamqp-3.21.0a1743485311 → pulumi_cloudamqp-3.21.0a1744082841}/pulumi_cloudamqp/provider.py +0 -0
- {pulumi_cloudamqp-3.21.0a1743485311 → pulumi_cloudamqp-3.21.0a1744082841}/pulumi_cloudamqp/py.typed +0 -0
- {pulumi_cloudamqp-3.21.0a1743485311 → pulumi_cloudamqp-3.21.0a1744082841}/pulumi_cloudamqp.egg-info/dependency_links.txt +0 -0
- {pulumi_cloudamqp-3.21.0a1743485311 → pulumi_cloudamqp-3.21.0a1744082841}/pulumi_cloudamqp.egg-info/requires.txt +0 -0
- {pulumi_cloudamqp-3.21.0a1743485311 → pulumi_cloudamqp-3.21.0a1744082841}/pulumi_cloudamqp.egg-info/top_level.txt +0 -0
- {pulumi_cloudamqp-3.21.0a1743485311 → pulumi_cloudamqp-3.21.0a1744082841}/setup.cfg +0 -0
|
@@ -25,6 +25,7 @@ from .instance import *
|
|
|
25
25
|
from .integration_aws_eventbridge import *
|
|
26
26
|
from .integration_log import *
|
|
27
27
|
from .integration_metric import *
|
|
28
|
+
from .maintenance_window import *
|
|
28
29
|
from .node_actions import *
|
|
29
30
|
from .notification import *
|
|
30
31
|
from .plugin import *
|
|
@@ -118,6 +119,14 @@ _utilities.register(
|
|
|
118
119
|
"cloudamqp:index/integrationMetric:IntegrationMetric": "IntegrationMetric"
|
|
119
120
|
}
|
|
120
121
|
},
|
|
122
|
+
{
|
|
123
|
+
"pkg": "cloudamqp",
|
|
124
|
+
"mod": "index/maintenanceWindow",
|
|
125
|
+
"fqn": "pulumi_cloudamqp",
|
|
126
|
+
"classes": {
|
|
127
|
+
"cloudamqp:index/maintenanceWindow:MaintenanceWindow": "MaintenanceWindow"
|
|
128
|
+
}
|
|
129
|
+
},
|
|
121
130
|
{
|
|
122
131
|
"pkg": "cloudamqp",
|
|
123
132
|
"mod": "index/nodeActions",
|
|
@@ -38,6 +38,9 @@ if not MYPY:
|
|
|
38
38
|
Subscription plan disk size
|
|
39
39
|
"""
|
|
40
40
|
name: NotRequired[pulumi.Input[str]]
|
|
41
|
+
"""
|
|
42
|
+
Name of the node.
|
|
43
|
+
"""
|
|
41
44
|
elif False:
|
|
42
45
|
ExtraDiskSizeNodeArgsDict: TypeAlias = Mapping[str, Any]
|
|
43
46
|
|
|
@@ -50,6 +53,7 @@ class ExtraDiskSizeNodeArgs:
|
|
|
50
53
|
"""
|
|
51
54
|
:param pulumi.Input[int] additional_disk_size: Additional added disk size
|
|
52
55
|
:param pulumi.Input[int] disk_size: Subscription plan disk size
|
|
56
|
+
:param pulumi.Input[str] name: Name of the node.
|
|
53
57
|
"""
|
|
54
58
|
if additional_disk_size is not None:
|
|
55
59
|
pulumi.set(__self__, "additional_disk_size", additional_disk_size)
|
|
@@ -85,6 +89,9 @@ class ExtraDiskSizeNodeArgs:
|
|
|
85
89
|
@property
|
|
86
90
|
@pulumi.getter
|
|
87
91
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
92
|
+
"""
|
|
93
|
+
Name of the node.
|
|
94
|
+
"""
|
|
88
95
|
return pulumi.get(self, "name")
|
|
89
96
|
|
|
90
97
|
@name.setter
|
|
@@ -96,13 +103,15 @@ if not MYPY:
|
|
|
96
103
|
class InstanceCopySettingArgsDict(TypedDict):
|
|
97
104
|
settings: pulumi.Input[Sequence[pulumi.Input[str]]]
|
|
98
105
|
"""
|
|
99
|
-
Array of one or more settings to be copied. Allowed values:
|
|
106
|
+
Array of one or more settings to be copied. Allowed values:
|
|
107
|
+
[alarms, config, definitions, firewall, logs, metrics, plugins]
|
|
100
108
|
|
|
101
|
-
See more below, copy settings
|
|
109
|
+
See more below, [copy settings].
|
|
102
110
|
"""
|
|
103
111
|
subscription_id: pulumi.Input[str]
|
|
104
112
|
"""
|
|
105
|
-
Instance identifier of the CloudAMQP instance to copy the settings
|
|
113
|
+
Instance identifier of the CloudAMQP instance to copy the settings
|
|
114
|
+
from.
|
|
106
115
|
"""
|
|
107
116
|
elif False:
|
|
108
117
|
InstanceCopySettingArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -113,10 +122,12 @@ class InstanceCopySettingArgs:
|
|
|
113
122
|
settings: pulumi.Input[Sequence[pulumi.Input[str]]],
|
|
114
123
|
subscription_id: pulumi.Input[str]):
|
|
115
124
|
"""
|
|
116
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] settings: Array of one or more settings to be copied. Allowed values:
|
|
125
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] settings: Array of one or more settings to be copied. Allowed values:
|
|
126
|
+
[alarms, config, definitions, firewall, logs, metrics, plugins]
|
|
117
127
|
|
|
118
|
-
See more below, copy settings
|
|
119
|
-
:param pulumi.Input[str] subscription_id: Instance identifier of the CloudAMQP instance to copy the settings
|
|
128
|
+
See more below, [copy settings].
|
|
129
|
+
:param pulumi.Input[str] subscription_id: Instance identifier of the CloudAMQP instance to copy the settings
|
|
130
|
+
from.
|
|
120
131
|
"""
|
|
121
132
|
pulumi.set(__self__, "settings", settings)
|
|
122
133
|
pulumi.set(__self__, "subscription_id", subscription_id)
|
|
@@ -125,9 +136,10 @@ class InstanceCopySettingArgs:
|
|
|
125
136
|
@pulumi.getter
|
|
126
137
|
def settings(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
|
|
127
138
|
"""
|
|
128
|
-
Array of one or more settings to be copied. Allowed values:
|
|
139
|
+
Array of one or more settings to be copied. Allowed values:
|
|
140
|
+
[alarms, config, definitions, firewall, logs, metrics, plugins]
|
|
129
141
|
|
|
130
|
-
See more below, copy settings
|
|
142
|
+
See more below, [copy settings].
|
|
131
143
|
"""
|
|
132
144
|
return pulumi.get(self, "settings")
|
|
133
145
|
|
|
@@ -139,7 +151,8 @@ class InstanceCopySettingArgs:
|
|
|
139
151
|
@pulumi.getter(name="subscriptionId")
|
|
140
152
|
def subscription_id(self) -> pulumi.Input[str]:
|
|
141
153
|
"""
|
|
142
|
-
Instance identifier of the CloudAMQP instance to copy the settings
|
|
154
|
+
Instance identifier of the CloudAMQP instance to copy the settings
|
|
155
|
+
from.
|
|
143
156
|
"""
|
|
144
157
|
return pulumi.get(self, "subscription_id")
|
|
145
158
|
|
|
@@ -279,6 +292,8 @@ if not MYPY:
|
|
|
279
292
|
| AMQP | 5672 |
|
|
280
293
|
| AMQPS | 5671 |
|
|
281
294
|
| HTTPS | 443 |
|
|
295
|
+
| MQTT | 1883 |
|
|
296
|
+
| MQTTS | 8883 |
|
|
282
297
|
"""
|
|
283
298
|
ports: NotRequired[pulumi.Input[Sequence[pulumi.Input[int]]]]
|
|
284
299
|
"""
|
|
@@ -323,6 +338,8 @@ class SecurityFirewallRuleArgs:
|
|
|
323
338
|
| AMQP | 5672 |
|
|
324
339
|
| AMQPS | 5671 |
|
|
325
340
|
| HTTPS | 443 |
|
|
341
|
+
| MQTT | 1883 |
|
|
342
|
+
| MQTTS | 8883 |
|
|
326
343
|
:param pulumi.Input[Sequence[pulumi.Input[int]]] ports: Custom ports to be opened
|
|
327
344
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] services: Pre-defined service ports, see table below
|
|
328
345
|
"""
|
|
@@ -373,6 +390,8 @@ class SecurityFirewallRuleArgs:
|
|
|
373
390
|
| AMQP | 5672 |
|
|
374
391
|
| AMQPS | 5671 |
|
|
375
392
|
| HTTPS | 443 |
|
|
393
|
+
| MQTT | 1883 |
|
|
394
|
+
| MQTTS | 8883 |
|
|
376
395
|
"""
|
|
377
396
|
return pulumi.get(self, "description")
|
|
378
397
|
|
|
@@ -23,7 +23,8 @@ class AccountActionArgs:
|
|
|
23
23
|
instance_id: pulumi.Input[int]):
|
|
24
24
|
"""
|
|
25
25
|
The set of arguments for constructing a AccountAction resource.
|
|
26
|
-
:param pulumi.Input[str] action: The action to be invoked. Allowed actions
|
|
26
|
+
:param pulumi.Input[str] action: The action to be invoked. Allowed actions
|
|
27
|
+
`rotate-password`, `rotate-apikey`.
|
|
27
28
|
:param pulumi.Input[int] instance_id: The CloudAMQP instance ID.
|
|
28
29
|
"""
|
|
29
30
|
pulumi.set(__self__, "action", action)
|
|
@@ -33,7 +34,8 @@ class AccountActionArgs:
|
|
|
33
34
|
@pulumi.getter
|
|
34
35
|
def action(self) -> pulumi.Input[str]:
|
|
35
36
|
"""
|
|
36
|
-
The action to be invoked. Allowed actions
|
|
37
|
+
The action to be invoked. Allowed actions
|
|
38
|
+
`rotate-password`, `rotate-apikey`.
|
|
37
39
|
"""
|
|
38
40
|
return pulumi.get(self, "action")
|
|
39
41
|
|
|
@@ -61,7 +63,8 @@ class _AccountActionState:
|
|
|
61
63
|
instance_id: Optional[pulumi.Input[int]] = None):
|
|
62
64
|
"""
|
|
63
65
|
Input properties used for looking up and filtering AccountAction resources.
|
|
64
|
-
:param pulumi.Input[str] action: The action to be invoked. Allowed actions
|
|
66
|
+
:param pulumi.Input[str] action: The action to be invoked. Allowed actions
|
|
67
|
+
`rotate-password`, `rotate-apikey`.
|
|
65
68
|
:param pulumi.Input[int] instance_id: The CloudAMQP instance ID.
|
|
66
69
|
"""
|
|
67
70
|
if action is not None:
|
|
@@ -73,7 +76,8 @@ class _AccountActionState:
|
|
|
73
76
|
@pulumi.getter
|
|
74
77
|
def action(self) -> Optional[pulumi.Input[str]]:
|
|
75
78
|
"""
|
|
76
|
-
The action to be invoked. Allowed actions
|
|
79
|
+
The action to be invoked. Allowed actions
|
|
80
|
+
`rotate-password`, `rotate-apikey`.
|
|
77
81
|
"""
|
|
78
82
|
return pulumi.get(self, "action")
|
|
79
83
|
|
|
@@ -109,7 +113,8 @@ class AccountAction(pulumi.CustomResource):
|
|
|
109
113
|
|
|
110
114
|
:param str resource_name: The name of the resource.
|
|
111
115
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
112
|
-
:param pulumi.Input[str] action: The action to be invoked. Allowed actions
|
|
116
|
+
:param pulumi.Input[str] action: The action to be invoked. Allowed actions
|
|
117
|
+
`rotate-password`, `rotate-apikey`.
|
|
113
118
|
:param pulumi.Input[int] instance_id: The CloudAMQP instance ID.
|
|
114
119
|
"""
|
|
115
120
|
...
|
|
@@ -174,7 +179,8 @@ class AccountAction(pulumi.CustomResource):
|
|
|
174
179
|
:param str resource_name: The unique name of the resulting resource.
|
|
175
180
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
176
181
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
177
|
-
:param pulumi.Input[str] action: The action to be invoked. Allowed actions
|
|
182
|
+
:param pulumi.Input[str] action: The action to be invoked. Allowed actions
|
|
183
|
+
`rotate-password`, `rotate-apikey`.
|
|
178
184
|
:param pulumi.Input[int] instance_id: The CloudAMQP instance ID.
|
|
179
185
|
"""
|
|
180
186
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -189,7 +195,8 @@ class AccountAction(pulumi.CustomResource):
|
|
|
189
195
|
@pulumi.getter
|
|
190
196
|
def action(self) -> pulumi.Output[str]:
|
|
191
197
|
"""
|
|
192
|
-
The action to be invoked. Allowed actions
|
|
198
|
+
The action to be invoked. Allowed actions
|
|
199
|
+
`rotate-password`, `rotate-apikey`.
|
|
193
200
|
"""
|
|
194
201
|
return pulumi.get(self, "action")
|
|
195
202
|
|
{pulumi_cloudamqp-3.21.0a1743485311 → pulumi_cloudamqp-3.21.0a1744082841}/pulumi_cloudamqp/alarm.py
RENAMED
|
@@ -34,15 +34,19 @@ class AlarmArgs:
|
|
|
34
34
|
The set of arguments for constructing a Alarm resource.
|
|
35
35
|
:param pulumi.Input[bool] enabled: Enable or disable the alarm to trigger.
|
|
36
36
|
:param pulumi.Input[int] instance_id: The CloudAMQP instance ID.
|
|
37
|
-
:param pulumi.Input[Sequence[pulumi.Input[int]]] recipients: Identifier for recipient to be notified. Leave empty to notify
|
|
37
|
+
:param pulumi.Input[Sequence[pulumi.Input[int]]] recipients: Identifier for recipient to be notified. Leave empty to notify
|
|
38
|
+
all recipients.
|
|
38
39
|
:param pulumi.Input[str] type: The alarm type, see valid options below.
|
|
39
40
|
:param pulumi.Input[str] message_type: Message type `(total, unacked, ready)` used by queue alarm type.
|
|
40
41
|
|
|
41
42
|
Specific argument for `disk` alarm
|
|
42
43
|
:param pulumi.Input[str] queue_regex: Regex for which queue to check.
|
|
43
|
-
:param pulumi.Input[int] reminder_interval: The reminder interval (in seconds) to resend the alarm if not
|
|
44
|
-
|
|
45
|
-
:param pulumi.Input[
|
|
44
|
+
:param pulumi.Input[int] reminder_interval: The reminder interval (in seconds) to resend the alarm if not
|
|
45
|
+
resolved. Set to 0 for no reminders. The Default is 0.
|
|
46
|
+
:param pulumi.Input[int] time_threshold: The time interval (in seconds) the `value_threshold` should be
|
|
47
|
+
active before triggering an alarm.
|
|
48
|
+
:param pulumi.Input[str] value_calculation: Disk value threshold calculation, `fixed, percentage` of disk
|
|
49
|
+
space remaining.
|
|
46
50
|
|
|
47
51
|
Based on alarm type, different arguments are flagged as required or optional.
|
|
48
52
|
:param pulumi.Input[int] value_threshold: The value to trigger the alarm for.
|
|
@@ -95,7 +99,8 @@ class AlarmArgs:
|
|
|
95
99
|
@pulumi.getter
|
|
96
100
|
def recipients(self) -> pulumi.Input[Sequence[pulumi.Input[int]]]:
|
|
97
101
|
"""
|
|
98
|
-
Identifier for recipient to be notified. Leave empty to notify
|
|
102
|
+
Identifier for recipient to be notified. Leave empty to notify
|
|
103
|
+
all recipients.
|
|
99
104
|
"""
|
|
100
105
|
return pulumi.get(self, "recipients")
|
|
101
106
|
|
|
@@ -145,7 +150,8 @@ class AlarmArgs:
|
|
|
145
150
|
@pulumi.getter(name="reminderInterval")
|
|
146
151
|
def reminder_interval(self) -> Optional[pulumi.Input[int]]:
|
|
147
152
|
"""
|
|
148
|
-
The reminder interval (in seconds) to resend the alarm if not
|
|
153
|
+
The reminder interval (in seconds) to resend the alarm if not
|
|
154
|
+
resolved. Set to 0 for no reminders. The Default is 0.
|
|
149
155
|
"""
|
|
150
156
|
return pulumi.get(self, "reminder_interval")
|
|
151
157
|
|
|
@@ -157,7 +163,8 @@ class AlarmArgs:
|
|
|
157
163
|
@pulumi.getter(name="timeThreshold")
|
|
158
164
|
def time_threshold(self) -> Optional[pulumi.Input[int]]:
|
|
159
165
|
"""
|
|
160
|
-
The time interval (in seconds) the `value_threshold` should be
|
|
166
|
+
The time interval (in seconds) the `value_threshold` should be
|
|
167
|
+
active before triggering an alarm.
|
|
161
168
|
"""
|
|
162
169
|
return pulumi.get(self, "time_threshold")
|
|
163
170
|
|
|
@@ -169,7 +176,8 @@ class AlarmArgs:
|
|
|
169
176
|
@pulumi.getter(name="valueCalculation")
|
|
170
177
|
def value_calculation(self) -> Optional[pulumi.Input[str]]:
|
|
171
178
|
"""
|
|
172
|
-
Disk value threshold calculation, `fixed, percentage` of disk
|
|
179
|
+
Disk value threshold calculation, `fixed, percentage` of disk
|
|
180
|
+
space remaining.
|
|
173
181
|
|
|
174
182
|
Based on alarm type, different arguments are flagged as required or optional.
|
|
175
183
|
"""
|
|
@@ -226,11 +234,15 @@ class _AlarmState:
|
|
|
226
234
|
|
|
227
235
|
Specific argument for `disk` alarm
|
|
228
236
|
:param pulumi.Input[str] queue_regex: Regex for which queue to check.
|
|
229
|
-
:param pulumi.Input[Sequence[pulumi.Input[int]]] recipients: Identifier for recipient to be notified. Leave empty to notify
|
|
230
|
-
|
|
231
|
-
:param pulumi.Input[int]
|
|
237
|
+
:param pulumi.Input[Sequence[pulumi.Input[int]]] recipients: Identifier for recipient to be notified. Leave empty to notify
|
|
238
|
+
all recipients.
|
|
239
|
+
:param pulumi.Input[int] reminder_interval: The reminder interval (in seconds) to resend the alarm if not
|
|
240
|
+
resolved. Set to 0 for no reminders. The Default is 0.
|
|
241
|
+
:param pulumi.Input[int] time_threshold: The time interval (in seconds) the `value_threshold` should be
|
|
242
|
+
active before triggering an alarm.
|
|
232
243
|
:param pulumi.Input[str] type: The alarm type, see valid options below.
|
|
233
|
-
:param pulumi.Input[str] value_calculation: Disk value threshold calculation, `fixed, percentage` of disk
|
|
244
|
+
:param pulumi.Input[str] value_calculation: Disk value threshold calculation, `fixed, percentage` of disk
|
|
245
|
+
space remaining.
|
|
234
246
|
|
|
235
247
|
Based on alarm type, different arguments are flagged as required or optional.
|
|
236
248
|
:param pulumi.Input[int] value_threshold: The value to trigger the alarm for.
|
|
@@ -313,7 +325,8 @@ class _AlarmState:
|
|
|
313
325
|
@pulumi.getter
|
|
314
326
|
def recipients(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[int]]]]:
|
|
315
327
|
"""
|
|
316
|
-
Identifier for recipient to be notified. Leave empty to notify
|
|
328
|
+
Identifier for recipient to be notified. Leave empty to notify
|
|
329
|
+
all recipients.
|
|
317
330
|
"""
|
|
318
331
|
return pulumi.get(self, "recipients")
|
|
319
332
|
|
|
@@ -325,7 +338,8 @@ class _AlarmState:
|
|
|
325
338
|
@pulumi.getter(name="reminderInterval")
|
|
326
339
|
def reminder_interval(self) -> Optional[pulumi.Input[int]]:
|
|
327
340
|
"""
|
|
328
|
-
The reminder interval (in seconds) to resend the alarm if not
|
|
341
|
+
The reminder interval (in seconds) to resend the alarm if not
|
|
342
|
+
resolved. Set to 0 for no reminders. The Default is 0.
|
|
329
343
|
"""
|
|
330
344
|
return pulumi.get(self, "reminder_interval")
|
|
331
345
|
|
|
@@ -337,7 +351,8 @@ class _AlarmState:
|
|
|
337
351
|
@pulumi.getter(name="timeThreshold")
|
|
338
352
|
def time_threshold(self) -> Optional[pulumi.Input[int]]:
|
|
339
353
|
"""
|
|
340
|
-
The time interval (in seconds) the `value_threshold` should be
|
|
354
|
+
The time interval (in seconds) the `value_threshold` should be
|
|
355
|
+
active before triggering an alarm.
|
|
341
356
|
"""
|
|
342
357
|
return pulumi.get(self, "time_threshold")
|
|
343
358
|
|
|
@@ -361,7 +376,8 @@ class _AlarmState:
|
|
|
361
376
|
@pulumi.getter(name="valueCalculation")
|
|
362
377
|
def value_calculation(self) -> Optional[pulumi.Input[str]]:
|
|
363
378
|
"""
|
|
364
|
-
Disk value threshold calculation, `fixed, percentage` of disk
|
|
379
|
+
Disk value threshold calculation, `fixed, percentage` of disk
|
|
380
|
+
space remaining.
|
|
365
381
|
|
|
366
382
|
Based on alarm type, different arguments are flagged as required or optional.
|
|
367
383
|
"""
|
|
@@ -416,7 +432,23 @@ class Alarm(pulumi.CustomResource):
|
|
|
416
432
|
"""
|
|
417
433
|
## Import
|
|
418
434
|
|
|
419
|
-
`cloudamqp_alarm` can be imported using
|
|
435
|
+
`cloudamqp_alarm` can be imported using the resource identifier together with the CloudAMQP instance
|
|
436
|
+
|
|
437
|
+
identifier (CSV separated). To retrieve the resource identifier, use [CloudAMQP API list alarms].
|
|
438
|
+
|
|
439
|
+
From Terraform v1.5.0, the `import` block can be used to import this resource:
|
|
440
|
+
|
|
441
|
+
hcl
|
|
442
|
+
|
|
443
|
+
import {
|
|
444
|
+
|
|
445
|
+
to = cloudamqp_alarm.alarm
|
|
446
|
+
|
|
447
|
+
id = format("<id>,%s", cloudamqp_instance.instance.id)
|
|
448
|
+
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
Or use Terraform CLI:
|
|
420
452
|
|
|
421
453
|
```sh
|
|
422
454
|
$ pulumi import cloudamqp:index/alarm:Alarm alarm <id>,<instance_id>`
|
|
@@ -430,11 +462,15 @@ class Alarm(pulumi.CustomResource):
|
|
|
430
462
|
|
|
431
463
|
Specific argument for `disk` alarm
|
|
432
464
|
:param pulumi.Input[str] queue_regex: Regex for which queue to check.
|
|
433
|
-
:param pulumi.Input[Sequence[pulumi.Input[int]]] recipients: Identifier for recipient to be notified. Leave empty to notify
|
|
434
|
-
|
|
435
|
-
:param pulumi.Input[int]
|
|
465
|
+
:param pulumi.Input[Sequence[pulumi.Input[int]]] recipients: Identifier for recipient to be notified. Leave empty to notify
|
|
466
|
+
all recipients.
|
|
467
|
+
:param pulumi.Input[int] reminder_interval: The reminder interval (in seconds) to resend the alarm if not
|
|
468
|
+
resolved. Set to 0 for no reminders. The Default is 0.
|
|
469
|
+
:param pulumi.Input[int] time_threshold: The time interval (in seconds) the `value_threshold` should be
|
|
470
|
+
active before triggering an alarm.
|
|
436
471
|
:param pulumi.Input[str] type: The alarm type, see valid options below.
|
|
437
|
-
:param pulumi.Input[str] value_calculation: Disk value threshold calculation, `fixed, percentage` of disk
|
|
472
|
+
:param pulumi.Input[str] value_calculation: Disk value threshold calculation, `fixed, percentage` of disk
|
|
473
|
+
space remaining.
|
|
438
474
|
|
|
439
475
|
Based on alarm type, different arguments are flagged as required or optional.
|
|
440
476
|
:param pulumi.Input[int] value_threshold: The value to trigger the alarm for.
|
|
@@ -449,7 +485,23 @@ class Alarm(pulumi.CustomResource):
|
|
|
449
485
|
"""
|
|
450
486
|
## Import
|
|
451
487
|
|
|
452
|
-
`cloudamqp_alarm` can be imported using
|
|
488
|
+
`cloudamqp_alarm` can be imported using the resource identifier together with the CloudAMQP instance
|
|
489
|
+
|
|
490
|
+
identifier (CSV separated). To retrieve the resource identifier, use [CloudAMQP API list alarms].
|
|
491
|
+
|
|
492
|
+
From Terraform v1.5.0, the `import` block can be used to import this resource:
|
|
493
|
+
|
|
494
|
+
hcl
|
|
495
|
+
|
|
496
|
+
import {
|
|
497
|
+
|
|
498
|
+
to = cloudamqp_alarm.alarm
|
|
499
|
+
|
|
500
|
+
id = format("<id>,%s", cloudamqp_instance.instance.id)
|
|
501
|
+
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
Or use Terraform CLI:
|
|
453
505
|
|
|
454
506
|
```sh
|
|
455
507
|
$ pulumi import cloudamqp:index/alarm:Alarm alarm <id>,<instance_id>`
|
|
@@ -543,11 +595,15 @@ class Alarm(pulumi.CustomResource):
|
|
|
543
595
|
|
|
544
596
|
Specific argument for `disk` alarm
|
|
545
597
|
:param pulumi.Input[str] queue_regex: Regex for which queue to check.
|
|
546
|
-
:param pulumi.Input[Sequence[pulumi.Input[int]]] recipients: Identifier for recipient to be notified. Leave empty to notify
|
|
547
|
-
|
|
548
|
-
:param pulumi.Input[int]
|
|
598
|
+
:param pulumi.Input[Sequence[pulumi.Input[int]]] recipients: Identifier for recipient to be notified. Leave empty to notify
|
|
599
|
+
all recipients.
|
|
600
|
+
:param pulumi.Input[int] reminder_interval: The reminder interval (in seconds) to resend the alarm if not
|
|
601
|
+
resolved. Set to 0 for no reminders. The Default is 0.
|
|
602
|
+
:param pulumi.Input[int] time_threshold: The time interval (in seconds) the `value_threshold` should be
|
|
603
|
+
active before triggering an alarm.
|
|
549
604
|
:param pulumi.Input[str] type: The alarm type, see valid options below.
|
|
550
|
-
:param pulumi.Input[str] value_calculation: Disk value threshold calculation, `fixed, percentage` of disk
|
|
605
|
+
:param pulumi.Input[str] value_calculation: Disk value threshold calculation, `fixed, percentage` of disk
|
|
606
|
+
space remaining.
|
|
551
607
|
|
|
552
608
|
Based on alarm type, different arguments are flagged as required or optional.
|
|
553
609
|
:param pulumi.Input[int] value_threshold: The value to trigger the alarm for.
|
|
@@ -608,7 +664,8 @@ class Alarm(pulumi.CustomResource):
|
|
|
608
664
|
@pulumi.getter
|
|
609
665
|
def recipients(self) -> pulumi.Output[Sequence[int]]:
|
|
610
666
|
"""
|
|
611
|
-
Identifier for recipient to be notified. Leave empty to notify
|
|
667
|
+
Identifier for recipient to be notified. Leave empty to notify
|
|
668
|
+
all recipients.
|
|
612
669
|
"""
|
|
613
670
|
return pulumi.get(self, "recipients")
|
|
614
671
|
|
|
@@ -616,7 +673,8 @@ class Alarm(pulumi.CustomResource):
|
|
|
616
673
|
@pulumi.getter(name="reminderInterval")
|
|
617
674
|
def reminder_interval(self) -> pulumi.Output[Optional[int]]:
|
|
618
675
|
"""
|
|
619
|
-
The reminder interval (in seconds) to resend the alarm if not
|
|
676
|
+
The reminder interval (in seconds) to resend the alarm if not
|
|
677
|
+
resolved. Set to 0 for no reminders. The Default is 0.
|
|
620
678
|
"""
|
|
621
679
|
return pulumi.get(self, "reminder_interval")
|
|
622
680
|
|
|
@@ -624,7 +682,8 @@ class Alarm(pulumi.CustomResource):
|
|
|
624
682
|
@pulumi.getter(name="timeThreshold")
|
|
625
683
|
def time_threshold(self) -> pulumi.Output[Optional[int]]:
|
|
626
684
|
"""
|
|
627
|
-
The time interval (in seconds) the `value_threshold` should be
|
|
685
|
+
The time interval (in seconds) the `value_threshold` should be
|
|
686
|
+
active before triggering an alarm.
|
|
628
687
|
"""
|
|
629
688
|
return pulumi.get(self, "time_threshold")
|
|
630
689
|
|
|
@@ -640,7 +699,8 @@ class Alarm(pulumi.CustomResource):
|
|
|
640
699
|
@pulumi.getter(name="valueCalculation")
|
|
641
700
|
def value_calculation(self) -> pulumi.Output[Optional[str]]:
|
|
642
701
|
"""
|
|
643
|
-
Disk value threshold calculation, `fixed, percentage` of disk
|
|
702
|
+
Disk value threshold calculation, `fixed, percentage` of disk
|
|
703
|
+
space remaining.
|
|
644
704
|
|
|
645
705
|
Based on alarm type, different arguments are flagged as required or optional.
|
|
646
706
|
"""
|
|
@@ -105,13 +105,18 @@ class CustomDomain(pulumi.CustomResource):
|
|
|
105
105
|
"""
|
|
106
106
|
This resource allows you to configure and manage your custom domain for the CloudAMQP instance.
|
|
107
107
|
|
|
108
|
-
Adding a custom domain to your instance will generate a TLS certificate from [Let's Encrypt], for
|
|
108
|
+
Adding a custom domain to your instance will generate a TLS certificate from [Let's Encrypt], for
|
|
109
|
+
the given hostname, and install it on all servers in your cluster. The certificate will be
|
|
110
|
+
automatically renewed going forward.
|
|
109
111
|
|
|
110
|
-
> **WARNING:** Please note that when creating, changing or deleting the custom domain, the
|
|
112
|
+
> **WARNING:** Please note that when creating, changing or deleting the custom domain, the
|
|
113
|
+
listeners on your servers will be restarted in order to apply the changes. This will close your
|
|
114
|
+
current connections.
|
|
111
115
|
|
|
112
|
-
Your custom domain name needs to point to your CloudAMQP hostname, preferably using a CNAME DNS
|
|
116
|
+
Your custom domain name needs to point to your CloudAMQP hostname, preferably using a CNAME DNS
|
|
117
|
+
record.
|
|
113
118
|
|
|
114
|
-
Only available for dedicated subscription plans
|
|
119
|
+
Only available for dedicated subscription plans running ***RabbitMQ***.
|
|
115
120
|
|
|
116
121
|
## Example Usage
|
|
117
122
|
|
|
@@ -130,12 +135,28 @@ class CustomDomain(pulumi.CustomResource):
|
|
|
130
135
|
|
|
131
136
|
## Import
|
|
132
137
|
|
|
133
|
-
`cloudamqp_custom_domain` can be imported using CloudAMQP instance identifier.
|
|
138
|
+
`cloudamqp_custom_domain` can be imported using CloudAMQP instance identifier. To retrieve the
|
|
139
|
+
|
|
140
|
+
instance identifier, use [CloudAMQP API list instances].
|
|
141
|
+
|
|
142
|
+
hcl
|
|
143
|
+
|
|
144
|
+
import {
|
|
145
|
+
|
|
146
|
+
to = cloudamqp_alarm.alarm
|
|
147
|
+
|
|
148
|
+
id = cloudamqp_instance.instance.id
|
|
149
|
+
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
Or use Terraform CLI:
|
|
134
153
|
|
|
135
154
|
```sh
|
|
136
155
|
$ pulumi import cloudamqp:index/customDomain:CustomDomain settings <instance_id>`
|
|
137
156
|
```
|
|
138
157
|
|
|
158
|
+
[CloudAMQP API list instances]: https://docs.cloudamqp.com/#list-instances
|
|
159
|
+
|
|
139
160
|
[Let's Encrypt]: https://letsencrypt.org/
|
|
140
161
|
|
|
141
162
|
:param str resource_name: The name of the resource.
|
|
@@ -152,13 +173,18 @@ class CustomDomain(pulumi.CustomResource):
|
|
|
152
173
|
"""
|
|
153
174
|
This resource allows you to configure and manage your custom domain for the CloudAMQP instance.
|
|
154
175
|
|
|
155
|
-
Adding a custom domain to your instance will generate a TLS certificate from [Let's Encrypt], for
|
|
176
|
+
Adding a custom domain to your instance will generate a TLS certificate from [Let's Encrypt], for
|
|
177
|
+
the given hostname, and install it on all servers in your cluster. The certificate will be
|
|
178
|
+
automatically renewed going forward.
|
|
156
179
|
|
|
157
|
-
> **WARNING:** Please note that when creating, changing or deleting the custom domain, the
|
|
180
|
+
> **WARNING:** Please note that when creating, changing or deleting the custom domain, the
|
|
181
|
+
listeners on your servers will be restarted in order to apply the changes. This will close your
|
|
182
|
+
current connections.
|
|
158
183
|
|
|
159
|
-
Your custom domain name needs to point to your CloudAMQP hostname, preferably using a CNAME DNS
|
|
184
|
+
Your custom domain name needs to point to your CloudAMQP hostname, preferably using a CNAME DNS
|
|
185
|
+
record.
|
|
160
186
|
|
|
161
|
-
Only available for dedicated subscription plans
|
|
187
|
+
Only available for dedicated subscription plans running ***RabbitMQ***.
|
|
162
188
|
|
|
163
189
|
## Example Usage
|
|
164
190
|
|
|
@@ -177,12 +203,28 @@ class CustomDomain(pulumi.CustomResource):
|
|
|
177
203
|
|
|
178
204
|
## Import
|
|
179
205
|
|
|
180
|
-
`cloudamqp_custom_domain` can be imported using CloudAMQP instance identifier.
|
|
206
|
+
`cloudamqp_custom_domain` can be imported using CloudAMQP instance identifier. To retrieve the
|
|
207
|
+
|
|
208
|
+
instance identifier, use [CloudAMQP API list instances].
|
|
209
|
+
|
|
210
|
+
hcl
|
|
211
|
+
|
|
212
|
+
import {
|
|
213
|
+
|
|
214
|
+
to = cloudamqp_alarm.alarm
|
|
215
|
+
|
|
216
|
+
id = cloudamqp_instance.instance.id
|
|
217
|
+
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
Or use Terraform CLI:
|
|
181
221
|
|
|
182
222
|
```sh
|
|
183
223
|
$ pulumi import cloudamqp:index/customDomain:CustomDomain settings <instance_id>`
|
|
184
224
|
```
|
|
185
225
|
|
|
226
|
+
[CloudAMQP API list instances]: https://docs.cloudamqp.com/#list-instances
|
|
227
|
+
|
|
186
228
|
[Let's Encrypt]: https://letsencrypt.org/
|
|
187
229
|
|
|
188
230
|
:param str resource_name: The name of the resource.
|