@pulumi/cloudamqp 3.5.0 → 3.6.1
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 +15 -3
- package/alarm.js +26 -26
- package/alarm.js.map +1 -1
- package/config/index.js +5 -1
- package/config/index.js.map +1 -1
- package/customDomain.js +7 -9
- package/customDomain.js.map +1 -1
- package/getAccount.js +1 -3
- package/getAccount.js.map +1 -1
- package/getAlarm.d.ts +38 -14
- package/getAlarm.js +19 -17
- package/getAlarm.js.map +1 -1
- package/getCredentials.d.ts +6 -4
- package/getCredentials.js +1 -7
- package/getCredentials.js.map +1 -1
- package/getInstance.d.ts +6 -4
- package/getInstance.js +1 -7
- package/getInstance.js.map +1 -1
- package/getNodes.d.ts +6 -4
- package/getNodes.js +1 -7
- package/getNodes.js.map +1 -1
- package/getNotification.d.ts +18 -6
- package/getNotification.js +1 -9
- package/getNotification.js.map +1 -1
- package/getPlugins.d.ts +6 -4
- package/getPlugins.js +1 -7
- package/getPlugins.js.map +1 -1
- package/getPluginsCommunity.d.ts +6 -4
- package/getPluginsCommunity.js +1 -7
- package/getPluginsCommunity.js.map +1 -1
- package/getVpcGcpInfo.d.ts +60 -0
- package/getVpcGcpInfo.js +48 -0
- package/getVpcGcpInfo.js.map +1 -0
- package/getVpcInfo.d.ts +6 -4
- package/getVpcInfo.js +1 -7
- package/getVpcInfo.js.map +1 -1
- package/index.d.ts +2 -0
- package/index.js +11 -1
- package/index.js.map +1 -1
- package/instance.js +35 -37
- package/instance.js.map +1 -1
- package/integrationLog.js +29 -31
- package/integrationLog.js.map +1 -1
- package/integrationMetric.js +35 -37
- package/integrationMetric.js.map +1 -1
- package/notification.js +11 -13
- package/notification.js.map +1 -1
- package/package.json +2 -2
- package/package.json.bak +2 -1
- package/package.json.dev +3 -2
- package/plugin.js +9 -11
- package/plugin.js.map +1 -1
- package/pluginCommunity.js +9 -11
- package/pluginCommunity.js.map +1 -1
- package/provider.js +5 -7
- package/provider.js.map +1 -1
- package/securityFirewall.d.ts +0 -8
- package/securityFirewall.js +7 -17
- package/securityFirewall.js.map +1 -1
- package/types/input.d.ts +1 -1
- package/types/output.d.ts +1 -1
- package/utilities.js +6 -1
- package/utilities.js.map +1 -1
- package/vpcGcpPeering.d.ts +84 -0
- package/vpcGcpPeering.js +63 -0
- package/vpcGcpPeering.js.map +1 -0
- package/vpcPeering.js +9 -11
- package/vpcPeering.js.map +1 -1
- package/webhook.js +15 -17
- package/webhook.js.map +1 -1
package/alarm.d.ts
CHANGED
|
@@ -39,10 +39,10 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
39
39
|
* ```
|
|
40
40
|
* ## Alarm Type reference
|
|
41
41
|
*
|
|
42
|
-
*
|
|
42
|
+
* Supported alarm types: `cpu, memory, disk, queue, connection, consumer, netsplit, server_unreachable, notice`
|
|
43
43
|
*
|
|
44
|
-
* Required arguments for all alarms:
|
|
45
|
-
* Optional argument for all alarms:
|
|
44
|
+
* Required arguments for all alarms: `instance_id, type, enabled`<br>
|
|
45
|
+
* Optional argument for all alarms: `tags, queue_regex, vhostRegex`
|
|
46
46
|
*
|
|
47
47
|
* | Name | Type | Shared | Dedicated | Required arguments |
|
|
48
48
|
* | ---- | ---- | ---- | ---- | ---- |
|
|
@@ -112,6 +112,10 @@ export declare class Alarm extends pulumi.CustomResource {
|
|
|
112
112
|
* The alarm type, see valid options below.
|
|
113
113
|
*/
|
|
114
114
|
readonly type: pulumi.Output<string>;
|
|
115
|
+
/**
|
|
116
|
+
* Disk value threshold calculation, `fixed, percentage` of disk space remaining.
|
|
117
|
+
*/
|
|
118
|
+
readonly valueCalculation: pulumi.Output<string | undefined>;
|
|
115
119
|
/**
|
|
116
120
|
* The value to trigger the alarm for.
|
|
117
121
|
*/
|
|
@@ -161,6 +165,10 @@ export interface AlarmState {
|
|
|
161
165
|
* The alarm type, see valid options below.
|
|
162
166
|
*/
|
|
163
167
|
type?: pulumi.Input<string>;
|
|
168
|
+
/**
|
|
169
|
+
* Disk value threshold calculation, `fixed, percentage` of disk space remaining.
|
|
170
|
+
*/
|
|
171
|
+
valueCalculation?: pulumi.Input<string>;
|
|
164
172
|
/**
|
|
165
173
|
* The value to trigger the alarm for.
|
|
166
174
|
*/
|
|
@@ -202,6 +210,10 @@ export interface AlarmArgs {
|
|
|
202
210
|
* The alarm type, see valid options below.
|
|
203
211
|
*/
|
|
204
212
|
type: pulumi.Input<string>;
|
|
213
|
+
/**
|
|
214
|
+
* Disk value threshold calculation, `fixed, percentage` of disk space remaining.
|
|
215
|
+
*/
|
|
216
|
+
valueCalculation?: pulumi.Input<string>;
|
|
205
217
|
/**
|
|
206
218
|
* The value to trigger the alarm for.
|
|
207
219
|
*/
|
package/alarm.js
CHANGED
|
@@ -45,10 +45,10 @@ const utilities = require("./utilities");
|
|
|
45
45
|
* ```
|
|
46
46
|
* ## Alarm Type reference
|
|
47
47
|
*
|
|
48
|
-
*
|
|
48
|
+
* Supported alarm types: `cpu, memory, disk, queue, connection, consumer, netsplit, server_unreachable, notice`
|
|
49
49
|
*
|
|
50
|
-
* Required arguments for all alarms:
|
|
51
|
-
* Optional argument for all alarms:
|
|
50
|
+
* Required arguments for all alarms: `instance_id, type, enabled`<br>
|
|
51
|
+
* Optional argument for all alarms: `tags, queue_regex, vhostRegex`
|
|
52
52
|
*
|
|
53
53
|
* | Name | Type | Shared | Dedicated | Required arguments |
|
|
54
54
|
* | ---- | ---- | ---- | ---- | ---- |
|
|
@@ -76,19 +76,20 @@ const utilities = require("./utilities");
|
|
|
76
76
|
*/
|
|
77
77
|
class Alarm extends pulumi.CustomResource {
|
|
78
78
|
constructor(name, argsOrState, opts) {
|
|
79
|
-
let
|
|
79
|
+
let resourceInputs = {};
|
|
80
80
|
opts = opts || {};
|
|
81
81
|
if (opts.id) {
|
|
82
82
|
const state = argsOrState;
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
83
|
+
resourceInputs["enabled"] = state ? state.enabled : undefined;
|
|
84
|
+
resourceInputs["instanceId"] = state ? state.instanceId : undefined;
|
|
85
|
+
resourceInputs["messageType"] = state ? state.messageType : undefined;
|
|
86
|
+
resourceInputs["queueRegex"] = state ? state.queueRegex : undefined;
|
|
87
|
+
resourceInputs["recipients"] = state ? state.recipients : undefined;
|
|
88
|
+
resourceInputs["timeThreshold"] = state ? state.timeThreshold : undefined;
|
|
89
|
+
resourceInputs["type"] = state ? state.type : undefined;
|
|
90
|
+
resourceInputs["valueCalculation"] = state ? state.valueCalculation : undefined;
|
|
91
|
+
resourceInputs["valueThreshold"] = state ? state.valueThreshold : undefined;
|
|
92
|
+
resourceInputs["vhostRegex"] = state ? state.vhostRegex : undefined;
|
|
92
93
|
}
|
|
93
94
|
else {
|
|
94
95
|
const args = argsOrState;
|
|
@@ -104,20 +105,19 @@ class Alarm extends pulumi.CustomResource {
|
|
|
104
105
|
if ((!args || args.type === undefined) && !opts.urn) {
|
|
105
106
|
throw new Error("Missing required property 'type'");
|
|
106
107
|
}
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
108
|
+
resourceInputs["enabled"] = args ? args.enabled : undefined;
|
|
109
|
+
resourceInputs["instanceId"] = args ? args.instanceId : undefined;
|
|
110
|
+
resourceInputs["messageType"] = args ? args.messageType : undefined;
|
|
111
|
+
resourceInputs["queueRegex"] = args ? args.queueRegex : undefined;
|
|
112
|
+
resourceInputs["recipients"] = args ? args.recipients : undefined;
|
|
113
|
+
resourceInputs["timeThreshold"] = args ? args.timeThreshold : undefined;
|
|
114
|
+
resourceInputs["type"] = args ? args.type : undefined;
|
|
115
|
+
resourceInputs["valueCalculation"] = args ? args.valueCalculation : undefined;
|
|
116
|
+
resourceInputs["valueThreshold"] = args ? args.valueThreshold : undefined;
|
|
117
|
+
resourceInputs["vhostRegex"] = args ? args.vhostRegex : undefined;
|
|
116
118
|
}
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
}
|
|
120
|
-
super(Alarm.__pulumiType, name, inputs, opts);
|
|
119
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
120
|
+
super(Alarm.__pulumiType, name, resourceInputs, opts);
|
|
121
121
|
}
|
|
122
122
|
/**
|
|
123
123
|
* Get an existing Alarm resource's state with the given name, ID, and optional extra
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoEG;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoEG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IA6E5C,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,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AAI,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;SACrE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,KAAK,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1D,CAAC;IAtHD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkB,EAAE,IAAmC;QAChH,OAAO,IAAI,KAAK,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC5D,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,KAAK,CAAC,YAAY,CAAC;IACtD,CAAC;;AA1BL,sBAwHC;AA1GG,gBAAgB;AACO,kBAAY,GAAG,6BAA6B,CAAC"}
|
package/config/index.js
CHANGED
|
@@ -3,7 +3,11 @@
|
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
5
|
if (k2 === undefined) k2 = k;
|
|
6
|
-
Object.
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
7
11
|
}) : (function(o, m, k, k2) {
|
|
8
12
|
if (k2 === undefined) k2 = k;
|
|
9
13
|
o[k2] = m[k];
|
package/config/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../config/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../config/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;;;;;AAEjF,kBAAkB;AAClB,yCAAuB"}
|
package/customDomain.js
CHANGED
|
@@ -43,12 +43,12 @@ const utilities = require("./utilities");
|
|
|
43
43
|
*/
|
|
44
44
|
class CustomDomain extends pulumi.CustomResource {
|
|
45
45
|
constructor(name, argsOrState, opts) {
|
|
46
|
-
let
|
|
46
|
+
let resourceInputs = {};
|
|
47
47
|
opts = opts || {};
|
|
48
48
|
if (opts.id) {
|
|
49
49
|
const state = argsOrState;
|
|
50
|
-
|
|
51
|
-
|
|
50
|
+
resourceInputs["hostname"] = state ? state.hostname : undefined;
|
|
51
|
+
resourceInputs["instanceId"] = state ? state.instanceId : undefined;
|
|
52
52
|
}
|
|
53
53
|
else {
|
|
54
54
|
const args = argsOrState;
|
|
@@ -58,13 +58,11 @@ class CustomDomain extends pulumi.CustomResource {
|
|
|
58
58
|
if ((!args || args.instanceId === undefined) && !opts.urn) {
|
|
59
59
|
throw new Error("Missing required property 'instanceId'");
|
|
60
60
|
}
|
|
61
|
-
|
|
62
|
-
|
|
61
|
+
resourceInputs["hostname"] = args ? args.hostname : undefined;
|
|
62
|
+
resourceInputs["instanceId"] = args ? args.instanceId : undefined;
|
|
63
63
|
}
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
}
|
|
67
|
-
super(CustomDomain.__pulumiType, name, inputs, opts);
|
|
64
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
65
|
+
super(CustomDomain.__pulumiType, name, resourceInputs, opts);
|
|
68
66
|
}
|
|
69
67
|
/**
|
|
70
68
|
* Get an existing CustomDomain resource's state with the given name, ID, and optional extra
|
package/customDomain.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customDomain.js","sourceRoot":"","sources":["../customDomain.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IA6CnD,YAAY,IAAY,EAAE,WAAkD,EAAE,IAAmC;QAC7G,IAAI,
|
|
1
|
+
{"version":3,"file":"customDomain.js","sourceRoot":"","sources":["../customDomain.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IA6CnD,YAAY,IAAY,EAAE,WAAkD,EAAE,IAAmC;QAC7G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA4C,CAAC;YAC3D,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,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,oCAkEC;AApDG,gBAAgB;AACO,yBAAY,GAAG,2CAA2C,CAAC"}
|
package/getAccount.js
CHANGED
|
@@ -26,9 +26,7 @@ function getAccount(opts) {
|
|
|
26
26
|
if (!opts) {
|
|
27
27
|
opts = {};
|
|
28
28
|
}
|
|
29
|
-
|
|
30
|
-
opts.version = utilities.getVersion();
|
|
31
|
-
}
|
|
29
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
32
30
|
return pulumi.runtime.invoke("cloudamqp:index/getAccount:getAccount", {}, opts);
|
|
33
31
|
}
|
|
34
32
|
exports.getAccount = getAccount;
|
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;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,UAAU,CAAC,IAA2B;IAClD,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,
|
|
1
|
+
{"version":3,"file":"getAccount.js","sourceRoot":"","sources":["../getAccount.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;GAgBG;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"}
|
package/getAlarm.d.ts
CHANGED
|
@@ -13,37 +13,50 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
13
13
|
* type: "cpu",
|
|
14
14
|
* });
|
|
15
15
|
* ```
|
|
16
|
-
* ## Argument reference
|
|
17
|
-
*
|
|
18
|
-
* * `instanceId` - (Required) The CloudAMQP instance identifier.
|
|
19
|
-
* * `alarmId` - (Optional) The alarm identifier. Either use this or `type` to give `cloudamqp.Alarm` necessary information to retrieve the alarm.
|
|
20
|
-
* * `type` - (Optional) The alarm type. Either use this or `alarmId` to give `cloudamqp.Alarm` necessary information when retrieve the alarm.
|
|
21
|
-
*
|
|
22
16
|
* ## Attributes reference
|
|
23
17
|
*
|
|
24
18
|
* All attributes reference are computed
|
|
25
19
|
*
|
|
26
|
-
* * `id`
|
|
27
|
-
* * `enabled`
|
|
28
|
-
* * `valueThreshold`
|
|
29
|
-
* * `
|
|
30
|
-
* * `
|
|
31
|
-
* * `
|
|
32
|
-
* * `
|
|
33
|
-
* * `
|
|
20
|
+
* * `id` - The identifier for this resource.
|
|
21
|
+
* * `enabled` - Enable/disable status of the alarm.
|
|
22
|
+
* * `valueThreshold` - The value threshold that triggers the alarm.
|
|
23
|
+
* * `reminderInternval` - The reminder interval (in seconds) to resend the alarm if not resolved. Leave empty or set to 0 to not receive any reminders.
|
|
24
|
+
* * `timeThreshold` - The time interval (in seconds) the `valueThreshold` should be active before trigger an alarm.
|
|
25
|
+
* * `queueRegex` - Regular expression for which queue to check.
|
|
26
|
+
* * `vhostRegex` - Regular expression for which vhost to check
|
|
27
|
+
* * `recipients` - Identifier for recipient to be notified.
|
|
28
|
+
* * `messageType` - Message type `(total, unacked, ready)` used by queue alarm type.
|
|
29
|
+
*
|
|
30
|
+
* Specific attribute for `disk` alarm
|
|
31
|
+
*
|
|
32
|
+
* * `valueCalculation` - Disk value threshold calculation, `(fixed, percentage)` of disk space remaining.
|
|
34
33
|
*
|
|
35
34
|
* ## Dependency
|
|
36
35
|
*
|
|
37
36
|
* This data source depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
|
|
37
|
+
*
|
|
38
|
+
* ## Alarm types
|
|
39
|
+
*
|
|
40
|
+
* `cpu, memory, disk, queue, connection, consumer, netsplit, server_unreachable, notice`
|
|
38
41
|
*/
|
|
39
42
|
export declare function getAlarm(args: GetAlarmArgs, opts?: pulumi.InvokeOptions): Promise<GetAlarmResult>;
|
|
40
43
|
/**
|
|
41
44
|
* A collection of arguments for invoking getAlarm.
|
|
42
45
|
*/
|
|
43
46
|
export interface GetAlarmArgs {
|
|
47
|
+
/**
|
|
48
|
+
* The alarm identifier. Either use this or `type` to give `cloudamqp.Alarm` necessary information to retrieve the alarm.
|
|
49
|
+
*/
|
|
44
50
|
alarmId?: number;
|
|
51
|
+
/**
|
|
52
|
+
* The CloudAMQP instance identifier.
|
|
53
|
+
*/
|
|
45
54
|
instanceId: number;
|
|
55
|
+
/**
|
|
56
|
+
* The alarm type. Either use this or `alarmId` to give `cloudamqp.Alarm` necessary information when retrieve the alarm. Supported alarm types
|
|
57
|
+
*/
|
|
46
58
|
type?: string;
|
|
59
|
+
valueCalculation?: string;
|
|
47
60
|
}
|
|
48
61
|
/**
|
|
49
62
|
* A collection of values returned by getAlarm.
|
|
@@ -61,6 +74,7 @@ export interface GetAlarmResult {
|
|
|
61
74
|
readonly recipients: number[];
|
|
62
75
|
readonly timeThreshold: number;
|
|
63
76
|
readonly type?: string;
|
|
77
|
+
readonly valueCalculation?: string;
|
|
64
78
|
readonly valueThreshold: number;
|
|
65
79
|
readonly vhostRegex: string;
|
|
66
80
|
}
|
|
@@ -69,7 +83,17 @@ export declare function getAlarmOutput(args: GetAlarmOutputArgs, opts?: pulumi.I
|
|
|
69
83
|
* A collection of arguments for invoking getAlarm.
|
|
70
84
|
*/
|
|
71
85
|
export interface GetAlarmOutputArgs {
|
|
86
|
+
/**
|
|
87
|
+
* The alarm identifier. Either use this or `type` to give `cloudamqp.Alarm` necessary information to retrieve the alarm.
|
|
88
|
+
*/
|
|
72
89
|
alarmId?: pulumi.Input<number>;
|
|
90
|
+
/**
|
|
91
|
+
* The CloudAMQP instance identifier.
|
|
92
|
+
*/
|
|
73
93
|
instanceId: pulumi.Input<number>;
|
|
94
|
+
/**
|
|
95
|
+
* The alarm type. Either use this or `alarmId` to give `cloudamqp.Alarm` necessary information when retrieve the alarm. Supported alarm types
|
|
96
|
+
*/
|
|
74
97
|
type?: pulumi.Input<string>;
|
|
98
|
+
valueCalculation?: pulumi.Input<string>;
|
|
75
99
|
}
|
package/getAlarm.js
CHANGED
|
@@ -19,40 +19,42 @@ const utilities = require("./utilities");
|
|
|
19
19
|
* type: "cpu",
|
|
20
20
|
* });
|
|
21
21
|
* ```
|
|
22
|
-
* ## Argument reference
|
|
23
|
-
*
|
|
24
|
-
* * `instanceId` - (Required) The CloudAMQP instance identifier.
|
|
25
|
-
* * `alarmId` - (Optional) The alarm identifier. Either use this or `type` to give `cloudamqp.Alarm` necessary information to retrieve the alarm.
|
|
26
|
-
* * `type` - (Optional) The alarm type. Either use this or `alarmId` to give `cloudamqp.Alarm` necessary information when retrieve the alarm.
|
|
27
|
-
*
|
|
28
22
|
* ## Attributes reference
|
|
29
23
|
*
|
|
30
24
|
* All attributes reference are computed
|
|
31
25
|
*
|
|
32
|
-
* * `id`
|
|
33
|
-
* * `enabled`
|
|
34
|
-
* * `valueThreshold`
|
|
35
|
-
* * `
|
|
36
|
-
* * `
|
|
37
|
-
* * `
|
|
38
|
-
* * `
|
|
39
|
-
* * `
|
|
26
|
+
* * `id` - The identifier for this resource.
|
|
27
|
+
* * `enabled` - Enable/disable status of the alarm.
|
|
28
|
+
* * `valueThreshold` - The value threshold that triggers the alarm.
|
|
29
|
+
* * `reminderInternval` - The reminder interval (in seconds) to resend the alarm if not resolved. Leave empty or set to 0 to not receive any reminders.
|
|
30
|
+
* * `timeThreshold` - The time interval (in seconds) the `valueThreshold` should be active before trigger an alarm.
|
|
31
|
+
* * `queueRegex` - Regular expression for which queue to check.
|
|
32
|
+
* * `vhostRegex` - Regular expression for which vhost to check
|
|
33
|
+
* * `recipients` - Identifier for recipient to be notified.
|
|
34
|
+
* * `messageType` - Message type `(total, unacked, ready)` used by queue alarm type.
|
|
35
|
+
*
|
|
36
|
+
* Specific attribute for `disk` alarm
|
|
37
|
+
*
|
|
38
|
+
* * `valueCalculation` - Disk value threshold calculation, `(fixed, percentage)` of disk space remaining.
|
|
40
39
|
*
|
|
41
40
|
* ## Dependency
|
|
42
41
|
*
|
|
43
42
|
* This data source depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
|
|
43
|
+
*
|
|
44
|
+
* ## Alarm types
|
|
45
|
+
*
|
|
46
|
+
* `cpu, memory, disk, queue, connection, consumer, netsplit, server_unreachable, notice`
|
|
44
47
|
*/
|
|
45
48
|
function getAlarm(args, opts) {
|
|
46
49
|
if (!opts) {
|
|
47
50
|
opts = {};
|
|
48
51
|
}
|
|
49
|
-
|
|
50
|
-
opts.version = utilities.getVersion();
|
|
51
|
-
}
|
|
52
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
52
53
|
return pulumi.runtime.invoke("cloudamqp:index/getAlarm:getAlarm", {
|
|
53
54
|
"alarmId": args.alarmId,
|
|
54
55
|
"instanceId": args.instanceId,
|
|
55
56
|
"type": args.type,
|
|
57
|
+
"valueCalculation": args.valueCalculation,
|
|
56
58
|
}, opts);
|
|
57
59
|
}
|
|
58
60
|
exports.getAlarm = getAlarm;
|
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
|
|
1
|
+
{"version":3,"file":"getAlarm.js","sourceRoot":"","sources":["../getAlarm.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IACpE,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,mCAAmC,EAAE;QAC9D,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;KAC5C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,4BAYC;AA0CD,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC5D,CAAC;AAFD,wCAEC"}
|
package/getCredentials.d.ts
CHANGED
|
@@ -12,10 +12,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
12
12
|
* instanceId: cloudamqp_instance.instance.id,
|
|
13
13
|
* });
|
|
14
14
|
* ```
|
|
15
|
-
* ## Argument reference
|
|
16
|
-
*
|
|
17
|
-
* * `instanceId` - (Required) The CloudAMQP instance identifier.
|
|
18
|
-
*
|
|
19
15
|
* ## Attributes reference
|
|
20
16
|
*
|
|
21
17
|
* All attributes reference are computed.
|
|
@@ -33,6 +29,9 @@ export declare function getCredentials(args: GetCredentialsArgs, opts?: pulumi.I
|
|
|
33
29
|
* A collection of arguments for invoking getCredentials.
|
|
34
30
|
*/
|
|
35
31
|
export interface GetCredentialsArgs {
|
|
32
|
+
/**
|
|
33
|
+
* The CloudAMQP instance identifier.
|
|
34
|
+
*/
|
|
36
35
|
instanceId: number;
|
|
37
36
|
}
|
|
38
37
|
/**
|
|
@@ -52,5 +51,8 @@ export declare function getCredentialsOutput(args: GetCredentialsOutputArgs, opt
|
|
|
52
51
|
* A collection of arguments for invoking getCredentials.
|
|
53
52
|
*/
|
|
54
53
|
export interface GetCredentialsOutputArgs {
|
|
54
|
+
/**
|
|
55
|
+
* The CloudAMQP instance identifier.
|
|
56
|
+
*/
|
|
55
57
|
instanceId: pulumi.Input<number>;
|
|
56
58
|
}
|
package/getCredentials.js
CHANGED
|
@@ -18,10 +18,6 @@ const utilities = require("./utilities");
|
|
|
18
18
|
* instanceId: cloudamqp_instance.instance.id,
|
|
19
19
|
* });
|
|
20
20
|
* ```
|
|
21
|
-
* ## Argument reference
|
|
22
|
-
*
|
|
23
|
-
* * `instanceId` - (Required) The CloudAMQP instance identifier.
|
|
24
|
-
*
|
|
25
21
|
* ## Attributes reference
|
|
26
22
|
*
|
|
27
23
|
* All attributes reference are computed.
|
|
@@ -38,9 +34,7 @@ function getCredentials(args, opts) {
|
|
|
38
34
|
if (!opts) {
|
|
39
35
|
opts = {};
|
|
40
36
|
}
|
|
41
|
-
|
|
42
|
-
opts.version = utilities.getVersion();
|
|
43
|
-
}
|
|
37
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
44
38
|
return pulumi.runtime.invoke("cloudamqp:index/getCredentials:getCredentials", {
|
|
45
39
|
"instanceId": args.instanceId,
|
|
46
40
|
}, opts);
|
package/getCredentials.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getCredentials.js","sourceRoot":"","sources":["../getCredentials.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getCredentials.js","sourceRoot":"","sources":["../getCredentials.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,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;QAC1E,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,wCASC;AAyBD,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAC5F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,cAAc,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAClE,CAAC;AAFD,oDAEC"}
|
package/getInstance.d.ts
CHANGED
|
@@ -2,10 +2,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
/**
|
|
3
3
|
* Use this data source to retrieve information about an already created CloudAMQP instance. In order to retrieve the correct information, the CoudAMQP instance identifier is needed.
|
|
4
4
|
*
|
|
5
|
-
* ## Argument reference
|
|
6
|
-
*
|
|
7
|
-
* * `instanceId` - (Required) The CloudAMQP instance identifier.
|
|
8
|
-
*
|
|
9
5
|
* ## Attributes reference
|
|
10
6
|
*
|
|
11
7
|
* All attributes reference are computed
|
|
@@ -30,6 +26,9 @@ export declare function getInstance(args: GetInstanceArgs, opts?: pulumi.InvokeO
|
|
|
30
26
|
* A collection of arguments for invoking getInstance.
|
|
31
27
|
*/
|
|
32
28
|
export interface GetInstanceArgs {
|
|
29
|
+
/**
|
|
30
|
+
* The CloudAMQP instance identifier.
|
|
31
|
+
*/
|
|
33
32
|
instanceId: number;
|
|
34
33
|
}
|
|
35
34
|
/**
|
|
@@ -63,5 +62,8 @@ export declare function getInstanceOutput(args: GetInstanceOutputArgs, opts?: pu
|
|
|
63
62
|
* A collection of arguments for invoking getInstance.
|
|
64
63
|
*/
|
|
65
64
|
export interface GetInstanceOutputArgs {
|
|
65
|
+
/**
|
|
66
|
+
* The CloudAMQP instance identifier.
|
|
67
|
+
*/
|
|
66
68
|
instanceId: pulumi.Input<number>;
|
|
67
69
|
}
|
package/getInstance.js
CHANGED
|
@@ -8,10 +8,6 @@ const utilities = require("./utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* Use this data source to retrieve information about an already created CloudAMQP instance. In order to retrieve the correct information, the CoudAMQP instance identifier is needed.
|
|
10
10
|
*
|
|
11
|
-
* ## Argument reference
|
|
12
|
-
*
|
|
13
|
-
* * `instanceId` - (Required) The CloudAMQP instance identifier.
|
|
14
|
-
*
|
|
15
11
|
* ## Attributes reference
|
|
16
12
|
*
|
|
17
13
|
* All attributes reference are computed
|
|
@@ -35,9 +31,7 @@ function getInstance(args, opts) {
|
|
|
35
31
|
if (!opts) {
|
|
36
32
|
opts = {};
|
|
37
33
|
}
|
|
38
|
-
|
|
39
|
-
opts.version = utilities.getVersion();
|
|
40
|
-
}
|
|
34
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
41
35
|
return pulumi.runtime.invoke("cloudamqp:index/getInstance:getInstance", {
|
|
42
36
|
"instanceId": args.instanceId,
|
|
43
37
|
}, opts);
|
package/getInstance.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getInstance.js","sourceRoot":"","sources":["../getInstance.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getInstance.js","sourceRoot":"","sources":["../getInstance.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAC1E,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,yCAAyC,EAAE;QACpE,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,kCASC;AAuCD,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC/D,CAAC;AAFD,8CAEC"}
|
package/getNodes.d.ts
CHANGED
|
@@ -13,10 +13,6 @@ import { output as outputs } from "./types";
|
|
|
13
13
|
* instanceId: cloudamqp_instance.instance.id,
|
|
14
14
|
* });
|
|
15
15
|
* ```
|
|
16
|
-
* ## Argument reference
|
|
17
|
-
*
|
|
18
|
-
* * `instanceId` - (Required) The CloudAMQP instance identifier.
|
|
19
|
-
*
|
|
20
16
|
* ## Attributes reference
|
|
21
17
|
*
|
|
22
18
|
* All attributes reference are computed
|
|
@@ -45,6 +41,9 @@ export declare function getNodes(args: GetNodesArgs, opts?: pulumi.InvokeOptions
|
|
|
45
41
|
* A collection of arguments for invoking getNodes.
|
|
46
42
|
*/
|
|
47
43
|
export interface GetNodesArgs {
|
|
44
|
+
/**
|
|
45
|
+
* The CloudAMQP instance identifier.
|
|
46
|
+
*/
|
|
48
47
|
instanceId: number;
|
|
49
48
|
}
|
|
50
49
|
/**
|
|
@@ -63,5 +62,8 @@ export declare function getNodesOutput(args: GetNodesOutputArgs, opts?: pulumi.I
|
|
|
63
62
|
* A collection of arguments for invoking getNodes.
|
|
64
63
|
*/
|
|
65
64
|
export interface GetNodesOutputArgs {
|
|
65
|
+
/**
|
|
66
|
+
* The CloudAMQP instance identifier.
|
|
67
|
+
*/
|
|
66
68
|
instanceId: pulumi.Input<number>;
|
|
67
69
|
}
|
package/getNodes.js
CHANGED
|
@@ -18,10 +18,6 @@ const utilities = require("./utilities");
|
|
|
18
18
|
* instanceId: cloudamqp_instance.instance.id,
|
|
19
19
|
* });
|
|
20
20
|
* ```
|
|
21
|
-
* ## Argument reference
|
|
22
|
-
*
|
|
23
|
-
* * `instanceId` - (Required) The CloudAMQP instance identifier.
|
|
24
|
-
*
|
|
25
21
|
* ## Attributes reference
|
|
26
22
|
*
|
|
27
23
|
* All attributes reference are computed
|
|
@@ -49,9 +45,7 @@ function getNodes(args, opts) {
|
|
|
49
45
|
if (!opts) {
|
|
50
46
|
opts = {};
|
|
51
47
|
}
|
|
52
|
-
|
|
53
|
-
opts.version = utilities.getVersion();
|
|
54
|
-
}
|
|
48
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
55
49
|
return pulumi.runtime.invoke("cloudamqp:index/getNodes:getNodes", {
|
|
56
50
|
"instanceId": args.instanceId,
|
|
57
51
|
}, opts);
|
package/getNodes.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getNodes.js","sourceRoot":"","sources":["../getNodes.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getNodes.js","sourceRoot":"","sources":["../getNodes.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IACpE,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,mCAAmC,EAAE;QAC9D,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,4BASC;AAwBD,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC5D,CAAC;AAFD,wCAEC"}
|
package/getNotification.d.ts
CHANGED
|
@@ -13,12 +13,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
13
13
|
* name: "default",
|
|
14
14
|
* });
|
|
15
15
|
* ```
|
|
16
|
-
* ## Argument reference
|
|
17
|
-
*
|
|
18
|
-
* * `instanceId` - (Required) The CloudAMQP instance identifier.
|
|
19
|
-
* * `recipientId` - (Optional) The recipient identifier.
|
|
20
|
-
* * `name` - (Optional) The name set for the recipient.
|
|
21
|
-
*
|
|
22
16
|
* ## Attributes reference
|
|
23
17
|
*
|
|
24
18
|
* All attributes reference are computed
|
|
@@ -36,8 +30,17 @@ export declare function getNotification(args: GetNotificationArgs, opts?: pulumi
|
|
|
36
30
|
* A collection of arguments for invoking getNotification.
|
|
37
31
|
*/
|
|
38
32
|
export interface GetNotificationArgs {
|
|
33
|
+
/**
|
|
34
|
+
* The CloudAMQP instance identifier.
|
|
35
|
+
*/
|
|
39
36
|
instanceId: number;
|
|
37
|
+
/**
|
|
38
|
+
* The name set for the recipient.
|
|
39
|
+
*/
|
|
40
40
|
name?: string;
|
|
41
|
+
/**
|
|
42
|
+
* The recipient identifier.
|
|
43
|
+
*/
|
|
41
44
|
recipientId?: number;
|
|
42
45
|
}
|
|
43
46
|
/**
|
|
@@ -59,7 +62,16 @@ export declare function getNotificationOutput(args: GetNotificationOutputArgs, o
|
|
|
59
62
|
* A collection of arguments for invoking getNotification.
|
|
60
63
|
*/
|
|
61
64
|
export interface GetNotificationOutputArgs {
|
|
65
|
+
/**
|
|
66
|
+
* The CloudAMQP instance identifier.
|
|
67
|
+
*/
|
|
62
68
|
instanceId: pulumi.Input<number>;
|
|
69
|
+
/**
|
|
70
|
+
* The name set for the recipient.
|
|
71
|
+
*/
|
|
63
72
|
name?: pulumi.Input<string>;
|
|
73
|
+
/**
|
|
74
|
+
* The recipient identifier.
|
|
75
|
+
*/
|
|
64
76
|
recipientId?: pulumi.Input<number>;
|
|
65
77
|
}
|
package/getNotification.js
CHANGED
|
@@ -19,12 +19,6 @@ const utilities = require("./utilities");
|
|
|
19
19
|
* name: "default",
|
|
20
20
|
* });
|
|
21
21
|
* ```
|
|
22
|
-
* ## Argument reference
|
|
23
|
-
*
|
|
24
|
-
* * `instanceId` - (Required) The CloudAMQP instance identifier.
|
|
25
|
-
* * `recipientId` - (Optional) The recipient identifier.
|
|
26
|
-
* * `name` - (Optional) The name set for the recipient.
|
|
27
|
-
*
|
|
28
22
|
* ## Attributes reference
|
|
29
23
|
*
|
|
30
24
|
* All attributes reference are computed
|
|
@@ -41,9 +35,7 @@ function getNotification(args, opts) {
|
|
|
41
35
|
if (!opts) {
|
|
42
36
|
opts = {};
|
|
43
37
|
}
|
|
44
|
-
|
|
45
|
-
opts.version = utilities.getVersion();
|
|
46
|
-
}
|
|
38
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
47
39
|
return pulumi.runtime.invoke("cloudamqp:index/getNotification:getNotification", {
|
|
48
40
|
"instanceId": args.instanceId,
|
|
49
41
|
"name": args.name,
|