@pulumi/cloudamqp 3.7.0 → 3.8.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/alarm.d.ts CHANGED
@@ -6,9 +6,42 @@ import * as pulumi from "@pulumi/pulumi";
6
6
  *
7
7
  * Available for all subscription plans, but `lemur`and `tiger`are limited to fewer alarm types. The limited types supported can be seen in the table below in Alarm Type Reference.
8
8
  *
9
+ * ## Example Usage
10
+ *
11
+ * ```typescript
12
+ * import * as pulumi from "@pulumi/pulumi";
13
+ * import * as cloudamqp from "@pulumi/cloudamqp";
14
+ *
15
+ * // New recipient
16
+ * const recipient01 = new cloudamqp.Notification("recipient01", {
17
+ * instanceId: cloudamqp_instance.instance.id,
18
+ * type: "email",
19
+ * value: "alarm@example.com",
20
+ * });
21
+ * // New cpu alarm
22
+ * const cpuAlarm = new cloudamqp.Alarm("cpuAlarm", {
23
+ * instanceId: cloudamqp_instance.instance.id,
24
+ * type: "cpu",
25
+ * enabled: true,
26
+ * reminderInterval: 600,
27
+ * valueThreshold: 95,
28
+ * timeThreshold: 600,
29
+ * recipients: [recipient01.id],
30
+ * });
31
+ * // New memory alarm
32
+ * const memoryAlarm = new cloudamqp.Alarm("memoryAlarm", {
33
+ * instanceId: cloudamqp_instance.instance.id,
34
+ * type: "memory",
35
+ * enabled: true,
36
+ * reminderInterval: 600,
37
+ * valueThreshold: 95,
38
+ * timeThreshold: 600,
39
+ * recipients: [recipient01.id],
40
+ * });
41
+ * ```
9
42
  * ## Alarm Type reference
10
43
  *
11
- * Supported alarm types: `cpu, memory, disk, queue, connection, consumer, netsplit, server_unreachable, notice`
44
+ * Supported alarm types: `cpu, memory, disk, queue, connection, flow, consumer, netsplit, server_unreachable, notice`
12
45
  *
13
46
  * Required arguments for all alarms: `instance_id, type, enabled`<br>
14
47
  * Optional argument for all alarms: `tags, queue_regex, vhostRegex`
@@ -17,13 +50,14 @@ import * as pulumi from "@pulumi/pulumi";
17
50
  * | ---- | ---- | ---- | ---- | ---- |
18
51
  * | CPU | cpu | - | &#10004; | time_threshold, valueThreshold |
19
52
  * | Memory | memory | - | &#10004; | time_threshold, valueThreshold |
20
- * | Disk space | disk | - | &#10004; | time_threshold, valueThreshold |
21
- * | Queue | queue | &#10004; | &#10004;  | time_threshold, value_threshold, queue_regex, vhost_regex, messageType |
22
- * | Connection | connection | &#10004; | &#10004; | time_threshold, valueThreshold |
23
- * | Consumer | consumer | &#10004; | &#10004; | time_threshold, value_threshold, queue, vhost |
53
+ * | Disk space | disk | - | &#10004; | time_threshold, valueThreshold |
54
+ * | Queue | queue | &#10004; | &#10004; | time_threshold, value_threshold, queue_regex, vhost_regex, messageType |
55
+ * | Connection | connection | &#10004; | &#10004; | time_threshold, valueThreshold |
56
+ * | Connection flow | flow | &#10004; | &#10004; | time_threshold, valueThreshold |
57
+ * | Consumer | consumer | &#10004; | &#10004; | time_threshold, value_threshold, queue, vhost |
24
58
  * | Netsplit | netsplit | - | &#10004; | timeThreshold |
25
59
  * | Server unreachable | serverUnreachable | - | &#10004; | timeThreshold |
26
- * | Notice | notice | &#10004; | &#10004; | |
60
+ * | Notice | notice | &#10004; | &#10004; | |
27
61
  *
28
62
  * ## Dependency
29
63
  *
package/alarm.js CHANGED
@@ -12,9 +12,42 @@ const utilities = require("./utilities");
12
12
  *
13
13
  * Available for all subscription plans, but `lemur`and `tiger`are limited to fewer alarm types. The limited types supported can be seen in the table below in Alarm Type Reference.
14
14
  *
15
+ * ## Example Usage
16
+ *
17
+ * ```typescript
18
+ * import * as pulumi from "@pulumi/pulumi";
19
+ * import * as cloudamqp from "@pulumi/cloudamqp";
20
+ *
21
+ * // New recipient
22
+ * const recipient01 = new cloudamqp.Notification("recipient01", {
23
+ * instanceId: cloudamqp_instance.instance.id,
24
+ * type: "email",
25
+ * value: "alarm@example.com",
26
+ * });
27
+ * // New cpu alarm
28
+ * const cpuAlarm = new cloudamqp.Alarm("cpuAlarm", {
29
+ * instanceId: cloudamqp_instance.instance.id,
30
+ * type: "cpu",
31
+ * enabled: true,
32
+ * reminderInterval: 600,
33
+ * valueThreshold: 95,
34
+ * timeThreshold: 600,
35
+ * recipients: [recipient01.id],
36
+ * });
37
+ * // New memory alarm
38
+ * const memoryAlarm = new cloudamqp.Alarm("memoryAlarm", {
39
+ * instanceId: cloudamqp_instance.instance.id,
40
+ * type: "memory",
41
+ * enabled: true,
42
+ * reminderInterval: 600,
43
+ * valueThreshold: 95,
44
+ * timeThreshold: 600,
45
+ * recipients: [recipient01.id],
46
+ * });
47
+ * ```
15
48
  * ## Alarm Type reference
16
49
  *
17
- * Supported alarm types: `cpu, memory, disk, queue, connection, consumer, netsplit, server_unreachable, notice`
50
+ * Supported alarm types: `cpu, memory, disk, queue, connection, flow, consumer, netsplit, server_unreachable, notice`
18
51
  *
19
52
  * Required arguments for all alarms: `instance_id, type, enabled`<br>
20
53
  * Optional argument for all alarms: `tags, queue_regex, vhostRegex`
@@ -23,13 +56,14 @@ const utilities = require("./utilities");
23
56
  * | ---- | ---- | ---- | ---- | ---- |
24
57
  * | CPU | cpu | - | &#10004; | time_threshold, valueThreshold |
25
58
  * | Memory | memory | - | &#10004; | time_threshold, valueThreshold |
26
- * | Disk space | disk | - | &#10004; | time_threshold, valueThreshold |
27
- * | Queue | queue | &#10004; | &#10004;  | time_threshold, value_threshold, queue_regex, vhost_regex, messageType |
28
- * | Connection | connection | &#10004; | &#10004; | time_threshold, valueThreshold |
29
- * | Consumer | consumer | &#10004; | &#10004; | time_threshold, value_threshold, queue, vhost |
59
+ * | Disk space | disk | - | &#10004; | time_threshold, valueThreshold |
60
+ * | Queue | queue | &#10004; | &#10004; | time_threshold, value_threshold, queue_regex, vhost_regex, messageType |
61
+ * | Connection | connection | &#10004; | &#10004; | time_threshold, valueThreshold |
62
+ * | Connection flow | flow | &#10004; | &#10004; | time_threshold, valueThreshold |
63
+ * | Consumer | consumer | &#10004; | &#10004; | time_threshold, value_threshold, queue, vhost |
30
64
  * | Netsplit | netsplit | - | &#10004; | timeThreshold |
31
65
  * | Server unreachable | serverUnreachable | - | &#10004; | timeThreshold |
32
- * | Notice | notice | &#10004; | &#10004; | |
66
+ * | Notice | notice | &#10004; | &#10004; | |
33
67
  *
34
68
  * ## Dependency
35
69
  *
package/alarm.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"alarm.js","sourceRoot":"","sources":["../alarm.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAiF5C,YAAY,IAAY,EAAE,WAAoC,EAAE,IAAmC;QAC/F,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAqC,CAAC;YACpD,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,kBAAkB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAA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,YAAY,CAAC;IACtD,CAAC;;AA1BL,sBA8HC;AAhHG,gBAAgB;AACO,kBAAY,GAAG,6BAA6B,CAAC"}
package/getAlarm.d.ts CHANGED
@@ -37,7 +37,7 @@ import * as pulumi from "@pulumi/pulumi";
37
37
  *
38
38
  * ## Alarm types
39
39
  *
40
- * `cpu, memory, disk, queue, connection, consumer, netsplit, server_unreachable, notice`
40
+ * `cpu, memory, disk, queue, connection, flow, consumer, netsplit, server_unreachable, notice`
41
41
  */
42
42
  export declare function getAlarm(args: GetAlarmArgs, opts?: pulumi.InvokeOptions): Promise<GetAlarmResult>;
43
43
  /**
package/getAlarm.js CHANGED
@@ -43,7 +43,7 @@ const utilities = require("./utilities");
43
43
  *
44
44
  * ## Alarm types
45
45
  *
46
- * `cpu, memory, disk, queue, connection, consumer, netsplit, server_unreachable, notice`
46
+ * `cpu, memory, disk, queue, connection, flow, consumer, netsplit, server_unreachable, notice`
47
47
  */
48
48
  function getAlarm(args, opts) {
49
49
  if (!opts) {
package/index.d.ts CHANGED
@@ -15,10 +15,12 @@ export * from "./getVpcInfo";
15
15
  export * from "./instance";
16
16
  export * from "./integrationLog";
17
17
  export * from "./integrationMetric";
18
+ export * from "./nodeActions";
18
19
  export * from "./notification";
19
20
  export * from "./plugin";
20
21
  export * from "./pluginCommunity";
21
22
  export * from "./provider";
23
+ export * from "./rabbitConfiguration";
22
24
  export * from "./securityFirewall";
23
25
  export * from "./upgradeRabbitmq";
24
26
  export * from "./vpc";
package/index.js CHANGED
@@ -37,10 +37,12 @@ __exportStar(require("./getVpcInfo"), exports);
37
37
  __exportStar(require("./instance"), exports);
38
38
  __exportStar(require("./integrationLog"), exports);
39
39
  __exportStar(require("./integrationMetric"), exports);
40
+ __exportStar(require("./nodeActions"), exports);
40
41
  __exportStar(require("./notification"), exports);
41
42
  __exportStar(require("./plugin"), exports);
42
43
  __exportStar(require("./pluginCommunity"), exports);
43
44
  __exportStar(require("./provider"), exports);
45
+ __exportStar(require("./rabbitConfiguration"), exports);
44
46
  __exportStar(require("./securityFirewall"), exports);
45
47
  __exportStar(require("./upgradeRabbitmq"), exports);
46
48
  __exportStar(require("./vpc"), exports);
@@ -58,9 +60,11 @@ const customDomain_1 = require("./customDomain");
58
60
  const instance_1 = require("./instance");
59
61
  const integrationLog_1 = require("./integrationLog");
60
62
  const integrationMetric_1 = require("./integrationMetric");
63
+ const nodeActions_1 = require("./nodeActions");
61
64
  const notification_1 = require("./notification");
62
65
  const plugin_1 = require("./plugin");
63
66
  const pluginCommunity_1 = require("./pluginCommunity");
67
+ const rabbitConfiguration_1 = require("./rabbitConfiguration");
64
68
  const securityFirewall_1 = require("./securityFirewall");
65
69
  const upgradeRabbitmq_1 = require("./upgradeRabbitmq");
66
70
  const vpc_1 = require("./vpc");
@@ -81,12 +85,16 @@ const _module = {
81
85
  return new integrationLog_1.IntegrationLog(name, undefined, { urn });
82
86
  case "cloudamqp:index/integrationMetric:IntegrationMetric":
83
87
  return new integrationMetric_1.IntegrationMetric(name, undefined, { urn });
88
+ case "cloudamqp:index/nodeActions:NodeActions":
89
+ return new nodeActions_1.NodeActions(name, undefined, { urn });
84
90
  case "cloudamqp:index/notification:Notification":
85
91
  return new notification_1.Notification(name, undefined, { urn });
86
92
  case "cloudamqp:index/plugin:Plugin":
87
93
  return new plugin_1.Plugin(name, undefined, { urn });
88
94
  case "cloudamqp:index/pluginCommunity:PluginCommunity":
89
95
  return new pluginCommunity_1.PluginCommunity(name, undefined, { urn });
96
+ case "cloudamqp:index/rabbitConfiguration:RabbitConfiguration":
97
+ return new rabbitConfiguration_1.RabbitConfiguration(name, undefined, { urn });
90
98
  case "cloudamqp:index/securityFirewall:SecurityFirewall":
91
99
  return new securityFirewall_1.SecurityFirewall(name, undefined, { urn });
92
100
  case "cloudamqp:index/upgradeRabbitmq:UpgradeRabbitmq":
@@ -109,9 +117,11 @@ pulumi.runtime.registerResourceModule("cloudamqp", "index/customDomain", _module
109
117
  pulumi.runtime.registerResourceModule("cloudamqp", "index/instance", _module);
110
118
  pulumi.runtime.registerResourceModule("cloudamqp", "index/integrationLog", _module);
111
119
  pulumi.runtime.registerResourceModule("cloudamqp", "index/integrationMetric", _module);
120
+ pulumi.runtime.registerResourceModule("cloudamqp", "index/nodeActions", _module);
112
121
  pulumi.runtime.registerResourceModule("cloudamqp", "index/notification", _module);
113
122
  pulumi.runtime.registerResourceModule("cloudamqp", "index/plugin", _module);
114
123
  pulumi.runtime.registerResourceModule("cloudamqp", "index/pluginCommunity", _module);
124
+ pulumi.runtime.registerResourceModule("cloudamqp", "index/rabbitConfiguration", _module);
115
125
  pulumi.runtime.registerResourceModule("cloudamqp", "index/securityFirewall", _module);
116
126
  pulumi.runtime.registerResourceModule("cloudamqp", "index/upgradeRabbitmq", _module);
117
127
  pulumi.runtime.registerResourceModule("cloudamqp", "index/vpc", _module);
package/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,kBAAkB;AAClB,0CAAwB;AACxB,iDAA+B;AAC/B,+CAA6B;AAC7B,mDAAiC;AACjC,6CAA2B;AAC3B,mDAAiC;AACjC,gDAA8B;AAC9B,6CAA2B;AAC3B,oDAAkC;AAClC,+CAA6B;AAC7B,wDAAsC;AACtC,0DAAwC;AACxC,kDAAgC;AAChC,+CAA6B;AAC7B,6CAA2B;AAC3B,mDAAiC;AACjC,sDAAoC;AACpC,iDAA+B;AAC/B,2CAAyB;AACzB,oDAAkC;AAClC,6CAA2B;AAC3B,qDAAmC;AACnC,oDAAkC;AAClC,wCAAsB;AACtB,kDAAgC;AAChC,+CAA6B;AAC7B,4CAA0B;AAE1B,sBAAsB;AACtB,mCAAmC;AAI/B,wBAAM;AAHV,iCAAiC;AAI7B,sBAAK;AAGT,gCAAgC;AAChC,mCAAgC;AAChC,iDAA8C;AAC9C,yCA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,CAAC,OAAO,CAAC,sBAAsB,CAAC,WAAW,EAAE,wBAAwB,EAAE,OAAO,CAAC,CAAA;AACrF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,WAAW,EAAE,uBAAuB,EAAE,OAAO,CAAC,CAAA;AACpF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,WAAW,EAAE,WAAW,EAAE,OAAO,CAAC,CAAA;AACxE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,WAAW,EAAE,qBAAqB,EAAE,OAAO,CAAC,CAAA;AAClF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,WAAW,EAAE,kBAAkB,EAAE,OAAO,CAAC,CAAA;AAC/E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,WAAW,EAAE,eAAe,EAAE,OAAO,CAAC,CAAA;AAE5E,yCAAsC;AAEtC,MAAM,CAAC,OAAO,CAAC,uBAAuB,CAAC,WAAW,EAAE;IAChD,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,iBAAiB,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAA2B,EAAE;QACpF,IAAI,IAAI,KAAK,4BAA4B,EAAE;YACvC,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACpD;QACD,OAAO,IAAI,mBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;IACvD,CAAC;CACJ,CAAC,CAAC"}
@@ -0,0 +1,217 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * This resource allows you to invoke actions on a specific node.
4
+ *
5
+ * Only available for dedicated subscription plans.
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * <details>
10
+ * <summary>
11
+ * <b>
12
+ * <i>Already know the node identifier (e.g. from state file)</i>
13
+ * </b>
14
+ * </summary>
15
+ *
16
+ * ```typescript
17
+ * import * as pulumi from "@pulumi/pulumi";
18
+ * import * as cloudamqp from "@pulumi/cloudamqp";
19
+ *
20
+ * // New recipient to receieve notifications
21
+ * const nodeAction = new cloudamqp.NodeActions("nodeAction", {
22
+ * instanceId: cloudamqp_instance.instance.id,
23
+ * nodeName: "<node name>",
24
+ * action: "restart",
25
+ * });
26
+ * ```
27
+ * </details>
28
+ *
29
+ * Using data source `cloudamqp.getNodes` to restart RabbitMQ on all nodes.</br>
30
+ * ***Note: RabbitMQ restart on multiple nodes need to be chained, so one node restart at the time.***
31
+ *
32
+ * <details>
33
+ * <summary>
34
+ * <b>
35
+ * <i>Multi node RabbitMQ restart</i>
36
+ * </b>
37
+ * </summary>
38
+ *
39
+ * ```typescript
40
+ * import * as pulumi from "@pulumi/pulumi";
41
+ * import * as cloudamqp from "@pulumi/cloudamqp";
42
+ *
43
+ * const listNodes = cloudamqp.getNodes({
44
+ * instanceId: cloudamqp_instance.instance.id,
45
+ * });
46
+ * const restart01 = new cloudamqp.NodeActions("restart01", {
47
+ * instanceId: cloudamqp_instance.instance.id,
48
+ * action: "restart",
49
+ * nodeName: listNodes.then(listNodes => listNodes.nodes?[0]?.name),
50
+ * });
51
+ * const restart02 = new cloudamqp.NodeActions("restart02", {
52
+ * instanceId: cloudamqp_instance.instance.id,
53
+ * action: "restart",
54
+ * nodeName: listNodes.then(listNodes => listNodes.nodes?[1]?.name),
55
+ * }, {
56
+ * dependsOn: [restart01],
57
+ * });
58
+ * const restart03 = new cloudamqp.NodeActions("restart03", {
59
+ * instanceId: cloudamqp_instance.instance.id,
60
+ * action: "restart",
61
+ * nodeName: listNodes.then(listNodes => listNodes.nodes?[2]?.name),
62
+ * }, {
63
+ * dependsOn: [
64
+ * restart01,
65
+ * restart02,
66
+ * ],
67
+ * });
68
+ * ```
69
+ * </details>
70
+ *
71
+ * <details>
72
+ * <summary>
73
+ * <b>
74
+ * <i>Combine log level configuration change with multi node RabbitMQ restart</i>
75
+ * </b>
76
+ * </summary>
77
+ *
78
+ * ```typescript
79
+ * import * as pulumi from "@pulumi/pulumi";
80
+ * import * as cloudamqp from "@pulumi/cloudamqp";
81
+ *
82
+ * const listNodes = cloudamqp.getNodes({
83
+ * instanceId: cloudamqp_instance.instance.id,
84
+ * });
85
+ * const rabbitmqConfig = new cloudamqp.RabbitConfiguration("rabbitmqConfig", {
86
+ * instanceId: cloudamqp_instance.instance.id,
87
+ * logExchangeLevel: "info",
88
+ * });
89
+ * const restart01 = new cloudamqp.NodeActions("restart01", {
90
+ * instanceId: cloudamqp_instance.instance.id,
91
+ * action: "restart",
92
+ * nodeName: listNodes.then(listNodes => listNodes.nodes?[0]?.name),
93
+ * }, {
94
+ * dependsOn: [rabbitmqConfig],
95
+ * });
96
+ * const restart02 = new cloudamqp.NodeActions("restart02", {
97
+ * instanceId: cloudamqp_instance.instance.id,
98
+ * action: "restart",
99
+ * nodeName: listNodes.then(listNodes => listNodes.nodes?[1]?.name),
100
+ * }, {
101
+ * dependsOn: [
102
+ * rabbitmqConfig,
103
+ * restart01,
104
+ * ],
105
+ * });
106
+ * const restart03 = new cloudamqp.NodeActions("restart03", {
107
+ * instanceId: cloudamqp_instance.instance.id,
108
+ * action: "restart",
109
+ * nodeName: listNodes.then(listNodes => listNodes.nodes?[2]?.name),
110
+ * }, {
111
+ * dependsOn: [
112
+ * rabbitmqConfig,
113
+ * restart01,
114
+ * restart02,
115
+ * ],
116
+ * });
117
+ * ```
118
+ * </details>
119
+ * ## Action reference
120
+ *
121
+ * Valid options for action.
122
+ *
123
+ * | Action | Info |
124
+ * |--------------|------------------------------------|
125
+ * | start | Start RabbitMQ |
126
+ * | stop | Stop RabbitMQ |
127
+ * | restart | Restart RabbitMQ |
128
+ * | reboot | Reboot the node |
129
+ * | mgmt.restart | Restart the RabbitMQ mgmt interace |
130
+ *
131
+ * ## Dependency
132
+ *
133
+ * This resource depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id` and node name.
134
+ *
135
+ * ## Import
136
+ *
137
+ * This resource cannot be imported.
138
+ */
139
+ export declare class NodeActions extends pulumi.CustomResource {
140
+ /**
141
+ * Get an existing NodeActions resource's state with the given name, ID, and optional extra
142
+ * properties used to qualify the lookup.
143
+ *
144
+ * @param name The _unique_ name of the resulting resource.
145
+ * @param id The _unique_ provider ID of the resource to lookup.
146
+ * @param state Any extra arguments used during the lookup.
147
+ * @param opts Optional settings to control the behavior of the CustomResource.
148
+ */
149
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: NodeActionsState, opts?: pulumi.CustomResourceOptions): NodeActions;
150
+ /**
151
+ * Returns true if the given object is an instance of NodeActions. This is designed to work even
152
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
153
+ */
154
+ static isInstance(obj: any): obj is NodeActions;
155
+ /**
156
+ * The action to invoke on the node.
157
+ */
158
+ readonly action: pulumi.Output<string>;
159
+ /**
160
+ * The CloudAMQP instance ID.
161
+ */
162
+ readonly instanceId: pulumi.Output<number>;
163
+ /**
164
+ * The node name, e.g `green-guinea-pig-01`.
165
+ */
166
+ readonly nodeName: pulumi.Output<string>;
167
+ /**
168
+ * If the node is running.
169
+ */
170
+ readonly running: pulumi.Output<boolean>;
171
+ /**
172
+ * Create a NodeActions resource with the given unique name, arguments, and options.
173
+ *
174
+ * @param name The _unique_ name of the resource.
175
+ * @param args The arguments to use to populate this resource's properties.
176
+ * @param opts A bag of options that control this resource's behavior.
177
+ */
178
+ constructor(name: string, args: NodeActionsArgs, opts?: pulumi.CustomResourceOptions);
179
+ }
180
+ /**
181
+ * Input properties used for looking up and filtering NodeActions resources.
182
+ */
183
+ export interface NodeActionsState {
184
+ /**
185
+ * The action to invoke on the node.
186
+ */
187
+ action?: pulumi.Input<string>;
188
+ /**
189
+ * The CloudAMQP instance ID.
190
+ */
191
+ instanceId?: pulumi.Input<number>;
192
+ /**
193
+ * The node name, e.g `green-guinea-pig-01`.
194
+ */
195
+ nodeName?: pulumi.Input<string>;
196
+ /**
197
+ * If the node is running.
198
+ */
199
+ running?: pulumi.Input<boolean>;
200
+ }
201
+ /**
202
+ * The set of arguments for constructing a NodeActions resource.
203
+ */
204
+ export interface NodeActionsArgs {
205
+ /**
206
+ * The action to invoke on the node.
207
+ */
208
+ action: pulumi.Input<string>;
209
+ /**
210
+ * The CloudAMQP instance ID.
211
+ */
212
+ instanceId: pulumi.Input<number>;
213
+ /**
214
+ * The node name, e.g `green-guinea-pig-01`.
215
+ */
216
+ nodeName: pulumi.Input<string>;
217
+ }
package/nodeActions.js ADDED
@@ -0,0 +1,201 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.NodeActions = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * This resource allows you to invoke actions on a specific node.
10
+ *
11
+ * Only available for dedicated subscription plans.
12
+ *
13
+ * ## Example Usage
14
+ *
15
+ * <details>
16
+ * <summary>
17
+ * <b>
18
+ * <i>Already know the node identifier (e.g. from state file)</i>
19
+ * </b>
20
+ * </summary>
21
+ *
22
+ * ```typescript
23
+ * import * as pulumi from "@pulumi/pulumi";
24
+ * import * as cloudamqp from "@pulumi/cloudamqp";
25
+ *
26
+ * // New recipient to receieve notifications
27
+ * const nodeAction = new cloudamqp.NodeActions("nodeAction", {
28
+ * instanceId: cloudamqp_instance.instance.id,
29
+ * nodeName: "<node name>",
30
+ * action: "restart",
31
+ * });
32
+ * ```
33
+ * </details>
34
+ *
35
+ * Using data source `cloudamqp.getNodes` to restart RabbitMQ on all nodes.</br>
36
+ * ***Note: RabbitMQ restart on multiple nodes need to be chained, so one node restart at the time.***
37
+ *
38
+ * <details>
39
+ * <summary>
40
+ * <b>
41
+ * <i>Multi node RabbitMQ restart</i>
42
+ * </b>
43
+ * </summary>
44
+ *
45
+ * ```typescript
46
+ * import * as pulumi from "@pulumi/pulumi";
47
+ * import * as cloudamqp from "@pulumi/cloudamqp";
48
+ *
49
+ * const listNodes = cloudamqp.getNodes({
50
+ * instanceId: cloudamqp_instance.instance.id,
51
+ * });
52
+ * const restart01 = new cloudamqp.NodeActions("restart01", {
53
+ * instanceId: cloudamqp_instance.instance.id,
54
+ * action: "restart",
55
+ * nodeName: listNodes.then(listNodes => listNodes.nodes?[0]?.name),
56
+ * });
57
+ * const restart02 = new cloudamqp.NodeActions("restart02", {
58
+ * instanceId: cloudamqp_instance.instance.id,
59
+ * action: "restart",
60
+ * nodeName: listNodes.then(listNodes => listNodes.nodes?[1]?.name),
61
+ * }, {
62
+ * dependsOn: [restart01],
63
+ * });
64
+ * const restart03 = new cloudamqp.NodeActions("restart03", {
65
+ * instanceId: cloudamqp_instance.instance.id,
66
+ * action: "restart",
67
+ * nodeName: listNodes.then(listNodes => listNodes.nodes?[2]?.name),
68
+ * }, {
69
+ * dependsOn: [
70
+ * restart01,
71
+ * restart02,
72
+ * ],
73
+ * });
74
+ * ```
75
+ * </details>
76
+ *
77
+ * <details>
78
+ * <summary>
79
+ * <b>
80
+ * <i>Combine log level configuration change with multi node RabbitMQ restart</i>
81
+ * </b>
82
+ * </summary>
83
+ *
84
+ * ```typescript
85
+ * import * as pulumi from "@pulumi/pulumi";
86
+ * import * as cloudamqp from "@pulumi/cloudamqp";
87
+ *
88
+ * const listNodes = cloudamqp.getNodes({
89
+ * instanceId: cloudamqp_instance.instance.id,
90
+ * });
91
+ * const rabbitmqConfig = new cloudamqp.RabbitConfiguration("rabbitmqConfig", {
92
+ * instanceId: cloudamqp_instance.instance.id,
93
+ * logExchangeLevel: "info",
94
+ * });
95
+ * const restart01 = new cloudamqp.NodeActions("restart01", {
96
+ * instanceId: cloudamqp_instance.instance.id,
97
+ * action: "restart",
98
+ * nodeName: listNodes.then(listNodes => listNodes.nodes?[0]?.name),
99
+ * }, {
100
+ * dependsOn: [rabbitmqConfig],
101
+ * });
102
+ * const restart02 = new cloudamqp.NodeActions("restart02", {
103
+ * instanceId: cloudamqp_instance.instance.id,
104
+ * action: "restart",
105
+ * nodeName: listNodes.then(listNodes => listNodes.nodes?[1]?.name),
106
+ * }, {
107
+ * dependsOn: [
108
+ * rabbitmqConfig,
109
+ * restart01,
110
+ * ],
111
+ * });
112
+ * const restart03 = new cloudamqp.NodeActions("restart03", {
113
+ * instanceId: cloudamqp_instance.instance.id,
114
+ * action: "restart",
115
+ * nodeName: listNodes.then(listNodes => listNodes.nodes?[2]?.name),
116
+ * }, {
117
+ * dependsOn: [
118
+ * rabbitmqConfig,
119
+ * restart01,
120
+ * restart02,
121
+ * ],
122
+ * });
123
+ * ```
124
+ * </details>
125
+ * ## Action reference
126
+ *
127
+ * Valid options for action.
128
+ *
129
+ * | Action | Info |
130
+ * |--------------|------------------------------------|
131
+ * | start | Start RabbitMQ |
132
+ * | stop | Stop RabbitMQ |
133
+ * | restart | Restart RabbitMQ |
134
+ * | reboot | Reboot the node |
135
+ * | mgmt.restart | Restart the RabbitMQ mgmt interace |
136
+ *
137
+ * ## Dependency
138
+ *
139
+ * This resource depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id` and node name.
140
+ *
141
+ * ## Import
142
+ *
143
+ * This resource cannot be imported.
144
+ */
145
+ class NodeActions extends pulumi.CustomResource {
146
+ constructor(name, argsOrState, opts) {
147
+ let resourceInputs = {};
148
+ opts = opts || {};
149
+ if (opts.id) {
150
+ const state = argsOrState;
151
+ resourceInputs["action"] = state ? state.action : undefined;
152
+ resourceInputs["instanceId"] = state ? state.instanceId : undefined;
153
+ resourceInputs["nodeName"] = state ? state.nodeName : undefined;
154
+ resourceInputs["running"] = state ? state.running : undefined;
155
+ }
156
+ else {
157
+ const args = argsOrState;
158
+ if ((!args || args.action === undefined) && !opts.urn) {
159
+ throw new Error("Missing required property 'action'");
160
+ }
161
+ if ((!args || args.instanceId === undefined) && !opts.urn) {
162
+ throw new Error("Missing required property 'instanceId'");
163
+ }
164
+ if ((!args || args.nodeName === undefined) && !opts.urn) {
165
+ throw new Error("Missing required property 'nodeName'");
166
+ }
167
+ resourceInputs["action"] = args ? args.action : undefined;
168
+ resourceInputs["instanceId"] = args ? args.instanceId : undefined;
169
+ resourceInputs["nodeName"] = args ? args.nodeName : undefined;
170
+ resourceInputs["running"] = undefined /*out*/;
171
+ }
172
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
173
+ super(NodeActions.__pulumiType, name, resourceInputs, opts);
174
+ }
175
+ /**
176
+ * Get an existing NodeActions resource's state with the given name, ID, and optional extra
177
+ * properties used to qualify the lookup.
178
+ *
179
+ * @param name The _unique_ name of the resulting resource.
180
+ * @param id The _unique_ provider ID of the resource to lookup.
181
+ * @param state Any extra arguments used during the lookup.
182
+ * @param opts Optional settings to control the behavior of the CustomResource.
183
+ */
184
+ static get(name, id, state, opts) {
185
+ return new NodeActions(name, state, Object.assign(Object.assign({}, opts), { id: id }));
186
+ }
187
+ /**
188
+ * Returns true if the given object is an instance of NodeActions. This is designed to work even
189
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
190
+ */
191
+ static isInstance(obj) {
192
+ if (obj === undefined || obj === null) {
193
+ return false;
194
+ }
195
+ return obj['__pulumiType'] === NodeActions.__pulumiType;
196
+ }
197
+ }
198
+ exports.NodeActions = NodeActions;
199
+ /** @internal */
200
+ NodeActions.__pulumiType = 'cloudamqp:index/nodeActions:NodeActions';
201
+ //# sourceMappingURL=nodeActions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nodeActions.js","sourceRoot":"","sources":["../nodeActions.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwIG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAqDlD,YAA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,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACjD;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;IA/ED;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,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;;AA1BL,kCAiFC;AAnEG,gBAAgB;AACO,wBAAY,GAAG,yCAAyC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/cloudamqp",
3
- "version": "v3.7.0",
3
+ "version": "v3.8.0",
4
4
  "description": "A Pulumi package for creating and managing CloudAMQP resources.",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -11,7 +11,7 @@
11
11
  "license": "Apache-2.0",
12
12
  "scripts": {
13
13
  "build": "tsc",
14
- "install": "node scripts/install-pulumi-plugin.js resource cloudamqp v3.7.0"
14
+ "install": "node scripts/install-pulumi-plugin.js resource cloudamqp v3.8.0"
15
15
  },
16
16
  "dependencies": {
17
17
  "@pulumi/pulumi": "^3.0.0"
package/package.json.dev CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/cloudamqp",
3
- "version": "v3.7.0",
3
+ "version": "v3.8.0",
4
4
  "description": "A Pulumi package for creating and managing CloudAMQP resources.",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -11,7 +11,7 @@
11
11
  "license": "Apache-2.0",
12
12
  "scripts": {
13
13
  "build": "tsc",
14
- "install": "node scripts/install-pulumi-plugin.js resource cloudamqp v3.7.0"
14
+ "install": "node scripts/install-pulumi-plugin.js resource cloudamqp v3.8.0"
15
15
  },
16
16
  "dependencies": {
17
17
  "@pulumi/pulumi": "^3.0.0"
@@ -0,0 +1,174 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * This resource allows you update RabbitMQ config.
4
+ *
5
+ * Only available for dedicated subscription plans.
6
+ *
7
+ * ## Argument threshold values
8
+ *
9
+ * | Argument | Type | Default | Min | Max | Note |
10
+ * |------------------------------|--------|-----------|-------|-----------|-------------------------------------------------------------------|
11
+ * | heartbeat | int | 120 | 1 | - | |
12
+ * | connectionMax | int | -1 | 1 | - | -1 in the provider corresponds to INFINITY in the RabbitMQ config |
13
+ * | channelMax | int | 0 | 0 | - | 0 means "no limit" |
14
+ * | consumerTimeout | int | 7200000 | 10000 | 25000000 | Timeout in milliseconds |
15
+ * | vmMemoryHighWatermark | float | 0.81 | 0.4 | 0.9 | |
16
+ * | queueIndexEmbedMsgsBelow | int | 4096 | 1 | 10485760 | |
17
+ * | maxMessageSize | int | 134217728 | 1 | 536870912 | Size in bytes |
18
+ * | logExchangeLevel | string | error | - | - | debug, info, warning, error, critical |
19
+ *
20
+ * ## Dependency
21
+ *
22
+ * This resource depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
23
+ *
24
+ * ## Import
25
+ *
26
+ * `cloudamqp_rabbitmq_configuration` can be imported using the CloudAMQP instance identifier.
27
+ *
28
+ * ```sh
29
+ * $ pulumi import cloudamqp:index/rabbitConfiguration:RabbitConfiguration config <instance_id>`
30
+ * ```
31
+ */
32
+ export declare class RabbitConfiguration extends pulumi.CustomResource {
33
+ /**
34
+ * Get an existing RabbitConfiguration resource's state with the given name, ID, and optional extra
35
+ * properties used to qualify the lookup.
36
+ *
37
+ * @param name The _unique_ name of the resulting resource.
38
+ * @param id The _unique_ provider ID of the resource to lookup.
39
+ * @param state Any extra arguments used during the lookup.
40
+ * @param opts Optional settings to control the behavior of the CustomResource.
41
+ */
42
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RabbitConfigurationState, opts?: pulumi.CustomResourceOptions): RabbitConfiguration;
43
+ /**
44
+ * Returns true if the given object is an instance of RabbitConfiguration. This is designed to work even
45
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
46
+ */
47
+ static isInstance(obj: any): obj is RabbitConfiguration;
48
+ /**
49
+ * Set the maximum permissible number of channels per connection.
50
+ */
51
+ readonly channelMax: pulumi.Output<number | undefined>;
52
+ /**
53
+ * Set the maximum permissible number of connection.
54
+ */
55
+ readonly connectionMax: pulumi.Output<number | undefined>;
56
+ /**
57
+ * A consumer that has recevied a message and does not acknowledge that message within the timeout in milliseconds
58
+ */
59
+ readonly consumerTimeout: pulumi.Output<number | undefined>;
60
+ /**
61
+ * Set the server AMQP 0-9-1 heartbeat timeout in seconds.
62
+ */
63
+ readonly heartbeat: pulumi.Output<number | undefined>;
64
+ /**
65
+ * The CloudAMQP instance ID.
66
+ */
67
+ readonly instanceId: pulumi.Output<number>;
68
+ /**
69
+ * Log level for the logger used for log integrations and the CloudAMQP Console log view.
70
+ */
71
+ readonly logExchangeLevel: pulumi.Output<string | undefined>;
72
+ /**
73
+ * The largest allowed message payload size in bytes.
74
+ */
75
+ readonly maxMessageSize: pulumi.Output<number | undefined>;
76
+ /**
77
+ * Size in bytes below which to embed messages in the queue index.
78
+ */
79
+ readonly queueIndexEmbedMsgsBelow: pulumi.Output<number | undefined>;
80
+ /**
81
+ * When the server will enter memory based flow-control as relative to the maximum available memory.
82
+ */
83
+ readonly vmMemoryHighWatermark: pulumi.Output<number | undefined>;
84
+ /**
85
+ * Create a RabbitConfiguration resource with the given unique name, arguments, and options.
86
+ *
87
+ * @param name The _unique_ name of the resource.
88
+ * @param args The arguments to use to populate this resource's properties.
89
+ * @param opts A bag of options that control this resource's behavior.
90
+ */
91
+ constructor(name: string, args: RabbitConfigurationArgs, opts?: pulumi.CustomResourceOptions);
92
+ }
93
+ /**
94
+ * Input properties used for looking up and filtering RabbitConfiguration resources.
95
+ */
96
+ export interface RabbitConfigurationState {
97
+ /**
98
+ * Set the maximum permissible number of channels per connection.
99
+ */
100
+ channelMax?: pulumi.Input<number>;
101
+ /**
102
+ * Set the maximum permissible number of connection.
103
+ */
104
+ connectionMax?: pulumi.Input<number>;
105
+ /**
106
+ * A consumer that has recevied a message and does not acknowledge that message within the timeout in milliseconds
107
+ */
108
+ consumerTimeout?: pulumi.Input<number>;
109
+ /**
110
+ * Set the server AMQP 0-9-1 heartbeat timeout in seconds.
111
+ */
112
+ heartbeat?: pulumi.Input<number>;
113
+ /**
114
+ * The CloudAMQP instance ID.
115
+ */
116
+ instanceId?: pulumi.Input<number>;
117
+ /**
118
+ * Log level for the logger used for log integrations and the CloudAMQP Console log view.
119
+ */
120
+ logExchangeLevel?: pulumi.Input<string>;
121
+ /**
122
+ * The largest allowed message payload size in bytes.
123
+ */
124
+ maxMessageSize?: pulumi.Input<number>;
125
+ /**
126
+ * Size in bytes below which to embed messages in the queue index.
127
+ */
128
+ queueIndexEmbedMsgsBelow?: pulumi.Input<number>;
129
+ /**
130
+ * When the server will enter memory based flow-control as relative to the maximum available memory.
131
+ */
132
+ vmMemoryHighWatermark?: pulumi.Input<number>;
133
+ }
134
+ /**
135
+ * The set of arguments for constructing a RabbitConfiguration resource.
136
+ */
137
+ export interface RabbitConfigurationArgs {
138
+ /**
139
+ * Set the maximum permissible number of channels per connection.
140
+ */
141
+ channelMax?: pulumi.Input<number>;
142
+ /**
143
+ * Set the maximum permissible number of connection.
144
+ */
145
+ connectionMax?: pulumi.Input<number>;
146
+ /**
147
+ * A consumer that has recevied a message and does not acknowledge that message within the timeout in milliseconds
148
+ */
149
+ consumerTimeout?: pulumi.Input<number>;
150
+ /**
151
+ * Set the server AMQP 0-9-1 heartbeat timeout in seconds.
152
+ */
153
+ heartbeat?: pulumi.Input<number>;
154
+ /**
155
+ * The CloudAMQP instance ID.
156
+ */
157
+ instanceId: pulumi.Input<number>;
158
+ /**
159
+ * Log level for the logger used for log integrations and the CloudAMQP Console log view.
160
+ */
161
+ logExchangeLevel?: pulumi.Input<string>;
162
+ /**
163
+ * The largest allowed message payload size in bytes.
164
+ */
165
+ maxMessageSize?: pulumi.Input<number>;
166
+ /**
167
+ * Size in bytes below which to embed messages in the queue index.
168
+ */
169
+ queueIndexEmbedMsgsBelow?: pulumi.Input<number>;
170
+ /**
171
+ * When the server will enter memory based flow-control as relative to the maximum available memory.
172
+ */
173
+ vmMemoryHighWatermark?: pulumi.Input<number>;
174
+ }
@@ -0,0 +1,98 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.RabbitConfiguration = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * This resource allows you update RabbitMQ config.
10
+ *
11
+ * Only available for dedicated subscription plans.
12
+ *
13
+ * ## Argument threshold values
14
+ *
15
+ * | Argument | Type | Default | Min | Max | Note |
16
+ * |------------------------------|--------|-----------|-------|-----------|-------------------------------------------------------------------|
17
+ * | heartbeat | int | 120 | 1 | - | |
18
+ * | connectionMax | int | -1 | 1 | - | -1 in the provider corresponds to INFINITY in the RabbitMQ config |
19
+ * | channelMax | int | 0 | 0 | - | 0 means "no limit" |
20
+ * | consumerTimeout | int | 7200000 | 10000 | 25000000 | Timeout in milliseconds |
21
+ * | vmMemoryHighWatermark | float | 0.81 | 0.4 | 0.9 | |
22
+ * | queueIndexEmbedMsgsBelow | int | 4096 | 1 | 10485760 | |
23
+ * | maxMessageSize | int | 134217728 | 1 | 536870912 | Size in bytes |
24
+ * | logExchangeLevel | string | error | - | - | debug, info, warning, error, critical |
25
+ *
26
+ * ## Dependency
27
+ *
28
+ * This resource depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
29
+ *
30
+ * ## Import
31
+ *
32
+ * `cloudamqp_rabbitmq_configuration` can be imported using the CloudAMQP instance identifier.
33
+ *
34
+ * ```sh
35
+ * $ pulumi import cloudamqp:index/rabbitConfiguration:RabbitConfiguration config <instance_id>`
36
+ * ```
37
+ */
38
+ class RabbitConfiguration extends pulumi.CustomResource {
39
+ constructor(name, argsOrState, opts) {
40
+ let resourceInputs = {};
41
+ opts = opts || {};
42
+ if (opts.id) {
43
+ const state = argsOrState;
44
+ resourceInputs["channelMax"] = state ? state.channelMax : undefined;
45
+ resourceInputs["connectionMax"] = state ? state.connectionMax : undefined;
46
+ resourceInputs["consumerTimeout"] = state ? state.consumerTimeout : undefined;
47
+ resourceInputs["heartbeat"] = state ? state.heartbeat : undefined;
48
+ resourceInputs["instanceId"] = state ? state.instanceId : undefined;
49
+ resourceInputs["logExchangeLevel"] = state ? state.logExchangeLevel : undefined;
50
+ resourceInputs["maxMessageSize"] = state ? state.maxMessageSize : undefined;
51
+ resourceInputs["queueIndexEmbedMsgsBelow"] = state ? state.queueIndexEmbedMsgsBelow : undefined;
52
+ resourceInputs["vmMemoryHighWatermark"] = state ? state.vmMemoryHighWatermark : undefined;
53
+ }
54
+ else {
55
+ const args = argsOrState;
56
+ if ((!args || args.instanceId === undefined) && !opts.urn) {
57
+ throw new Error("Missing required property 'instanceId'");
58
+ }
59
+ resourceInputs["channelMax"] = args ? args.channelMax : undefined;
60
+ resourceInputs["connectionMax"] = args ? args.connectionMax : undefined;
61
+ resourceInputs["consumerTimeout"] = args ? args.consumerTimeout : undefined;
62
+ resourceInputs["heartbeat"] = args ? args.heartbeat : undefined;
63
+ resourceInputs["instanceId"] = args ? args.instanceId : undefined;
64
+ resourceInputs["logExchangeLevel"] = args ? args.logExchangeLevel : undefined;
65
+ resourceInputs["maxMessageSize"] = args ? args.maxMessageSize : undefined;
66
+ resourceInputs["queueIndexEmbedMsgsBelow"] = args ? args.queueIndexEmbedMsgsBelow : undefined;
67
+ resourceInputs["vmMemoryHighWatermark"] = args ? args.vmMemoryHighWatermark : undefined;
68
+ }
69
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
70
+ super(RabbitConfiguration.__pulumiType, name, resourceInputs, opts);
71
+ }
72
+ /**
73
+ * Get an existing RabbitConfiguration resource's state with the given name, ID, and optional extra
74
+ * properties used to qualify the lookup.
75
+ *
76
+ * @param name The _unique_ name of the resulting resource.
77
+ * @param id The _unique_ provider ID of the resource to lookup.
78
+ * @param state Any extra arguments used during the lookup.
79
+ * @param opts Optional settings to control the behavior of the CustomResource.
80
+ */
81
+ static get(name, id, state, opts) {
82
+ return new RabbitConfiguration(name, state, Object.assign(Object.assign({}, opts), { id: id }));
83
+ }
84
+ /**
85
+ * Returns true if the given object is an instance of RabbitConfiguration. This is designed to work even
86
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
87
+ */
88
+ static isInstance(obj) {
89
+ if (obj === undefined || obj === null) {
90
+ return false;
91
+ }
92
+ return obj['__pulumiType'] === RabbitConfiguration.__pulumiType;
93
+ }
94
+ }
95
+ exports.RabbitConfiguration = RabbitConfiguration;
96
+ /** @internal */
97
+ RabbitConfiguration.__pulumiType = 'cloudamqp:index/rabbitConfiguration:RabbitConfiguration';
98
+ //# sourceMappingURL=rabbit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BAA0B,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,wBAAwB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9F,cAAc,CAAC,uBAAuB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC,CAAC,SAAS,CAAC;SAC3F;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,mBAAmB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;IAvGD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgC,EAAE,IAAmC;QAC9H,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC1E,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,mBAAmB,CAAC,YAAY,CAAC;IACpE,CAAC;;AA1BL,kDAyGC;AA3FG,gBAAgB;AACO,gCAAY,GAAG,yDAAyD,CAAC"}
@@ -6,7 +6,7 @@ import * as pulumi from "@pulumi/pulumi";
6
6
  * >
7
7
  * > Auto delete queues (queues that are marked AD) will be deleted during the update.
8
8
  * >
9
- * > Any custom plugins support has installed on your behalf will be disabled and you need to contact support@cloudamqp.com and ask to have them re-installed.
9
+ * > Any custom plugins support has installed on your behalf will be disabled and you need to contact support@cloudamqp.com and ask to have them re-installed.
10
10
  * >
11
11
  * > TLS 1.0 and 1.1 will not be supported after the update.
12
12
  *
@@ -12,7 +12,7 @@ const utilities = require("./utilities");
12
12
  * >
13
13
  * > Auto delete queues (queues that are marked AD) will be deleted during the update.
14
14
  * >
15
- * > Any custom plugins support has installed on your behalf will be disabled and you need to contact support@cloudamqp.com and ask to have them re-installed.
15
+ * > Any custom plugins support has installed on your behalf will be disabled and you need to contact support@cloudamqp.com and ask to have them re-installed.
16
16
  * >
17
17
  * > TLS 1.0 and 1.1 will not be supported after the update.
18
18
  *
@@ -1,4 +1,9 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * ## Import
4
+ *
5
+ * Not possible to import this resource.
6
+ */
2
7
  export declare class VpcGcpPeering extends pulumi.CustomResource {
3
8
  /**
4
9
  * Get an existing VpcGcpPeering resource's state with the given name, ID, and optional extra
package/vpcGcpPeering.js CHANGED
@@ -5,6 +5,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.VpcGcpPeering = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
+ /**
9
+ * ## Import
10
+ *
11
+ * Not possible to import this resource.
12
+ */
8
13
  class VpcGcpPeering extends pulumi.CustomResource {
9
14
  constructor(name, argsOrState, opts) {
10
15
  let resourceInputs = {};
@@ -1 +1 @@
1
- {"version":3,"file":"vpcGcpPeering.js","sourceRoot":"","sources":["../vpcGcpPeering.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IA6DpD,YAAY,IAAY,EAAE,WAAoD,EAAE,IAAmC;QAC/G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA6C,CAAC;YAC5D,cAAc,CAAC,kBAAkB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAA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YAC5C,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACtD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;IArFD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACpE,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,aAAa,CAAC,YAAY,CAAC;IAC9D,CAAC;;AA1BL,sCAuFC;AAzEG,gBAAgB;AACO,0BAAY,GAAG,6CAA6C,CAAC"}
package/vpcPeering.d.ts CHANGED
@@ -2,21 +2,7 @@ import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
3
  * ## Import
4
4
  *
5
- * *Pre v1.16.0* `cloudamqp_vpc_peering` can be imported using the CloudAMQP instance identifier.
6
- *
7
- * ```sh
8
- * $ pulumi import cloudamqp:index/vpcPeering:VpcPeering <resource_name> <instance_id>`
9
- * ```
10
- *
11
- * *Post v1.16.0* `cloudamqp_vpc_peering` can be imported using the CloudAMQP managed VPC identifier or instance identifier.
12
- *
13
- * ```sh
14
- * $ pulumi import cloudamqp:index/vpcPeering:VpcPeering <resource_name> <vpc_id>`
15
- * ```
16
- *
17
- * ```sh
18
- * $ pulumi import cloudamqp:index/vpcPeering:VpcPeering <resource_name> <instance_id>`
19
- * ```
5
+ * Not possible to import this resource.
20
6
  */
21
7
  export declare class VpcPeering extends pulumi.CustomResource {
22
8
  /**
package/vpcPeering.js CHANGED
@@ -8,21 +8,7 @@ const utilities = require("./utilities");
8
8
  /**
9
9
  * ## Import
10
10
  *
11
- * *Pre v1.16.0* `cloudamqp_vpc_peering` can be imported using the CloudAMQP instance identifier.
12
- *
13
- * ```sh
14
- * $ pulumi import cloudamqp:index/vpcPeering:VpcPeering <resource_name> <instance_id>`
15
- * ```
16
- *
17
- * *Post v1.16.0* `cloudamqp_vpc_peering` can be imported using the CloudAMQP managed VPC identifier or instance identifier.
18
- *
19
- * ```sh
20
- * $ pulumi import cloudamqp:index/vpcPeering:VpcPeering <resource_name> <vpc_id>`
21
- * ```
22
- *
23
- * ```sh
24
- * $ pulumi import cloudamqp:index/vpcPeering:VpcPeering <resource_name> <instance_id>`
25
- * ```
11
+ * Not possible to import this resource.
26
12
  */
27
13
  class VpcPeering extends pulumi.CustomResource {
28
14
  constructor(name, argsOrState, opts) {
package/vpcPeering.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"vpcPeering.js","sourceRoot":"","sources":["../vpcPeering.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IA6DjD,YAAY,IAAY,EAAE,WAA8C,EAAE,IAAmC;QACzG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA0C,CAAC;YACzD,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC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