@pulumiverse/scaleway 1.14.0 → 1.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{appleSliconValleyServer.d.ts → appleSiliconServer.d.ts} +13 -13
- package/{appleSliconValleyServer.js → appleSiliconServer.js} +12 -12
- package/appleSiliconServer.js.map +1 -0
- package/blockSnapshot.d.ts +5 -1
- package/blockSnapshot.js +5 -1
- package/blockSnapshot.js.map +1 -1
- package/blockVolume.d.ts +19 -0
- package/blockVolume.js +19 -0
- package/blockVolume.js.map +1 -1
- package/container.d.ts +12 -0
- package/container.js +2 -0
- package/container.js.map +1 -1
- package/database.d.ts +17 -9
- package/database.js +11 -3
- package/database.js.map +1 -1
- package/databaseAcl.d.ts +14 -6
- package/databaseAcl.js +11 -3
- package/databaseAcl.js.map +1 -1
- package/databaseBackup.d.ts +21 -12
- package/databaseBackup.js +15 -6
- package/databaseBackup.js.map +1 -1
- package/databaseInstance.d.ts +47 -50
- package/databaseInstance.js +7 -7
- package/databaseInstance.js.map +1 -1
- package/databasePrivilege.d.ts +5 -5
- package/databasePrivilege.js +2 -2
- package/databaseReadReplica.d.ts +12 -12
- package/databaseReadReplica.js +3 -3
- package/databaseUser.d.ts +30 -22
- package/databaseUser.js +12 -4
- package/databaseUser.js.map +1 -1
- package/documentdbDatabase.d.ts +11 -4
- package/documentdbDatabase.js +8 -1
- package/documentdbDatabase.js.map +1 -1
- package/documentdbPrivateNetworkEndpoint.d.ts +51 -75
- package/documentdbPrivateNetworkEndpoint.js +27 -17
- package/documentdbPrivateNetworkEndpoint.js.map +1 -1
- package/documentdbPrivilege.d.ts +9 -2
- package/documentdbPrivilege.js +9 -2
- package/documentdbPrivilege.js.map +1 -1
- package/documentdbReadReplica.d.ts +8 -1
- package/documentdbReadReplica.js +8 -1
- package/documentdbReadReplica.js.map +1 -1
- package/documentdbUser.d.ts +8 -1
- package/documentdbUser.js +8 -1
- package/documentdbUser.js.map +1 -1
- package/domainRecord.d.ts +3 -3
- package/function.d.ts +15 -12
- package/function.js +2 -0
- package/function.js.map +1 -1
- package/functionTrigger.d.ts +16 -0
- package/functionTrigger.js +16 -0
- package/functionTrigger.js.map +1 -1
- package/getAccountSshKey.d.ts +8 -4
- package/getAccountSshKey.js.map +1 -1
- package/getBillingConsumptions.d.ts +21 -0
- package/getBillingConsumptions.js +6 -0
- package/getBillingConsumptions.js.map +1 -1
- package/getBillingInvoices.d.ts +2 -2
- package/getBillingInvoices.js +2 -2
- package/getBlockSnapshot.d.ts +58 -0
- package/getBlockSnapshot.js +28 -0
- package/getBlockSnapshot.js.map +1 -1
- package/getConfig.d.ts +22 -0
- package/getConfig.js +17 -0
- package/getConfig.js.map +1 -0
- package/getContainer.d.ts +4 -0
- package/getContainer.js.map +1 -1
- package/getDatabase.d.ts +2 -2
- package/getDatabase.js +2 -2
- package/getDatabaseAcl.d.ts +2 -2
- package/getDatabaseAcl.js +2 -2
- package/getDatabaseBackup.d.ts +8 -8
- package/getDatabaseInstance.d.ts +14 -10
- package/getDatabaseInstance.js +6 -2
- package/getDatabaseInstance.js.map +1 -1
- package/getDatabasePrivilege.d.ts +4 -4
- package/getDatabasePrivilege.js +2 -2
- package/getFunction.d.ts +1 -0
- package/getFunction.js.map +1 -1
- package/getIamApiKey.d.ts +68 -0
- package/getIamApiKey.js +47 -0
- package/getIamApiKey.js.map +1 -0
- package/getIamApplication.d.ts +6 -6
- package/getIamGroup.d.ts +10 -8
- package/getIamGroup.js +6 -4
- package/getIamGroup.js.map +1 -1
- package/getIamSshKey.d.ts +8 -4
- package/getIamSshKey.js.map +1 -1
- package/getIamUser.d.ts +10 -8
- package/getIamUser.js +2 -4
- package/getIamUser.js.map +1 -1
- package/getIpamIp.d.ts +19 -15
- package/getIpamIp.js +8 -4
- package/getIpamIp.js.map +1 -1
- package/getIpamIps.d.ts +25 -21
- package/getIpamIps.js +6 -2
- package/getIpamIps.js.map +1 -1
- package/getLbAcls.d.ts +13 -9
- package/getLbAcls.js +4 -0
- package/getLbAcls.js.map +1 -1
- package/getLbBackend.d.ts +12 -10
- package/getLbBackend.js +6 -4
- package/getLbBackend.js.map +1 -1
- package/getLbBackends.d.ts +9 -5
- package/getLbBackends.js +4 -0
- package/getLbBackends.js.map +1 -1
- package/getLbFrontend.d.ts +10 -8
- package/getLbFrontend.js +6 -4
- package/getLbFrontend.js.map +1 -1
- package/getLbFrontends.d.ts +13 -9
- package/getLbFrontends.js +6 -2
- package/getLbFrontends.js.map +1 -1
- package/getLbIps.d.ts +42 -12
- package/getLbIps.js +16 -2
- package/getLbIps.js.map +1 -1
- package/getLbRoute.d.ts +8 -6
- package/getLbRoute.js +6 -4
- package/getLbRoute.js.map +1 -1
- package/getLbRoutes.d.ts +11 -7
- package/getLbRoutes.js +6 -2
- package/getLbRoutes.js.map +1 -1
- package/getLbs.d.ts +18 -14
- package/getLbs.js +4 -0
- package/getLbs.js.map +1 -1
- package/getLoadbalancer.d.ts +14 -10
- package/getLoadbalancer.js +4 -0
- package/getLoadbalancer.js.map +1 -1
- package/getLoadbalancerCertificate.d.ts +12 -12
- package/getLoadbalancerCertificate.js +6 -6
- package/getLoadbalancerIp.d.ts +14 -6
- package/getLoadbalancerIp.js +6 -2
- package/getLoadbalancerIp.js.map +1 -1
- package/getMarketplaceImage.d.ts +2 -2
- package/getMnqSqs.d.ts +7 -7
- package/getMnqSqs.js +2 -2
- package/getRedisCluster.d.ts +52 -6
- package/getRedisCluster.js +6 -2
- package/getRedisCluster.js.map +1 -1
- package/getRegistryImage.d.ts +6 -6
- package/getRegistryImage.js +2 -2
- package/getRegistryNamespace.d.ts +4 -4
- package/getVpc.d.ts +10 -10
- package/getVpcGatewayNetwork.d.ts +4 -32
- package/getVpcGatewayNetwork.js +2 -2
- package/getVpcGatewayNetwork.js.map +1 -1
- package/getVpcPrivateNetwork.d.ts +12 -12
- package/getVpcPrivateNetwork.js +2 -2
- package/getVpcPublicGateway.d.ts +8 -10
- package/getVpcPublicGateway.js +2 -2
- package/getVpcPublicGateway.js.map +1 -1
- package/getVpcPublicGatewayDhcp.d.ts +2 -2
- package/getVpcPublicGatewayDhcp.js +2 -2
- package/getVpcPublicGatewayDhcpReservation.d.ts +12 -12
- package/getVpcPublicGatewayDhcpReservation.js +6 -6
- package/getVpcPublicGatewayIp.d.ts +4 -4
- package/getVpcPublicGatewayIp.js +4 -4
- package/getVpcPublicPatRule.d.ts +11 -11
- package/getVpcPublicPatRule.js +4 -4
- package/getVpcRoutes.d.ts +96 -0
- package/getVpcRoutes.js +32 -0
- package/getVpcRoutes.js.map +1 -0
- package/getVpcs.d.ts +11 -11
- package/iamApiKey.d.ts +44 -33
- package/iamApiKey.js +16 -2
- package/iamApiKey.js.map +1 -1
- package/iamApplication.d.ts +1 -1
- package/iamApplication.js +1 -1
- package/iamGroup.d.ts +1 -1
- package/iamGroup.js +1 -1
- package/iamGroupMembership.d.ts +4 -4
- package/iamGroupMembership.js +1 -1
- package/iamPolicy.d.ts +22 -22
- package/iamPolicy.js +1 -1
- package/iamSshKey.d.ts +1 -2
- package/iamSshKey.js +1 -2
- package/iamSshKey.js.map +1 -1
- package/iamUser.d.ts +10 -10
- package/index.d.ts +12 -3
- package/index.js +20 -11
- package/index.js.map +1 -1
- package/instanceServer.d.ts +3 -3
- package/iotHub.d.ts +2 -2
- package/ipamIp.d.ts +14 -12
- package/ipamIp.js +6 -4
- package/ipamIp.js.map +1 -1
- package/ipamIpReverseDns.d.ts +4 -2
- package/ipamIpReverseDns.js +4 -2
- package/ipamIpReverseDns.js.map +1 -1
- package/kubernetesCluster.d.ts +18 -21
- package/kubernetesCluster.js +18 -21
- package/kubernetesCluster.js.map +1 -1
- package/loadbalancer.d.ts +102 -43
- package/loadbalancer.js +63 -4
- package/loadbalancer.js.map +1 -1
- package/loadbalancerAcl.d.ts +10 -8
- package/loadbalancerAcl.js +4 -2
- package/loadbalancerAcl.js.map +1 -1
- package/loadbalancerBackend.d.ts +10 -9
- package/loadbalancerBackend.js +4 -3
- package/loadbalancerBackend.js.map +1 -1
- package/loadbalancerFrontend.d.ts +27 -25
- package/loadbalancerFrontend.js +4 -2
- package/loadbalancerFrontend.js.map +1 -1
- package/loadbalancerIp.d.ts +28 -15
- package/loadbalancerIp.js +6 -3
- package/loadbalancerIp.js.map +1 -1
- package/loadbalancerRoute.d.ts +14 -13
- package/loadbalancerRoute.js +4 -3
- package/loadbalancerRoute.js.map +1 -1
- package/mnqNatsAccount.d.ts +11 -11
- package/mnqNatsAccount.js +5 -5
- package/mnqNatsCredentials.d.ts +10 -10
- package/mnqNatsCredentials.js +4 -4
- package/mnqSns.d.ts +15 -15
- package/mnqSns.js +7 -7
- package/mnqSnsCredentials.d.ts +16 -16
- package/mnqSnsCredentials.js +4 -4
- package/mnqSnsTopic.d.ts +16 -16
- package/mnqSnsTopic.js +4 -4
- package/mnqSnsTopicSubscription.d.ts +16 -16
- package/mnqSnsTopicSubscription.js +4 -4
- package/mnqSqs.d.ts +12 -12
- package/mnqSqs.js +4 -4
- package/mnqSqsCredentials.d.ts +16 -16
- package/mnqSqsCredentials.js +4 -4
- package/mnqSqsQueue.d.ts +12 -12
- package/mnqSqsQueue.js +3 -3
- package/objectBucketAcl.d.ts +3 -3
- package/objectBucketLockConfiguration.d.ts +3 -3
- package/objectBucketPolicy.d.ts +3 -3
- package/objectBucketWebsiteConfiguration.d.ts +3 -3
- package/objectItem.d.ts +3 -3
- package/package.json +2 -2
- package/package.json.dev +1 -1
- package/redisCluster.d.ts +68 -68
- package/redisCluster.js +4 -4
- package/registryNamespace.d.ts +3 -3
- package/registryNamespace.js +1 -1
- package/sdbDatabase.d.ts +3 -3
- package/temDomain.d.ts +4 -4
- package/temDomain.js +1 -1
- package/temDomainValidation.d.ts +2 -1
- package/temDomainValidation.js +2 -1
- package/temDomainValidation.js.map +1 -1
- package/types/input.d.ts +111 -71
- package/types/output.d.ts +267 -171
- package/vpc.d.ts +13 -13
- package/vpc.js +2 -2
- package/vpcGatewayNetwork.d.ts +39 -38
- package/vpcGatewayNetwork.js +9 -8
- package/vpcGatewayNetwork.js.map +1 -1
- package/vpcPrivateNetwork.d.ts +28 -28
- package/vpcPrivateNetwork.js +2 -2
- package/vpcPublicGateway.d.ts +27 -27
- package/vpcPublicGateway.js +3 -3
- package/vpcPublicGatewayDhcp.d.ts +26 -26
- package/vpcPublicGatewayDhcp.js +2 -2
- package/vpcPublicGatewayDhcpReservation.d.ts +19 -19
- package/vpcPublicGatewayDhcpReservation.js +5 -5
- package/vpcPublicGatewayIp.d.ts +18 -18
- package/vpcPublicGatewayIp.js +3 -3
- package/vpcPublicGatewayIpReverseDns.d.ts +6 -6
- package/vpcPublicGatewayIpReverseDns.js +3 -3
- package/vpcPublicGatewayPatRule.d.ts +27 -27
- package/vpcPublicGatewayPatRule.js +3 -3
- package/appleSliconValleyServer.js.map +0 -1
package/documentdbUser.js
CHANGED
|
@@ -17,12 +17,19 @@ const utilities = require("./utilities");
|
|
|
17
17
|
* import * as random from "@pulumi/random";
|
|
18
18
|
* import * as scaleway from "@pulumiverse/scaleway";
|
|
19
19
|
*
|
|
20
|
+
* const instance = new scaleway.DocumentdbInstance("instance", {
|
|
21
|
+
* nodeType: "docdb-play2-pico",
|
|
22
|
+
* engine: "FerretDB-1",
|
|
23
|
+
* userName: "my_initial_user",
|
|
24
|
+
* password: "thiZ_is_v&ry_s3cret",
|
|
25
|
+
* volumeSizeInGb: 20,
|
|
26
|
+
* });
|
|
20
27
|
* const dbPassword = new random.RandomPassword("dbPassword", {
|
|
21
28
|
* length: 16,
|
|
22
29
|
* special: true,
|
|
23
30
|
* });
|
|
24
31
|
* const dbAdmin = new scaleway.DocumentdbUser("dbAdmin", {
|
|
25
|
-
* instanceId:
|
|
32
|
+
* instanceId: instance.id,
|
|
26
33
|
* password: dbPassword.result,
|
|
27
34
|
* isAdmin: true,
|
|
28
35
|
* });
|
package/documentdbUser.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"documentdbUser.js","sourceRoot":"","sources":["../documentdbUser.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"documentdbUser.js","sourceRoot":"","sources":["../documentdbUser.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2B,EAAE,IAAmC;QACzH,OAAO,IAAI,cAAc,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACrE,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,cAAc,CAAC,YAAY,CAAC;IAC/D,CAAC;IAmCD,YAAY,IAAY,EAAE,WAAsD,EAAE,IAAmC;QACjH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA8C,CAAC;YAC7D,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,MAAM,CAAC,GAAG,KAA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,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,UAAU,CAAC,EAAE,CAAC;QAC7D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;;AAzFL,wCA0FC;AA5EG,gBAAgB;AACO,2BAAY,GAAG,8CAA8C,CAAC"}
|
package/domainRecord.d.ts
CHANGED
|
@@ -225,7 +225,7 @@ export declare class DomainRecord extends pulumi.CustomResource {
|
|
|
225
225
|
*/
|
|
226
226
|
readonly priority: pulumi.Output<number>;
|
|
227
227
|
/**
|
|
228
|
-
* The
|
|
228
|
+
* The projectId you want to attach the resource to
|
|
229
229
|
*/
|
|
230
230
|
readonly projectId: pulumi.Output<string>;
|
|
231
231
|
/**
|
|
@@ -294,7 +294,7 @@ export interface DomainRecordState {
|
|
|
294
294
|
*/
|
|
295
295
|
priority?: pulumi.Input<number>;
|
|
296
296
|
/**
|
|
297
|
-
* The
|
|
297
|
+
* The projectId you want to attach the resource to
|
|
298
298
|
*/
|
|
299
299
|
projectId?: pulumi.Input<string>;
|
|
300
300
|
/**
|
|
@@ -351,7 +351,7 @@ export interface DomainRecordArgs {
|
|
|
351
351
|
*/
|
|
352
352
|
priority?: pulumi.Input<number>;
|
|
353
353
|
/**
|
|
354
|
-
* The
|
|
354
|
+
* The projectId you want to attach the resource to
|
|
355
355
|
*/
|
|
356
356
|
projectId?: pulumi.Input<string>;
|
|
357
357
|
/**
|
package/function.d.ts
CHANGED
|
@@ -50,9 +50,6 @@ export declare class Function extends pulumi.CustomResource {
|
|
|
50
50
|
* The CPU limit in mCPU for your function. More infos on resources [here](https://www.scaleway.com/en/developers/api/serverless-functions/#functions)
|
|
51
51
|
*/
|
|
52
52
|
readonly cpuLimit: pulumi.Output<number>;
|
|
53
|
-
/**
|
|
54
|
-
* Define if the function should be deployed, terraform will wait for function to be deployed
|
|
55
|
-
*/
|
|
56
53
|
readonly deploy: pulumi.Output<boolean | undefined>;
|
|
57
54
|
/**
|
|
58
55
|
* The description of the function.
|
|
@@ -95,7 +92,7 @@ export declare class Function extends pulumi.CustomResource {
|
|
|
95
92
|
*/
|
|
96
93
|
readonly name: pulumi.Output<string>;
|
|
97
94
|
/**
|
|
98
|
-
* The namespace ID the function
|
|
95
|
+
* The function namespace ID of the function.
|
|
99
96
|
*/
|
|
100
97
|
readonly namespaceId: pulumi.Output<string>;
|
|
101
98
|
/**
|
|
@@ -118,6 +115,10 @@ export declare class Function extends pulumi.CustomResource {
|
|
|
118
115
|
* Runtime of the function. Runtimes can be fetched using [specific route](https://www.scaleway.com/en/developers/api/serverless-functions/#get-f7de6a
|
|
119
116
|
*/
|
|
120
117
|
readonly runtime: pulumi.Output<string>;
|
|
118
|
+
/**
|
|
119
|
+
* Execution environment of the function.
|
|
120
|
+
*/
|
|
121
|
+
readonly sandbox: pulumi.Output<string>;
|
|
121
122
|
/**
|
|
122
123
|
* The [secret environment](https://www.scaleway.com/en/docs/compute/functions/concepts/#secrets) variables of the function.
|
|
123
124
|
*/
|
|
@@ -153,9 +154,6 @@ export interface FunctionState {
|
|
|
153
154
|
* The CPU limit in mCPU for your function. More infos on resources [here](https://www.scaleway.com/en/developers/api/serverless-functions/#functions)
|
|
154
155
|
*/
|
|
155
156
|
cpuLimit?: pulumi.Input<number>;
|
|
156
|
-
/**
|
|
157
|
-
* Define if the function should be deployed, terraform will wait for function to be deployed
|
|
158
|
-
*/
|
|
159
157
|
deploy?: pulumi.Input<boolean>;
|
|
160
158
|
/**
|
|
161
159
|
* The description of the function.
|
|
@@ -198,7 +196,7 @@ export interface FunctionState {
|
|
|
198
196
|
*/
|
|
199
197
|
name?: pulumi.Input<string>;
|
|
200
198
|
/**
|
|
201
|
-
* The namespace ID the function
|
|
199
|
+
* The function namespace ID of the function.
|
|
202
200
|
*/
|
|
203
201
|
namespaceId?: pulumi.Input<string>;
|
|
204
202
|
/**
|
|
@@ -221,6 +219,10 @@ export interface FunctionState {
|
|
|
221
219
|
* Runtime of the function. Runtimes can be fetched using [specific route](https://www.scaleway.com/en/developers/api/serverless-functions/#get-f7de6a
|
|
222
220
|
*/
|
|
223
221
|
runtime?: pulumi.Input<string>;
|
|
222
|
+
/**
|
|
223
|
+
* Execution environment of the function.
|
|
224
|
+
*/
|
|
225
|
+
sandbox?: pulumi.Input<string>;
|
|
224
226
|
/**
|
|
225
227
|
* The [secret environment](https://www.scaleway.com/en/docs/compute/functions/concepts/#secrets) variables of the function.
|
|
226
228
|
*/
|
|
@@ -244,9 +246,6 @@ export interface FunctionState {
|
|
|
244
246
|
* The set of arguments for constructing a Function resource.
|
|
245
247
|
*/
|
|
246
248
|
export interface FunctionArgs {
|
|
247
|
-
/**
|
|
248
|
-
* Define if the function should be deployed, terraform will wait for function to be deployed
|
|
249
|
-
*/
|
|
250
249
|
deploy?: pulumi.Input<boolean>;
|
|
251
250
|
/**
|
|
252
251
|
* The description of the function.
|
|
@@ -285,7 +284,7 @@ export interface FunctionArgs {
|
|
|
285
284
|
*/
|
|
286
285
|
name?: pulumi.Input<string>;
|
|
287
286
|
/**
|
|
288
|
-
* The namespace ID the function
|
|
287
|
+
* The function namespace ID of the function.
|
|
289
288
|
*/
|
|
290
289
|
namespaceId: pulumi.Input<string>;
|
|
291
290
|
/**
|
|
@@ -304,6 +303,10 @@ export interface FunctionArgs {
|
|
|
304
303
|
* Runtime of the function. Runtimes can be fetched using [specific route](https://www.scaleway.com/en/developers/api/serverless-functions/#get-f7de6a
|
|
305
304
|
*/
|
|
306
305
|
runtime: pulumi.Input<string>;
|
|
306
|
+
/**
|
|
307
|
+
* Execution environment of the function.
|
|
308
|
+
*/
|
|
309
|
+
sandbox?: pulumi.Input<string>;
|
|
307
310
|
/**
|
|
308
311
|
* The [secret environment](https://www.scaleway.com/en/docs/compute/functions/concepts/#secrets) variables of the function.
|
|
309
312
|
*/
|
package/function.js
CHANGED
|
@@ -81,6 +81,7 @@ class Function extends pulumi.CustomResource {
|
|
|
81
81
|
resourceInputs["projectId"] = state ? state.projectId : undefined;
|
|
82
82
|
resourceInputs["region"] = state ? state.region : undefined;
|
|
83
83
|
resourceInputs["runtime"] = state ? state.runtime : undefined;
|
|
84
|
+
resourceInputs["sandbox"] = state ? state.sandbox : undefined;
|
|
84
85
|
resourceInputs["secretEnvironmentVariables"] = state ? state.secretEnvironmentVariables : undefined;
|
|
85
86
|
resourceInputs["timeout"] = state ? state.timeout : undefined;
|
|
86
87
|
resourceInputs["zipFile"] = state ? state.zipFile : undefined;
|
|
@@ -114,6 +115,7 @@ class Function extends pulumi.CustomResource {
|
|
|
114
115
|
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
|
115
116
|
resourceInputs["region"] = args ? args.region : undefined;
|
|
116
117
|
resourceInputs["runtime"] = args ? args.runtime : undefined;
|
|
118
|
+
resourceInputs["sandbox"] = args ? args.sandbox : undefined;
|
|
117
119
|
resourceInputs["secretEnvironmentVariables"] = (args === null || args === void 0 ? void 0 : args.secretEnvironmentVariables) ? pulumi.secret(args.secretEnvironmentVariables) : undefined;
|
|
118
120
|
resourceInputs["timeout"] = args ? args.timeout : undefined;
|
|
119
121
|
resourceInputs["zipFile"] = args ? args.zipFile : undefined;
|
package/function.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"function.js","sourceRoot":"","sources":["../function.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;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AC,MAAM,CAAC,IAAI,CAAC,0BAA0B,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;YAC7I,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACxD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,4BAA4B,CAAC,EAAE,CAAC;QAC/E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;;AAhML,4BAiMC;AAnLG,gBAAgB;AACO,qBAAY,GAAG,kCAAkC,CAAC"}
|
package/functionTrigger.d.ts
CHANGED
|
@@ -23,6 +23,22 @@ import * as outputs from "./types/output";
|
|
|
23
23
|
* });
|
|
24
24
|
* ```
|
|
25
25
|
*
|
|
26
|
+
* ### Nats
|
|
27
|
+
*
|
|
28
|
+
* ```typescript
|
|
29
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
30
|
+
* import * as scaleway from "@pulumiverse/scaleway";
|
|
31
|
+
*
|
|
32
|
+
* const main = new scaleway.FunctionTrigger("main", {
|
|
33
|
+
* functionId: scaleway_function.main.id,
|
|
34
|
+
* nats: {
|
|
35
|
+
* accountId: scaleway_mnq_nats_account.main.id,
|
|
36
|
+
* subject: "MySubject",
|
|
37
|
+
* region: scaleway_mnq_nats_account.main.region,
|
|
38
|
+
* },
|
|
39
|
+
* });
|
|
40
|
+
* ```
|
|
41
|
+
*
|
|
26
42
|
* ## Import
|
|
27
43
|
*
|
|
28
44
|
* Function Triggers can be imported using the `{region}/{id}`, e.g.
|
package/functionTrigger.js
CHANGED
|
@@ -27,6 +27,22 @@ const utilities = require("./utilities");
|
|
|
27
27
|
* });
|
|
28
28
|
* ```
|
|
29
29
|
*
|
|
30
|
+
* ### Nats
|
|
31
|
+
*
|
|
32
|
+
* ```typescript
|
|
33
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
34
|
+
* import * as scaleway from "@pulumiverse/scaleway";
|
|
35
|
+
*
|
|
36
|
+
* const main = new scaleway.FunctionTrigger("main", {
|
|
37
|
+
* functionId: scaleway_function.main.id,
|
|
38
|
+
* nats: {
|
|
39
|
+
* accountId: scaleway_mnq_nats_account.main.id,
|
|
40
|
+
* subject: "MySubject",
|
|
41
|
+
* region: scaleway_mnq_nats_account.main.region,
|
|
42
|
+
* },
|
|
43
|
+
* });
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
30
46
|
* ## Import
|
|
31
47
|
*
|
|
32
48
|
* Function Triggers can be imported using the `{region}/{id}`, e.g.
|
package/functionTrigger.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"functionTrigger.js","sourceRoot":"","sources":["../functionTrigger.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"functionTrigger.js","sourceRoot":"","sources":["../functionTrigger.ts"],"names":[],"m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AAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;;AAtFL,0CAuFC;AAzEG,gBAAgB;AACO,4BAAY,GAAG,gDAAgD,CAAC"}
|
package/getAccountSshKey.d.ts
CHANGED
|
@@ -19,7 +19,7 @@ export declare function getAccountSshKey(args?: GetAccountSshKeyArgs, opts?: pul
|
|
|
19
19
|
*/
|
|
20
20
|
export interface GetAccountSshKeyArgs {
|
|
21
21
|
/**
|
|
22
|
-
* The SSH key name.
|
|
22
|
+
* The SSH key name.
|
|
23
23
|
*/
|
|
24
24
|
name?: string;
|
|
25
25
|
/**
|
|
@@ -27,7 +27,9 @@ export interface GetAccountSshKeyArgs {
|
|
|
27
27
|
*/
|
|
28
28
|
projectId?: string;
|
|
29
29
|
/**
|
|
30
|
-
* The SSH key id.
|
|
30
|
+
* The SSH key id.
|
|
31
|
+
*
|
|
32
|
+
* > **Note** You must specify at least one: `name` and/or `sshKeyId`.
|
|
31
33
|
*/
|
|
32
34
|
sshKeyId?: string;
|
|
33
35
|
}
|
|
@@ -75,7 +77,7 @@ export declare function getAccountSshKeyOutput(args?: GetAccountSshKeyOutputArgs
|
|
|
75
77
|
*/
|
|
76
78
|
export interface GetAccountSshKeyOutputArgs {
|
|
77
79
|
/**
|
|
78
|
-
* The SSH key name.
|
|
80
|
+
* The SSH key name.
|
|
79
81
|
*/
|
|
80
82
|
name?: pulumi.Input<string>;
|
|
81
83
|
/**
|
|
@@ -83,7 +85,9 @@ export interface GetAccountSshKeyOutputArgs {
|
|
|
83
85
|
*/
|
|
84
86
|
projectId?: pulumi.Input<string>;
|
|
85
87
|
/**
|
|
86
|
-
* The SSH key id.
|
|
88
|
+
* The SSH key id.
|
|
89
|
+
*
|
|
90
|
+
* > **Note** You must specify at least one: `name` and/or `sshKeyId`.
|
|
87
91
|
*/
|
|
88
92
|
sshKeyId?: pulumi.Input<string>;
|
|
89
93
|
}
|
package/getAccountSshKey.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAccountSshKey.js","sourceRoot":"","sources":["../getAccountSshKey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,gBAAgB,CAAC,IAA2B,EAAE,IAA2B;IACrF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,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,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,4CASC;
|
|
1
|
+
{"version":3,"file":"getAccountSshKey.js","sourceRoot":"","sources":["../getAccountSshKey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,gBAAgB,CAAC,IAA2B,EAAE,IAA2B;IACrF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,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,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,4CASC;AA8CD;;;;;;;;;;;;;GAaG;AACH,SAAgB,sBAAsB,CAAC,IAAiC,EAAE,IAA2B;IACjG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,gBAAgB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC3E,CAAC;AAFD,wDAEC"}
|
|
@@ -1,29 +1,50 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Gets information about your Consumptions.
|
|
5
|
+
*/
|
|
3
6
|
export declare function getBillingConsumptions(args?: GetBillingConsumptionsArgs, opts?: pulumi.InvokeOptions): Promise<GetBillingConsumptionsResult>;
|
|
4
7
|
/**
|
|
5
8
|
* A collection of arguments for invoking getBillingConsumptions.
|
|
6
9
|
*/
|
|
7
10
|
export interface GetBillingConsumptionsArgs {
|
|
11
|
+
/**
|
|
12
|
+
* `projectId`) The ID of the project the consumption list is associated with.
|
|
13
|
+
*/
|
|
8
14
|
projectId?: string;
|
|
9
15
|
}
|
|
10
16
|
/**
|
|
11
17
|
* A collection of values returned by getBillingConsumptions.
|
|
12
18
|
*/
|
|
13
19
|
export interface GetBillingConsumptionsResult {
|
|
20
|
+
/**
|
|
21
|
+
* List of found consumptions
|
|
22
|
+
*/
|
|
14
23
|
readonly consumptions: outputs.GetBillingConsumptionsConsumption[];
|
|
15
24
|
/**
|
|
16
25
|
* The provider-assigned unique ID for this managed resource.
|
|
17
26
|
*/
|
|
18
27
|
readonly id: string;
|
|
19
28
|
readonly organizationId: string;
|
|
29
|
+
/**
|
|
30
|
+
* The project ID of the consumption.
|
|
31
|
+
*/
|
|
20
32
|
readonly projectId: string;
|
|
33
|
+
/**
|
|
34
|
+
* The last consumption update date.
|
|
35
|
+
*/
|
|
21
36
|
readonly updatedAt: string;
|
|
22
37
|
}
|
|
38
|
+
/**
|
|
39
|
+
* Gets information about your Consumptions.
|
|
40
|
+
*/
|
|
23
41
|
export declare function getBillingConsumptionsOutput(args?: GetBillingConsumptionsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetBillingConsumptionsResult>;
|
|
24
42
|
/**
|
|
25
43
|
* A collection of arguments for invoking getBillingConsumptions.
|
|
26
44
|
*/
|
|
27
45
|
export interface GetBillingConsumptionsOutputArgs {
|
|
46
|
+
/**
|
|
47
|
+
* `projectId`) The ID of the project the consumption list is associated with.
|
|
48
|
+
*/
|
|
28
49
|
projectId?: pulumi.Input<string>;
|
|
29
50
|
}
|
|
@@ -5,6 +5,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.getBillingConsumptionsOutput = exports.getBillingConsumptions = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Gets information about your Consumptions.
|
|
10
|
+
*/
|
|
8
11
|
function getBillingConsumptions(args, opts) {
|
|
9
12
|
args = args || {};
|
|
10
13
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -13,6 +16,9 @@ function getBillingConsumptions(args, opts) {
|
|
|
13
16
|
}, opts);
|
|
14
17
|
}
|
|
15
18
|
exports.getBillingConsumptions = getBillingConsumptions;
|
|
19
|
+
/**
|
|
20
|
+
* Gets information about your Consumptions.
|
|
21
|
+
*/
|
|
16
22
|
function getBillingConsumptionsOutput(args, opts) {
|
|
17
23
|
return pulumi.output(args).apply((a) => getBillingConsumptions(a, opts));
|
|
18
24
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getBillingConsumptions.js","sourceRoot":"","sources":["../getBillingConsumptions.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,SAAgB,sBAAsB,CAAC,IAAiC,EAAE,IAA2B;IACjG,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8DAA8D,EAAE;QACzF,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,wDAOC;
|
|
1
|
+
{"version":3,"file":"getBillingConsumptions.js","sourceRoot":"","sources":["../getBillingConsumptions.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,sBAAsB,CAAC,IAAiC,EAAE,IAA2B;IACjG,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8DAA8D,EAAE;QACzF,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,wDAOC;AAkCD;;GAEG;AACH,SAAgB,4BAA4B,CAAC,IAAuC,EAAE,IAA2B;IAC7G,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,sBAAsB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACjF,CAAC;AAFD,oEAEC"}
|
package/getBillingInvoices.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import * as outputs from "./types/output";
|
|
3
3
|
/**
|
|
4
|
-
* Gets information about your
|
|
4
|
+
* Gets information about your Scaleway invoices.
|
|
5
5
|
*
|
|
6
6
|
* ## Example Usage
|
|
7
7
|
*
|
|
@@ -53,7 +53,7 @@ export interface GetBillingInvoicesResult {
|
|
|
53
53
|
readonly startedBefore?: string;
|
|
54
54
|
}
|
|
55
55
|
/**
|
|
56
|
-
* Gets information about your
|
|
56
|
+
* Gets information about your Scaleway invoices.
|
|
57
57
|
*
|
|
58
58
|
* ## Example Usage
|
|
59
59
|
*
|
package/getBillingInvoices.js
CHANGED
|
@@ -6,7 +6,7 @@ exports.getBillingInvoicesOutput = exports.getBillingInvoices = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* Gets information about your
|
|
9
|
+
* Gets information about your Scaleway invoices.
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
|
@@ -30,7 +30,7 @@ function getBillingInvoices(args, opts) {
|
|
|
30
30
|
}
|
|
31
31
|
exports.getBillingInvoices = getBillingInvoices;
|
|
32
32
|
/**
|
|
33
|
-
* Gets information about your
|
|
33
|
+
* Gets information about your Scaleway invoices.
|
|
34
34
|
*
|
|
35
35
|
* ## Example Usage
|
|
36
36
|
*
|
package/getBlockSnapshot.d.ts
CHANGED
|
@@ -1,13 +1,42 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Gets information about a Block Snapshot.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as scaleway from "@pulumi/scaleway";
|
|
10
|
+
*
|
|
11
|
+
* const mySnapshot = scaleway.getBlockSnapshot({
|
|
12
|
+
* snapshotId: "11111111-1111-1111-1111-111111111111",
|
|
13
|
+
* });
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
2
16
|
export declare function getBlockSnapshot(args?: GetBlockSnapshotArgs, opts?: pulumi.InvokeOptions): Promise<GetBlockSnapshotResult>;
|
|
3
17
|
/**
|
|
4
18
|
* A collection of arguments for invoking getBlockSnapshot.
|
|
5
19
|
*/
|
|
6
20
|
export interface GetBlockSnapshotArgs {
|
|
21
|
+
/**
|
|
22
|
+
* The name of the snapshot. Only one of `name` and `snapshotId` should be specified.
|
|
23
|
+
*/
|
|
7
24
|
name?: string;
|
|
25
|
+
/**
|
|
26
|
+
* The ID of the project the snapshot is associated with.
|
|
27
|
+
*/
|
|
8
28
|
projectId?: string;
|
|
29
|
+
/**
|
|
30
|
+
* The ID of the snapshot. Only one of `name` and `snapshotId` should be specified.
|
|
31
|
+
*/
|
|
9
32
|
snapshotId?: string;
|
|
33
|
+
/**
|
|
34
|
+
* The ID of the volume from which the snapshot has been created.
|
|
35
|
+
*/
|
|
10
36
|
volumeId?: string;
|
|
37
|
+
/**
|
|
38
|
+
* `zone`) The zone in which the snapshot exists.
|
|
39
|
+
*/
|
|
11
40
|
zone?: string;
|
|
12
41
|
}
|
|
13
42
|
/**
|
|
@@ -25,14 +54,43 @@ export interface GetBlockSnapshotResult {
|
|
|
25
54
|
readonly volumeId?: string;
|
|
26
55
|
readonly zone?: string;
|
|
27
56
|
}
|
|
57
|
+
/**
|
|
58
|
+
* Gets information about a Block Snapshot.
|
|
59
|
+
*
|
|
60
|
+
* ## Example Usage
|
|
61
|
+
*
|
|
62
|
+
* ```typescript
|
|
63
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
64
|
+
* import * as scaleway from "@pulumi/scaleway";
|
|
65
|
+
*
|
|
66
|
+
* const mySnapshot = scaleway.getBlockSnapshot({
|
|
67
|
+
* snapshotId: "11111111-1111-1111-1111-111111111111",
|
|
68
|
+
* });
|
|
69
|
+
* ```
|
|
70
|
+
*/
|
|
28
71
|
export declare function getBlockSnapshotOutput(args?: GetBlockSnapshotOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetBlockSnapshotResult>;
|
|
29
72
|
/**
|
|
30
73
|
* A collection of arguments for invoking getBlockSnapshot.
|
|
31
74
|
*/
|
|
32
75
|
export interface GetBlockSnapshotOutputArgs {
|
|
76
|
+
/**
|
|
77
|
+
* The name of the snapshot. Only one of `name` and `snapshotId` should be specified.
|
|
78
|
+
*/
|
|
33
79
|
name?: pulumi.Input<string>;
|
|
80
|
+
/**
|
|
81
|
+
* The ID of the project the snapshot is associated with.
|
|
82
|
+
*/
|
|
34
83
|
projectId?: pulumi.Input<string>;
|
|
84
|
+
/**
|
|
85
|
+
* The ID of the snapshot. Only one of `name` and `snapshotId` should be specified.
|
|
86
|
+
*/
|
|
35
87
|
snapshotId?: pulumi.Input<string>;
|
|
88
|
+
/**
|
|
89
|
+
* The ID of the volume from which the snapshot has been created.
|
|
90
|
+
*/
|
|
36
91
|
volumeId?: pulumi.Input<string>;
|
|
92
|
+
/**
|
|
93
|
+
* `zone`) The zone in which the snapshot exists.
|
|
94
|
+
*/
|
|
37
95
|
zone?: pulumi.Input<string>;
|
|
38
96
|
}
|
package/getBlockSnapshot.js
CHANGED
|
@@ -5,6 +5,20 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.getBlockSnapshotOutput = exports.getBlockSnapshot = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Gets information about a Block Snapshot.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as scaleway from "@pulumi/scaleway";
|
|
16
|
+
*
|
|
17
|
+
* const mySnapshot = scaleway.getBlockSnapshot({
|
|
18
|
+
* snapshotId: "11111111-1111-1111-1111-111111111111",
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
8
22
|
function getBlockSnapshot(args, opts) {
|
|
9
23
|
args = args || {};
|
|
10
24
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -17,6 +31,20 @@ function getBlockSnapshot(args, opts) {
|
|
|
17
31
|
}, opts);
|
|
18
32
|
}
|
|
19
33
|
exports.getBlockSnapshot = getBlockSnapshot;
|
|
34
|
+
/**
|
|
35
|
+
* Gets information about a Block Snapshot.
|
|
36
|
+
*
|
|
37
|
+
* ## Example Usage
|
|
38
|
+
*
|
|
39
|
+
* ```typescript
|
|
40
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
41
|
+
* import * as scaleway from "@pulumi/scaleway";
|
|
42
|
+
*
|
|
43
|
+
* const mySnapshot = scaleway.getBlockSnapshot({
|
|
44
|
+
* snapshotId: "11111111-1111-1111-1111-111111111111",
|
|
45
|
+
* });
|
|
46
|
+
* ```
|
|
47
|
+
*/
|
|
20
48
|
function getBlockSnapshotOutput(args, opts) {
|
|
21
49
|
return pulumi.output(args).apply((a) => getBlockSnapshot(a, opts));
|
|
22
50
|
}
|
package/getBlockSnapshot.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getBlockSnapshot.js","sourceRoot":"","sources":["../getBlockSnapshot.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,SAAgB,gBAAgB,CAAC,IAA2B,EAAE,IAA2B;IACrF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,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,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,4CAWC;
|
|
1
|
+
{"version":3,"file":"getBlockSnapshot.js","sourceRoot":"","sources":["../getBlockSnapshot.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,gBAAgB,CAAC,IAA2B,EAAE,IAA2B;IACrF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,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,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,4CAWC;AA2CD;;;;;;;;;;;;;GAaG;AACH,SAAgB,sBAAsB,CAAC,IAAiC,EAAE,IAA2B;IACjG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,gBAAgB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC3E,CAAC;AAFD,wDAEC"}
|
package/getConfig.d.ts
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
export declare function getConfig(opts?: pulumi.InvokeOptions): Promise<GetConfigResult>;
|
|
3
|
+
/**
|
|
4
|
+
* A collection of values returned by getConfig.
|
|
5
|
+
*/
|
|
6
|
+
export interface GetConfigResult {
|
|
7
|
+
readonly accessKey: string;
|
|
8
|
+
readonly accessKeySource: string;
|
|
9
|
+
/**
|
|
10
|
+
* The provider-assigned unique ID for this managed resource.
|
|
11
|
+
*/
|
|
12
|
+
readonly id: string;
|
|
13
|
+
readonly projectId: string;
|
|
14
|
+
readonly projectIdSource: string;
|
|
15
|
+
readonly region: string;
|
|
16
|
+
readonly regionSource: string;
|
|
17
|
+
readonly secretKey: string;
|
|
18
|
+
readonly secretKeySource: string;
|
|
19
|
+
readonly zone: string;
|
|
20
|
+
readonly zoneSource: string;
|
|
21
|
+
}
|
|
22
|
+
export declare function getConfigOutput(opts?: pulumi.InvokeOptions): pulumi.Output<GetConfigResult>;
|
package/getConfig.js
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getConfigOutput = exports.getConfig = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
function getConfig(opts) {
|
|
9
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
10
|
+
return pulumi.runtime.invoke("scaleway:index/getConfig:getConfig", {}, opts);
|
|
11
|
+
}
|
|
12
|
+
exports.getConfig = getConfig;
|
|
13
|
+
function getConfigOutput(opts) {
|
|
14
|
+
return pulumi.output(getConfig(opts));
|
|
15
|
+
}
|
|
16
|
+
exports.getConfigOutput = getConfigOutput;
|
|
17
|
+
//# sourceMappingURL=getConfig.js.map
|
package/getConfig.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getConfig.js","sourceRoot":"","sources":["../getConfig.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,SAAgB,SAAS,CAAC,IAA2B;IAEjD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oCAAoC,EAAE,EAClE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,8BAKC;AAqBD,SAAgB,eAAe,CAAC,IAA2B;IACvD,OAAO,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAA;AACzC,CAAC;AAFD,0CAEC"}
|
package/getContainer.d.ts
CHANGED
|
@@ -135,6 +135,10 @@ export interface GetContainerResult {
|
|
|
135
135
|
* The sha256 of your source registry image, changing it will re-apply the deployment. Can be any string.
|
|
136
136
|
*/
|
|
137
137
|
readonly registrySha256: string;
|
|
138
|
+
/**
|
|
139
|
+
* (Optional) Execution environment of the container.
|
|
140
|
+
*/
|
|
141
|
+
readonly sandbox: string;
|
|
138
142
|
readonly secretEnvironmentVariables: {
|
|
139
143
|
[key: string]: string;
|
|
140
144
|
};
|
package/getContainer.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getContainer.js","sourceRoot":"","sources":["../getContainer.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAE5E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0CAA0C,EAAE;QACrE,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,oCAUC;
|
|
1
|
+
{"version":3,"file":"getContainer.js","sourceRoot":"","sources":["../getContainer.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAE5E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0CAA0C,EAAE;QACrE,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,oCAUC;AA0HD;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IACxF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,YAAY,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACvE,CAAC;AAFD,gDAEC"}
|
package/getDatabase.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* Gets information about a
|
|
3
|
+
* Gets information about a database.
|
|
4
4
|
*
|
|
5
5
|
* ## Example Usage
|
|
6
6
|
*
|
|
@@ -54,7 +54,7 @@ export interface GetDatabaseResult {
|
|
|
54
54
|
readonly size: string;
|
|
55
55
|
}
|
|
56
56
|
/**
|
|
57
|
-
* Gets information about a
|
|
57
|
+
* Gets information about a database.
|
|
58
58
|
*
|
|
59
59
|
* ## Example Usage
|
|
60
60
|
*
|