@pulumi/cloudamqp 3.29.0-alpha.1777270717 → 3.29.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
@@ -177,7 +177,7 @@ export declare class Alarm extends pulumi.CustomResource {
177
177
  * The reminder interval (in seconds) to resend the alarm if not
178
178
  * resolved. Set to 0 for no reminders. The Default is 0.
179
179
  */
180
- readonly reminderInterval: pulumi.Output<number | undefined>;
180
+ readonly reminderInterval: pulumi.Output<number>;
181
181
  /**
182
182
  * The time interval (in seconds) the `valueThreshold` should be
183
183
  * active before triggering an alarm.
package/getAlarm.d.ts CHANGED
@@ -1,5 +1,7 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
+ * > **Deprecated** This data source will be removed in next major version (v2.0). Use the `cloudamqp.getAlarms` data source instead.
4
+ *
3
5
  * Use this data source to retrieve information about default or created alarms. Either use `alarmId`
4
6
  * or `type` to retrieve the alarm.
5
7
  *
@@ -43,11 +45,6 @@ export interface GetAlarmArgs {
43
45
  * alarm types.
44
46
  */
45
47
  type?: string;
46
- /**
47
- * Disk value threshold calculation, `(fixed, percentage)` of disk space
48
- * remaining.
49
- */
50
- valueCalculation?: string;
51
48
  }
52
49
  /**
53
50
  * A collection of values returned by getAlarm.
@@ -59,7 +56,7 @@ export interface GetAlarmResult {
59
56
  */
60
57
  readonly enabled: boolean;
61
58
  /**
62
- * The provider-assigned unique ID for this managed resource.
59
+ * The identifier for this resource.
63
60
  */
64
61
  readonly id: string;
65
62
  readonly instanceId: number;
@@ -90,7 +87,7 @@ export interface GetAlarmResult {
90
87
  * Disk value threshold calculation, `(fixed, percentage)` of disk space
91
88
  * remaining.
92
89
  */
93
- readonly valueCalculation?: string;
90
+ readonly valueCalculation: string;
94
91
  /**
95
92
  * The value threshold that triggers the alarm.
96
93
  */
@@ -101,6 +98,8 @@ export interface GetAlarmResult {
101
98
  readonly vhostRegex: string;
102
99
  }
103
100
  /**
101
+ * > **Deprecated** This data source will be removed in next major version (v2.0). Use the `cloudamqp.getAlarms` data source instead.
102
+ *
104
103
  * Use this data source to retrieve information about default or created alarms. Either use `alarmId`
105
104
  * or `type` to retrieve the alarm.
106
105
  *
@@ -144,9 +143,4 @@ export interface GetAlarmOutputArgs {
144
143
  * alarm types.
145
144
  */
146
145
  type?: pulumi.Input<string>;
147
- /**
148
- * Disk value threshold calculation, `(fixed, percentage)` of disk space
149
- * remaining.
150
- */
151
- valueCalculation?: pulumi.Input<string>;
152
146
  }
package/getAlarm.js CHANGED
@@ -6,6 +6,8 @@ exports.getAlarmOutput = exports.getAlarm = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
+ * > **Deprecated** This data source will be removed in next major version (v2.0). Use the `cloudamqp.getAlarms` data source instead.
10
+ *
9
11
  * Use this data source to retrieve information about default or created alarms. Either use `alarmId`
10
12
  * or `type` to retrieve the alarm.
11
13
  *
@@ -35,11 +37,12 @@ function getAlarm(args, opts) {
35
37
  "alarmId": args.alarmId,
36
38
  "instanceId": args.instanceId,
37
39
  "type": args.type,
38
- "valueCalculation": args.valueCalculation,
39
40
  }, opts);
40
41
  }
41
42
  exports.getAlarm = getAlarm;
42
43
  /**
44
+ * > **Deprecated** This data source will be removed in next major version (v2.0). Use the `cloudamqp.getAlarms` data source instead.
45
+ *
43
46
  * Use this data source to retrieve information about default or created alarms. Either use `alarmId`
44
47
  * or `type` to retrieve the alarm.
45
48
  *
@@ -69,7 +72,6 @@ function getAlarmOutput(args, opts) {
69
72
  "alarmId": args.alarmId,
70
73
  "instanceId": args.instanceId,
71
74
  "type": args.type,
72
- "valueCalculation": args.valueCalculation,
73
75
  }, opts);
74
76
  }
75
77
  exports.getAlarmOutput = getAlarmOutput;
package/getAlarm.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"getAlarm.js","sourceRoot":"","sources":["../getAlarm.ts"],"names":[],"mappings":";AAAA,sE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,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mCAAmC,EAAE;QAC9D,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,4BAOC;AA0ED;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAAiC;IACtF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,mCAAmC,EAAE;QACpE,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,wCAOC"}
@@ -1,4 +1,6 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
2
4
  /**
3
5
  * Use this data source to retrieve information about default or created recipients. The recipient will
4
6
  * receive notifications assigned to an alarm that has triggered. To retrieve the recipient either use
@@ -33,36 +35,43 @@ export interface GetNotificationArgs {
33
35
  * The name set for the recipient.
34
36
  */
35
37
  name?: string;
36
- /**
37
- * Options argument (e.g. `rk` used for VictorOps routing key).
38
- */
39
- options?: {
40
- [key: string]: string;
41
- };
42
38
  /**
43
39
  * The recipient identifier.
44
40
  */
45
41
  recipientId?: number;
42
+ /**
43
+ * An array of reponders (only for OpsGenie). Each `responders` block
44
+ * consists of the field documented below.
45
+ */
46
+ responders?: inputs.GetNotificationResponder[];
46
47
  }
47
48
  /**
48
49
  * A collection of values returned by getNotification.
49
50
  */
50
51
  export interface GetNotificationResult {
51
52
  /**
52
- * The provider-assigned unique ID for this managed resource.
53
+ * (Optional) Identifier in UUID format
53
54
  */
54
55
  readonly id: string;
55
56
  readonly instanceId: number;
56
- readonly name?: string;
57
+ /**
58
+ * (Optional) Name of the responder
59
+ */
60
+ readonly name: string;
57
61
  /**
58
62
  * Options argument (e.g. `rk` used for VictorOps routing key).
59
63
  */
60
- readonly options?: {
64
+ readonly options: {
61
65
  [key: string]: string;
62
66
  };
63
- readonly recipientId?: number;
67
+ readonly recipientId: number;
68
+ /**
69
+ * An array of reponders (only for OpsGenie). Each `responders` block
70
+ * consists of the field documented below.
71
+ */
72
+ readonly responders?: outputs.GetNotificationResponder[];
64
73
  /**
65
- * The type of the recipient.
74
+ * (Required) Type of responder. [`team`, `user`, `escalation`, `schedule`]
66
75
  */
67
76
  readonly type: string;
68
77
  /**
@@ -104,14 +113,13 @@ export interface GetNotificationOutputArgs {
104
113
  * The name set for the recipient.
105
114
  */
106
115
  name?: pulumi.Input<string>;
107
- /**
108
- * Options argument (e.g. `rk` used for VictorOps routing key).
109
- */
110
- options?: pulumi.Input<{
111
- [key: string]: pulumi.Input<string>;
112
- }>;
113
116
  /**
114
117
  * The recipient identifier.
115
118
  */
116
119
  recipientId?: pulumi.Input<number>;
120
+ /**
121
+ * An array of reponders (only for OpsGenie). Each `responders` block
122
+ * consists of the field documented below.
123
+ */
124
+ responders?: pulumi.Input<pulumi.Input<inputs.GetNotificationResponderArgs>[]>;
117
125
  }
@@ -31,8 +31,8 @@ function getNotification(args, opts) {
31
31
  return pulumi.runtime.invoke("cloudamqp:index/getNotification:getNotification", {
32
32
  "instanceId": args.instanceId,
33
33
  "name": args.name,
34
- "options": args.options,
35
34
  "recipientId": args.recipientId,
35
+ "responders": args.responders,
36
36
  }, opts);
37
37
  }
38
38
  exports.getNotification = getNotification;
@@ -62,8 +62,8 @@ function getNotificationOutput(args, opts) {
62
62
  return pulumi.runtime.invokeOutput("cloudamqp:index/getNotification:getNotification", {
63
63
  "instanceId": args.instanceId,
64
64
  "name": args.name,
65
- "options": args.options,
66
65
  "recipientId": args.recipientId,
66
+ "responders": args.responders,
67
67
  }, opts);
68
68
  }
69
69
  exports.getNotificationOutput = getNotificationOutput;
@@ -1 +1 @@
1
- {"version":3,"file":"getNotification.js","sourceRoot":"","sources":["../getNotification.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iDAAiD,EAAE;QAC5E,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,0CAQC;AAgDD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAAiC;IACpG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,iDAAiD,EAAE;QAClF,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,sDAQC"}
1
+ {"version":3,"file":"getNotification.js","sourceRoot":"","sources":["../getNotification.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iDAAiD,EAAE;QAC5E,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,0CAQC;AAyDD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAAiC;IACpG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,iDAAiD,EAAE;QAClF,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,sDAQC"}
package/instance.d.ts CHANGED
@@ -225,6 +225,103 @@ import * as outputs from "./types/output";
225
225
  *
226
226
  * </details>
227
227
  *
228
+ * <details>
229
+ * <summary>
230
+ * <b>
231
+ * <i>LavinMQ shared to dedicated in-place upgrade, from v1.45.0</i>
232
+ * </b>
233
+ * </summary>
234
+ *
235
+ * ```typescript
236
+ * import * as pulumi from "@pulumi/pulumi";
237
+ * import * as cloudamqp from "@pulumi/cloudamqp";
238
+ *
239
+ * // Initial shared LavinMQ instance
240
+ * const instance = new cloudamqp.Instance("instance", {
241
+ * name: "terraform-cloudamqp-instance",
242
+ * plan: "lemming",
243
+ * region: "amazon-web-services::eu-north-1",
244
+ * tags: ["terraform"],
245
+ * });
246
+ * ```
247
+ *
248
+ * ```typescript
249
+ * import * as pulumi from "@pulumi/pulumi";
250
+ * import * as cloudamqp from "@pulumi/cloudamqp";
251
+ *
252
+ * // Upgraded to dedicated LavinMQ — region can change within the same cloud provider
253
+ * // No resource replacement occurs; the instance ID is preserved
254
+ * const instance = new cloudamqp.Instance("instance", {
255
+ * name: "terraform-cloudamqp-instance",
256
+ * plan: "wolverine-1",
257
+ * region: "amazon-web-services::eu-west-1",
258
+ * tags: ["terraform"],
259
+ * });
260
+ * ```
261
+ *
262
+ * </details>
263
+ *
264
+ * ## LavinMQ shared to dedicated upgrade
265
+ *
266
+ * From v1.45.0 it is possible to upgrade a LavinMQ shared instance (`lemming` or `ermine`) in-place
267
+ * to any dedicated LavinMQ plan without destroying and recreating the resource. The instance ID is
268
+ * preserved and existing definitions are kept. To upgrade, change the `plan` argument and apply.
269
+ *
270
+ * > This upgrade path is only available for **LavinMQ** instances. RabbitMQ shared instances cannot
271
+ * be upgraded in-place to dedicated plans.
272
+ *
273
+ * Optionally, the following attributes can be changed in the same `pulumi up` during the
274
+ * upgrade: `region` (within the same cloud provider), `vpcId`, `vpcSubnet`, and `preferredAz`.
275
+ *
276
+ * See the [LavinMQ shared to dedicated] guide for full details and more examples.
277
+ *
278
+ * <details>
279
+ * <summary>
280
+ * <b>
281
+ * <i>Upgrade LavinMQ shared instance to dedicated, from v1.45.0</i>
282
+ * </b>
283
+ * </summary>
284
+ *
285
+ * ```typescript
286
+ * import * as pulumi from "@pulumi/pulumi";
287
+ * import * as cloudamqp from "@pulumi/cloudamqp";
288
+ *
289
+ * // Initial shared LavinMQ instance
290
+ * const instance = new cloudamqp.Instance("instance", {
291
+ * name: "instance",
292
+ * plan: "lemming",
293
+ * region: "amazon-web-services::eu-north-1",
294
+ * tags: ["terraform"],
295
+ * });
296
+ * ```
297
+ *
298
+ * ```typescript
299
+ * import * as pulumi from "@pulumi/pulumi";
300
+ * import * as cloudamqp from "@pulumi/cloudamqp";
301
+ *
302
+ * // Upgraded to dedicated — instance ID is preserved, no resource replacement
303
+ * const instance = new cloudamqp.Instance("instance", {
304
+ * name: "instance",
305
+ * plan: "wolverine-1",
306
+ * region: "amazon-web-services::eu-west-1",
307
+ * tags: ["terraform"],
308
+ * });
309
+ * ```
310
+ *
311
+ * </details>
312
+ *
313
+ * ## Copy settings to a new dedicated instance
314
+ *
315
+ * With copy settings it's possible to create a new dedicated instance with settings such as alarms,
316
+ * config, etc. from another dedicated instance. This can be done by adding the `copySettings` block
317
+ * to this resource and populate `subscriptionId` with a CloudAMQP instance identifier from another
318
+ * already existing instance.
319
+ *
320
+ * > `rmqVersion` argument is required when doing this action. Must match the broker version of the
321
+ * dedicated instance to be copied from.
322
+ *
323
+ * Then add the settings to be copied over to the new dedicated instance. Settings that can be copied
324
+ *
228
325
  * ### Settings supported by LavinMQ
229
326
  *
230
327
  * ***Allowed values:*** alarms, definitions, firewall, metrics
@@ -304,6 +401,7 @@ import * as outputs from "./types/output";
304
401
  * [CloudAMQP plans]: https://www.cloudamqp.com/plans.html
305
402
  * [copy settings]: #copy-settings-to-a-new-dedicated-instance
306
403
  * [example]: ../guides/info_vpc_existing.md
404
+ * [LavinMQ shared to dedicated]: ../guides/info_lavinmq_shared_to_dedicated.md
307
405
  * [regions]: ../guides/info_region.md
308
406
  * [**LavinMQ**]: https://lavinmq.com
309
407
  * [Managed VPC]: ../guides/info_managed_vpc#dedicated-instance-and-vpc_subnet
@@ -387,6 +485,12 @@ export declare class Instance extends pulumi.CustomResource {
387
485
  readonly nodes: pulumi.Output<number>;
388
486
  /**
389
487
  * The subscription plan. See available [plans].
488
+ *
489
+ * ***Note:*** Changing between a LavinMQ shared plan (`lemming`, `ermine`) and a dedicated LavinMQ
490
+ * plan will **not** force resource replacement. The instance ID is preserved and existing
491
+ * definitions are kept. See [LavinMQ shared to dedicated] for details.
492
+ * All other plan type changes (e.g. shared to dedicated for RabbitMQ) will force a new
493
+ * resource.
390
494
  */
391
495
  readonly plan: pulumi.Output<string>;
392
496
  /**
@@ -412,6 +516,11 @@ export declare class Instance extends pulumi.CustomResource {
412
516
  *
413
517
  * ***Note:*** Changing region will force the instance to be destroyed and a new created in the new
414
518
  * region. All data will be lost and a new name assigned.
519
+ *
520
+ * ***Note:*** Exception: when upgrading a LavinMQ shared instance to a dedicated plan, the region
521
+ * can change without destroying the resource, as long as the cloud provider stays the
522
+ * same (e.g. `amazon-web-services` → `amazon-web-services` is allowed, but
523
+ * `amazon-web-services` → `google-compute-engine` is not).
415
524
  */
416
525
  readonly region: pulumi.Output<string>;
417
526
  /**
@@ -519,6 +628,12 @@ export interface InstanceState {
519
628
  nodes?: pulumi.Input<number>;
520
629
  /**
521
630
  * The subscription plan. See available [plans].
631
+ *
632
+ * ***Note:*** Changing between a LavinMQ shared plan (`lemming`, `ermine`) and a dedicated LavinMQ
633
+ * plan will **not** force resource replacement. The instance ID is preserved and existing
634
+ * definitions are kept. See [LavinMQ shared to dedicated] for details.
635
+ * All other plan type changes (e.g. shared to dedicated for RabbitMQ) will force a new
636
+ * resource.
522
637
  */
523
638
  plan?: pulumi.Input<string>;
524
639
  /**
@@ -544,6 +659,11 @@ export interface InstanceState {
544
659
  *
545
660
  * ***Note:*** Changing region will force the instance to be destroyed and a new created in the new
546
661
  * region. All data will be lost and a new name assigned.
662
+ *
663
+ * ***Note:*** Exception: when upgrading a LavinMQ shared instance to a dedicated plan, the region
664
+ * can change without destroying the resource, as long as the cloud provider stays the
665
+ * same (e.g. `amazon-web-services` → `amazon-web-services` is allowed, but
666
+ * `amazon-web-services` → `google-compute-engine` is not).
547
667
  */
548
668
  region?: pulumi.Input<string>;
549
669
  /**
@@ -616,6 +736,12 @@ export interface InstanceArgs {
616
736
  nodes?: pulumi.Input<number>;
617
737
  /**
618
738
  * The subscription plan. See available [plans].
739
+ *
740
+ * ***Note:*** Changing between a LavinMQ shared plan (`lemming`, `ermine`) and a dedicated LavinMQ
741
+ * plan will **not** force resource replacement. The instance ID is preserved and existing
742
+ * definitions are kept. See [LavinMQ shared to dedicated] for details.
743
+ * All other plan type changes (e.g. shared to dedicated for RabbitMQ) will force a new
744
+ * resource.
619
745
  */
620
746
  plan: pulumi.Input<string>;
621
747
  /**
@@ -637,6 +763,11 @@ export interface InstanceArgs {
637
763
  *
638
764
  * ***Note:*** Changing region will force the instance to be destroyed and a new created in the new
639
765
  * region. All data will be lost and a new name assigned.
766
+ *
767
+ * ***Note:*** Exception: when upgrading a LavinMQ shared instance to a dedicated plan, the region
768
+ * can change without destroying the resource, as long as the cloud provider stays the
769
+ * same (e.g. `amazon-web-services` → `amazon-web-services` is allowed, but
770
+ * `amazon-web-services` → `google-compute-engine` is not).
640
771
  */
641
772
  region: pulumi.Input<string>;
642
773
  /**
package/instance.js CHANGED
@@ -229,6 +229,103 @@ const utilities = require("./utilities");
229
229
  *
230
230
  * </details>
231
231
  *
232
+ * <details>
233
+ * <summary>
234
+ * <b>
235
+ * <i>LavinMQ shared to dedicated in-place upgrade, from v1.45.0</i>
236
+ * </b>
237
+ * </summary>
238
+ *
239
+ * ```typescript
240
+ * import * as pulumi from "@pulumi/pulumi";
241
+ * import * as cloudamqp from "@pulumi/cloudamqp";
242
+ *
243
+ * // Initial shared LavinMQ instance
244
+ * const instance = new cloudamqp.Instance("instance", {
245
+ * name: "terraform-cloudamqp-instance",
246
+ * plan: "lemming",
247
+ * region: "amazon-web-services::eu-north-1",
248
+ * tags: ["terraform"],
249
+ * });
250
+ * ```
251
+ *
252
+ * ```typescript
253
+ * import * as pulumi from "@pulumi/pulumi";
254
+ * import * as cloudamqp from "@pulumi/cloudamqp";
255
+ *
256
+ * // Upgraded to dedicated LavinMQ — region can change within the same cloud provider
257
+ * // No resource replacement occurs; the instance ID is preserved
258
+ * const instance = new cloudamqp.Instance("instance", {
259
+ * name: "terraform-cloudamqp-instance",
260
+ * plan: "wolverine-1",
261
+ * region: "amazon-web-services::eu-west-1",
262
+ * tags: ["terraform"],
263
+ * });
264
+ * ```
265
+ *
266
+ * </details>
267
+ *
268
+ * ## LavinMQ shared to dedicated upgrade
269
+ *
270
+ * From v1.45.0 it is possible to upgrade a LavinMQ shared instance (`lemming` or `ermine`) in-place
271
+ * to any dedicated LavinMQ plan without destroying and recreating the resource. The instance ID is
272
+ * preserved and existing definitions are kept. To upgrade, change the `plan` argument and apply.
273
+ *
274
+ * > This upgrade path is only available for **LavinMQ** instances. RabbitMQ shared instances cannot
275
+ * be upgraded in-place to dedicated plans.
276
+ *
277
+ * Optionally, the following attributes can be changed in the same `pulumi up` during the
278
+ * upgrade: `region` (within the same cloud provider), `vpcId`, `vpcSubnet`, and `preferredAz`.
279
+ *
280
+ * See the [LavinMQ shared to dedicated] guide for full details and more examples.
281
+ *
282
+ * <details>
283
+ * <summary>
284
+ * <b>
285
+ * <i>Upgrade LavinMQ shared instance to dedicated, from v1.45.0</i>
286
+ * </b>
287
+ * </summary>
288
+ *
289
+ * ```typescript
290
+ * import * as pulumi from "@pulumi/pulumi";
291
+ * import * as cloudamqp from "@pulumi/cloudamqp";
292
+ *
293
+ * // Initial shared LavinMQ instance
294
+ * const instance = new cloudamqp.Instance("instance", {
295
+ * name: "instance",
296
+ * plan: "lemming",
297
+ * region: "amazon-web-services::eu-north-1",
298
+ * tags: ["terraform"],
299
+ * });
300
+ * ```
301
+ *
302
+ * ```typescript
303
+ * import * as pulumi from "@pulumi/pulumi";
304
+ * import * as cloudamqp from "@pulumi/cloudamqp";
305
+ *
306
+ * // Upgraded to dedicated — instance ID is preserved, no resource replacement
307
+ * const instance = new cloudamqp.Instance("instance", {
308
+ * name: "instance",
309
+ * plan: "wolverine-1",
310
+ * region: "amazon-web-services::eu-west-1",
311
+ * tags: ["terraform"],
312
+ * });
313
+ * ```
314
+ *
315
+ * </details>
316
+ *
317
+ * ## Copy settings to a new dedicated instance
318
+ *
319
+ * With copy settings it's possible to create a new dedicated instance with settings such as alarms,
320
+ * config, etc. from another dedicated instance. This can be done by adding the `copySettings` block
321
+ * to this resource and populate `subscriptionId` with a CloudAMQP instance identifier from another
322
+ * already existing instance.
323
+ *
324
+ * > `rmqVersion` argument is required when doing this action. Must match the broker version of the
325
+ * dedicated instance to be copied from.
326
+ *
327
+ * Then add the settings to be copied over to the new dedicated instance. Settings that can be copied
328
+ *
232
329
  * ### Settings supported by LavinMQ
233
330
  *
234
331
  * ***Allowed values:*** alarms, definitions, firewall, metrics
@@ -308,6 +405,7 @@ const utilities = require("./utilities");
308
405
  * [CloudAMQP plans]: https://www.cloudamqp.com/plans.html
309
406
  * [copy settings]: #copy-settings-to-a-new-dedicated-instance
310
407
  * [example]: ../guides/info_vpc_existing.md
408
+ * [LavinMQ shared to dedicated]: ../guides/info_lavinmq_shared_to_dedicated.md
311
409
  * [regions]: ../guides/info_region.md
312
410
  * [**LavinMQ**]: https://lavinmq.com
313
411
  * [Managed VPC]: ../guides/info_managed_vpc#dedicated-instance-and-vpc_subnet
package/instance.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"instance.js","sourceRoot":"","sources":["../instance.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AAC;IAC7D,CAAC;;AAjOL,4BAkOC;AApNG,gBAAgB;AACO,qBAAY,GAAG,mCAAmC,CAAC"}
@@ -108,7 +108,7 @@ export declare class MaintenanceWindow extends pulumi.CustomResource {
108
108
  static isInstance(obj: any): obj is MaintenanceWindow;
109
109
  /**
110
110
  * Allow scheduling of a maintenance for version update
111
- * once a new LavinMQ version been released.
111
+ * when a new LavinMQ version been released.
112
112
  */
113
113
  readonly automaticUpdates: pulumi.Output<string>;
114
114
  /**
@@ -118,11 +118,11 @@ export declare class MaintenanceWindow extends pulumi.CustomResource {
118
118
  /**
119
119
  * Preferred day of the week when to schedule maintenance.
120
120
  */
121
- readonly preferredDay: pulumi.Output<string | undefined>;
121
+ readonly preferredDay: pulumi.Output<string>;
122
122
  /**
123
123
  * Preferred time (UTC) of the day when to schedule maintenance.
124
124
  */
125
- readonly preferredTime: pulumi.Output<string | undefined>;
125
+ readonly preferredTime: pulumi.Output<string>;
126
126
  /**
127
127
  * Create a MaintenanceWindow resource with the given unique name, arguments, and options.
128
128
  *
@@ -138,7 +138,7 @@ export declare class MaintenanceWindow extends pulumi.CustomResource {
138
138
  export interface MaintenanceWindowState {
139
139
  /**
140
140
  * Allow scheduling of a maintenance for version update
141
- * once a new LavinMQ version been released.
141
+ * when a new LavinMQ version been released.
142
142
  */
143
143
  automaticUpdates?: pulumi.Input<string>;
144
144
  /**
@@ -160,7 +160,7 @@ export interface MaintenanceWindowState {
160
160
  export interface MaintenanceWindowArgs {
161
161
  /**
162
162
  * Allow scheduling of a maintenance for version update
163
- * once a new LavinMQ version been released.
163
+ * when a new LavinMQ version been released.
164
164
  */
165
165
  automaticUpdates?: pulumi.Input<string>;
166
166
  /**
@@ -67,6 +67,7 @@ import * as pulumi from "@pulumi/pulumi";
67
67
  * "admin",
68
68
  * ],
69
69
  * audience: "https://test-audience.example.com",
70
+ * disableBasicAuth: true,
70
71
  * });
71
72
  * ```
72
73
  *
@@ -132,6 +133,10 @@ export declare class Oauth2Configuration extends pulumi.CustomResource {
132
133
  * cannot be configured for Entra ID v2.
133
134
  */
134
135
  readonly audience: pulumi.Output<string | undefined>;
136
+ /**
137
+ * Disable static username/password management interface access.
138
+ */
139
+ readonly disableBasicAuth: pulumi.Output<boolean>;
135
140
  /**
136
141
  * The CloudAMQP instance ID.
137
142
  */
@@ -211,6 +216,10 @@ export interface Oauth2ConfigurationState {
211
216
  * cannot be configured for Entra ID v2.
212
217
  */
213
218
  audience?: pulumi.Input<string>;
219
+ /**
220
+ * Disable static username/password management interface access.
221
+ */
222
+ disableBasicAuth?: pulumi.Input<boolean>;
214
223
  /**
215
224
  * The CloudAMQP instance ID.
216
225
  */
@@ -282,6 +291,10 @@ export interface Oauth2ConfigurationArgs {
282
291
  * cannot be configured for Entra ID v2.
283
292
  */
284
293
  audience?: pulumi.Input<string>;
294
+ /**
295
+ * Disable static username/password management interface access.
296
+ */
297
+ disableBasicAuth?: pulumi.Input<boolean>;
285
298
  /**
286
299
  * The CloudAMQP instance ID.
287
300
  */
@@ -73,6 +73,7 @@ const utilities = require("./utilities");
73
73
  * "admin",
74
74
  * ],
75
75
  * audience: "https://test-audience.example.com",
76
+ * disableBasicAuth: true,
76
77
  * });
77
78
  * ```
78
79
  *
@@ -141,6 +142,7 @@ class Oauth2Configuration extends pulumi.CustomResource {
141
142
  const state = argsOrState;
142
143
  resourceInputs["additionalScopesKeys"] = state?.additionalScopesKeys;
143
144
  resourceInputs["audience"] = state?.audience;
145
+ resourceInputs["disableBasicAuth"] = state?.disableBasicAuth;
144
146
  resourceInputs["instanceId"] = state?.instanceId;
145
147
  resourceInputs["issuer"] = state?.issuer;
146
148
  resourceInputs["oauthClientId"] = state?.oauthClientId;
@@ -166,6 +168,7 @@ class Oauth2Configuration extends pulumi.CustomResource {
166
168
  }
167
169
  resourceInputs["additionalScopesKeys"] = args?.additionalScopesKeys;
168
170
  resourceInputs["audience"] = args?.audience;
171
+ resourceInputs["disableBasicAuth"] = args?.disableBasicAuth;
169
172
  resourceInputs["instanceId"] = args?.instanceId;
170
173
  resourceInputs["issuer"] = args?.issuer;
171
174
  resourceInputs["oauthClientId"] = args?.oauthClientId;
@@ -1 +1 @@
1
- {"version":3,"file":"oauth2Configuration.js","sourceRoot":"","sources":["../oauth2Configuration.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyGG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgC,EAAE,IAAmC;QAC9H,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,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;IA2ED,YAAY,IAAY,EAAE,WAAgE,EAAE,IAAmC;QAC3H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAmD,CAAC;YAClE,cAAc,CAAC,sBAAsB,CAAC,GAAG,KAAK,EAAE,oBAAoB,CAAC;YACrE,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,EAAE,QAAQ,CAAC;YAC7C,cAAc,CAAC,YAAY,CAAC,GA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AC,GAAG,IAAI,EAAE,uBAAuB,CAAC;YAC1E,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,EAAE,gBAAgB,CAAC;YAC5D,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;SACjD;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;;AAxJL,kDAyJC;AA3IG,gBAAgB;AACO,gCAAY,GAAG,yDAAyD,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/cloudamqp",
3
- "version": "3.29.0-alpha.1777270717",
3
+ "version": "3.29.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.29.0-alpha.1777270717"
26
+ "version": "3.29.0"
27
27
  }
28
28
  }
package/types/input.d.ts CHANGED
@@ -14,6 +14,42 @@ export interface ExtraDiskSizeNode {
14
14
  */
15
15
  name?: pulumi.Input<string>;
16
16
  }
17
+ export interface GetNotificationResponder {
18
+ /**
19
+ * (Optional) Identifier in UUID format
20
+ */
21
+ id?: string;
22
+ /**
23
+ * The name set for the recipient.
24
+ */
25
+ name?: string;
26
+ /**
27
+ * (Required) Type of responder. [`team`, `user`, `escalation`, `schedule`]
28
+ */
29
+ type?: string;
30
+ /**
31
+ * (Optional) Username of the responder
32
+ */
33
+ username?: string;
34
+ }
35
+ export interface GetNotificationResponderArgs {
36
+ /**
37
+ * (Optional) Identifier in UUID format
38
+ */
39
+ id?: pulumi.Input<string>;
40
+ /**
41
+ * The name set for the recipient.
42
+ */
43
+ name?: pulumi.Input<string>;
44
+ /**
45
+ * (Required) Type of responder. [`team`, `user`, `escalation`, `schedule`]
46
+ */
47
+ type?: pulumi.Input<string>;
48
+ /**
49
+ * (Optional) Username of the responder
50
+ */
51
+ username?: pulumi.Input<string>;
52
+ }
17
53
  export interface InstanceCopySetting {
18
54
  /**
19
55
  * Array of one or more settings to be copied. Allowed values:
package/types/output.d.ts CHANGED
@@ -65,7 +65,7 @@ export interface GetAlarmsAlarm {
65
65
  /**
66
66
  * The alarm identifier.
67
67
  */
68
- alarmId?: number;
68
+ alarmId: number;
69
69
  /**
70
70
  * Enable/disable status of the alarm.
71
71
  */
@@ -96,12 +96,12 @@ export interface GetAlarmsAlarm {
96
96
  * The alarm type to filter for. Supported
97
97
  * alarm types.
98
98
  */
99
- type?: string;
99
+ type: string;
100
100
  /**
101
101
  * Disk value threshold calculation, `(fixed, percentage)` of disk space
102
102
  * remaining.
103
103
  */
104
- valueCalculation?: string;
104
+ valueCalculation: string;
105
105
  /**
106
106
  * The value threshold that triggers the alarm.
107
107
  */
@@ -157,9 +157,27 @@ export interface GetNodesNode {
157
157
  */
158
158
  running: boolean;
159
159
  }
160
+ export interface GetNotificationResponder {
161
+ /**
162
+ * (Optional) Identifier in UUID format
163
+ */
164
+ id: string;
165
+ /**
166
+ * The name set for the recipient.
167
+ */
168
+ name: string;
169
+ /**
170
+ * (Required) Type of responder. [`team`, `user`, `escalation`, `schedule`]
171
+ */
172
+ type: string;
173
+ /**
174
+ * (Optional) Username of the responder
175
+ */
176
+ username: string;
177
+ }
160
178
  export interface GetNotificationsRecipient {
161
179
  /**
162
- * The name of the recipient.
180
+ * (Optional) Name of the responder
163
181
  */
164
182
  name: string;
165
183
  /**
@@ -173,7 +191,12 @@ export interface GetNotificationsRecipient {
173
191
  */
174
192
  recipientId: number;
175
193
  /**
176
- * The type of the recipient.
194
+ * An array of reponders (only for OpsGenie). Each `responders` block
195
+ * consists of the field documented below.
196
+ */
197
+ responders: outputs.GetNotificationsRecipientResponder[];
198
+ /**
199
+ * (Required) Type of responder. [`team`, `user`, `escalation`, `schedule`]
177
200
  */
178
201
  type: string;
179
202
  /**
@@ -181,6 +204,24 @@ export interface GetNotificationsRecipient {
181
204
  */
182
205
  value: string;
183
206
  }
207
+ export interface GetNotificationsRecipientResponder {
208
+ /**
209
+ * (Optional) Identifier in UUID format
210
+ */
211
+ id: string;
212
+ /**
213
+ * (Optional) Name of the responder
214
+ */
215
+ name: string;
216
+ /**
217
+ * (Required) Type of responder. [`team`, `user`, `escalation`, `schedule`]
218
+ */
219
+ type: string;
220
+ /**
221
+ * (Optional) Username of the responder
222
+ */
223
+ username: string;
224
+ }
184
225
  export interface GetPluginsCommunityPlugin {
185
226
  /**
186
227
  * Description of what the plugin does.