@pulumi/cloudamqp 3.25.0-alpha.1766554038 → 3.25.0
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.
- package/customCertificate.d.ts +129 -0
- package/customCertificate.js +88 -0
- package/customCertificate.js.map +1 -0
- package/customDomain.d.ts +24 -0
- package/customDomain.js +4 -0
- package/customDomain.js.map +1 -1
- package/index.d.ts +6 -0
- package/index.js +12 -2
- package/index.js.map +1 -1
- package/nodeActions.d.ts +196 -64
- package/nodeActions.js +150 -57
- package/nodeActions.js.map +1 -1
- package/package.json +2 -2
- package/rabbitConfiguration.d.ts +123 -72
- package/rabbitConfiguration.js +14 -0
- package/rabbitConfiguration.js.map +1 -1
- package/trustStore.d.ts +177 -0
- package/trustStore.js +120 -0
- package/trustStore.js.map +1 -0
- package/types/input.d.ts +14 -0
- package/types/output.d.ts +14 -0
package/nodeActions.js
CHANGED
|
@@ -6,28 +6,30 @@ exports.NodeActions = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* This resource allows you to invoke actions on
|
|
9
|
+
* This resource allows you to invoke actions on specific nodes or the entire cluster. Actions can target individual nodes, multiple nodes, or all nodes in the cluster at once.
|
|
10
10
|
*
|
|
11
11
|
* Only available for dedicated subscription plans.
|
|
12
12
|
*
|
|
13
|
+
* > **Note:** From version 1.41.0, this resource supports cluster-level actions (`cluster.start`, `cluster.stop`, `cluster.restart`) and the `nodeNames` list attribute for targeting multiple nodes. The `nodeName` attribute is deprecated in favor of `nodeNames`.
|
|
14
|
+
*
|
|
13
15
|
* ## Example Usage
|
|
14
16
|
*
|
|
15
17
|
* <details>
|
|
16
18
|
* <summary>
|
|
17
19
|
* <b>
|
|
18
|
-
* <i>
|
|
20
|
+
* <i>Cluster-wide broker restart (recommended for v1.41.0+)</i>
|
|
19
21
|
* </b>
|
|
20
22
|
* </summary>
|
|
21
23
|
*
|
|
24
|
+
* Restart the broker on all nodes of the cluster at once. Making sure the broker is stopped and started in correct order. This is the simplest approach for cluster-wide operations.
|
|
25
|
+
*
|
|
22
26
|
* ```typescript
|
|
23
27
|
* import * as pulumi from "@pulumi/pulumi";
|
|
24
28
|
* import * as cloudamqp from "@pulumi/cloudamqp";
|
|
25
29
|
*
|
|
26
|
-
*
|
|
27
|
-
* const nodeAction = new cloudamqp.NodeActions("node_action", {
|
|
30
|
+
* const clusterRestart = new cloudamqp.NodeActions("cluster_restart", {
|
|
28
31
|
* instanceId: instance.id,
|
|
29
|
-
*
|
|
30
|
-
* action: "restart",
|
|
32
|
+
* action: "cluster.restart",
|
|
31
33
|
* });
|
|
32
34
|
* ```
|
|
33
35
|
*
|
|
@@ -36,42 +38,51 @@ const utilities = require("./utilities");
|
|
|
36
38
|
* <details>
|
|
37
39
|
* <summary>
|
|
38
40
|
* <b>
|
|
39
|
-
* <i>
|
|
41
|
+
* <i>Restart broker on specific nodes using node_names</i>
|
|
40
42
|
* </b>
|
|
41
43
|
* </summary>
|
|
42
44
|
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
* > **Note:** RabbitMQ restart on multiple nodes need to be chained, let one node restart at the time.
|
|
45
|
+
* Target specific nodes using the `nodeNames` list attribute.
|
|
46
46
|
*
|
|
47
47
|
* ```typescript
|
|
48
48
|
* import * as pulumi from "@pulumi/pulumi";
|
|
49
49
|
* import * as cloudamqp from "@pulumi/cloudamqp";
|
|
50
50
|
*
|
|
51
|
-
* const
|
|
51
|
+
* const nodes = cloudamqp.getNodes({
|
|
52
52
|
* instanceId: instance.id,
|
|
53
53
|
* });
|
|
54
|
-
* const
|
|
54
|
+
* const restartSubset = new cloudamqp.NodeActions("restart_subset", {
|
|
55
55
|
* instanceId: instance.id,
|
|
56
56
|
* action: "restart",
|
|
57
|
-
*
|
|
57
|
+
* nodeNames: [
|
|
58
|
+
* nodes.then(nodes => nodes.nodes?.[0]?.name),
|
|
59
|
+
* nodes.then(nodes => nodes.nodes?.[1]?.name),
|
|
60
|
+
* ],
|
|
58
61
|
* });
|
|
59
|
-
*
|
|
62
|
+
* ```
|
|
63
|
+
*
|
|
64
|
+
* </details>
|
|
65
|
+
*
|
|
66
|
+
* <details>
|
|
67
|
+
* <summary>
|
|
68
|
+
* <b>
|
|
69
|
+
* <i>Reboot a single node</i>
|
|
70
|
+
* </b>
|
|
71
|
+
* </summary>
|
|
72
|
+
*
|
|
73
|
+
* Reboot the entire node (VM) rather than just the broker.
|
|
74
|
+
*
|
|
75
|
+
* ```typescript
|
|
76
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
77
|
+
* import * as cloudamqp from "@pulumi/cloudamqp";
|
|
78
|
+
*
|
|
79
|
+
* const nodes = cloudamqp.getNodes({
|
|
60
80
|
* instanceId: instance.id,
|
|
61
|
-
* action: "restart",
|
|
62
|
-
* nodeName: listNodes.then(listNodes => listNodes.nodes?.[1]?.name),
|
|
63
|
-
* }, {
|
|
64
|
-
* dependsOn: [restart01],
|
|
65
81
|
* });
|
|
66
|
-
* const
|
|
82
|
+
* const rebootNode = new cloudamqp.NodeActions("reboot_node", {
|
|
67
83
|
* instanceId: instance.id,
|
|
68
|
-
* action: "
|
|
69
|
-
*
|
|
70
|
-
* }, {
|
|
71
|
-
* dependsOn: [
|
|
72
|
-
* restart01,
|
|
73
|
-
* restart02,
|
|
74
|
-
* ],
|
|
84
|
+
* action: "reboot",
|
|
85
|
+
* nodeNames: [nodes.then(nodes => nodes.nodes?.[0]?.name)],
|
|
75
86
|
* });
|
|
76
87
|
* ```
|
|
77
88
|
*
|
|
@@ -80,37 +91,99 @@ const utilities = require("./utilities");
|
|
|
80
91
|
* <details>
|
|
81
92
|
* <summary>
|
|
82
93
|
* <b>
|
|
83
|
-
* <i>
|
|
94
|
+
* <i>Restart RabbitMQ management interface</i>
|
|
84
95
|
* </b>
|
|
85
96
|
* </summary>
|
|
86
97
|
*
|
|
98
|
+
* Only restart the management interface without affecting the broker.
|
|
99
|
+
*
|
|
87
100
|
* ```typescript
|
|
88
101
|
* import * as pulumi from "@pulumi/pulumi";
|
|
89
102
|
* import * as cloudamqp from "@pulumi/cloudamqp";
|
|
90
103
|
*
|
|
91
|
-
* const
|
|
104
|
+
* const nodes = cloudamqp.getNodes({
|
|
105
|
+
* instanceId: instance.id,
|
|
106
|
+
* });
|
|
107
|
+
* const mgmtRestart = new cloudamqp.NodeActions("mgmt_restart", {
|
|
92
108
|
* instanceId: instance.id,
|
|
109
|
+
* action: "mgmt.restart",
|
|
110
|
+
* nodeNames: [nodes.then(nodes => nodes.nodes?.[0]?.name)],
|
|
93
111
|
* });
|
|
112
|
+
* ```
|
|
113
|
+
*
|
|
114
|
+
* </details>
|
|
115
|
+
*
|
|
116
|
+
* <details>
|
|
117
|
+
* <summary>
|
|
118
|
+
* <b>
|
|
119
|
+
* <i>Combine with configuration changes</i>
|
|
120
|
+
* </b>
|
|
121
|
+
* </summary>
|
|
122
|
+
*
|
|
123
|
+
* Apply configuration changes and restart the cluster.
|
|
124
|
+
*
|
|
125
|
+
* ```typescript
|
|
126
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
127
|
+
* import * as cloudamqp from "@pulumi/cloudamqp";
|
|
128
|
+
*
|
|
94
129
|
* const rabbitmqConfig = new cloudamqp.RabbitConfiguration("rabbitmq_config", {
|
|
95
130
|
* instanceId: instance.id,
|
|
96
131
|
* logExchangeLevel: "info",
|
|
97
132
|
* });
|
|
133
|
+
* const clusterRestart = new cloudamqp.NodeActions("cluster_restart", {
|
|
134
|
+
* instanceId: instance.id,
|
|
135
|
+
* action: "cluster.restart",
|
|
136
|
+
* }, {
|
|
137
|
+
* dependsOn: [rabbitmqConfig],
|
|
138
|
+
* });
|
|
139
|
+
* ```
|
|
140
|
+
*
|
|
141
|
+
* </details>
|
|
142
|
+
*
|
|
143
|
+
* <details>
|
|
144
|
+
* <summary>
|
|
145
|
+
* <b>
|
|
146
|
+
* <i>Legacy Usage (pre-1.41.0)</i>
|
|
147
|
+
* </b>
|
|
148
|
+
* </summary>
|
|
149
|
+
*
|
|
150
|
+
* These examples show the older approach using `nodeName` (singular) and chained restarts. While still supported, the cluster-level actions above are recommended for new configurations.
|
|
151
|
+
*
|
|
152
|
+
* **Single node restart:**
|
|
153
|
+
*
|
|
154
|
+
* ```typescript
|
|
155
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
156
|
+
* import * as cloudamqp from "@pulumi/cloudamqp";
|
|
157
|
+
*
|
|
158
|
+
* const nodeAction = new cloudamqp.NodeActions("node_action", {
|
|
159
|
+
* instanceId: instance.id,
|
|
160
|
+
* nodeName: "<node name>",
|
|
161
|
+
* action: "restart",
|
|
162
|
+
* });
|
|
163
|
+
* ```
|
|
164
|
+
*
|
|
165
|
+
* **Chained multi-node restart:**
|
|
166
|
+
*
|
|
167
|
+
* > **Note:** This approach restarts nodes sequentially to minimize cluster disruption. Consider using `cluster.restart` for simpler configuration.
|
|
168
|
+
*
|
|
169
|
+
* ```typescript
|
|
170
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
171
|
+
* import * as cloudamqp from "@pulumi/cloudamqp";
|
|
172
|
+
*
|
|
173
|
+
* const listNodes = cloudamqp.getNodes({
|
|
174
|
+
* instanceId: instance.id,
|
|
175
|
+
* });
|
|
98
176
|
* const restart01 = new cloudamqp.NodeActions("restart_01", {
|
|
99
177
|
* instanceId: instance.id,
|
|
100
178
|
* action: "restart",
|
|
101
179
|
* nodeName: listNodes.then(listNodes => listNodes.nodes?.[0]?.name),
|
|
102
|
-
* }, {
|
|
103
|
-
* dependsOn: [rabbitmqConfig],
|
|
104
180
|
* });
|
|
105
181
|
* const restart02 = new cloudamqp.NodeActions("restart_02", {
|
|
106
182
|
* instanceId: instance.id,
|
|
107
183
|
* action: "restart",
|
|
108
184
|
* nodeName: listNodes.then(listNodes => listNodes.nodes?.[1]?.name),
|
|
109
185
|
* }, {
|
|
110
|
-
* dependsOn: [
|
|
111
|
-
* rabbitmqConfig,
|
|
112
|
-
* restart01,
|
|
113
|
-
* ],
|
|
186
|
+
* dependsOn: [restart01],
|
|
114
187
|
* });
|
|
115
188
|
* const restart03 = new cloudamqp.NodeActions("restart_03", {
|
|
116
189
|
* instanceId: instance.id,
|
|
@@ -118,7 +191,6 @@ const utilities = require("./utilities");
|
|
|
118
191
|
* nodeName: listNodes.then(listNodes => listNodes.nodes?.[2]?.name),
|
|
119
192
|
* }, {
|
|
120
193
|
* dependsOn: [
|
|
121
|
-
* rabbitmqConfig,
|
|
122
194
|
* restart01,
|
|
123
195
|
* restart02,
|
|
124
196
|
* ],
|
|
@@ -129,29 +201,49 @@ const utilities = require("./utilities");
|
|
|
129
201
|
*
|
|
130
202
|
* ## Action reference
|
|
131
203
|
*
|
|
132
|
-
*
|
|
204
|
+
* Actions are categorized by what they affect:
|
|
205
|
+
*
|
|
206
|
+
* ### Broker Actions
|
|
207
|
+
*
|
|
208
|
+
* These actions control the message broker software (RabbitMQ or LavinMQ) on the specified nodes.
|
|
209
|
+
*
|
|
210
|
+
* | Action | Info | Applies to |
|
|
211
|
+
* |---------|-------------------------------------------|-------------------|
|
|
212
|
+
* | start | Start the message broker | RabbitMQ, LavinMQ |
|
|
213
|
+
* | stop | Stop the message broker | RabbitMQ, LavinMQ |
|
|
214
|
+
* | restart | Restart the message broker | RabbitMQ, LavinMQ |
|
|
215
|
+
*
|
|
216
|
+
* ### Management Interface Actions
|
|
217
|
+
*
|
|
218
|
+
* These actions control the management interface without affecting the broker itself.
|
|
133
219
|
*
|
|
134
|
-
* | Action | Info
|
|
135
|
-
*
|
|
136
|
-
* |
|
|
137
|
-
* | stop | Stop LavinMQ |
|
|
138
|
-
* | restart | Restart LavinMQ |
|
|
139
|
-
* | reboot | Reboot the node |
|
|
220
|
+
* | Action | Info | Applies to |
|
|
221
|
+
* |--------------|-------------------------------------------|------------|
|
|
222
|
+
* | mgmt.restart | Restart the RabbitMQ management interface | RabbitMQ |
|
|
140
223
|
*
|
|
141
|
-
*
|
|
224
|
+
* ### Node Actions
|
|
142
225
|
*
|
|
143
|
-
*
|
|
144
|
-
*
|
|
145
|
-
* |
|
|
146
|
-
*
|
|
147
|
-
* |
|
|
148
|
-
*
|
|
149
|
-
*
|
|
226
|
+
* These actions affect the entire node (VM), not just the broker software.
|
|
227
|
+
*
|
|
228
|
+
* | Action | Info | Applies to |
|
|
229
|
+
* |--------|-----------------------------------------------|-------------------|
|
|
230
|
+
* | reboot | Reboot the entire node (VM) | RabbitMQ, LavinMQ |
|
|
231
|
+
*
|
|
232
|
+
* ### Cluster Actions
|
|
233
|
+
*
|
|
234
|
+
* > **Available from version 1.41.0**
|
|
235
|
+
*
|
|
236
|
+
* These actions operate on all nodes in the cluster simultaneously. The `nodeNames` attribute can be omitted for these actions.
|
|
237
|
+
*
|
|
238
|
+
* | Action | Info | Applies to |
|
|
239
|
+
* |-----------------|-------------------------------------------------|-------------------|
|
|
240
|
+
* | cluster.start | Start the message broker on all cluster nodes | RabbitMQ, LavinMQ |
|
|
241
|
+
* | cluster.stop | Stop the message broker on all cluster nodes | RabbitMQ, LavinMQ |
|
|
242
|
+
* | cluster.restart | Restart the message broker on all cluster nodes | RabbitMQ, LavinMQ |
|
|
150
243
|
*
|
|
151
244
|
* ## Dependency
|
|
152
245
|
*
|
|
153
|
-
* This resource depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`
|
|
154
|
-
* name.
|
|
246
|
+
* This resource depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`. For non-cluster actions, it also requires either `nodeName` or `nodeNames` to specify which nodes to act upon. Cluster-level actions automatically apply to all nodes in the cluster.
|
|
155
247
|
*
|
|
156
248
|
* ## Import
|
|
157
249
|
*
|
|
@@ -188,7 +280,9 @@ class NodeActions extends pulumi.CustomResource {
|
|
|
188
280
|
resourceInputs["action"] = state?.action;
|
|
189
281
|
resourceInputs["instanceId"] = state?.instanceId;
|
|
190
282
|
resourceInputs["nodeName"] = state?.nodeName;
|
|
191
|
-
resourceInputs["
|
|
283
|
+
resourceInputs["nodeNames"] = state?.nodeNames;
|
|
284
|
+
resourceInputs["sleep"] = state?.sleep;
|
|
285
|
+
resourceInputs["timeout"] = state?.timeout;
|
|
192
286
|
}
|
|
193
287
|
else {
|
|
194
288
|
const args = argsOrState;
|
|
@@ -198,13 +292,12 @@ class NodeActions extends pulumi.CustomResource {
|
|
|
198
292
|
if (args?.instanceId === undefined && !opts.urn) {
|
|
199
293
|
throw new Error("Missing required property 'instanceId'");
|
|
200
294
|
}
|
|
201
|
-
if (args?.nodeName === undefined && !opts.urn) {
|
|
202
|
-
throw new Error("Missing required property 'nodeName'");
|
|
203
|
-
}
|
|
204
295
|
resourceInputs["action"] = args?.action;
|
|
205
296
|
resourceInputs["instanceId"] = args?.instanceId;
|
|
206
297
|
resourceInputs["nodeName"] = args?.nodeName;
|
|
207
|
-
resourceInputs["
|
|
298
|
+
resourceInputs["nodeNames"] = args?.nodeNames;
|
|
299
|
+
resourceInputs["sleep"] = args?.sleep;
|
|
300
|
+
resourceInputs["timeout"] = args?.timeout;
|
|
208
301
|
}
|
|
209
302
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
210
303
|
super(NodeActions.__pulumiType, name, resourceInputs, opts);
|
package/nodeActions.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nodeActions.js","sourceRoot":"","sources":["../nodeActions.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"nodeActions.js","sourceRoot":"","sources":["../nodeActions.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmPG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAClE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;IAuCD,YAAY,IAAY,EAAE,WAAgD,EAAE,IAAmC;QAC3G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA2C,CAAC;YAC1D,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,EAAE,MAAM,CAAC;YACzC,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,EAAE,UAAU,CAAC;YACjD,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,EAAE,QAAQ,CAAC;YAC7C,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,EAAE,SAAS,CAAC;YAC/C,cAAc,CAAC,OAAO,CAAC,GAAG,KAAK,EAAE,KAAK,CAAC;YACvC,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,EAAE,OAAO,CAAC;SAC9C;aAAM;YACH,MAAM,IAAI,GAAG,WAA0C,CAAC;YACxD,IAAI,IAAI,EAAE,MAAM,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACzC,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;aACzD;YACD,IAAI,IAAI,EAAE,UAAU,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC7C,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;SAC7C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AA7FL,kCA8FC;AAhFG,gBAAgB;AACO,wBAAY,GAAG,yCAAyC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/cloudamqp",
|
|
3
|
-
"version": "3.25.0
|
|
3
|
+
"version": "3.25.0",
|
|
4
4
|
"description": "A Pulumi package for creating and managing CloudAMQP resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -23,6 +23,6 @@
|
|
|
23
23
|
"pulumi": {
|
|
24
24
|
"resource": true,
|
|
25
25
|
"name": "cloudamqp",
|
|
26
|
-
"version": "3.25.0
|
|
26
|
+
"version": "3.25.0"
|
|
27
27
|
}
|
|
28
28
|
}
|
package/rabbitConfiguration.d.ts
CHANGED
|
@@ -41,29 +41,23 @@ export declare class RabbitConfiguration extends pulumi.CustomResource {
|
|
|
41
41
|
*/
|
|
42
42
|
static isInstance(obj: any): obj is RabbitConfiguration;
|
|
43
43
|
/**
|
|
44
|
-
* Set the maximum permissible number of
|
|
45
|
-
* channels per connection.
|
|
44
|
+
* Set the maximum permissible number of channels per connection.
|
|
46
45
|
*/
|
|
47
46
|
readonly channelMax: pulumi.Output<number>;
|
|
48
47
|
/**
|
|
49
|
-
* Set how the cluster should handle network
|
|
50
|
-
* partition.
|
|
48
|
+
* Set how the cluster should handle network partition.
|
|
51
49
|
*/
|
|
52
50
|
readonly clusterPartitionHandling: pulumi.Output<string>;
|
|
53
51
|
/**
|
|
54
|
-
* Set the maximum permissible number of
|
|
55
|
-
* connection.
|
|
52
|
+
* Set the maximum permissible number of connection.
|
|
56
53
|
*/
|
|
57
54
|
readonly connectionMax: pulumi.Output<number>;
|
|
58
55
|
/**
|
|
59
|
-
* A consumer that has
|
|
60
|
-
* does not acknowledge that message within the timeout in
|
|
61
|
-
* milliseconds
|
|
56
|
+
* A consumer that has received a message and does not acknowledge that message within the timeout in milliseconds
|
|
62
57
|
*/
|
|
63
58
|
readonly consumerTimeout: pulumi.Output<number>;
|
|
64
59
|
/**
|
|
65
|
-
* Set the server AMQP 0-9-1 heartbeat timeout
|
|
66
|
-
* in seconds.
|
|
60
|
+
* Set the server AMQP 0-9-1 heartbeat timeout in seconds.
|
|
67
61
|
*/
|
|
68
62
|
readonly heartbeat: pulumi.Output<number>;
|
|
69
63
|
/**
|
|
@@ -71,34 +65,57 @@ export declare class RabbitConfiguration extends pulumi.CustomResource {
|
|
|
71
65
|
*/
|
|
72
66
|
readonly instanceId: pulumi.Output<number>;
|
|
73
67
|
/**
|
|
74
|
-
* Log level for the logger used for log
|
|
75
|
-
* integrations and the CloudAMQP Console log view.
|
|
68
|
+
* Log level for the logger used for log integrations and the CloudAMQP Console log view.
|
|
76
69
|
*/
|
|
77
70
|
readonly logExchangeLevel: pulumi.Output<string>;
|
|
78
71
|
/**
|
|
79
|
-
* The largest allowed message payload size in
|
|
80
|
-
* bytes.
|
|
72
|
+
* The largest allowed message payload size in bytes.
|
|
81
73
|
*/
|
|
82
74
|
readonly maxMessageSize: pulumi.Output<number>;
|
|
83
75
|
/**
|
|
84
|
-
*
|
|
85
|
-
|
|
86
|
-
|
|
76
|
+
* Sets a timestamp header on incoming messages. ***enabled_with_overwrite*** will overwrite any existing timestamps in the header.
|
|
77
|
+
*/
|
|
78
|
+
readonly messageInterceptorsTimestampOverwrite: pulumi.Output<string>;
|
|
79
|
+
/**
|
|
80
|
+
* The exchange option determines which exchange messages from MQTT clients are published to.
|
|
81
|
+
*/
|
|
82
|
+
readonly mqttExchange: pulumi.Output<string>;
|
|
83
|
+
/**
|
|
84
|
+
* Enable SSL certificate-based authentication for MQTT connections.
|
|
85
|
+
*/
|
|
86
|
+
readonly mqttSslCertLogin: pulumi.Output<boolean>;
|
|
87
|
+
/**
|
|
88
|
+
* Virtual host for MQTT connections. Default set to newly created vhost, same as `cloudamqp_instance.instance.vhost`.
|
|
89
|
+
*/
|
|
90
|
+
readonly mqttVhost: pulumi.Output<string>;
|
|
91
|
+
/**
|
|
92
|
+
* Size in bytes below which to embed messages in the queue index. 0 will turn off payload embedding in the queue index.
|
|
87
93
|
*/
|
|
88
94
|
readonly queueIndexEmbedMsgsBelow: pulumi.Output<number>;
|
|
89
95
|
/**
|
|
90
|
-
* Configurable sleep time in seconds between retries
|
|
91
|
-
* for RabbitMQ configuration. Default set to 60 seconds.
|
|
96
|
+
* Configurable sleep time in seconds between retries for RabbitMQ configuration. Default set to 60 seconds.
|
|
92
97
|
*/
|
|
93
98
|
readonly sleep: pulumi.Output<number>;
|
|
94
99
|
/**
|
|
95
|
-
*
|
|
96
|
-
|
|
100
|
+
* Determines which certificate field to use as the username for TLS-based authentication.
|
|
101
|
+
*/
|
|
102
|
+
readonly sslCertLoginFrom: pulumi.Output<string>;
|
|
103
|
+
/**
|
|
104
|
+
* When set to true, TLS connections will fail if the client does not provide a certificate.
|
|
105
|
+
*/
|
|
106
|
+
readonly sslOptionsFailIfNoPeerCert: pulumi.Output<boolean>;
|
|
107
|
+
/**
|
|
108
|
+
* Controls peer certificate verification for TLS connections.
|
|
109
|
+
*
|
|
110
|
+
* Configure sleep and timeout for API requests retries
|
|
111
|
+
*/
|
|
112
|
+
readonly sslOptionsVerify: pulumi.Output<string>;
|
|
113
|
+
/**
|
|
114
|
+
* Configurable timeout time in seconds for RabbitMQ configuration. Default set to 3600 seconds.
|
|
97
115
|
*/
|
|
98
116
|
readonly timeout: pulumi.Output<number>;
|
|
99
117
|
/**
|
|
100
|
-
* When the server will enter memory based
|
|
101
|
-
* flow-control as relative to the maximum available memory.
|
|
118
|
+
* When the server will enter memory based flow-control as relative to the maximum available memory.
|
|
102
119
|
*/
|
|
103
120
|
readonly vmMemoryHighWatermark: pulumi.Output<number>;
|
|
104
121
|
/**
|
|
@@ -115,29 +132,23 @@ export declare class RabbitConfiguration extends pulumi.CustomResource {
|
|
|
115
132
|
*/
|
|
116
133
|
export interface RabbitConfigurationState {
|
|
117
134
|
/**
|
|
118
|
-
* Set the maximum permissible number of
|
|
119
|
-
* channels per connection.
|
|
135
|
+
* Set the maximum permissible number of channels per connection.
|
|
120
136
|
*/
|
|
121
137
|
channelMax?: pulumi.Input<number>;
|
|
122
138
|
/**
|
|
123
|
-
* Set how the cluster should handle network
|
|
124
|
-
* partition.
|
|
139
|
+
* Set how the cluster should handle network partition.
|
|
125
140
|
*/
|
|
126
141
|
clusterPartitionHandling?: pulumi.Input<string>;
|
|
127
142
|
/**
|
|
128
|
-
* Set the maximum permissible number of
|
|
129
|
-
* connection.
|
|
143
|
+
* Set the maximum permissible number of connection.
|
|
130
144
|
*/
|
|
131
145
|
connectionMax?: pulumi.Input<number>;
|
|
132
146
|
/**
|
|
133
|
-
* A consumer that has
|
|
134
|
-
* does not acknowledge that message within the timeout in
|
|
135
|
-
* milliseconds
|
|
147
|
+
* A consumer that has received a message and does not acknowledge that message within the timeout in milliseconds
|
|
136
148
|
*/
|
|
137
149
|
consumerTimeout?: pulumi.Input<number>;
|
|
138
150
|
/**
|
|
139
|
-
* Set the server AMQP 0-9-1 heartbeat timeout
|
|
140
|
-
* in seconds.
|
|
151
|
+
* Set the server AMQP 0-9-1 heartbeat timeout in seconds.
|
|
141
152
|
*/
|
|
142
153
|
heartbeat?: pulumi.Input<number>;
|
|
143
154
|
/**
|
|
@@ -145,34 +156,57 @@ export interface RabbitConfigurationState {
|
|
|
145
156
|
*/
|
|
146
157
|
instanceId?: pulumi.Input<number>;
|
|
147
158
|
/**
|
|
148
|
-
* Log level for the logger used for log
|
|
149
|
-
* integrations and the CloudAMQP Console log view.
|
|
159
|
+
* Log level for the logger used for log integrations and the CloudAMQP Console log view.
|
|
150
160
|
*/
|
|
151
161
|
logExchangeLevel?: pulumi.Input<string>;
|
|
152
162
|
/**
|
|
153
|
-
* The largest allowed message payload size in
|
|
154
|
-
* bytes.
|
|
163
|
+
* The largest allowed message payload size in bytes.
|
|
155
164
|
*/
|
|
156
165
|
maxMessageSize?: pulumi.Input<number>;
|
|
157
166
|
/**
|
|
158
|
-
*
|
|
159
|
-
|
|
160
|
-
|
|
167
|
+
* Sets a timestamp header on incoming messages. ***enabled_with_overwrite*** will overwrite any existing timestamps in the header.
|
|
168
|
+
*/
|
|
169
|
+
messageInterceptorsTimestampOverwrite?: pulumi.Input<string>;
|
|
170
|
+
/**
|
|
171
|
+
* The exchange option determines which exchange messages from MQTT clients are published to.
|
|
172
|
+
*/
|
|
173
|
+
mqttExchange?: pulumi.Input<string>;
|
|
174
|
+
/**
|
|
175
|
+
* Enable SSL certificate-based authentication for MQTT connections.
|
|
176
|
+
*/
|
|
177
|
+
mqttSslCertLogin?: pulumi.Input<boolean>;
|
|
178
|
+
/**
|
|
179
|
+
* Virtual host for MQTT connections. Default set to newly created vhost, same as `cloudamqp_instance.instance.vhost`.
|
|
180
|
+
*/
|
|
181
|
+
mqttVhost?: pulumi.Input<string>;
|
|
182
|
+
/**
|
|
183
|
+
* Size in bytes below which to embed messages in the queue index. 0 will turn off payload embedding in the queue index.
|
|
161
184
|
*/
|
|
162
185
|
queueIndexEmbedMsgsBelow?: pulumi.Input<number>;
|
|
163
186
|
/**
|
|
164
|
-
* Configurable sleep time in seconds between retries
|
|
165
|
-
* for RabbitMQ configuration. Default set to 60 seconds.
|
|
187
|
+
* Configurable sleep time in seconds between retries for RabbitMQ configuration. Default set to 60 seconds.
|
|
166
188
|
*/
|
|
167
189
|
sleep?: pulumi.Input<number>;
|
|
168
190
|
/**
|
|
169
|
-
*
|
|
170
|
-
|
|
191
|
+
* Determines which certificate field to use as the username for TLS-based authentication.
|
|
192
|
+
*/
|
|
193
|
+
sslCertLoginFrom?: pulumi.Input<string>;
|
|
194
|
+
/**
|
|
195
|
+
* When set to true, TLS connections will fail if the client does not provide a certificate.
|
|
196
|
+
*/
|
|
197
|
+
sslOptionsFailIfNoPeerCert?: pulumi.Input<boolean>;
|
|
198
|
+
/**
|
|
199
|
+
* Controls peer certificate verification for TLS connections.
|
|
200
|
+
*
|
|
201
|
+
* Configure sleep and timeout for API requests retries
|
|
202
|
+
*/
|
|
203
|
+
sslOptionsVerify?: pulumi.Input<string>;
|
|
204
|
+
/**
|
|
205
|
+
* Configurable timeout time in seconds for RabbitMQ configuration. Default set to 3600 seconds.
|
|
171
206
|
*/
|
|
172
207
|
timeout?: pulumi.Input<number>;
|
|
173
208
|
/**
|
|
174
|
-
* When the server will enter memory based
|
|
175
|
-
* flow-control as relative to the maximum available memory.
|
|
209
|
+
* When the server will enter memory based flow-control as relative to the maximum available memory.
|
|
176
210
|
*/
|
|
177
211
|
vmMemoryHighWatermark?: pulumi.Input<number>;
|
|
178
212
|
}
|
|
@@ -181,29 +215,23 @@ export interface RabbitConfigurationState {
|
|
|
181
215
|
*/
|
|
182
216
|
export interface RabbitConfigurationArgs {
|
|
183
217
|
/**
|
|
184
|
-
* Set the maximum permissible number of
|
|
185
|
-
* channels per connection.
|
|
218
|
+
* Set the maximum permissible number of channels per connection.
|
|
186
219
|
*/
|
|
187
220
|
channelMax?: pulumi.Input<number>;
|
|
188
221
|
/**
|
|
189
|
-
* Set how the cluster should handle network
|
|
190
|
-
* partition.
|
|
222
|
+
* Set how the cluster should handle network partition.
|
|
191
223
|
*/
|
|
192
224
|
clusterPartitionHandling?: pulumi.Input<string>;
|
|
193
225
|
/**
|
|
194
|
-
* Set the maximum permissible number of
|
|
195
|
-
* connection.
|
|
226
|
+
* Set the maximum permissible number of connection.
|
|
196
227
|
*/
|
|
197
228
|
connectionMax?: pulumi.Input<number>;
|
|
198
229
|
/**
|
|
199
|
-
* A consumer that has
|
|
200
|
-
* does not acknowledge that message within the timeout in
|
|
201
|
-
* milliseconds
|
|
230
|
+
* A consumer that has received a message and does not acknowledge that message within the timeout in milliseconds
|
|
202
231
|
*/
|
|
203
232
|
consumerTimeout?: pulumi.Input<number>;
|
|
204
233
|
/**
|
|
205
|
-
* Set the server AMQP 0-9-1 heartbeat timeout
|
|
206
|
-
* in seconds.
|
|
234
|
+
* Set the server AMQP 0-9-1 heartbeat timeout in seconds.
|
|
207
235
|
*/
|
|
208
236
|
heartbeat?: pulumi.Input<number>;
|
|
209
237
|
/**
|
|
@@ -211,34 +239,57 @@ export interface RabbitConfigurationArgs {
|
|
|
211
239
|
*/
|
|
212
240
|
instanceId: pulumi.Input<number>;
|
|
213
241
|
/**
|
|
214
|
-
* Log level for the logger used for log
|
|
215
|
-
* integrations and the CloudAMQP Console log view.
|
|
242
|
+
* Log level for the logger used for log integrations and the CloudAMQP Console log view.
|
|
216
243
|
*/
|
|
217
244
|
logExchangeLevel?: pulumi.Input<string>;
|
|
218
245
|
/**
|
|
219
|
-
* The largest allowed message payload size in
|
|
220
|
-
* bytes.
|
|
246
|
+
* The largest allowed message payload size in bytes.
|
|
221
247
|
*/
|
|
222
248
|
maxMessageSize?: pulumi.Input<number>;
|
|
223
249
|
/**
|
|
224
|
-
*
|
|
225
|
-
|
|
226
|
-
|
|
250
|
+
* Sets a timestamp header on incoming messages. ***enabled_with_overwrite*** will overwrite any existing timestamps in the header.
|
|
251
|
+
*/
|
|
252
|
+
messageInterceptorsTimestampOverwrite?: pulumi.Input<string>;
|
|
253
|
+
/**
|
|
254
|
+
* The exchange option determines which exchange messages from MQTT clients are published to.
|
|
255
|
+
*/
|
|
256
|
+
mqttExchange?: pulumi.Input<string>;
|
|
257
|
+
/**
|
|
258
|
+
* Enable SSL certificate-based authentication for MQTT connections.
|
|
259
|
+
*/
|
|
260
|
+
mqttSslCertLogin?: pulumi.Input<boolean>;
|
|
261
|
+
/**
|
|
262
|
+
* Virtual host for MQTT connections. Default set to newly created vhost, same as `cloudamqp_instance.instance.vhost`.
|
|
263
|
+
*/
|
|
264
|
+
mqttVhost?: pulumi.Input<string>;
|
|
265
|
+
/**
|
|
266
|
+
* Size in bytes below which to embed messages in the queue index. 0 will turn off payload embedding in the queue index.
|
|
227
267
|
*/
|
|
228
268
|
queueIndexEmbedMsgsBelow?: pulumi.Input<number>;
|
|
229
269
|
/**
|
|
230
|
-
* Configurable sleep time in seconds between retries
|
|
231
|
-
* for RabbitMQ configuration. Default set to 60 seconds.
|
|
270
|
+
* Configurable sleep time in seconds between retries for RabbitMQ configuration. Default set to 60 seconds.
|
|
232
271
|
*/
|
|
233
272
|
sleep?: pulumi.Input<number>;
|
|
234
273
|
/**
|
|
235
|
-
*
|
|
236
|
-
|
|
274
|
+
* Determines which certificate field to use as the username for TLS-based authentication.
|
|
275
|
+
*/
|
|
276
|
+
sslCertLoginFrom?: pulumi.Input<string>;
|
|
277
|
+
/**
|
|
278
|
+
* When set to true, TLS connections will fail if the client does not provide a certificate.
|
|
279
|
+
*/
|
|
280
|
+
sslOptionsFailIfNoPeerCert?: pulumi.Input<boolean>;
|
|
281
|
+
/**
|
|
282
|
+
* Controls peer certificate verification for TLS connections.
|
|
283
|
+
*
|
|
284
|
+
* Configure sleep and timeout for API requests retries
|
|
285
|
+
*/
|
|
286
|
+
sslOptionsVerify?: pulumi.Input<string>;
|
|
287
|
+
/**
|
|
288
|
+
* Configurable timeout time in seconds for RabbitMQ configuration. Default set to 3600 seconds.
|
|
237
289
|
*/
|
|
238
290
|
timeout?: pulumi.Input<number>;
|
|
239
291
|
/**
|
|
240
|
-
* When the server will enter memory based
|
|
241
|
-
* flow-control as relative to the maximum available memory.
|
|
292
|
+
* When the server will enter memory based flow-control as relative to the maximum available memory.
|
|
242
293
|
*/
|
|
243
294
|
vmMemoryHighWatermark?: pulumi.Input<number>;
|
|
244
295
|
}
|