@pulumi/cloudamqp 3.17.5 → 3.17.6
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 +11 -13
- package/alarm.js +11 -13
- package/alarm.js.map +1 -1
- package/customDomain.d.ts +1 -3
- package/customDomain.js +1 -3
- package/customDomain.js.map +1 -1
- package/extraDiskSize.d.ts +16 -12
- package/extraDiskSize.js +16 -12
- package/extraDiskSize.js.map +1 -1
- package/getAccount.d.ts +0 -72
- package/getAccount.js +0 -72
- package/getAccount.js.map +1 -1
- package/getAccountVpcs.d.ts +0 -4
- package/getAccountVpcs.js +0 -4
- package/getAccountVpcs.js.map +1 -1
- package/getAlarm.d.ts +2 -6
- package/getAlarm.js +2 -6
- package/getAlarm.js.map +1 -1
- package/getCredentials.d.ts +2 -6
- package/getCredentials.js +2 -6
- package/getCredentials.js.map +1 -1
- package/getNodes.d.ts +2 -6
- package/getNodes.js +2 -6
- package/getNodes.js.map +1 -1
- package/getNotification.d.ts +2 -6
- package/getNotification.js +2 -6
- package/getNotification.js.map +1 -1
- package/getPlugins.d.ts +2 -6
- package/getPlugins.js +2 -6
- package/getPlugins.js.map +1 -1
- package/getPluginsCommunity.d.ts +2 -6
- package/getPluginsCommunity.js +2 -6
- package/getPluginsCommunity.js.map +1 -1
- package/getUpgradableVersions.d.ts +2 -6
- package/getUpgradableVersions.js +2 -6
- package/getUpgradableVersions.js.map +1 -1
- package/getVpcGcpInfo.d.ts +4 -12
- package/getVpcGcpInfo.js +4 -12
- package/getVpcGcpInfo.js.map +1 -1
- package/getVpcInfo.d.ts +4 -12
- package/getVpcInfo.js +4 -12
- package/getVpcInfo.js.map +1 -1
- package/instance.d.ts +19 -68
- package/instance.js +19 -68
- package/instance.js.map +1 -1
- package/integrationAwsEventbridge.d.ts +2 -3
- package/integrationAwsEventbridge.js +2 -3
- package/integrationAwsEventbridge.js.map +1 -1
- package/integrationLog.d.ts +47 -57
- package/integrationLog.js +47 -57
- package/integrationLog.js.map +1 -1
- package/nodeActions.d.ts +18 -24
- package/nodeActions.js +18 -24
- package/nodeActions.js.map +1 -1
- package/notification.d.ts +21 -28
- package/notification.js +21 -28
- package/notification.js.map +1 -1
- package/package.json +3 -2
- package/privatelinkAws.d.ts +6 -24
- package/privatelinkAws.js +6 -24
- package/privatelinkAws.js.map +1 -1
- package/privatelinkAzure.d.ts +6 -24
- package/privatelinkAzure.js +6 -24
- package/privatelinkAzure.js.map +1 -1
- package/provider.d.ts +0 -3
- package/upgradeRabbitmq.d.ts +8 -11
- package/upgradeRabbitmq.js +8 -11
- package/upgradeRabbitmq.js.map +1 -1
- package/vpc.d.ts +4 -3
- package/vpc.js +4 -3
- package/vpc.js.map +1 -1
- package/vpcConnect.d.ts +13 -38
- package/vpcConnect.js +13 -38
- package/vpcConnect.js.map +1 -1
- package/vpcGcpPeering.d.ts +81 -31
- package/vpcGcpPeering.js +81 -31
- package/vpcGcpPeering.js.map +1 -1
- package/webhook.d.ts +2 -4
- package/webhook.js +2 -4
- package/webhook.js.map +1 -1
- package/package.json.bak +0 -27
package/alarm.d.ts
CHANGED
|
@@ -15,20 +15,20 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
15
15
|
* </b>
|
|
16
16
|
* </summary>
|
|
17
17
|
*
|
|
18
|
-
* <!--Start PulumiCodeChooser -->
|
|
19
18
|
* ```typescript
|
|
20
19
|
* import * as pulumi from "@pulumi/pulumi";
|
|
21
20
|
* import * as cloudamqp from "@pulumi/cloudamqp";
|
|
22
21
|
*
|
|
23
22
|
* // New recipient
|
|
24
|
-
* const recipient01 = new cloudamqp.Notification("
|
|
25
|
-
* instanceId:
|
|
23
|
+
* const recipient01 = new cloudamqp.Notification("recipient_01", {
|
|
24
|
+
* instanceId: instance.id,
|
|
26
25
|
* type: "email",
|
|
27
26
|
* value: "alarm@example.com",
|
|
27
|
+
* name: "alarm",
|
|
28
28
|
* });
|
|
29
29
|
* // New cpu alarm
|
|
30
|
-
* const cpuAlarm = new cloudamqp.Alarm("
|
|
31
|
-
* instanceId:
|
|
30
|
+
* const cpuAlarm = new cloudamqp.Alarm("cpu_alarm", {
|
|
31
|
+
* instanceId: instance.id,
|
|
32
32
|
* type: "cpu",
|
|
33
33
|
* enabled: true,
|
|
34
34
|
* reminderInterval: 600,
|
|
@@ -37,8 +37,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
37
37
|
* recipients: [recipient01.id],
|
|
38
38
|
* });
|
|
39
39
|
* // New memory alarm
|
|
40
|
-
* const memoryAlarm = new cloudamqp.Alarm("
|
|
41
|
-
* instanceId:
|
|
40
|
+
* const memoryAlarm = new cloudamqp.Alarm("memory_alarm", {
|
|
41
|
+
* instanceId: instance.id,
|
|
42
42
|
* type: "memory",
|
|
43
43
|
* enabled: true,
|
|
44
44
|
* reminderInterval: 600,
|
|
@@ -47,7 +47,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
47
47
|
* recipients: [recipient01.id],
|
|
48
48
|
* });
|
|
49
49
|
* ```
|
|
50
|
-
* <!--End PulumiCodeChooser -->
|
|
51
50
|
*
|
|
52
51
|
* </details>
|
|
53
52
|
*
|
|
@@ -60,26 +59,25 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
60
59
|
*
|
|
61
60
|
* Only one notice alarm can exists and cannot be created, instead the alarm resource will be updated.
|
|
62
61
|
*
|
|
63
|
-
* <!--Start PulumiCodeChooser -->
|
|
64
62
|
* ```typescript
|
|
65
63
|
* import * as pulumi from "@pulumi/pulumi";
|
|
66
64
|
* import * as cloudamqp from "@pulumi/cloudamqp";
|
|
67
65
|
*
|
|
68
66
|
* // New recipient
|
|
69
|
-
* const recipient01 = new cloudamqp.Notification("
|
|
70
|
-
* instanceId:
|
|
67
|
+
* const recipient01 = new cloudamqp.Notification("recipient_01", {
|
|
68
|
+
* instanceId: instance.id,
|
|
71
69
|
* type: "email",
|
|
72
70
|
* value: "alarm@example.com",
|
|
71
|
+
* name: "alarm",
|
|
73
72
|
* });
|
|
74
73
|
* // Update existing notice alarm
|
|
75
74
|
* const notice = new cloudamqp.Alarm("notice", {
|
|
76
|
-
* instanceId:
|
|
75
|
+
* instanceId: instance.id,
|
|
77
76
|
* type: "notice",
|
|
78
77
|
* enabled: true,
|
|
79
78
|
* recipients: [recipient01.id],
|
|
80
79
|
* });
|
|
81
80
|
* ```
|
|
82
|
-
* <!--End PulumiCodeChooser -->
|
|
83
81
|
*
|
|
84
82
|
* </details>
|
|
85
83
|
*
|
package/alarm.js
CHANGED
|
@@ -21,20 +21,20 @@ const utilities = require("./utilities");
|
|
|
21
21
|
* </b>
|
|
22
22
|
* </summary>
|
|
23
23
|
*
|
|
24
|
-
* <!--Start PulumiCodeChooser -->
|
|
25
24
|
* ```typescript
|
|
26
25
|
* import * as pulumi from "@pulumi/pulumi";
|
|
27
26
|
* import * as cloudamqp from "@pulumi/cloudamqp";
|
|
28
27
|
*
|
|
29
28
|
* // New recipient
|
|
30
|
-
* const recipient01 = new cloudamqp.Notification("
|
|
31
|
-
* instanceId:
|
|
29
|
+
* const recipient01 = new cloudamqp.Notification("recipient_01", {
|
|
30
|
+
* instanceId: instance.id,
|
|
32
31
|
* type: "email",
|
|
33
32
|
* value: "alarm@example.com",
|
|
33
|
+
* name: "alarm",
|
|
34
34
|
* });
|
|
35
35
|
* // New cpu alarm
|
|
36
|
-
* const cpuAlarm = new cloudamqp.Alarm("
|
|
37
|
-
* instanceId:
|
|
36
|
+
* const cpuAlarm = new cloudamqp.Alarm("cpu_alarm", {
|
|
37
|
+
* instanceId: instance.id,
|
|
38
38
|
* type: "cpu",
|
|
39
39
|
* enabled: true,
|
|
40
40
|
* reminderInterval: 600,
|
|
@@ -43,8 +43,8 @@ const utilities = require("./utilities");
|
|
|
43
43
|
* recipients: [recipient01.id],
|
|
44
44
|
* });
|
|
45
45
|
* // New memory alarm
|
|
46
|
-
* const memoryAlarm = new cloudamqp.Alarm("
|
|
47
|
-
* instanceId:
|
|
46
|
+
* const memoryAlarm = new cloudamqp.Alarm("memory_alarm", {
|
|
47
|
+
* instanceId: instance.id,
|
|
48
48
|
* type: "memory",
|
|
49
49
|
* enabled: true,
|
|
50
50
|
* reminderInterval: 600,
|
|
@@ -53,7 +53,6 @@ const utilities = require("./utilities");
|
|
|
53
53
|
* recipients: [recipient01.id],
|
|
54
54
|
* });
|
|
55
55
|
* ```
|
|
56
|
-
* <!--End PulumiCodeChooser -->
|
|
57
56
|
*
|
|
58
57
|
* </details>
|
|
59
58
|
*
|
|
@@ -66,26 +65,25 @@ const utilities = require("./utilities");
|
|
|
66
65
|
*
|
|
67
66
|
* Only one notice alarm can exists and cannot be created, instead the alarm resource will be updated.
|
|
68
67
|
*
|
|
69
|
-
* <!--Start PulumiCodeChooser -->
|
|
70
68
|
* ```typescript
|
|
71
69
|
* import * as pulumi from "@pulumi/pulumi";
|
|
72
70
|
* import * as cloudamqp from "@pulumi/cloudamqp";
|
|
73
71
|
*
|
|
74
72
|
* // New recipient
|
|
75
|
-
* const recipient01 = new cloudamqp.Notification("
|
|
76
|
-
* instanceId:
|
|
73
|
+
* const recipient01 = new cloudamqp.Notification("recipient_01", {
|
|
74
|
+
* instanceId: instance.id,
|
|
77
75
|
* type: "email",
|
|
78
76
|
* value: "alarm@example.com",
|
|
77
|
+
* name: "alarm",
|
|
79
78
|
* });
|
|
80
79
|
* // Update existing notice alarm
|
|
81
80
|
* const notice = new cloudamqp.Alarm("notice", {
|
|
82
|
-
* instanceId:
|
|
81
|
+
* instanceId: instance.id,
|
|
83
82
|
* type: "notice",
|
|
84
83
|
* enabled: true,
|
|
85
84
|
* recipients: [recipient01.id],
|
|
86
85
|
* });
|
|
87
86
|
* ```
|
|
88
|
-
* <!--End PulumiCodeChooser -->
|
|
89
87
|
*
|
|
90
88
|
* </details>
|
|
91
89
|
*
|
package/alarm.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alarm.js","sourceRoot":"","sources":["../alarm.ts"],"names":[],"mappings":";AA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AC,SAAS,CAAC;YACxE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,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;;AAjIL,sBAkIC;AApHG,gBAAgB;AACO,kBAAY,GAAG,6BAA6B,CAAC"}
|
package/customDomain.d.ts
CHANGED
|
@@ -12,17 +12,15 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
12
12
|
*
|
|
13
13
|
* ## Example Usage
|
|
14
14
|
*
|
|
15
|
-
* <!--Start PulumiCodeChooser -->
|
|
16
15
|
* ```typescript
|
|
17
16
|
* import * as pulumi from "@pulumi/pulumi";
|
|
18
17
|
* import * as cloudamqp from "@pulumi/cloudamqp";
|
|
19
18
|
*
|
|
20
19
|
* const settings = new cloudamqp.CustomDomain("settings", {
|
|
21
|
-
* instanceId:
|
|
20
|
+
* instanceId: instance.id,
|
|
22
21
|
* hostname: "myname.mydomain",
|
|
23
22
|
* });
|
|
24
23
|
* ```
|
|
25
|
-
* <!--End PulumiCodeChooser -->
|
|
26
24
|
*
|
|
27
25
|
* ## Depedency
|
|
28
26
|
*
|
package/customDomain.js
CHANGED
|
@@ -18,17 +18,15 @@ const utilities = require("./utilities");
|
|
|
18
18
|
*
|
|
19
19
|
* ## Example Usage
|
|
20
20
|
*
|
|
21
|
-
* <!--Start PulumiCodeChooser -->
|
|
22
21
|
* ```typescript
|
|
23
22
|
* import * as pulumi from "@pulumi/pulumi";
|
|
24
23
|
* import * as cloudamqp from "@pulumi/cloudamqp";
|
|
25
24
|
*
|
|
26
25
|
* const settings = new cloudamqp.CustomDomain("settings", {
|
|
27
|
-
* instanceId:
|
|
26
|
+
* instanceId: instance.id,
|
|
28
27
|
* hostname: "myname.mydomain",
|
|
29
28
|
* });
|
|
30
29
|
* ```
|
|
31
|
-
* <!--End PulumiCodeChooser -->
|
|
32
30
|
*
|
|
33
31
|
* ## Depedency
|
|
34
32
|
*
|
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
|
|
1
|
+
{"version":3,"file":"customDomain.js","sourceRoot":"","sources":["../customDomain.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACnE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE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AAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AAjEL,oCAkEC;AApDG,gBAAgB;AACO,yBAAY,GAAG,2CAA2C,CAAC"}
|
package/extraDiskSize.d.ts
CHANGED
|
@@ -34,26 +34,27 @@ import * as outputs from "./types/output";
|
|
|
34
34
|
* </b>
|
|
35
35
|
* </summary>
|
|
36
36
|
*
|
|
37
|
-
* <!--Start PulumiCodeChooser -->
|
|
38
37
|
* ```typescript
|
|
39
38
|
* import * as pulumi from "@pulumi/pulumi";
|
|
40
39
|
* import * as cloudamqp from "@pulumi/cloudamqp";
|
|
41
40
|
*
|
|
42
41
|
* // Instance
|
|
43
42
|
* const instance = new cloudamqp.Instance("instance", {
|
|
43
|
+
* name: "Instance",
|
|
44
44
|
* plan: "bunny-1",
|
|
45
45
|
* region: "amazon-web-services::us-west-2",
|
|
46
46
|
* });
|
|
47
47
|
* // Resize disk with 25 extra GB
|
|
48
|
-
* const resizeDisk = new cloudamqp.ExtraDiskSize("
|
|
48
|
+
* const resizeDisk = new cloudamqp.ExtraDiskSize("resize_disk", {
|
|
49
49
|
* instanceId: instance.id,
|
|
50
50
|
* extraDiskSize: 25,
|
|
51
51
|
* });
|
|
52
|
+
* // Optional, refresh nodes info after disk resize by adding dependency
|
|
53
|
+
* // to cloudamqp_extra_disk_size.resize_disk resource
|
|
52
54
|
* const nodes = instance.id.apply(id => cloudamqp.getNodesOutput({
|
|
53
55
|
* instanceId: id,
|
|
54
56
|
* }));
|
|
55
57
|
* ```
|
|
56
|
-
* <!--End PulumiCodeChooser -->
|
|
57
58
|
*
|
|
58
59
|
* </details>
|
|
59
60
|
*
|
|
@@ -64,26 +65,27 @@ import * as outputs from "./types/output";
|
|
|
64
65
|
* </b>
|
|
65
66
|
* </summary>
|
|
66
67
|
*
|
|
67
|
-
* <!--Start PulumiCodeChooser -->
|
|
68
68
|
* ```typescript
|
|
69
69
|
* import * as pulumi from "@pulumi/pulumi";
|
|
70
70
|
* import * as cloudamqp from "@pulumi/cloudamqp";
|
|
71
71
|
*
|
|
72
72
|
* // Instance
|
|
73
73
|
* const instance = new cloudamqp.Instance("instance", {
|
|
74
|
+
* name: "Instance",
|
|
74
75
|
* plan: "bunny-1",
|
|
75
76
|
* region: "amazon-web-services::us-west-2",
|
|
76
77
|
* });
|
|
77
78
|
* // Resize disk with 25 extra GB, without downtime
|
|
78
|
-
* const resizeDisk = new cloudamqp.ExtraDiskSize("
|
|
79
|
+
* const resizeDisk = new cloudamqp.ExtraDiskSize("resize_disk", {
|
|
79
80
|
* instanceId: instance.id,
|
|
80
81
|
* extraDiskSize: 25,
|
|
81
82
|
* });
|
|
83
|
+
* // Optional, refresh nodes info after disk resize by adding dependency
|
|
84
|
+
* // to cloudamqp_extra_disk_size.resize_disk resource
|
|
82
85
|
* const nodes = instance.id.apply(id => cloudamqp.getNodesOutput({
|
|
83
86
|
* instanceId: id,
|
|
84
87
|
* }));
|
|
85
88
|
* ```
|
|
86
|
-
* <!--End PulumiCodeChooser -->
|
|
87
89
|
*
|
|
88
90
|
* </details>
|
|
89
91
|
*
|
|
@@ -94,26 +96,27 @@ import * as outputs from "./types/output";
|
|
|
94
96
|
* </b>
|
|
95
97
|
* </summary>
|
|
96
98
|
*
|
|
97
|
-
* <!--Start PulumiCodeChooser -->
|
|
98
99
|
* ```typescript
|
|
99
100
|
* import * as pulumi from "@pulumi/pulumi";
|
|
100
101
|
* import * as cloudamqp from "@pulumi/cloudamqp";
|
|
101
102
|
*
|
|
102
103
|
* // Instance
|
|
103
104
|
* const instance = new cloudamqp.Instance("instance", {
|
|
105
|
+
* name: "Instance",
|
|
104
106
|
* plan: "bunny-1",
|
|
105
107
|
* region: "google-compute-engine::us-central1",
|
|
106
108
|
* });
|
|
107
109
|
* // Resize disk with 25 extra GB, without downtime
|
|
108
|
-
* const resizeDisk = new cloudamqp.ExtraDiskSize("
|
|
110
|
+
* const resizeDisk = new cloudamqp.ExtraDiskSize("resize_disk", {
|
|
109
111
|
* instanceId: instance.id,
|
|
110
112
|
* extraDiskSize: 25,
|
|
111
113
|
* });
|
|
114
|
+
* // Optional, refresh nodes info after disk resize by adding dependency
|
|
115
|
+
* // to cloudamqp_extra_disk_size.resize_disk resource
|
|
112
116
|
* const nodes = instance.id.apply(id => cloudamqp.getNodesOutput({
|
|
113
117
|
* instanceId: id,
|
|
114
118
|
* }));
|
|
115
119
|
* ```
|
|
116
|
-
* <!--End PulumiCodeChooser -->
|
|
117
120
|
*
|
|
118
121
|
* </details>
|
|
119
122
|
*
|
|
@@ -124,27 +127,28 @@ import * as outputs from "./types/output";
|
|
|
124
127
|
* </b>
|
|
125
128
|
* </summary>
|
|
126
129
|
*
|
|
127
|
-
* <!--Start PulumiCodeChooser -->
|
|
128
130
|
* ```typescript
|
|
129
131
|
* import * as pulumi from "@pulumi/pulumi";
|
|
130
132
|
* import * as cloudamqp from "@pulumi/cloudamqp";
|
|
131
133
|
*
|
|
132
134
|
* // Instance
|
|
133
135
|
* const instance = new cloudamqp.Instance("instance", {
|
|
136
|
+
* name: "Instance",
|
|
134
137
|
* plan: "bunny-1",
|
|
135
138
|
* region: "azure-arm::centralus",
|
|
136
139
|
* });
|
|
137
140
|
* // Resize disk with 25 extra GB, with downtime
|
|
138
|
-
* const resizeDisk = new cloudamqp.ExtraDiskSize("
|
|
141
|
+
* const resizeDisk = new cloudamqp.ExtraDiskSize("resize_disk", {
|
|
139
142
|
* instanceId: instance.id,
|
|
140
143
|
* extraDiskSize: 25,
|
|
141
144
|
* allowDowntime: true,
|
|
142
145
|
* });
|
|
146
|
+
* // Optional, refresh nodes info after disk resize by adding dependency
|
|
147
|
+
* // to cloudamqp_extra_disk_size.resize_disk resource
|
|
143
148
|
* const nodes = instance.id.apply(id => cloudamqp.getNodesOutput({
|
|
144
149
|
* instanceId: id,
|
|
145
150
|
* }));
|
|
146
151
|
* ```
|
|
147
|
-
* <!--End PulumiCodeChooser -->
|
|
148
152
|
*
|
|
149
153
|
* </details>
|
|
150
154
|
*
|
package/extraDiskSize.js
CHANGED
|
@@ -38,26 +38,27 @@ const utilities = require("./utilities");
|
|
|
38
38
|
* </b>
|
|
39
39
|
* </summary>
|
|
40
40
|
*
|
|
41
|
-
* <!--Start PulumiCodeChooser -->
|
|
42
41
|
* ```typescript
|
|
43
42
|
* import * as pulumi from "@pulumi/pulumi";
|
|
44
43
|
* import * as cloudamqp from "@pulumi/cloudamqp";
|
|
45
44
|
*
|
|
46
45
|
* // Instance
|
|
47
46
|
* const instance = new cloudamqp.Instance("instance", {
|
|
47
|
+
* name: "Instance",
|
|
48
48
|
* plan: "bunny-1",
|
|
49
49
|
* region: "amazon-web-services::us-west-2",
|
|
50
50
|
* });
|
|
51
51
|
* // Resize disk with 25 extra GB
|
|
52
|
-
* const resizeDisk = new cloudamqp.ExtraDiskSize("
|
|
52
|
+
* const resizeDisk = new cloudamqp.ExtraDiskSize("resize_disk", {
|
|
53
53
|
* instanceId: instance.id,
|
|
54
54
|
* extraDiskSize: 25,
|
|
55
55
|
* });
|
|
56
|
+
* // Optional, refresh nodes info after disk resize by adding dependency
|
|
57
|
+
* // to cloudamqp_extra_disk_size.resize_disk resource
|
|
56
58
|
* const nodes = instance.id.apply(id => cloudamqp.getNodesOutput({
|
|
57
59
|
* instanceId: id,
|
|
58
60
|
* }));
|
|
59
61
|
* ```
|
|
60
|
-
* <!--End PulumiCodeChooser -->
|
|
61
62
|
*
|
|
62
63
|
* </details>
|
|
63
64
|
*
|
|
@@ -68,26 +69,27 @@ const utilities = require("./utilities");
|
|
|
68
69
|
* </b>
|
|
69
70
|
* </summary>
|
|
70
71
|
*
|
|
71
|
-
* <!--Start PulumiCodeChooser -->
|
|
72
72
|
* ```typescript
|
|
73
73
|
* import * as pulumi from "@pulumi/pulumi";
|
|
74
74
|
* import * as cloudamqp from "@pulumi/cloudamqp";
|
|
75
75
|
*
|
|
76
76
|
* // Instance
|
|
77
77
|
* const instance = new cloudamqp.Instance("instance", {
|
|
78
|
+
* name: "Instance",
|
|
78
79
|
* plan: "bunny-1",
|
|
79
80
|
* region: "amazon-web-services::us-west-2",
|
|
80
81
|
* });
|
|
81
82
|
* // Resize disk with 25 extra GB, without downtime
|
|
82
|
-
* const resizeDisk = new cloudamqp.ExtraDiskSize("
|
|
83
|
+
* const resizeDisk = new cloudamqp.ExtraDiskSize("resize_disk", {
|
|
83
84
|
* instanceId: instance.id,
|
|
84
85
|
* extraDiskSize: 25,
|
|
85
86
|
* });
|
|
87
|
+
* // Optional, refresh nodes info after disk resize by adding dependency
|
|
88
|
+
* // to cloudamqp_extra_disk_size.resize_disk resource
|
|
86
89
|
* const nodes = instance.id.apply(id => cloudamqp.getNodesOutput({
|
|
87
90
|
* instanceId: id,
|
|
88
91
|
* }));
|
|
89
92
|
* ```
|
|
90
|
-
* <!--End PulumiCodeChooser -->
|
|
91
93
|
*
|
|
92
94
|
* </details>
|
|
93
95
|
*
|
|
@@ -98,26 +100,27 @@ const utilities = require("./utilities");
|
|
|
98
100
|
* </b>
|
|
99
101
|
* </summary>
|
|
100
102
|
*
|
|
101
|
-
* <!--Start PulumiCodeChooser -->
|
|
102
103
|
* ```typescript
|
|
103
104
|
* import * as pulumi from "@pulumi/pulumi";
|
|
104
105
|
* import * as cloudamqp from "@pulumi/cloudamqp";
|
|
105
106
|
*
|
|
106
107
|
* // Instance
|
|
107
108
|
* const instance = new cloudamqp.Instance("instance", {
|
|
109
|
+
* name: "Instance",
|
|
108
110
|
* plan: "bunny-1",
|
|
109
111
|
* region: "google-compute-engine::us-central1",
|
|
110
112
|
* });
|
|
111
113
|
* // Resize disk with 25 extra GB, without downtime
|
|
112
|
-
* const resizeDisk = new cloudamqp.ExtraDiskSize("
|
|
114
|
+
* const resizeDisk = new cloudamqp.ExtraDiskSize("resize_disk", {
|
|
113
115
|
* instanceId: instance.id,
|
|
114
116
|
* extraDiskSize: 25,
|
|
115
117
|
* });
|
|
118
|
+
* // Optional, refresh nodes info after disk resize by adding dependency
|
|
119
|
+
* // to cloudamqp_extra_disk_size.resize_disk resource
|
|
116
120
|
* const nodes = instance.id.apply(id => cloudamqp.getNodesOutput({
|
|
117
121
|
* instanceId: id,
|
|
118
122
|
* }));
|
|
119
123
|
* ```
|
|
120
|
-
* <!--End PulumiCodeChooser -->
|
|
121
124
|
*
|
|
122
125
|
* </details>
|
|
123
126
|
*
|
|
@@ -128,27 +131,28 @@ const utilities = require("./utilities");
|
|
|
128
131
|
* </b>
|
|
129
132
|
* </summary>
|
|
130
133
|
*
|
|
131
|
-
* <!--Start PulumiCodeChooser -->
|
|
132
134
|
* ```typescript
|
|
133
135
|
* import * as pulumi from "@pulumi/pulumi";
|
|
134
136
|
* import * as cloudamqp from "@pulumi/cloudamqp";
|
|
135
137
|
*
|
|
136
138
|
* // Instance
|
|
137
139
|
* const instance = new cloudamqp.Instance("instance", {
|
|
140
|
+
* name: "Instance",
|
|
138
141
|
* plan: "bunny-1",
|
|
139
142
|
* region: "azure-arm::centralus",
|
|
140
143
|
* });
|
|
141
144
|
* // Resize disk with 25 extra GB, with downtime
|
|
142
|
-
* const resizeDisk = new cloudamqp.ExtraDiskSize("
|
|
145
|
+
* const resizeDisk = new cloudamqp.ExtraDiskSize("resize_disk", {
|
|
143
146
|
* instanceId: instance.id,
|
|
144
147
|
* extraDiskSize: 25,
|
|
145
148
|
* allowDowntime: true,
|
|
146
149
|
* });
|
|
150
|
+
* // Optional, refresh nodes info after disk resize by adding dependency
|
|
151
|
+
* // to cloudamqp_extra_disk_size.resize_disk resource
|
|
147
152
|
* const nodes = instance.id.apply(id => cloudamqp.getNodesOutput({
|
|
148
153
|
* instanceId: id,
|
|
149
154
|
* }));
|
|
150
155
|
* ```
|
|
151
|
-
* <!--End PulumiCodeChooser -->
|
|
152
156
|
*
|
|
153
157
|
* </details>
|
|
154
158
|
*
|
package/extraDiskSize.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"extraDiskSize.js","sourceRoot":"","s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U,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC/C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;;AAxFL,sCAyFC;AA3EG,gBAAgB;AACO,0BAAY,GAAG,6CAA6C,CAAC"}
|
package/getAccount.d.ts
CHANGED
|
@@ -2,42 +2,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as outputs from "./types/output";
|
|
3
3
|
/**
|
|
4
4
|
* Use this data source to retrieve basic information about all instances available for an account. Uses the included apikey in provider configuration, to determine which account to read from.
|
|
5
|
-
*
|
|
6
|
-
* ## Example Usage
|
|
7
|
-
*
|
|
8
|
-
* Can be used in other resources/data sources when instance identifier is unknown, while other attributes are known. E.g. find correct instance from `instance name`. Then iterate over instances to find the matching one and extract the instance identifier.
|
|
9
|
-
*
|
|
10
|
-
* <!--Start PulumiCodeChooser -->
|
|
11
|
-
* ```typescript
|
|
12
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
-
* import * as cloudamqp from "@pulumi/cloudamqp";
|
|
14
|
-
*
|
|
15
|
-
* const instanceName = "<instance_name>";
|
|
16
|
-
* const instanceList = cloudamqp.getAccount({});
|
|
17
|
-
* export const instanceId = <nil>;
|
|
18
|
-
* ```
|
|
19
|
-
* <!--End PulumiCodeChooser -->
|
|
20
|
-
*
|
|
21
|
-
* ## Attributes reference
|
|
22
|
-
*
|
|
23
|
-
* All attributes reference are computed
|
|
24
|
-
*
|
|
25
|
-
* * `id` - The identifier for this data source. Set to `na` since there is no unique identifier.
|
|
26
|
-
* * `instances` - An array of instances. Each `instances` block consists of the fields documented below.
|
|
27
|
-
*
|
|
28
|
-
* ***
|
|
29
|
-
*
|
|
30
|
-
* The `instances` block consist of
|
|
31
|
-
*
|
|
32
|
-
* * `id` - The instance identifier.
|
|
33
|
-
* * `name` - The name of the instance.
|
|
34
|
-
* * `plan` - The subscription plan used for the instance.
|
|
35
|
-
* * `region` - The region were the instanece is located in.
|
|
36
|
-
* * `tags` - Optional tags set for the instance.
|
|
37
|
-
*
|
|
38
|
-
* ## Dependency
|
|
39
|
-
*
|
|
40
|
-
* This data source depends on apikey set in the provider configuration.
|
|
41
5
|
*/
|
|
42
6
|
export declare function getAccount(opts?: pulumi.InvokeOptions): Promise<GetAccountResult>;
|
|
43
7
|
/**
|
|
@@ -52,41 +16,5 @@ export interface GetAccountResult {
|
|
|
52
16
|
}
|
|
53
17
|
/**
|
|
54
18
|
* Use this data source to retrieve basic information about all instances available for an account. Uses the included apikey in provider configuration, to determine which account to read from.
|
|
55
|
-
*
|
|
56
|
-
* ## Example Usage
|
|
57
|
-
*
|
|
58
|
-
* Can be used in other resources/data sources when instance identifier is unknown, while other attributes are known. E.g. find correct instance from `instance name`. Then iterate over instances to find the matching one and extract the instance identifier.
|
|
59
|
-
*
|
|
60
|
-
* <!--Start PulumiCodeChooser -->
|
|
61
|
-
* ```typescript
|
|
62
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
63
|
-
* import * as cloudamqp from "@pulumi/cloudamqp";
|
|
64
|
-
*
|
|
65
|
-
* const instanceName = "<instance_name>";
|
|
66
|
-
* const instanceList = cloudamqp.getAccount({});
|
|
67
|
-
* export const instanceId = <nil>;
|
|
68
|
-
* ```
|
|
69
|
-
* <!--End PulumiCodeChooser -->
|
|
70
|
-
*
|
|
71
|
-
* ## Attributes reference
|
|
72
|
-
*
|
|
73
|
-
* All attributes reference are computed
|
|
74
|
-
*
|
|
75
|
-
* * `id` - The identifier for this data source. Set to `na` since there is no unique identifier.
|
|
76
|
-
* * `instances` - An array of instances. Each `instances` block consists of the fields documented below.
|
|
77
|
-
*
|
|
78
|
-
* ***
|
|
79
|
-
*
|
|
80
|
-
* The `instances` block consist of
|
|
81
|
-
*
|
|
82
|
-
* * `id` - The instance identifier.
|
|
83
|
-
* * `name` - The name of the instance.
|
|
84
|
-
* * `plan` - The subscription plan used for the instance.
|
|
85
|
-
* * `region` - The region were the instanece is located in.
|
|
86
|
-
* * `tags` - Optional tags set for the instance.
|
|
87
|
-
*
|
|
88
|
-
* ## Dependency
|
|
89
|
-
*
|
|
90
|
-
* This data source depends on apikey set in the provider configuration.
|
|
91
19
|
*/
|
|
92
20
|
export declare function getAccountOutput(opts?: pulumi.InvokeOptions): pulumi.Output<GetAccountResult>;
|
package/getAccount.js
CHANGED
|
@@ -7,42 +7,6 @@ const pulumi = require("@pulumi/pulumi");
|
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
9
|
* Use this data source to retrieve basic information about all instances available for an account. Uses the included apikey in provider configuration, to determine which account to read from.
|
|
10
|
-
*
|
|
11
|
-
* ## Example Usage
|
|
12
|
-
*
|
|
13
|
-
* Can be used in other resources/data sources when instance identifier is unknown, while other attributes are known. E.g. find correct instance from `instance name`. Then iterate over instances to find the matching one and extract the instance identifier.
|
|
14
|
-
*
|
|
15
|
-
* <!--Start PulumiCodeChooser -->
|
|
16
|
-
* ```typescript
|
|
17
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
18
|
-
* import * as cloudamqp from "@pulumi/cloudamqp";
|
|
19
|
-
*
|
|
20
|
-
* const instanceName = "<instance_name>";
|
|
21
|
-
* const instanceList = cloudamqp.getAccount({});
|
|
22
|
-
* export const instanceId = <nil>;
|
|
23
|
-
* ```
|
|
24
|
-
* <!--End PulumiCodeChooser -->
|
|
25
|
-
*
|
|
26
|
-
* ## Attributes reference
|
|
27
|
-
*
|
|
28
|
-
* All attributes reference are computed
|
|
29
|
-
*
|
|
30
|
-
* * `id` - The identifier for this data source. Set to `na` since there is no unique identifier.
|
|
31
|
-
* * `instances` - An array of instances. Each `instances` block consists of the fields documented below.
|
|
32
|
-
*
|
|
33
|
-
* ***
|
|
34
|
-
*
|
|
35
|
-
* The `instances` block consist of
|
|
36
|
-
*
|
|
37
|
-
* * `id` - The instance identifier.
|
|
38
|
-
* * `name` - The name of the instance.
|
|
39
|
-
* * `plan` - The subscription plan used for the instance.
|
|
40
|
-
* * `region` - The region were the instanece is located in.
|
|
41
|
-
* * `tags` - Optional tags set for the instance.
|
|
42
|
-
*
|
|
43
|
-
* ## Dependency
|
|
44
|
-
*
|
|
45
|
-
* This data source depends on apikey set in the provider configuration.
|
|
46
10
|
*/
|
|
47
11
|
function getAccount(opts) {
|
|
48
12
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -51,42 +15,6 @@ function getAccount(opts) {
|
|
|
51
15
|
exports.getAccount = getAccount;
|
|
52
16
|
/**
|
|
53
17
|
* Use this data source to retrieve basic information about all instances available for an account. Uses the included apikey in provider configuration, to determine which account to read from.
|
|
54
|
-
*
|
|
55
|
-
* ## Example Usage
|
|
56
|
-
*
|
|
57
|
-
* Can be used in other resources/data sources when instance identifier is unknown, while other attributes are known. E.g. find correct instance from `instance name`. Then iterate over instances to find the matching one and extract the instance identifier.
|
|
58
|
-
*
|
|
59
|
-
* <!--Start PulumiCodeChooser -->
|
|
60
|
-
* ```typescript
|
|
61
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
62
|
-
* import * as cloudamqp from "@pulumi/cloudamqp";
|
|
63
|
-
*
|
|
64
|
-
* const instanceName = "<instance_name>";
|
|
65
|
-
* const instanceList = cloudamqp.getAccount({});
|
|
66
|
-
* export const instanceId = <nil>;
|
|
67
|
-
* ```
|
|
68
|
-
* <!--End PulumiCodeChooser -->
|
|
69
|
-
*
|
|
70
|
-
* ## Attributes reference
|
|
71
|
-
*
|
|
72
|
-
* All attributes reference are computed
|
|
73
|
-
*
|
|
74
|
-
* * `id` - The identifier for this data source. Set to `na` since there is no unique identifier.
|
|
75
|
-
* * `instances` - An array of instances. Each `instances` block consists of the fields documented below.
|
|
76
|
-
*
|
|
77
|
-
* ***
|
|
78
|
-
*
|
|
79
|
-
* The `instances` block consist of
|
|
80
|
-
*
|
|
81
|
-
* * `id` - The instance identifier.
|
|
82
|
-
* * `name` - The name of the instance.
|
|
83
|
-
* * `plan` - The subscription plan used for the instance.
|
|
84
|
-
* * `region` - The region were the instanece is located in.
|
|
85
|
-
* * `tags` - Optional tags set for the instance.
|
|
86
|
-
*
|
|
87
|
-
* ## Dependency
|
|
88
|
-
*
|
|
89
|
-
* This data source depends on apikey set in the provider configuration.
|
|
90
18
|
*/
|
|
91
19
|
function getAccountOutput(opts) {
|
|
92
20
|
return pulumi.output(getAccount(opts));
|
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;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getAccount.js","sourceRoot":"","sources":["../getAccount.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,UAAU,CAAC,IAA2B;IAElD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,uCAAuC,EAAE,EACrE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,gCAKC;AAYD;;GAEG;AACH,SAAgB,gBAAgB,CAAC,IAA2B;IACxD,OAAO,MAAM,CAAC,MAAM,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAA;AAC1C,CAAC;AAFD,4CAEC"}
|