@pulumiverse/scaleway 1.57.0 → 1.58.0-alpha.1791874682
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/annotations/binding.d.ts +12 -4
- package/annotations/binding.d.ts.map +1 -1
- package/annotations/binding.js +6 -4
- package/annotations/binding.js.map +1 -1
- package/annotations/getBinding.d.ts +7 -3
- package/annotations/getBinding.d.ts.map +1 -1
- package/annotations/getBinding.js +2 -2
- package/annotations/getBinding.js.map +1 -1
- package/cockpitAlertManager.d.ts +3 -4
- package/cockpitAlertManager.d.ts.map +1 -1
- package/cockpitAlertManager.js +3 -4
- package/cockpitAlertManager.js.map +1 -1
- package/databases/serverlessDatabase.d.ts +43 -0
- package/databases/serverlessDatabase.d.ts.map +1 -1
- package/databases/serverlessDatabase.js +18 -0
- package/databases/serverlessDatabase.js.map +1 -1
- package/getKeyManagerKey.d.ts +5 -18
- package/getKeyManagerKey.d.ts.map +1 -1
- package/getKeyManagerKey.js +4 -18
- package/getKeyManagerKey.js.map +1 -1
- package/getSdbSqlVersions.d.ts +83 -0
- package/getSdbSqlVersions.d.ts.map +1 -0
- package/getSdbSqlVersions.js +83 -0
- package/getSdbSqlVersions.js.map +1 -0
- package/getSecret.d.ts +1 -0
- package/getSecret.d.ts.map +1 -1
- package/getSecret.js.map +1 -1
- package/index.d.ts +3 -6
- package/index.d.ts.map +1 -1
- package/index.js +10 -15
- package/index.js.map +1 -1
- package/keyManagerKey.d.ts +63 -27
- package/keyManagerKey.d.ts.map +1 -1
- package/keyManagerKey.js +53 -27
- package/keyManagerKey.js.map +1 -1
- package/keymanager/getKey.d.ts +5 -18
- package/keymanager/getKey.d.ts.map +1 -1
- package/keymanager/getKey.js +4 -18
- package/keymanager/getKey.js.map +1 -1
- package/keymanager/key.d.ts +63 -27
- package/keymanager/key.d.ts.map +1 -1
- package/keymanager/key.js +53 -27
- package/keymanager/key.js.map +1 -1
- package/kubernetes/pool.d.ts +12 -0
- package/kubernetes/pool.d.ts.map +1 -1
- package/kubernetes/pool.js.map +1 -1
- package/kubernetesNodePool.d.ts +12 -0
- package/kubernetesNodePool.d.ts.map +1 -1
- package/kubernetesNodePool.js.map +1 -1
- package/observability/alertManager.d.ts +3 -4
- package/observability/alertManager.d.ts.map +1 -1
- package/observability/alertManager.js +3 -4
- package/observability/alertManager.js.map +1 -1
- package/observability/getGrafana.d.ts +2 -4
- package/observability/getGrafana.d.ts.map +1 -1
- package/observability/getGrafana.js +2 -4
- package/observability/getGrafana.js.map +1 -1
- package/observability/getPreconfiguredAlert.d.ts +6 -8
- package/observability/getPreconfiguredAlert.d.ts.map +1 -1
- package/observability/getPreconfiguredAlert.js +6 -8
- package/observability/getPreconfiguredAlert.js.map +1 -1
- package/observability/index.d.ts +0 -6
- package/observability/index.d.ts.map +1 -1
- package/observability/index.js +1 -9
- package/observability/index.js.map +1 -1
- package/package.json +2 -2
- package/sdbDatabase.d.ts +43 -0
- package/sdbDatabase.d.ts.map +1 -1
- package/sdbDatabase.js +18 -0
- package/sdbDatabase.js.map +1 -1
- package/secret.d.ts +35 -13
- package/secret.d.ts.map +1 -1
- package/secret.js +22 -10
- package/secret.js.map +1 -1
- package/secrets/getSecret.d.ts +1 -0
- package/secrets/getSecret.d.ts.map +1 -1
- package/secrets/getSecret.js.map +1 -1
- package/secrets/secret.d.ts +35 -13
- package/secrets/secret.d.ts.map +1 -1
- package/secrets/secret.js +22 -10
- package/secrets/secret.js.map +1 -1
- package/types/input.d.ts +0 -64
- package/types/input.d.ts.map +1 -1
- package/types/output.d.ts +14 -128
- package/types/output.d.ts.map +1 -1
- package/cockpit.d.ts +0 -200
- package/cockpit.d.ts.map +0 -1
- package/cockpit.js +0 -168
- package/cockpit.js.map +0 -1
- package/getCockpit.d.ts +0 -120
- package/getCockpit.d.ts.map +0 -1
- package/getCockpit.js +0 -123
- package/getCockpit.js.map +0 -1
- package/observability/cockpit.d.ts +0 -197
- package/observability/cockpit.d.ts.map +0 -1
- package/observability/cockpit.js +0 -165
- package/observability/cockpit.js.map +0 -1
- package/observability/getInstance.d.ts +0 -118
- package/observability/getInstance.d.ts.map +0 -1
- package/observability/getInstance.js +0 -119
- package/observability/getInstance.js.map +0 -1
package/annotations/binding.d.ts
CHANGED
|
@@ -26,7 +26,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
26
26
|
* unprotected: true,
|
|
27
27
|
* });
|
|
28
28
|
* const mainBinding = new scaleway.annotations.Binding("main", {
|
|
29
|
-
*
|
|
29
|
+
* targetSrn: main.srn,
|
|
30
30
|
* valueId: production.id,
|
|
31
31
|
* });
|
|
32
32
|
* ```
|
|
@@ -60,9 +60,13 @@ export declare class Binding extends pulumi.CustomResource {
|
|
|
60
60
|
*/
|
|
61
61
|
readonly keyId: pulumi.Output<string>;
|
|
62
62
|
/**
|
|
63
|
-
* Scaleway Resource Number
|
|
63
|
+
* The Scaleway Resource Number (SRN) of the binding.
|
|
64
64
|
*/
|
|
65
65
|
readonly srn: pulumi.Output<string>;
|
|
66
|
+
/**
|
|
67
|
+
* Scaleway Resource Number to associate. Changing this forces a new resource to be created.
|
|
68
|
+
*/
|
|
69
|
+
readonly targetSrn: pulumi.Output<string>;
|
|
66
70
|
/**
|
|
67
71
|
* ID of the value to associate. Changing this forces a new resource to be created.
|
|
68
72
|
*/
|
|
@@ -85,9 +89,13 @@ export interface BindingState {
|
|
|
85
89
|
*/
|
|
86
90
|
keyId?: pulumi.Input<string | undefined>;
|
|
87
91
|
/**
|
|
88
|
-
* Scaleway Resource Number
|
|
92
|
+
* The Scaleway Resource Number (SRN) of the binding.
|
|
89
93
|
*/
|
|
90
94
|
srn?: pulumi.Input<string | undefined>;
|
|
95
|
+
/**
|
|
96
|
+
* Scaleway Resource Number to associate. Changing this forces a new resource to be created.
|
|
97
|
+
*/
|
|
98
|
+
targetSrn?: pulumi.Input<string | undefined>;
|
|
91
99
|
/**
|
|
92
100
|
* ID of the value to associate. Changing this forces a new resource to be created.
|
|
93
101
|
*/
|
|
@@ -100,7 +108,7 @@ export interface BindingArgs {
|
|
|
100
108
|
/**
|
|
101
109
|
* Scaleway Resource Number to associate. Changing this forces a new resource to be created.
|
|
102
110
|
*/
|
|
103
|
-
|
|
111
|
+
targetSrn: pulumi.Input<string>;
|
|
104
112
|
/**
|
|
105
113
|
* ID of the value to associate. Changing this forces a new resource to be created.
|
|
106
114
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"binding.d.ts","sourceRoot":"","sources":["../../annotations/binding.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,qBAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,YAAY,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,OAAO;IAOhI;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,OAAO;IAOlD;;OAEG;IACH,SAAgC,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC7D;;OAEG;IACH,
|
|
1
|
+
{"version":3,"file":"binding.d.ts","sourceRoot":"","sources":["../../annotations/binding.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,qBAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,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 const utilities = __importStar(require("../utilities"));
|
|
|
55
55
|
* unprotected: true,
|
|
56
56
|
* });
|
|
57
57
|
* const mainBinding = new scaleway.annotations.Binding("main", {
|
|
58
|
-
*
|
|
58
|
+
* targetSrn: main.srn,
|
|
59
59
|
* valueId: production.id,
|
|
60
60
|
* });
|
|
61
61
|
* ```
|
|
@@ -100,19 +100,21 @@ class Binding extends pulumi.CustomResource {
|
|
|
100
100
|
const state = argsOrState;
|
|
101
101
|
resourceInputs["keyId"] = state?.keyId;
|
|
102
102
|
resourceInputs["srn"] = state?.srn;
|
|
103
|
+
resourceInputs["targetSrn"] = state?.targetSrn;
|
|
103
104
|
resourceInputs["valueId"] = state?.valueId;
|
|
104
105
|
}
|
|
105
106
|
else {
|
|
106
107
|
const args = argsOrState;
|
|
107
|
-
if (args?.
|
|
108
|
-
throw new Error("Missing required property '
|
|
108
|
+
if (args?.targetSrn === undefined && !opts.urn) {
|
|
109
|
+
throw new Error("Missing required property 'targetSrn'");
|
|
109
110
|
}
|
|
110
111
|
if (args?.valueId === undefined && !opts.urn) {
|
|
111
112
|
throw new Error("Missing required property 'valueId'");
|
|
112
113
|
}
|
|
113
|
-
resourceInputs["
|
|
114
|
+
resourceInputs["targetSrn"] = args?.targetSrn;
|
|
114
115
|
resourceInputs["valueId"] = args?.valueId;
|
|
115
116
|
resourceInputs["keyId"] = undefined /*out*/;
|
|
117
|
+
resourceInputs["srn"] = undefined /*out*/;
|
|
116
118
|
}
|
|
117
119
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
118
120
|
super(Binding.__pulumiType, name, resourceInputs, opts);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"binding.js","sourceRoot":"","sources":["../../annotations/binding.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AA7EL,0BA8EC"}
|
|
@@ -26,7 +26,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
26
26
|
* unprotected: true,
|
|
27
27
|
* });
|
|
28
28
|
* const mainBinding = new scaleway.annotations.Binding("main", {
|
|
29
|
-
*
|
|
29
|
+
* targetSrn: mainKey.srn,
|
|
30
30
|
* valueId: production.id,
|
|
31
31
|
* });
|
|
32
32
|
* const main = scaleway.annotations.getBindingOutput({
|
|
@@ -58,9 +58,13 @@ export interface GetBindingResult {
|
|
|
58
58
|
*/
|
|
59
59
|
readonly keyId: string;
|
|
60
60
|
/**
|
|
61
|
-
* Scaleway Resource Number
|
|
61
|
+
* The Scaleway Resource Number (SRN) of the binding.
|
|
62
62
|
*/
|
|
63
63
|
readonly srn: string;
|
|
64
|
+
/**
|
|
65
|
+
* Scaleway Resource Number associated to the binding.
|
|
66
|
+
*/
|
|
67
|
+
readonly targetSrn: string;
|
|
64
68
|
/**
|
|
65
69
|
* ID of the value associated to the binding
|
|
66
70
|
*/
|
|
@@ -93,7 +97,7 @@ export interface GetBindingResult {
|
|
|
93
97
|
* unprotected: true,
|
|
94
98
|
* });
|
|
95
99
|
* const mainBinding = new scaleway.annotations.Binding("main", {
|
|
96
|
-
*
|
|
100
|
+
* targetSrn: mainKey.srn,
|
|
97
101
|
* valueId: production.id,
|
|
98
102
|
* });
|
|
99
103
|
* const main = scaleway.annotations.getBindingOutput({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getBinding.d.ts","sourceRoot":"","sources":["../../annotations/getBinding.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa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OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC5B;AACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,oBAAoB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAK/H;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACjC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACnC"}
|
|
@@ -55,7 +55,7 @@ const utilities = __importStar(require("../utilities"));
|
|
|
55
55
|
* unprotected: true,
|
|
56
56
|
* });
|
|
57
57
|
* const mainBinding = new scaleway.annotations.Binding("main", {
|
|
58
|
-
*
|
|
58
|
+
* targetSrn: mainKey.srn,
|
|
59
59
|
* valueId: production.id,
|
|
60
60
|
* });
|
|
61
61
|
* const main = scaleway.annotations.getBindingOutput({
|
|
@@ -97,7 +97,7 @@ exports.getBinding = getBinding;
|
|
|
97
97
|
* unprotected: true,
|
|
98
98
|
* });
|
|
99
99
|
* const mainBinding = new scaleway.annotations.Binding("main", {
|
|
100
|
-
*
|
|
100
|
+
* targetSrn: mainKey.srn,
|
|
101
101
|
* valueId: production.id,
|
|
102
102
|
* });
|
|
103
103
|
* const main = scaleway.annotations.getBindingOutput({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getBinding.js","sourceRoot":"","sources":["../../annotations/getBinding.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;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AAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,4CAKC"}
|
package/cockpitAlertManager.d.ts
CHANGED
|
@@ -17,12 +17,11 @@ import * as outputs from "./types/output";
|
|
|
17
17
|
* import * as scaleway from "@pulumiverse/scaleway";
|
|
18
18
|
*
|
|
19
19
|
* const project = new scaleway.account.Project("project", {name: "my-observability-project"});
|
|
20
|
-
* const main = new scaleway.observability.Cockpit("main", {projectId: project.id});
|
|
21
20
|
* const all = scaleway.observability.getPreconfiguredAlertOutput({
|
|
22
|
-
* projectId:
|
|
21
|
+
* projectId: project.id,
|
|
23
22
|
* });
|
|
24
|
-
* const
|
|
25
|
-
* projectId:
|
|
23
|
+
* const main = new scaleway.observability.AlertManager("main", {
|
|
24
|
+
* projectId: project.id,
|
|
26
25
|
* preconfiguredAlertIds: all.apply(all => .filter(alert => alert.productName == "instance").map(alert => (alert.preconfiguredRuleId))),
|
|
27
26
|
* contactPoints: [{
|
|
28
27
|
* email: "alerts@example.com",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cockpitAlertManager.d.ts","sourceRoot":"","sources":["../cockpitAlertManager.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C
|
|
1
|
+
{"version":3,"file":"cockpitAlertManager.d.ts","sourceRoot":"","sources":["../cockpitAlertManager.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2EG;AACH,qBAAa,mBAAoB,SAAQ,MA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,GAAG,SAAS,CAAC,CAAC;IACjG;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IACxD;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;IACzE;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC7C;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC7C;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACpC;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,+BAA+B,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;IACjG;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IACxD;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;IACzE;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC7C;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC7C"}
|
package/cockpitAlertManager.js
CHANGED
|
@@ -44,12 +44,11 @@ const utilities = __importStar(require("./utilities"));
|
|
|
44
44
|
* import * as scaleway from "@pulumiverse/scaleway";
|
|
45
45
|
*
|
|
46
46
|
* const project = new scaleway.account.Project("project", {name: "my-observability-project"});
|
|
47
|
-
* const main = new scaleway.observability.Cockpit("main", {projectId: project.id});
|
|
48
47
|
* const all = scaleway.observability.getPreconfiguredAlertOutput({
|
|
49
|
-
* projectId:
|
|
48
|
+
* projectId: project.id,
|
|
50
49
|
* });
|
|
51
|
-
* const
|
|
52
|
-
* projectId:
|
|
50
|
+
* const main = new scaleway.observability.AlertManager("main", {
|
|
51
|
+
* projectId: project.id,
|
|
53
52
|
* preconfiguredAlertIds: all.apply(all => .filter(alert => alert.productName == "instance").map(alert => (alert.preconfiguredRuleId))),
|
|
54
53
|
* contactPoints: [{
|
|
55
54
|
* email: "alerts@example.com",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cockpitAlertManager.js","sourceRoot":"","sources":["../cockpitAlertManager.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"cockpitAlertManager.js","sourceRoot":"","sources":["../cockpitAlertManager.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2EG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgC,EAAE,IAAmC;QAC9H,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,4KAA4K,CAAC,CAAA;QAC7L,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC1E,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,wDAAwD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E,MAAM,CAAC;YACxC,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACzD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,mBAAmB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;;AAzFL,kDA0FC"}
|
|
@@ -19,6 +19,18 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
19
19
|
* });
|
|
20
20
|
* ```
|
|
21
21
|
*
|
|
22
|
+
* ### With a specific PostgreSQL version
|
|
23
|
+
*
|
|
24
|
+
* ```typescript
|
|
25
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
26
|
+
* import * as scaleway from "@pulumiverse/scaleway";
|
|
27
|
+
*
|
|
28
|
+
* const database = new scaleway.databases.ServerlessDatabase("database", {
|
|
29
|
+
* name: "my-database",
|
|
30
|
+
* version: "16",
|
|
31
|
+
* });
|
|
32
|
+
* ```
|
|
33
|
+
*
|
|
22
34
|
* ### With IAM Application
|
|
23
35
|
*
|
|
24
36
|
* This example creates an [IAM application](https://www.scaleway.com/en/docs/iam/concepts/#application) and an [API secret key](https://www.scaleway.com/en/docs/iam/how-to/create-api-keys/) used to connect to the database.
|
|
@@ -111,6 +123,19 @@ export declare class ServerlessDatabase extends pulumi.CustomResource {
|
|
|
111
123
|
* `region`) The region in which the resource exists.
|
|
112
124
|
*/
|
|
113
125
|
readonly region: pulumi.Output<string>;
|
|
126
|
+
/**
|
|
127
|
+
* The Scaleway Resource Name (SRN) of the database.
|
|
128
|
+
*/
|
|
129
|
+
readonly srn: pulumi.Output<string>;
|
|
130
|
+
/**
|
|
131
|
+
* The major version of the PostgreSQL engine (e.g. `16`). If not specified, the default version is used.
|
|
132
|
+
* > **Important:** Updates to the `version` argument will recreate the database.
|
|
133
|
+
*/
|
|
134
|
+
readonly version: pulumi.Output<string>;
|
|
135
|
+
/**
|
|
136
|
+
* The end of life date of the database version (RFC3339).
|
|
137
|
+
*/
|
|
138
|
+
readonly versionEndOfLifeAt: pulumi.Output<string>;
|
|
114
139
|
/**
|
|
115
140
|
* Create a ServerlessDatabase resource with the given unique name, arguments, and options.
|
|
116
141
|
*
|
|
@@ -149,6 +174,19 @@ export interface ServerlessDatabaseState {
|
|
|
149
174
|
* `region`) The region in which the resource exists.
|
|
150
175
|
*/
|
|
151
176
|
region?: pulumi.Input<string | undefined>;
|
|
177
|
+
/**
|
|
178
|
+
* The Scaleway Resource Name (SRN) of the database.
|
|
179
|
+
*/
|
|
180
|
+
srn?: pulumi.Input<string | undefined>;
|
|
181
|
+
/**
|
|
182
|
+
* The major version of the PostgreSQL engine (e.g. `16`). If not specified, the default version is used.
|
|
183
|
+
* > **Important:** Updates to the `version` argument will recreate the database.
|
|
184
|
+
*/
|
|
185
|
+
version?: pulumi.Input<string | undefined>;
|
|
186
|
+
/**
|
|
187
|
+
* The end of life date of the database version (RFC3339).
|
|
188
|
+
*/
|
|
189
|
+
versionEndOfLifeAt?: pulumi.Input<string | undefined>;
|
|
152
190
|
}
|
|
153
191
|
/**
|
|
154
192
|
* The set of arguments for constructing a ServerlessDatabase resource.
|
|
@@ -175,5 +213,10 @@ export interface ServerlessDatabaseArgs {
|
|
|
175
213
|
* `region`) The region in which the resource exists.
|
|
176
214
|
*/
|
|
177
215
|
region?: pulumi.Input<string | undefined>;
|
|
216
|
+
/**
|
|
217
|
+
* The major version of the PostgreSQL engine (e.g. `16`). If not specified, the default version is used.
|
|
218
|
+
* > **Important:** Updates to the `version` argument will recreate the database.
|
|
219
|
+
*/
|
|
220
|
+
version?: pulumi.Input<string | undefined>;
|
|
178
221
|
}
|
|
179
222
|
//# sourceMappingURL=serverlessDatabase.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serverlessDatabase.d.ts","sourceRoot":"","sources":["../../databases/serverlessDatabase.ts"],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AE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC1C;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC1C;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC7C;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC1C;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC9C"}
|
|
@@ -48,6 +48,18 @@ const utilities = __importStar(require("../utilities"));
|
|
|
48
48
|
* });
|
|
49
49
|
* ```
|
|
50
50
|
*
|
|
51
|
+
* ### With a specific PostgreSQL version
|
|
52
|
+
*
|
|
53
|
+
* ```typescript
|
|
54
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
55
|
+
* import * as scaleway from "@pulumiverse/scaleway";
|
|
56
|
+
*
|
|
57
|
+
* const database = new scaleway.databases.ServerlessDatabase("database", {
|
|
58
|
+
* name: "my-database",
|
|
59
|
+
* version: "16",
|
|
60
|
+
* });
|
|
61
|
+
* ```
|
|
62
|
+
*
|
|
51
63
|
* ### With IAM Application
|
|
52
64
|
*
|
|
53
65
|
* This example creates an [IAM application](https://www.scaleway.com/en/docs/iam/concepts/#application) and an [API secret key](https://www.scaleway.com/en/docs/iam/how-to/create-api-keys/) used to connect to the database.
|
|
@@ -135,6 +147,9 @@ class ServerlessDatabase extends pulumi.CustomResource {
|
|
|
135
147
|
resourceInputs["name"] = state?.name;
|
|
136
148
|
resourceInputs["projectId"] = state?.projectId;
|
|
137
149
|
resourceInputs["region"] = state?.region;
|
|
150
|
+
resourceInputs["srn"] = state?.srn;
|
|
151
|
+
resourceInputs["version"] = state?.version;
|
|
152
|
+
resourceInputs["versionEndOfLifeAt"] = state?.versionEndOfLifeAt;
|
|
138
153
|
}
|
|
139
154
|
else {
|
|
140
155
|
const args = argsOrState;
|
|
@@ -143,7 +158,10 @@ class ServerlessDatabase extends pulumi.CustomResource {
|
|
|
143
158
|
resourceInputs["name"] = args?.name;
|
|
144
159
|
resourceInputs["projectId"] = args?.projectId;
|
|
145
160
|
resourceInputs["region"] = args?.region;
|
|
161
|
+
resourceInputs["version"] = args?.version;
|
|
146
162
|
resourceInputs["endpoint"] = undefined /*out*/;
|
|
163
|
+
resourceInputs["srn"] = undefined /*out*/;
|
|
164
|
+
resourceInputs["versionEndOfLifeAt"] = undefined /*out*/;
|
|
147
165
|
}
|
|
148
166
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
149
167
|
const aliasOpts = { aliases: [{ type: "scaleway:index/sdbDatabase:SdbDatabase" }] };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serverlessDatabase.js","sourceRoot":"","sources":["../../databases/serverlessDatabase.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"serverlessDatabase.js","sourceRoot":"","sources":["../../databases/serverlessDatabase.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkFG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EA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D,CAAC;YAC/D,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1C,cAAc,CAAC,oBAAoB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC5D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,SAAS,GAAG,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,wCAAwC,EAAE,CAAC,EAAE,CAAC;QACpF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;QAC5C,KAAK,CAAC,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;;AAzGL,gDA0GC"}
|
package/getKeyManagerKey.d.ts
CHANGED
|
@@ -5,18 +5,12 @@ import * as outputs from "./types/output";
|
|
|
5
5
|
*
|
|
6
6
|
* ## Example Usage
|
|
7
7
|
*
|
|
8
|
-
* ### Create a key and get its information
|
|
9
|
-
*
|
|
10
|
-
* The following commands allow you to:
|
|
11
|
-
*
|
|
12
|
-
* - create a key named `my-kms-key`
|
|
13
|
-
* - retrieve the key's information using the key's ID
|
|
14
|
-
*
|
|
15
8
|
* ```typescript
|
|
16
9
|
* import * as pulumi from "@pulumi/pulumi";
|
|
17
10
|
* import * as scaleway from "@pulumiverse/scaleway";
|
|
18
11
|
*
|
|
19
|
-
* // Create a key
|
|
12
|
+
* // Create a key and get its information.
|
|
13
|
+
* // In the example below, a key named `my-kms-key` is created, and its information is retrieved using the key's ID.
|
|
20
14
|
* const symmetric = new scaleway.keymanager.Key("symmetric", {
|
|
21
15
|
* name: "my-kms-key",
|
|
22
16
|
* region: "fr-par",
|
|
@@ -33,7 +27,6 @@ import * as outputs from "./types/output";
|
|
|
33
27
|
* rotationPeriod: "720h",
|
|
34
28
|
* },
|
|
35
29
|
* });
|
|
36
|
-
* // Get the key information by its ID
|
|
37
30
|
* const byID = scaleway.keymanager.getKey({
|
|
38
31
|
* keyId: "11111111-1111-1111-1111-111111111111",
|
|
39
32
|
* });
|
|
@@ -68,6 +61,7 @@ export interface GetKeyManagerKeyResult {
|
|
|
68
61
|
readonly origin: string;
|
|
69
62
|
readonly projectId: string;
|
|
70
63
|
readonly protected: boolean;
|
|
64
|
+
readonly protectionLevel: string;
|
|
71
65
|
readonly region?: string;
|
|
72
66
|
readonly rotatedAt: string;
|
|
73
67
|
readonly rotationCount: number;
|
|
@@ -84,18 +78,12 @@ export interface GetKeyManagerKeyResult {
|
|
|
84
78
|
*
|
|
85
79
|
* ## Example Usage
|
|
86
80
|
*
|
|
87
|
-
* ### Create a key and get its information
|
|
88
|
-
*
|
|
89
|
-
* The following commands allow you to:
|
|
90
|
-
*
|
|
91
|
-
* - create a key named `my-kms-key`
|
|
92
|
-
* - retrieve the key's information using the key's ID
|
|
93
|
-
*
|
|
94
81
|
* ```typescript
|
|
95
82
|
* import * as pulumi from "@pulumi/pulumi";
|
|
96
83
|
* import * as scaleway from "@pulumiverse/scaleway";
|
|
97
84
|
*
|
|
98
|
-
* // Create a key
|
|
85
|
+
* // Create a key and get its information.
|
|
86
|
+
* // In the example below, a key named `my-kms-key` is created, and its information is retrieved using the key's ID.
|
|
99
87
|
* const symmetric = new scaleway.keymanager.Key("symmetric", {
|
|
100
88
|
* name: "my-kms-key",
|
|
101
89
|
* region: "fr-par",
|
|
@@ -112,7 +100,6 @@ export interface GetKeyManagerKeyResult {
|
|
|
112
100
|
* rotationPeriod: "720h",
|
|
113
101
|
* },
|
|
114
102
|
* });
|
|
115
|
-
* // Get the key information by its ID
|
|
116
103
|
* const byID = scaleway.keymanager.getKey({
|
|
117
104
|
* keyId: "11111111-1111-1111-1111-111111111111",
|
|
118
105
|
* });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getKeyManagerKey.d.ts","sourceRoot":"","sources":["../getKeyManagerKey.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C
|
|
1
|
+
{"version":3,"file":"getKeyManagerKey.d.ts","sourceRoot":"","sources":["../getKeyManagerKey.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,qIAAqI;AACrI,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,oBAAoB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,sBAAsB,CAAC,CAOzH;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACjC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACnC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAA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
package/getKeyManagerKey.js
CHANGED
|
@@ -33,18 +33,12 @@ const utilities = __importStar(require("./utilities"));
|
|
|
33
33
|
*
|
|
34
34
|
* ## Example Usage
|
|
35
35
|
*
|
|
36
|
-
* ### Create a key and get its information
|
|
37
|
-
*
|
|
38
|
-
* The following commands allow you to:
|
|
39
|
-
*
|
|
40
|
-
* - create a key named `my-kms-key`
|
|
41
|
-
* - retrieve the key's information using the key's ID
|
|
42
|
-
*
|
|
43
36
|
* ```typescript
|
|
44
37
|
* import * as pulumi from "@pulumi/pulumi";
|
|
45
38
|
* import * as scaleway from "@pulumiverse/scaleway";
|
|
46
39
|
*
|
|
47
|
-
* // Create a key
|
|
40
|
+
* // Create a key and get its information.
|
|
41
|
+
* // In the example below, a key named `my-kms-key` is created, and its information is retrieved using the key's ID.
|
|
48
42
|
* const symmetric = new scaleway.keymanager.Key("symmetric", {
|
|
49
43
|
* name: "my-kms-key",
|
|
50
44
|
* region: "fr-par",
|
|
@@ -61,7 +55,6 @@ const utilities = __importStar(require("./utilities"));
|
|
|
61
55
|
* rotationPeriod: "720h",
|
|
62
56
|
* },
|
|
63
57
|
* });
|
|
64
|
-
* // Get the key information by its ID
|
|
65
58
|
* const byID = scaleway.keymanager.getKey({
|
|
66
59
|
* keyId: "11111111-1111-1111-1111-111111111111",
|
|
67
60
|
* });
|
|
@@ -82,18 +75,12 @@ exports.getKeyManagerKey = getKeyManagerKey;
|
|
|
82
75
|
*
|
|
83
76
|
* ## Example Usage
|
|
84
77
|
*
|
|
85
|
-
* ### Create a key and get its information
|
|
86
|
-
*
|
|
87
|
-
* The following commands allow you to:
|
|
88
|
-
*
|
|
89
|
-
* - create a key named `my-kms-key`
|
|
90
|
-
* - retrieve the key's information using the key's ID
|
|
91
|
-
*
|
|
92
78
|
* ```typescript
|
|
93
79
|
* import * as pulumi from "@pulumi/pulumi";
|
|
94
80
|
* import * as scaleway from "@pulumiverse/scaleway";
|
|
95
81
|
*
|
|
96
|
-
* // Create a key
|
|
82
|
+
* // Create a key and get its information.
|
|
83
|
+
* // In the example below, a key named `my-kms-key` is created, and its information is retrieved using the key's ID.
|
|
97
84
|
* const symmetric = new scaleway.keymanager.Key("symmetric", {
|
|
98
85
|
* name: "my-kms-key",
|
|
99
86
|
* region: "fr-par",
|
|
@@ -110,7 +97,6 @@ exports.getKeyManagerKey = getKeyManagerKey;
|
|
|
110
97
|
* rotationPeriod: "720h",
|
|
111
98
|
* },
|
|
112
99
|
* });
|
|
113
|
-
* // Get the key information by its ID
|
|
114
100
|
* const byID = scaleway.keymanager.getKey({
|
|
115
101
|
* keyId: "11111111-1111-1111-1111-111111111111",
|
|
116
102
|
* });
|
package/getKeyManagerKey.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getKeyManagerKey.js","sourceRoot":"","sources":["../getKeyManagerKey.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getKeyManagerKey.js","sourceRoot":"","sources":["../getKeyManagerKey.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,qIAAqI;AACrI,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,oJAAoJ,CAAC,CAAA;IACrK,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kDAAkD,EAAE;QAC7E,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,4CAOC;AA0CD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,qIAAqI;AACrI,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAAiC;IACtG,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,oJAAoJ,CAAC,CAAA;IACrK,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,kDAAkD,EAAE;QACnF,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,wDAOC"}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Gets information about available Serverless SQL Database versions.
|
|
5
|
+
*
|
|
6
|
+
* For further information refer to the Serverless SQL Databases [API documentation](https://www.scaleway.com/en/developers/api/serverless-databases/).
|
|
7
|
+
*
|
|
8
|
+
* ## Example Usage
|
|
9
|
+
*
|
|
10
|
+
* ```typescript
|
|
11
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
12
|
+
* import * as scaleway from "@pulumiverse/scaleway";
|
|
13
|
+
*
|
|
14
|
+
* const pg = scaleway.getSdbSqlVersions({
|
|
15
|
+
* name: "16",
|
|
16
|
+
* });
|
|
17
|
+
* const selectedVersion = pg.then(pg => pg.versions?.[0]?.name);
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
export declare function getSdbSqlVersions(args?: GetSdbSqlVersionsArgs, opts?: pulumi.InvokeOptions): Promise<GetSdbSqlVersionsResult>;
|
|
21
|
+
/**
|
|
22
|
+
* A collection of arguments for invoking getSdbSqlVersions.
|
|
23
|
+
*/
|
|
24
|
+
export interface GetSdbSqlVersionsArgs {
|
|
25
|
+
/**
|
|
26
|
+
* Filter Serverless SQL Database versions that match a given name pattern (e.g. `16`).
|
|
27
|
+
*/
|
|
28
|
+
name?: string;
|
|
29
|
+
/**
|
|
30
|
+
* `region`) The region in which to list versions.
|
|
31
|
+
*/
|
|
32
|
+
region?: string;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* A collection of values returned by getSdbSqlVersions.
|
|
36
|
+
*/
|
|
37
|
+
export interface GetSdbSqlVersionsResult {
|
|
38
|
+
/**
|
|
39
|
+
* The provider-assigned unique ID for this managed resource.
|
|
40
|
+
*/
|
|
41
|
+
readonly id: string;
|
|
42
|
+
/**
|
|
43
|
+
* The major version of the PostgreSQL engine.
|
|
44
|
+
*/
|
|
45
|
+
readonly name?: string;
|
|
46
|
+
readonly region: string;
|
|
47
|
+
/**
|
|
48
|
+
* List of available Serverless SQL Database versions.
|
|
49
|
+
*/
|
|
50
|
+
readonly versions: outputs.GetSdbSqlVersionsVersion[];
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Gets information about available Serverless SQL Database versions.
|
|
54
|
+
*
|
|
55
|
+
* For further information refer to the Serverless SQL Databases [API documentation](https://www.scaleway.com/en/developers/api/serverless-databases/).
|
|
56
|
+
*
|
|
57
|
+
* ## Example Usage
|
|
58
|
+
*
|
|
59
|
+
* ```typescript
|
|
60
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
61
|
+
* import * as scaleway from "@pulumiverse/scaleway";
|
|
62
|
+
*
|
|
63
|
+
* const pg = scaleway.getSdbSqlVersions({
|
|
64
|
+
* name: "16",
|
|
65
|
+
* });
|
|
66
|
+
* const selectedVersion = pg.then(pg => pg.versions?.[0]?.name);
|
|
67
|
+
* ```
|
|
68
|
+
*/
|
|
69
|
+
export declare function getSdbSqlVersionsOutput(args?: GetSdbSqlVersionsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSdbSqlVersionsResult>;
|
|
70
|
+
/**
|
|
71
|
+
* A collection of arguments for invoking getSdbSqlVersions.
|
|
72
|
+
*/
|
|
73
|
+
export interface GetSdbSqlVersionsOutputArgs {
|
|
74
|
+
/**
|
|
75
|
+
* Filter Serverless SQL Database versions that match a given name pattern (e.g. `16`).
|
|
76
|
+
*/
|
|
77
|
+
name?: pulumi.Input<string | undefined>;
|
|
78
|
+
/**
|
|
79
|
+
* `region`) The region in which to list versions.
|
|
80
|
+
*/
|
|
81
|
+
region?: pulumi.Input<string | undefined>;
|
|
82
|
+
}
|
|
83
|
+
//# sourceMappingURL=getSdbSqlVersions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getSdbSqlVersions.d.ts","sourceRoot":"","sources":["../getSdbSqlVersions.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,CAAC,EAAE,qBAAqB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,uBAAuB,CAAC,CAO7H;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IAClC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACpC;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC,wBAAwB,EAAE,CAAC;CACzD;AACD;;;;;;;;;;;;;;;;GA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