@pulumi/cloudamqp 3.7.0-alpha.1650644281 → 3.7.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 +12 -0
- package/alarm.js +2 -0
- package/alarm.js.map +1 -1
- package/getAccount.d.ts +9 -2
- package/getAccount.js +9 -2
- package/getAccount.js.map +1 -1
- package/getAccountVpcs.d.ts +38 -0
- package/getAccountVpcs.js +41 -0
- package/getAccountVpcs.js.map +1 -0
- package/getAlarm.d.ts +2 -1
- package/getAlarm.js +1 -1
- package/getAlarm.js.map +1 -1
- package/getUpgradableVersions.d.ts +57 -0
- package/getUpgradableVersions.js +46 -0
- package/getUpgradableVersions.js.map +1 -0
- package/getVpcGcpInfo.d.ts +44 -6
- package/getVpcGcpInfo.js +32 -1
- package/getVpcGcpInfo.js.map +1 -1
- package/getVpcInfo.d.ts +44 -6
- package/getVpcInfo.js +32 -1
- package/getVpcInfo.js.map +1 -1
- package/index.d.ts +4 -0
- package/index.js +12 -0
- package/index.js.map +1 -1
- package/instance.d.ts +27 -38
- package/instance.js +5 -26
- package/instance.js.map +1 -1
- package/integrationLog.d.ts +106 -0
- package/integrationLog.js +106 -0
- package/integrationLog.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/plugin.d.ts +1 -0
- package/plugin.js +1 -0
- package/plugin.js.map +1 -1
- package/types/output.d.ts +8 -0
- package/upgradeRabbitmq.d.ts +100 -0
- package/upgradeRabbitmq.js +104 -0
- package/upgradeRabbitmq.js.map +1 -0
- package/vpc.d.ts +135 -0
- package/vpc.js +106 -0
- package/vpc.js.map +1 -0
- package/vpcGcpPeering.d.ts +17 -5
- package/vpcGcpPeering.js +2 -3
- package/vpcGcpPeering.js.map +1 -1
- package/vpcPeering.d.ts +52 -6
- package/vpcPeering.js +17 -4
- package/vpcPeering.js.map +1 -1
package/alarm.d.ts
CHANGED
|
@@ -73,6 +73,10 @@ export declare class Alarm extends pulumi.CustomResource {
|
|
|
73
73
|
* Identifier for recipient to be notified. Leave empty to notify all recipients.
|
|
74
74
|
*/
|
|
75
75
|
readonly recipients: pulumi.Output<number[]>;
|
|
76
|
+
/**
|
|
77
|
+
* The reminder interval (in seconds) to resend the alarm if not resolved. Set to 0 for no reminders. The Default is 0.
|
|
78
|
+
*/
|
|
79
|
+
readonly reminderInterval: pulumi.Output<number | undefined>;
|
|
76
80
|
/**
|
|
77
81
|
* The time interval (in seconds) the `valueThreshold` should be active before triggering an alarm.
|
|
78
82
|
*/
|
|
@@ -126,6 +130,10 @@ export interface AlarmState {
|
|
|
126
130
|
* Identifier for recipient to be notified. Leave empty to notify all recipients.
|
|
127
131
|
*/
|
|
128
132
|
recipients?: pulumi.Input<pulumi.Input<number>[]>;
|
|
133
|
+
/**
|
|
134
|
+
* The reminder interval (in seconds) to resend the alarm if not resolved. Set to 0 for no reminders. The Default is 0.
|
|
135
|
+
*/
|
|
136
|
+
reminderInterval?: pulumi.Input<number>;
|
|
129
137
|
/**
|
|
130
138
|
* The time interval (in seconds) the `valueThreshold` should be active before triggering an alarm.
|
|
131
139
|
*/
|
|
@@ -171,6 +179,10 @@ export interface AlarmArgs {
|
|
|
171
179
|
* Identifier for recipient to be notified. Leave empty to notify all recipients.
|
|
172
180
|
*/
|
|
173
181
|
recipients: pulumi.Input<pulumi.Input<number>[]>;
|
|
182
|
+
/**
|
|
183
|
+
* The reminder interval (in seconds) to resend the alarm if not resolved. Set to 0 for no reminders. The Default is 0.
|
|
184
|
+
*/
|
|
185
|
+
reminderInterval?: pulumi.Input<number>;
|
|
174
186
|
/**
|
|
175
187
|
* The time interval (in seconds) the `valueThreshold` should be active before triggering an alarm.
|
|
176
188
|
*/
|
package/alarm.js
CHANGED
|
@@ -54,6 +54,7 @@ class Alarm extends pulumi.CustomResource {
|
|
|
54
54
|
resourceInputs["messageType"] = state ? state.messageType : undefined;
|
|
55
55
|
resourceInputs["queueRegex"] = state ? state.queueRegex : undefined;
|
|
56
56
|
resourceInputs["recipients"] = state ? state.recipients : undefined;
|
|
57
|
+
resourceInputs["reminderInterval"] = state ? state.reminderInterval : undefined;
|
|
57
58
|
resourceInputs["timeThreshold"] = state ? state.timeThreshold : undefined;
|
|
58
59
|
resourceInputs["type"] = state ? state.type : undefined;
|
|
59
60
|
resourceInputs["valueCalculation"] = state ? state.valueCalculation : undefined;
|
|
@@ -79,6 +80,7 @@ class Alarm extends pulumi.CustomResource {
|
|
|
79
80
|
resourceInputs["messageType"] = args ? args.messageType : undefined;
|
|
80
81
|
resourceInputs["queueRegex"] = args ? args.queueRegex : undefined;
|
|
81
82
|
resourceInputs["recipients"] = args ? args.recipients : undefined;
|
|
83
|
+
resourceInputs["reminderInterval"] = args ? args.reminderInterval : undefined;
|
|
82
84
|
resourceInputs["timeThreshold"] = args ? args.timeThreshold : undefined;
|
|
83
85
|
resourceInputs["type"] = args ? args.type : undefined;
|
|
84
86
|
resourceInputs["valueCalculation"] = args ? args.valueCalculation : undefined;
|
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;
|
|
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,IAA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IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,KAAK,CAAC,YAAY,CAAC;IACtD,CAAC;;AA1BL,sBA8HC;AAhHG,gBAAgB;AACO,kBAAY,GAAG,6BAA6B,CAAC"}
|
package/getAccount.d.ts
CHANGED
|
@@ -7,11 +7,18 @@ import { output as outputs } from "./types";
|
|
|
7
7
|
*
|
|
8
8
|
* All attributes reference are computed
|
|
9
9
|
*
|
|
10
|
-
* * `id`
|
|
10
|
+
* * `id` - The identifier for this data source. Set to `na` since there is no unique identifier.
|
|
11
|
+
* * `instances` - An array of instances. Each `instances` block consists of the fields documented below.
|
|
12
|
+
*
|
|
13
|
+
* ***
|
|
14
|
+
*
|
|
15
|
+
* The `instances` block consist of
|
|
16
|
+
*
|
|
17
|
+
* * `id` - The instance identifier.
|
|
11
18
|
* * `name` - The name of the instance.
|
|
12
19
|
* * `plan` - The subscription plan used for the instance.
|
|
13
20
|
* * `region` - The region were the instanece is located in.
|
|
14
|
-
* * `tags` -
|
|
21
|
+
* * `tags` - Optional tags set for the instance.
|
|
15
22
|
*
|
|
16
23
|
* ## Dependency
|
|
17
24
|
*
|
package/getAccount.js
CHANGED
|
@@ -12,11 +12,18 @@ const utilities = require("./utilities");
|
|
|
12
12
|
*
|
|
13
13
|
* All attributes reference are computed
|
|
14
14
|
*
|
|
15
|
-
* * `id`
|
|
15
|
+
* * `id` - The identifier for this data source. Set to `na` since there is no unique identifier.
|
|
16
|
+
* * `instances` - An array of instances. Each `instances` block consists of the fields documented below.
|
|
17
|
+
*
|
|
18
|
+
* ***
|
|
19
|
+
*
|
|
20
|
+
* The `instances` block consist of
|
|
21
|
+
*
|
|
22
|
+
* * `id` - The instance identifier.
|
|
16
23
|
* * `name` - The name of the instance.
|
|
17
24
|
* * `plan` - The subscription plan used for the instance.
|
|
18
25
|
* * `region` - The region were the instanece is located in.
|
|
19
|
-
* * `tags` -
|
|
26
|
+
* * `tags` - Optional tags set for the instance.
|
|
20
27
|
*
|
|
21
28
|
* ## Dependency
|
|
22
29
|
*
|
package/getAccount.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAccount.js","sourceRoot":"","sources":["../getAccount.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getAccount.js","sourceRoot":"","sources":["../getAccount.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,SAAgB,UAAU,CAAC,IAA2B;IAClD,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,uCAAuC,EAAE,EACrE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,gCAQC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { output as outputs } from "./types";
|
|
3
|
+
/**
|
|
4
|
+
* Use this data source to retrieve basic information about all standalone VPCs available for an account. Uses the included apikey in provider configuration to determine which account to read from.
|
|
5
|
+
*
|
|
6
|
+
* ## Attributes reference
|
|
7
|
+
*
|
|
8
|
+
* All attributes reference are computed
|
|
9
|
+
*
|
|
10
|
+
* * `id` - The identifier for this data source. Set to `na` since there is no unique identifier.
|
|
11
|
+
* * `vpcs` - An array of VPCs. Each `vpcs` block consists of the fields documented below.
|
|
12
|
+
*
|
|
13
|
+
* ***
|
|
14
|
+
*
|
|
15
|
+
* The `vpcs` block consist of
|
|
16
|
+
*
|
|
17
|
+
* * `id` - The VPC identifier.
|
|
18
|
+
* * `name` - The internal VPC instance name.
|
|
19
|
+
* * `region` - The region the VPC is hosted in.
|
|
20
|
+
* * `subnet` - The VPC subnet.
|
|
21
|
+
* * `tags` - Optional tags set for the VPC.
|
|
22
|
+
* * `vpcName` - VPC name given when hosted at the cloud provider.
|
|
23
|
+
*
|
|
24
|
+
* ## Dependency
|
|
25
|
+
*
|
|
26
|
+
* This data source depends on apikey set in the provider configuration.
|
|
27
|
+
*/
|
|
28
|
+
export declare function getAccountVpcs(opts?: pulumi.InvokeOptions): Promise<GetAccountVpcsResult>;
|
|
29
|
+
/**
|
|
30
|
+
* A collection of values returned by getAccountVpcs.
|
|
31
|
+
*/
|
|
32
|
+
export interface GetAccountVpcsResult {
|
|
33
|
+
/**
|
|
34
|
+
* The provider-assigned unique ID for this managed resource.
|
|
35
|
+
*/
|
|
36
|
+
readonly id: string;
|
|
37
|
+
readonly vpcs: outputs.GetAccountVpcsVpc[];
|
|
38
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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.getAccountVpcs = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to retrieve basic information about all standalone VPCs available for an account. Uses the included apikey in provider configuration to determine which account to read from.
|
|
10
|
+
*
|
|
11
|
+
* ## Attributes reference
|
|
12
|
+
*
|
|
13
|
+
* All attributes reference are computed
|
|
14
|
+
*
|
|
15
|
+
* * `id` - The identifier for this data source. Set to `na` since there is no unique identifier.
|
|
16
|
+
* * `vpcs` - An array of VPCs. Each `vpcs` block consists of the fields documented below.
|
|
17
|
+
*
|
|
18
|
+
* ***
|
|
19
|
+
*
|
|
20
|
+
* The `vpcs` block consist of
|
|
21
|
+
*
|
|
22
|
+
* * `id` - The VPC identifier.
|
|
23
|
+
* * `name` - The internal VPC instance name.
|
|
24
|
+
* * `region` - The region the VPC is hosted in.
|
|
25
|
+
* * `subnet` - The VPC subnet.
|
|
26
|
+
* * `tags` - Optional tags set for the VPC.
|
|
27
|
+
* * `vpcName` - VPC name given when hosted at the cloud provider.
|
|
28
|
+
*
|
|
29
|
+
* ## Dependency
|
|
30
|
+
*
|
|
31
|
+
* This data source depends on apikey set in the provider configuration.
|
|
32
|
+
*/
|
|
33
|
+
function getAccountVpcs(opts) {
|
|
34
|
+
if (!opts) {
|
|
35
|
+
opts = {};
|
|
36
|
+
}
|
|
37
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
38
|
+
return pulumi.runtime.invoke("cloudamqp:index/getAccountVpcs:getAccountVpcs", {}, opts);
|
|
39
|
+
}
|
|
40
|
+
exports.getAccountVpcs = getAccountVpcs;
|
|
41
|
+
//# sourceMappingURL=getAccountVpcs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAccountVpcs.js","sourceRoot":"","sources":["../getAccountVpcs.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,SAAgB,cAAc,CAAC,IAA2B;IACtD,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,+CAA+C,EAAE,EAC7E,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,wCAQC"}
|
package/getAlarm.d.ts
CHANGED
|
@@ -20,7 +20,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
20
20
|
* * `id` - The identifier for this resource.
|
|
21
21
|
* * `enabled` - Enable/disable status of the alarm.
|
|
22
22
|
* * `valueThreshold` - The value threshold that triggers the alarm.
|
|
23
|
-
* * `
|
|
23
|
+
* * `reminderInterval` - The reminder interval (in seconds) to resend the alarm if not resolved. Set to 0 for no reminders.
|
|
24
24
|
* * `timeThreshold` - The time interval (in seconds) the `valueThreshold` should be active before trigger an alarm.
|
|
25
25
|
* * `queueRegex` - Regular expression for which queue to check.
|
|
26
26
|
* * `vhostRegex` - Regular expression for which vhost to check
|
|
@@ -72,6 +72,7 @@ export interface GetAlarmResult {
|
|
|
72
72
|
readonly messageType: string;
|
|
73
73
|
readonly queueRegex: string;
|
|
74
74
|
readonly recipients: number[];
|
|
75
|
+
readonly reminderInterval: number;
|
|
75
76
|
readonly timeThreshold: number;
|
|
76
77
|
readonly type?: string;
|
|
77
78
|
readonly valueCalculation?: string;
|
package/getAlarm.js
CHANGED
|
@@ -26,7 +26,7 @@ const utilities = require("./utilities");
|
|
|
26
26
|
* * `id` - The identifier for this resource.
|
|
27
27
|
* * `enabled` - Enable/disable status of the alarm.
|
|
28
28
|
* * `valueThreshold` - The value threshold that triggers the alarm.
|
|
29
|
-
* * `
|
|
29
|
+
* * `reminderInterval` - The reminder interval (in seconds) to resend the alarm if not resolved. Set to 0 for no reminders.
|
|
30
30
|
* * `timeThreshold` - The time interval (in seconds) the `valueThreshold` should be active before trigger an alarm.
|
|
31
31
|
* * `queueRegex` - Regular expression for which queue to check.
|
|
32
32
|
* * `vhostRegex` - Regular expression for which vhost to check
|
package/getAlarm.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAlarm.js","sourceRoot":"","sources":["../getAlarm.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC5D,CAAC;AAFD,wCAEC"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Use this data source to retrieve information about possible upgradable versions for RabbitMQ and Erlang.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as cloudamqp from "@pulumi/cloudamqp";
|
|
10
|
+
*
|
|
11
|
+
* const versions = cloudamqp.getUpgradableVersions({
|
|
12
|
+
* instanceId: cloudamqp_instance.instance.id,
|
|
13
|
+
* });
|
|
14
|
+
* ```
|
|
15
|
+
* ## Attributes reference
|
|
16
|
+
*
|
|
17
|
+
* All attributes reference are computed
|
|
18
|
+
*
|
|
19
|
+
* * `newRabbitmqVersion` - Possible upgradable version for RabbitMQ.
|
|
20
|
+
* * `newErlangVersion` - Possible upgradable version for Erlang.
|
|
21
|
+
*
|
|
22
|
+
* ## Dependency
|
|
23
|
+
*
|
|
24
|
+
* This data source depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
|
|
25
|
+
*/
|
|
26
|
+
export declare function getUpgradableVersions(args: GetUpgradableVersionsArgs, opts?: pulumi.InvokeOptions): Promise<GetUpgradableVersionsResult>;
|
|
27
|
+
/**
|
|
28
|
+
* A collection of arguments for invoking getUpgradableVersions.
|
|
29
|
+
*/
|
|
30
|
+
export interface GetUpgradableVersionsArgs {
|
|
31
|
+
/**
|
|
32
|
+
* The CloudAMQP instance identifier.
|
|
33
|
+
*/
|
|
34
|
+
instanceId: number;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* A collection of values returned by getUpgradableVersions.
|
|
38
|
+
*/
|
|
39
|
+
export interface GetUpgradableVersionsResult {
|
|
40
|
+
/**
|
|
41
|
+
* The provider-assigned unique ID for this managed resource.
|
|
42
|
+
*/
|
|
43
|
+
readonly id: string;
|
|
44
|
+
readonly instanceId: number;
|
|
45
|
+
readonly newErlangVersion: string;
|
|
46
|
+
readonly newRabbitmqVersion: string;
|
|
47
|
+
}
|
|
48
|
+
export declare function getUpgradableVersionsOutput(args: GetUpgradableVersionsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetUpgradableVersionsResult>;
|
|
49
|
+
/**
|
|
50
|
+
* A collection of arguments for invoking getUpgradableVersions.
|
|
51
|
+
*/
|
|
52
|
+
export interface GetUpgradableVersionsOutputArgs {
|
|
53
|
+
/**
|
|
54
|
+
* The CloudAMQP instance identifier.
|
|
55
|
+
*/
|
|
56
|
+
instanceId: pulumi.Input<number>;
|
|
57
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
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.getUpgradableVersionsOutput = exports.getUpgradableVersions = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to retrieve information about possible upgradable versions for RabbitMQ and Erlang.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as cloudamqp from "@pulumi/cloudamqp";
|
|
16
|
+
*
|
|
17
|
+
* const versions = cloudamqp.getUpgradableVersions({
|
|
18
|
+
* instanceId: cloudamqp_instance.instance.id,
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
* ## Attributes reference
|
|
22
|
+
*
|
|
23
|
+
* All attributes reference are computed
|
|
24
|
+
*
|
|
25
|
+
* * `newRabbitmqVersion` - Possible upgradable version for RabbitMQ.
|
|
26
|
+
* * `newErlangVersion` - Possible upgradable version for Erlang.
|
|
27
|
+
*
|
|
28
|
+
* ## Dependency
|
|
29
|
+
*
|
|
30
|
+
* This data source depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
|
|
31
|
+
*/
|
|
32
|
+
function getUpgradableVersions(args, opts) {
|
|
33
|
+
if (!opts) {
|
|
34
|
+
opts = {};
|
|
35
|
+
}
|
|
36
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
37
|
+
return pulumi.runtime.invoke("cloudamqp:index/getUpgradableVersions:getUpgradableVersions", {
|
|
38
|
+
"instanceId": args.instanceId,
|
|
39
|
+
}, opts);
|
|
40
|
+
}
|
|
41
|
+
exports.getUpgradableVersions = getUpgradableVersions;
|
|
42
|
+
function getUpgradableVersionsOutput(args, opts) {
|
|
43
|
+
return pulumi.output(args).apply(a => getUpgradableVersions(a, opts));
|
|
44
|
+
}
|
|
45
|
+
exports.getUpgradableVersionsOutput = getUpgradableVersionsOutput;
|
|
46
|
+
//# sourceMappingURL=getUpgradableVersions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getUpgradableVersions.js","sourceRoot":"","sources":["../getUpgradableVersions.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAC9F,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,6DAA6D,EAAE;QACxF,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,sDASC;AAyBD,SAAgB,2BAA2B,CAAC,IAAqC,EAAE,IAA2B;IAC1G,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,qBAAqB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACzE,CAAC;AAFD,kEAEC"}
|
package/getVpcGcpInfo.d.ts
CHANGED
|
@@ -4,6 +4,13 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
4
4
|
*
|
|
5
5
|
* ## Example Usage
|
|
6
6
|
*
|
|
7
|
+
* <details>
|
|
8
|
+
* <summary>
|
|
9
|
+
* <b>
|
|
10
|
+
* <i>AWS VPC peering pre v1.16.0</i>
|
|
11
|
+
* </b>
|
|
12
|
+
* </summary>
|
|
13
|
+
*
|
|
7
14
|
* ```typescript
|
|
8
15
|
* import * as pulumi from "@pulumi/pulumi";
|
|
9
16
|
* import * as cloudamqp from "@pulumi/cloudamqp";
|
|
@@ -12,6 +19,24 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
12
19
|
* instanceId: cloudamqp_instance.instance.id,
|
|
13
20
|
* });
|
|
14
21
|
* ```
|
|
22
|
+
* </details>
|
|
23
|
+
*
|
|
24
|
+
* <details>
|
|
25
|
+
* <summary>
|
|
26
|
+
* <b>
|
|
27
|
+
* <i>AWS VPC peering post v1.16.0 (Managed VPC)</i>
|
|
28
|
+
* </b>
|
|
29
|
+
* </summary>
|
|
30
|
+
*
|
|
31
|
+
* ```typescript
|
|
32
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
33
|
+
* import * as cloudamqp from "@pulumi/cloudamqp";
|
|
34
|
+
*
|
|
35
|
+
* const vpcInfo = cloudamqp.getVpcGcpInfo({
|
|
36
|
+
* vpcId: cloudamqp_vpc.vpc.id,
|
|
37
|
+
* });
|
|
38
|
+
* ```
|
|
39
|
+
* </details>
|
|
15
40
|
* ## Attributes reference
|
|
16
41
|
*
|
|
17
42
|
* All attributes reference are computed
|
|
@@ -23,9 +48,13 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
23
48
|
*
|
|
24
49
|
* ## Dependency
|
|
25
50
|
*
|
|
26
|
-
*
|
|
51
|
+
* *Pre v1.16.0*
|
|
52
|
+
* This resource depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
|
|
53
|
+
*
|
|
54
|
+
* *Post v1.16.0*
|
|
55
|
+
* This resource depends on CloudAMQP managed VPC identifier, `cloudamqp_vpc.vpc.id` or instance identifier, `cloudamqp_instance.instance.id`.
|
|
27
56
|
*/
|
|
28
|
-
export declare function getVpcGcpInfo(args
|
|
57
|
+
export declare function getVpcGcpInfo(args?: GetVpcGcpInfoArgs, opts?: pulumi.InvokeOptions): Promise<GetVpcGcpInfoResult>;
|
|
29
58
|
/**
|
|
30
59
|
* A collection of arguments for invoking getVpcGcpInfo.
|
|
31
60
|
*/
|
|
@@ -33,7 +62,11 @@ export interface GetVpcGcpInfoArgs {
|
|
|
33
62
|
/**
|
|
34
63
|
* The CloudAMQP instance identifier.
|
|
35
64
|
*/
|
|
36
|
-
instanceId
|
|
65
|
+
instanceId?: number;
|
|
66
|
+
/**
|
|
67
|
+
* The managed VPC identifier.
|
|
68
|
+
*/
|
|
69
|
+
vpcId?: string;
|
|
37
70
|
}
|
|
38
71
|
/**
|
|
39
72
|
* A collection of values returned by getVpcGcpInfo.
|
|
@@ -43,12 +76,13 @@ export interface GetVpcGcpInfoResult {
|
|
|
43
76
|
* The provider-assigned unique ID for this managed resource.
|
|
44
77
|
*/
|
|
45
78
|
readonly id: string;
|
|
46
|
-
readonly instanceId
|
|
79
|
+
readonly instanceId?: number;
|
|
47
80
|
readonly name: string;
|
|
48
81
|
readonly network: string;
|
|
82
|
+
readonly vpcId?: string;
|
|
49
83
|
readonly vpcSubnet: string;
|
|
50
84
|
}
|
|
51
|
-
export declare function getVpcGcpInfoOutput(args
|
|
85
|
+
export declare function getVpcGcpInfoOutput(args?: GetVpcGcpInfoOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetVpcGcpInfoResult>;
|
|
52
86
|
/**
|
|
53
87
|
* A collection of arguments for invoking getVpcGcpInfo.
|
|
54
88
|
*/
|
|
@@ -56,5 +90,9 @@ export interface GetVpcGcpInfoOutputArgs {
|
|
|
56
90
|
/**
|
|
57
91
|
* The CloudAMQP instance identifier.
|
|
58
92
|
*/
|
|
59
|
-
instanceId
|
|
93
|
+
instanceId?: pulumi.Input<number>;
|
|
94
|
+
/**
|
|
95
|
+
* The managed VPC identifier.
|
|
96
|
+
*/
|
|
97
|
+
vpcId?: pulumi.Input<string>;
|
|
60
98
|
}
|
package/getVpcGcpInfo.js
CHANGED
|
@@ -10,6 +10,13 @@ const utilities = require("./utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
|
13
|
+
* <details>
|
|
14
|
+
* <summary>
|
|
15
|
+
* <b>
|
|
16
|
+
* <i>AWS VPC peering pre v1.16.0</i>
|
|
17
|
+
* </b>
|
|
18
|
+
* </summary>
|
|
19
|
+
*
|
|
13
20
|
* ```typescript
|
|
14
21
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
22
|
* import * as cloudamqp from "@pulumi/cloudamqp";
|
|
@@ -18,6 +25,24 @@ const utilities = require("./utilities");
|
|
|
18
25
|
* instanceId: cloudamqp_instance.instance.id,
|
|
19
26
|
* });
|
|
20
27
|
* ```
|
|
28
|
+
* </details>
|
|
29
|
+
*
|
|
30
|
+
* <details>
|
|
31
|
+
* <summary>
|
|
32
|
+
* <b>
|
|
33
|
+
* <i>AWS VPC peering post v1.16.0 (Managed VPC)</i>
|
|
34
|
+
* </b>
|
|
35
|
+
* </summary>
|
|
36
|
+
*
|
|
37
|
+
* ```typescript
|
|
38
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
39
|
+
* import * as cloudamqp from "@pulumi/cloudamqp";
|
|
40
|
+
*
|
|
41
|
+
* const vpcInfo = cloudamqp.getVpcGcpInfo({
|
|
42
|
+
* vpcId: cloudamqp_vpc.vpc.id,
|
|
43
|
+
* });
|
|
44
|
+
* ```
|
|
45
|
+
* </details>
|
|
21
46
|
* ## Attributes reference
|
|
22
47
|
*
|
|
23
48
|
* All attributes reference are computed
|
|
@@ -29,15 +54,21 @@ const utilities = require("./utilities");
|
|
|
29
54
|
*
|
|
30
55
|
* ## Dependency
|
|
31
56
|
*
|
|
32
|
-
*
|
|
57
|
+
* *Pre v1.16.0*
|
|
58
|
+
* This resource depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
|
|
59
|
+
*
|
|
60
|
+
* *Post v1.16.0*
|
|
61
|
+
* This resource depends on CloudAMQP managed VPC identifier, `cloudamqp_vpc.vpc.id` or instance identifier, `cloudamqp_instance.instance.id`.
|
|
33
62
|
*/
|
|
34
63
|
function getVpcGcpInfo(args, opts) {
|
|
64
|
+
args = args || {};
|
|
35
65
|
if (!opts) {
|
|
36
66
|
opts = {};
|
|
37
67
|
}
|
|
38
68
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
39
69
|
return pulumi.runtime.invoke("cloudamqp:index/getVpcGcpInfo:getVpcGcpInfo", {
|
|
40
70
|
"instanceId": args.instanceId,
|
|
71
|
+
"vpcId": args.vpcId,
|
|
41
72
|
}, opts);
|
|
42
73
|
}
|
|
43
74
|
exports.getVpcGcpInfo = getVpcGcpInfo;
|
package/getVpcGcpInfo.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getVpcGcpInfo.js","sourceRoot":"","sources":["../getVpcGcpInfo.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getVpcGcpInfo.js","sourceRoot":"","sources":["../getVpcGcpInfo.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsDG;AACH,SAAgB,aAAa,CAAC,IAAwB,EAAE,IAA2B;IAC/E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,6CAA6C,EAAE;QACxE,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,sCAWC;AA+BD,SAAgB,mBAAmB,CAAC,IAA8B,EAAE,IAA2B;IAC3F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,aAAa,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACjE,CAAC;AAFD,kDAEC"}
|
package/getVpcInfo.d.ts
CHANGED
|
@@ -6,6 +6,13 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
6
6
|
*
|
|
7
7
|
* ## Example Usage
|
|
8
8
|
*
|
|
9
|
+
* <details>
|
|
10
|
+
* <summary>
|
|
11
|
+
* <b>
|
|
12
|
+
* <i>AWS VPC peering pre v1.16.0</i>
|
|
13
|
+
* </b>
|
|
14
|
+
* </summary>
|
|
15
|
+
*
|
|
9
16
|
* ```typescript
|
|
10
17
|
* import * as pulumi from "@pulumi/pulumi";
|
|
11
18
|
* import * as cloudamqp from "@pulumi/cloudamqp";
|
|
@@ -14,6 +21,24 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
14
21
|
* instanceId: cloudamqp_instance.instance.id,
|
|
15
22
|
* });
|
|
16
23
|
* ```
|
|
24
|
+
* </details>
|
|
25
|
+
*
|
|
26
|
+
* <details>
|
|
27
|
+
* <summary>
|
|
28
|
+
* <b>
|
|
29
|
+
* <i>AWS VPC peering post v1.16.0 (Managed VPC)</i>
|
|
30
|
+
* </b>
|
|
31
|
+
* </summary>
|
|
32
|
+
*
|
|
33
|
+
* ```typescript
|
|
34
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
35
|
+
* import * as cloudamqp from "@pulumi/cloudamqp";
|
|
36
|
+
*
|
|
37
|
+
* const vpcInfo = cloudamqp.getVpcInfo({
|
|
38
|
+
* vpcId: cloudamqp_vpc.vpc.id,
|
|
39
|
+
* });
|
|
40
|
+
* ```
|
|
41
|
+
* </details>
|
|
17
42
|
* ## Attributes reference
|
|
18
43
|
*
|
|
19
44
|
* All attributes reference are computed
|
|
@@ -26,9 +51,13 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
26
51
|
*
|
|
27
52
|
* ## Dependency
|
|
28
53
|
*
|
|
29
|
-
*
|
|
54
|
+
* *Pre v1.16.0*
|
|
55
|
+
* This resource depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
|
|
56
|
+
*
|
|
57
|
+
* *Post v1.16.0*
|
|
58
|
+
* This resource depends on CloudAMQP managed VPC identifier, `cloudamqp_vpc.vpc.id` or instance identifier, `cloudamqp_instance.instance.id`.
|
|
30
59
|
*/
|
|
31
|
-
export declare function getVpcInfo(args
|
|
60
|
+
export declare function getVpcInfo(args?: GetVpcInfoArgs, opts?: pulumi.InvokeOptions): Promise<GetVpcInfoResult>;
|
|
32
61
|
/**
|
|
33
62
|
* A collection of arguments for invoking getVpcInfo.
|
|
34
63
|
*/
|
|
@@ -36,7 +65,11 @@ export interface GetVpcInfoArgs {
|
|
|
36
65
|
/**
|
|
37
66
|
* The CloudAMQP instance identifier.
|
|
38
67
|
*/
|
|
39
|
-
instanceId
|
|
68
|
+
instanceId?: number;
|
|
69
|
+
/**
|
|
70
|
+
* The managed VPC identifier.
|
|
71
|
+
*/
|
|
72
|
+
vpcId?: string;
|
|
40
73
|
}
|
|
41
74
|
/**
|
|
42
75
|
* A collection of values returned by getVpcInfo.
|
|
@@ -46,13 +79,14 @@ export interface GetVpcInfoResult {
|
|
|
46
79
|
* The provider-assigned unique ID for this managed resource.
|
|
47
80
|
*/
|
|
48
81
|
readonly id: string;
|
|
49
|
-
readonly instanceId
|
|
82
|
+
readonly instanceId?: number;
|
|
50
83
|
readonly name: string;
|
|
51
84
|
readonly ownerId: string;
|
|
52
85
|
readonly securityGroupId: string;
|
|
86
|
+
readonly vpcId?: string;
|
|
53
87
|
readonly vpcSubnet: string;
|
|
54
88
|
}
|
|
55
|
-
export declare function getVpcInfoOutput(args
|
|
89
|
+
export declare function getVpcInfoOutput(args?: GetVpcInfoOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetVpcInfoResult>;
|
|
56
90
|
/**
|
|
57
91
|
* A collection of arguments for invoking getVpcInfo.
|
|
58
92
|
*/
|
|
@@ -60,5 +94,9 @@ export interface GetVpcInfoOutputArgs {
|
|
|
60
94
|
/**
|
|
61
95
|
* The CloudAMQP instance identifier.
|
|
62
96
|
*/
|
|
63
|
-
instanceId
|
|
97
|
+
instanceId?: pulumi.Input<number>;
|
|
98
|
+
/**
|
|
99
|
+
* The managed VPC identifier.
|
|
100
|
+
*/
|
|
101
|
+
vpcId?: pulumi.Input<string>;
|
|
64
102
|
}
|
package/getVpcInfo.js
CHANGED
|
@@ -12,6 +12,13 @@ const utilities = require("./utilities");
|
|
|
12
12
|
*
|
|
13
13
|
* ## Example Usage
|
|
14
14
|
*
|
|
15
|
+
* <details>
|
|
16
|
+
* <summary>
|
|
17
|
+
* <b>
|
|
18
|
+
* <i>AWS VPC peering pre v1.16.0</i>
|
|
19
|
+
* </b>
|
|
20
|
+
* </summary>
|
|
21
|
+
*
|
|
15
22
|
* ```typescript
|
|
16
23
|
* import * as pulumi from "@pulumi/pulumi";
|
|
17
24
|
* import * as cloudamqp from "@pulumi/cloudamqp";
|
|
@@ -20,6 +27,24 @@ const utilities = require("./utilities");
|
|
|
20
27
|
* instanceId: cloudamqp_instance.instance.id,
|
|
21
28
|
* });
|
|
22
29
|
* ```
|
|
30
|
+
* </details>
|
|
31
|
+
*
|
|
32
|
+
* <details>
|
|
33
|
+
* <summary>
|
|
34
|
+
* <b>
|
|
35
|
+
* <i>AWS VPC peering post v1.16.0 (Managed VPC)</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 vpcInfo = cloudamqp.getVpcInfo({
|
|
44
|
+
* vpcId: cloudamqp_vpc.vpc.id,
|
|
45
|
+
* });
|
|
46
|
+
* ```
|
|
47
|
+
* </details>
|
|
23
48
|
* ## Attributes reference
|
|
24
49
|
*
|
|
25
50
|
* All attributes reference are computed
|
|
@@ -32,15 +57,21 @@ const utilities = require("./utilities");
|
|
|
32
57
|
*
|
|
33
58
|
* ## Dependency
|
|
34
59
|
*
|
|
35
|
-
*
|
|
60
|
+
* *Pre v1.16.0*
|
|
61
|
+
* This resource depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
|
|
62
|
+
*
|
|
63
|
+
* *Post v1.16.0*
|
|
64
|
+
* This resource depends on CloudAMQP managed VPC identifier, `cloudamqp_vpc.vpc.id` or instance identifier, `cloudamqp_instance.instance.id`.
|
|
36
65
|
*/
|
|
37
66
|
function getVpcInfo(args, opts) {
|
|
67
|
+
args = args || {};
|
|
38
68
|
if (!opts) {
|
|
39
69
|
opts = {};
|
|
40
70
|
}
|
|
41
71
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
42
72
|
return pulumi.runtime.invoke("cloudamqp:index/getVpcInfo:getVpcInfo", {
|
|
43
73
|
"instanceId": args.instanceId,
|
|
74
|
+
"vpcId": args.vpcId,
|
|
44
75
|
}, opts);
|
|
45
76
|
}
|
|
46
77
|
exports.getVpcInfo = getVpcInfo;
|