@pulumiverse/scaleway 1.17.0 → 1.18.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/accountProject.d.ts +8 -8
- package/accountProject.js +1 -1
- package/accountSshKey.d.ts +4 -2
- package/accountSshKey.js +4 -2
- package/accountSshKey.js.map +1 -1
- package/container.d.ts +65 -71
- package/container.js +17 -17
- package/container.js.map +1 -1
- package/containerCron.d.ts +19 -35
- package/containerCron.js +5 -12
- package/containerCron.js.map +1 -1
- package/containerDomain.d.ts +14 -11
- package/containerDomain.js +6 -3
- package/containerDomain.js.map +1 -1
- package/containerNamespace.d.ts +19 -19
- package/containerNamespace.js +5 -5
- package/containerToken.d.ts +16 -17
- package/containerToken.js +4 -5
- package/containerToken.js.map +1 -1
- package/containerTrigger.d.ts +20 -19
- package/containerTrigger.js +5 -4
- package/containerTrigger.js.map +1 -1
- package/function.d.ts +50 -73
- package/function.js +1 -24
- package/function.js.map +1 -1
- package/functionCron.d.ts +19 -27
- package/functionCron.js +5 -7
- package/functionCron.js.map +1 -1
- package/functionDomain.d.ts +25 -21
- package/functionDomain.js +5 -4
- package/functionDomain.js.map +1 -1
- package/functionNamespace.d.ts +22 -22
- package/functionNamespace.js +5 -5
- package/functionToken.d.ts +16 -17
- package/functionToken.js +4 -5
- package/functionToken.js.map +1 -1
- package/functionTrigger.d.ts +20 -19
- package/functionTrigger.js +5 -4
- package/functionTrigger.js.map +1 -1
- package/getAccountProject.d.ts +14 -8
- package/getAccountProject.js +6 -2
- package/getAccountProject.js.map +1 -1
- package/getAccountSshKey.d.ts +14 -10
- package/getAccountSshKey.js +6 -2
- package/getAccountSshKey.js.map +1 -1
- package/getAvailabilityZones.d.ts +17 -9
- package/getAvailabilityZones.js +14 -6
- package/getAvailabilityZones.js.map +1 -1
- package/getContainer.d.ts +50 -42
- package/getContainer.js +40 -10
- package/getContainer.js.map +1 -1
- package/getContainerNamespace.d.ts +26 -16
- package/getContainerNamespace.js +18 -4
- package/getContainerNamespace.js.map +1 -1
- package/getFunction.d.ts +20 -12
- package/getFunction.js +10 -2
- package/getFunction.js.map +1 -1
- package/getFunctionNamespace.d.ts +14 -14
- package/getFunctionNamespace.js +6 -2
- package/getFunctionNamespace.js.map +1 -1
- package/getObjectBucket.d.ts +22 -10
- package/getObjectBucket.js +20 -8
- package/getObjectBucket.js.map +1 -1
- package/getObjectBucketPolicy.d.ts +15 -9
- package/getObjectBucketPolicy.js +12 -6
- package/getObjectBucketPolicy.js.map +1 -1
- package/getTemDomain.d.ts +1 -0
- package/getTemDomain.js.map +1 -1
- package/index.d.ts +3 -0
- package/index.js +6 -1
- package/index.js.map +1 -1
- package/instanceServer.d.ts +17 -0
- package/instanceServer.js +17 -0
- package/instanceServer.js.map +1 -1
- package/objectBucket.d.ts +30 -39
- package/objectBucket.js +7 -4
- package/objectBucket.js.map +1 -1
- package/objectBucketAcl.d.ts +10 -8
- package/objectBucketAcl.js +7 -5
- package/objectBucketAcl.js.map +1 -1
- package/objectBucketLockConfiguration.d.ts +10 -9
- package/objectBucketLockConfiguration.js +7 -6
- package/objectBucketLockConfiguration.js.map +1 -1
- package/objectBucketPolicy.d.ts +5 -4
- package/objectBucketPolicy.js +5 -4
- package/objectBucketPolicy.js.map +1 -1
- package/objectBucketWebsiteConfiguration.d.ts +11 -10
- package/objectBucketWebsiteConfiguration.js +5 -4
- package/objectBucketWebsiteConfiguration.js.map +1 -1
- package/objectItem.d.ts +34 -27
- package/objectItem.js +4 -3
- package/objectItem.js.map +1 -1
- package/package.json +2 -2
- package/sdbDatabase.d.ts +12 -10
- package/sdbDatabase.js +4 -2
- package/sdbDatabase.js.map +1 -1
- package/temDomain.d.ts +27 -0
- package/temDomain.js +17 -0
- package/temDomain.js.map +1 -1
- package/types/input.d.ts +42 -36
- package/types/output.d.ts +47 -37
- package/vpcPrivateNetwork.d.ts +1 -1
- package/vpcPrivateNetwork.js +1 -1
- package/vpcRoute.d.ts +187 -0
- package/vpcRoute.js +119 -0
- package/vpcRoute.js.map +1 -0
|
@@ -2,8 +2,9 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
6
|
-
*
|
|
5
|
+
* The `scaleway.ObjectBucketWebsiteConfiguration` resource allows you to deploy and manage a bucket website with [Scaleway Object storage](https://www.scaleway.com/en/docs/storage/object/).
|
|
6
|
+
*
|
|
7
|
+
* Refer to the [dedicated documentation](https://www.scaleway.com/en/docs/storage/object/how-to/use-bucket-website/) for more information on bucket websites.
|
|
7
8
|
*
|
|
8
9
|
* ## Example Usage
|
|
9
10
|
*
|
|
@@ -23,7 +24,7 @@ import * as outputs from "./types/output";
|
|
|
23
24
|
* });
|
|
24
25
|
* ```
|
|
25
26
|
*
|
|
26
|
-
* ### With
|
|
27
|
+
* ### With A Bucket Policy
|
|
27
28
|
*
|
|
28
29
|
* ```typescript
|
|
29
30
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -57,7 +58,7 @@ import * as outputs from "./types/output";
|
|
|
57
58
|
*
|
|
58
59
|
* ## Import
|
|
59
60
|
*
|
|
60
|
-
* Bucket website configurations can be imported using the `{region}/{bucketName}` identifier,
|
|
61
|
+
* Bucket website configurations can be imported using the `{region}/{bucketName}` identifier, as shown below:
|
|
61
62
|
*
|
|
62
63
|
* bash
|
|
63
64
|
*
|
|
@@ -96,11 +97,11 @@ export declare class ObjectBucketWebsiteConfiguration extends pulumi.CustomResou
|
|
|
96
97
|
*/
|
|
97
98
|
readonly bucket: pulumi.Output<string>;
|
|
98
99
|
/**
|
|
99
|
-
* The name of the error
|
|
100
|
+
* The name of the error file for the website detailed below.
|
|
100
101
|
*/
|
|
101
102
|
readonly errorDocument: pulumi.Output<outputs.ObjectBucketWebsiteConfigurationErrorDocument | undefined>;
|
|
102
103
|
/**
|
|
103
|
-
* The name of the index
|
|
104
|
+
* The name of the index file for the website detailed below.
|
|
104
105
|
*/
|
|
105
106
|
readonly indexDocument: pulumi.Output<outputs.ObjectBucketWebsiteConfigurationIndexDocument>;
|
|
106
107
|
/**
|
|
@@ -137,11 +138,11 @@ export interface ObjectBucketWebsiteConfigurationState {
|
|
|
137
138
|
*/
|
|
138
139
|
bucket?: pulumi.Input<string>;
|
|
139
140
|
/**
|
|
140
|
-
* The name of the error
|
|
141
|
+
* The name of the error file for the website detailed below.
|
|
141
142
|
*/
|
|
142
143
|
errorDocument?: pulumi.Input<inputs.ObjectBucketWebsiteConfigurationErrorDocument>;
|
|
143
144
|
/**
|
|
144
|
-
* The name of the index
|
|
145
|
+
* The name of the index file for the website detailed below.
|
|
145
146
|
*/
|
|
146
147
|
indexDocument?: pulumi.Input<inputs.ObjectBucketWebsiteConfigurationIndexDocument>;
|
|
147
148
|
/**
|
|
@@ -170,11 +171,11 @@ export interface ObjectBucketWebsiteConfigurationArgs {
|
|
|
170
171
|
*/
|
|
171
172
|
bucket: pulumi.Input<string>;
|
|
172
173
|
/**
|
|
173
|
-
* The name of the error
|
|
174
|
+
* The name of the error file for the website detailed below.
|
|
174
175
|
*/
|
|
175
176
|
errorDocument?: pulumi.Input<inputs.ObjectBucketWebsiteConfigurationErrorDocument>;
|
|
176
177
|
/**
|
|
177
|
-
* The name of the index
|
|
178
|
+
* The name of the index file for the website detailed below.
|
|
178
179
|
*/
|
|
179
180
|
indexDocument: pulumi.Input<inputs.ObjectBucketWebsiteConfigurationIndexDocument>;
|
|
180
181
|
/**
|
|
@@ -6,8 +6,9 @@ exports.ObjectBucketWebsiteConfiguration = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
10
|
-
*
|
|
9
|
+
* The `scaleway.ObjectBucketWebsiteConfiguration` resource allows you to deploy and manage a bucket website with [Scaleway Object storage](https://www.scaleway.com/en/docs/storage/object/).
|
|
10
|
+
*
|
|
11
|
+
* Refer to the [dedicated documentation](https://www.scaleway.com/en/docs/storage/object/how-to/use-bucket-website/) for more information on bucket websites.
|
|
11
12
|
*
|
|
12
13
|
* ## Example Usage
|
|
13
14
|
*
|
|
@@ -27,7 +28,7 @@ const utilities = require("./utilities");
|
|
|
27
28
|
* });
|
|
28
29
|
* ```
|
|
29
30
|
*
|
|
30
|
-
* ### With
|
|
31
|
+
* ### With A Bucket Policy
|
|
31
32
|
*
|
|
32
33
|
* ```typescript
|
|
33
34
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -61,7 +62,7 @@ const utilities = require("./utilities");
|
|
|
61
62
|
*
|
|
62
63
|
* ## Import
|
|
63
64
|
*
|
|
64
|
-
* Bucket website configurations can be imported using the `{region}/{bucketName}` identifier,
|
|
65
|
+
* Bucket website configurations can be imported using the `{region}/{bucketName}` identifier, as shown below:
|
|
65
66
|
*
|
|
66
67
|
* bash
|
|
67
68
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"objectBucketWebsiteConfiguration.js","sourceRoot":"","sources":["../objectBucketWebsiteConfiguration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"objectBucketWebsiteConfiguration.js","sourceRoot":"","sources":["../objectBucketWebsiteConfiguration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0EG;AACH,MAAa,gCAAiC,SAAQ,MAAM,CAAC,cAAc;IACvE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6C,EAAE,IAAmC;QAC3I,OAAO,IAAI,gCAAgC,CAAC,IAAI,EAAO,KAAK,kCAA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AI,CAAC,CAAC;IACrF,CAAC;;AA/FL,4EAgGC;AAlFG,gBAAgB;AACO,6CAAY,GAAG,kFAAkF,CAAC"}
|
package/objectItem.d.ts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
*
|
|
3
|
+
* The `scaleway.ObjectItem` resource allows you to create and manage objects for [Scaleway Object storage](https://www.scaleway.com/en/docs/storage/object/).
|
|
4
|
+
*
|
|
5
|
+
* Refer to the [dedicated documentation](https://www.scaleway.com/en/docs/storage/object/how-to/upload-files-into-a-bucket/) for more information on Object Storage objects.
|
|
5
6
|
*
|
|
6
7
|
* ## Import
|
|
7
8
|
*
|
|
8
|
-
* Objects can be imported using the `{region}/{bucketName}/{objectKey}` identifier,
|
|
9
|
+
* Objects can be imported using the `{region}/{bucketName}/{objectKey}` identifier, as shown below:
|
|
9
10
|
*
|
|
10
11
|
* bash
|
|
11
12
|
*
|
|
@@ -49,22 +50,24 @@ export declare class ObjectItem extends pulumi.CustomResource {
|
|
|
49
50
|
readonly content: pulumi.Output<string | undefined>;
|
|
50
51
|
/**
|
|
51
52
|
* The base64-encoded content of the file to upload. Only one of `file`, `content` or `contentBase64` can be defined.
|
|
53
|
+
*
|
|
54
|
+
* > **Note:** Only one of `file`, `content` or `contentBase64` can be defined.
|
|
52
55
|
*/
|
|
53
56
|
readonly contentBase64: pulumi.Output<string | undefined>;
|
|
54
57
|
/**
|
|
55
|
-
* The name of the file to upload, defaults to an empty file.
|
|
58
|
+
* The name of the file to upload, defaults to an empty file.
|
|
56
59
|
*/
|
|
57
60
|
readonly file: pulumi.Output<string | undefined>;
|
|
58
61
|
/**
|
|
59
|
-
* Hash of the file, used to trigger upload on file change
|
|
62
|
+
* Hash of the file, used to trigger the upload on file change.
|
|
60
63
|
*/
|
|
61
64
|
readonly hash: pulumi.Output<string | undefined>;
|
|
62
65
|
/**
|
|
63
|
-
* The path
|
|
66
|
+
* The path to the object.
|
|
64
67
|
*/
|
|
65
68
|
readonly key: pulumi.Output<string>;
|
|
66
69
|
/**
|
|
67
|
-
* Map of metadata used for the object
|
|
70
|
+
* Map of metadata used for the object (keys must be lowercase).
|
|
68
71
|
*/
|
|
69
72
|
readonly metadata: pulumi.Output<{
|
|
70
73
|
[key: string]: string;
|
|
@@ -74,21 +77,21 @@ export declare class ObjectItem extends pulumi.CustomResource {
|
|
|
74
77
|
*/
|
|
75
78
|
readonly projectId: pulumi.Output<string>;
|
|
76
79
|
/**
|
|
77
|
-
* The Scaleway region
|
|
80
|
+
* The Scaleway region the bucket resides in.
|
|
78
81
|
*/
|
|
79
82
|
readonly region: pulumi.Output<string>;
|
|
80
83
|
/**
|
|
81
|
-
* Specifies the Scaleway [storage class](https://www.scaleway.com/en/docs/storage/object/concepts/#storage-class) `STANDARD`, `GLACIER`, `ONEZONE_IA` used to store the object.
|
|
84
|
+
* Specifies the Scaleway [storage class](https://www.scaleway.com/en/docs/storage/object/concepts/#storage-class) (`STANDARD`, `GLACIER`, or `ONEZONE_IA`) used to store the object.
|
|
82
85
|
*/
|
|
83
86
|
readonly storageClass: pulumi.Output<string | undefined>;
|
|
84
87
|
/**
|
|
85
|
-
* Map of tags
|
|
88
|
+
* Map of tags.
|
|
86
89
|
*/
|
|
87
90
|
readonly tags: pulumi.Output<{
|
|
88
91
|
[key: string]: string;
|
|
89
92
|
} | undefined>;
|
|
90
93
|
/**
|
|
91
|
-
* Visibility of the object, `public-read` or `private
|
|
94
|
+
* Visibility of the object, `public-read` or `private`.
|
|
92
95
|
*/
|
|
93
96
|
readonly visibility: pulumi.Output<string>;
|
|
94
97
|
/**
|
|
@@ -114,22 +117,24 @@ export interface ObjectItemState {
|
|
|
114
117
|
content?: pulumi.Input<string>;
|
|
115
118
|
/**
|
|
116
119
|
* The base64-encoded content of the file to upload. Only one of `file`, `content` or `contentBase64` can be defined.
|
|
120
|
+
*
|
|
121
|
+
* > **Note:** Only one of `file`, `content` or `contentBase64` can be defined.
|
|
117
122
|
*/
|
|
118
123
|
contentBase64?: pulumi.Input<string>;
|
|
119
124
|
/**
|
|
120
|
-
* The name of the file to upload, defaults to an empty file.
|
|
125
|
+
* The name of the file to upload, defaults to an empty file.
|
|
121
126
|
*/
|
|
122
127
|
file?: pulumi.Input<string>;
|
|
123
128
|
/**
|
|
124
|
-
* Hash of the file, used to trigger upload on file change
|
|
129
|
+
* Hash of the file, used to trigger the upload on file change.
|
|
125
130
|
*/
|
|
126
131
|
hash?: pulumi.Input<string>;
|
|
127
132
|
/**
|
|
128
|
-
* The path
|
|
133
|
+
* The path to the object.
|
|
129
134
|
*/
|
|
130
135
|
key?: pulumi.Input<string>;
|
|
131
136
|
/**
|
|
132
|
-
* Map of metadata used for the object
|
|
137
|
+
* Map of metadata used for the object (keys must be lowercase).
|
|
133
138
|
*/
|
|
134
139
|
metadata?: pulumi.Input<{
|
|
135
140
|
[key: string]: pulumi.Input<string>;
|
|
@@ -139,21 +144,21 @@ export interface ObjectItemState {
|
|
|
139
144
|
*/
|
|
140
145
|
projectId?: pulumi.Input<string>;
|
|
141
146
|
/**
|
|
142
|
-
* The Scaleway region
|
|
147
|
+
* The Scaleway region the bucket resides in.
|
|
143
148
|
*/
|
|
144
149
|
region?: pulumi.Input<string>;
|
|
145
150
|
/**
|
|
146
|
-
* Specifies the Scaleway [storage class](https://www.scaleway.com/en/docs/storage/object/concepts/#storage-class) `STANDARD`, `GLACIER`, `ONEZONE_IA` used to store the object.
|
|
151
|
+
* Specifies the Scaleway [storage class](https://www.scaleway.com/en/docs/storage/object/concepts/#storage-class) (`STANDARD`, `GLACIER`, or `ONEZONE_IA`) used to store the object.
|
|
147
152
|
*/
|
|
148
153
|
storageClass?: pulumi.Input<string>;
|
|
149
154
|
/**
|
|
150
|
-
* Map of tags
|
|
155
|
+
* Map of tags.
|
|
151
156
|
*/
|
|
152
157
|
tags?: pulumi.Input<{
|
|
153
158
|
[key: string]: pulumi.Input<string>;
|
|
154
159
|
}>;
|
|
155
160
|
/**
|
|
156
|
-
* Visibility of the object, `public-read` or `private
|
|
161
|
+
* Visibility of the object, `public-read` or `private`.
|
|
157
162
|
*/
|
|
158
163
|
visibility?: pulumi.Input<string>;
|
|
159
164
|
}
|
|
@@ -171,22 +176,24 @@ export interface ObjectItemArgs {
|
|
|
171
176
|
content?: pulumi.Input<string>;
|
|
172
177
|
/**
|
|
173
178
|
* The base64-encoded content of the file to upload. Only one of `file`, `content` or `contentBase64` can be defined.
|
|
179
|
+
*
|
|
180
|
+
* > **Note:** Only one of `file`, `content` or `contentBase64` can be defined.
|
|
174
181
|
*/
|
|
175
182
|
contentBase64?: pulumi.Input<string>;
|
|
176
183
|
/**
|
|
177
|
-
* The name of the file to upload, defaults to an empty file.
|
|
184
|
+
* The name of the file to upload, defaults to an empty file.
|
|
178
185
|
*/
|
|
179
186
|
file?: pulumi.Input<string>;
|
|
180
187
|
/**
|
|
181
|
-
* Hash of the file, used to trigger upload on file change
|
|
188
|
+
* Hash of the file, used to trigger the upload on file change.
|
|
182
189
|
*/
|
|
183
190
|
hash?: pulumi.Input<string>;
|
|
184
191
|
/**
|
|
185
|
-
* The path
|
|
192
|
+
* The path to the object.
|
|
186
193
|
*/
|
|
187
194
|
key: pulumi.Input<string>;
|
|
188
195
|
/**
|
|
189
|
-
* Map of metadata used for the object
|
|
196
|
+
* Map of metadata used for the object (keys must be lowercase).
|
|
190
197
|
*/
|
|
191
198
|
metadata?: pulumi.Input<{
|
|
192
199
|
[key: string]: pulumi.Input<string>;
|
|
@@ -196,21 +203,21 @@ export interface ObjectItemArgs {
|
|
|
196
203
|
*/
|
|
197
204
|
projectId?: pulumi.Input<string>;
|
|
198
205
|
/**
|
|
199
|
-
* The Scaleway region
|
|
206
|
+
* The Scaleway region the bucket resides in.
|
|
200
207
|
*/
|
|
201
208
|
region?: pulumi.Input<string>;
|
|
202
209
|
/**
|
|
203
|
-
* Specifies the Scaleway [storage class](https://www.scaleway.com/en/docs/storage/object/concepts/#storage-class) `STANDARD`, `GLACIER`, `ONEZONE_IA` used to store the object.
|
|
210
|
+
* Specifies the Scaleway [storage class](https://www.scaleway.com/en/docs/storage/object/concepts/#storage-class) (`STANDARD`, `GLACIER`, or `ONEZONE_IA`) used to store the object.
|
|
204
211
|
*/
|
|
205
212
|
storageClass?: pulumi.Input<string>;
|
|
206
213
|
/**
|
|
207
|
-
* Map of tags
|
|
214
|
+
* Map of tags.
|
|
208
215
|
*/
|
|
209
216
|
tags?: pulumi.Input<{
|
|
210
217
|
[key: string]: pulumi.Input<string>;
|
|
211
218
|
}>;
|
|
212
219
|
/**
|
|
213
|
-
* Visibility of the object, `public-read` or `private
|
|
220
|
+
* Visibility of the object, `public-read` or `private`.
|
|
214
221
|
*/
|
|
215
222
|
visibility?: pulumi.Input<string>;
|
|
216
223
|
}
|
package/objectItem.js
CHANGED
|
@@ -6,12 +6,13 @@ exports.ObjectItem = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
10
|
-
*
|
|
9
|
+
* The `scaleway.ObjectItem` resource allows you to create and manage objects for [Scaleway Object storage](https://www.scaleway.com/en/docs/storage/object/).
|
|
10
|
+
*
|
|
11
|
+
* Refer to the [dedicated documentation](https://www.scaleway.com/en/docs/storage/object/how-to/upload-files-into-a-bucket/) for more information on Object Storage objects.
|
|
11
12
|
*
|
|
12
13
|
* ## Import
|
|
13
14
|
*
|
|
14
|
-
* Objects can be imported using the `{region}/{bucketName}/{objectKey}` identifier,
|
|
15
|
+
* Objects can be imported using the `{region}/{bucketName}/{objectKey}` identifier, as shown below:
|
|
15
16
|
*
|
|
16
17
|
* bash
|
|
17
18
|
*
|
package/objectItem.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"objectItem.js","sourceRoot":"","sources":["../objectItem.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAA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,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,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,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AA/HL,gCAgIC;AAlHG,gBAAgB;AACO,uBAAY,GAAG,sCAAsC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumiverse/scaleway",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.18.0",
|
|
4
4
|
"description": "A Pulumi package for creating and managing Scaleway cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"pulumi": {
|
|
25
25
|
"resource": true,
|
|
26
26
|
"name": "scaleway",
|
|
27
|
-
"version": "1.
|
|
27
|
+
"version": "1.18.0",
|
|
28
28
|
"server": "github://api.github.com/pulumiverse"
|
|
29
29
|
}
|
|
30
30
|
}
|
package/sdbDatabase.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* The `scaleway.SdbDatabase` resource allows you to create and manage databases for Scaleway Serverless SQL Databases.
|
|
4
|
+
*
|
|
5
|
+
* Refer to the Serverless SQL Databases [documentation](https://www.scaleway.com/en/docs/serverless/sql-databases/) and [API documentation](https://www.scaleway.com/en/developers/api/serverless-databases/) for more information.
|
|
4
6
|
*
|
|
5
7
|
* ## Example Usage
|
|
6
8
|
*
|
|
@@ -19,7 +21,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
19
21
|
*
|
|
20
22
|
* ## Import
|
|
21
23
|
*
|
|
22
|
-
* Serverless SQL
|
|
24
|
+
* Serverless SQL Databases can be imported using the `{region}/{id}`, as shown below:
|
|
23
25
|
*
|
|
24
26
|
* bash
|
|
25
27
|
*
|
|
@@ -44,7 +46,7 @@ export declare class SdbDatabase extends pulumi.CustomResource {
|
|
|
44
46
|
*/
|
|
45
47
|
static isInstance(obj: any): obj is SdbDatabase;
|
|
46
48
|
/**
|
|
47
|
-
*
|
|
49
|
+
* The endpoint of the database.
|
|
48
50
|
*/
|
|
49
51
|
readonly endpoint: pulumi.Output<string>;
|
|
50
52
|
/**
|
|
@@ -56,9 +58,9 @@ export declare class SdbDatabase extends pulumi.CustomResource {
|
|
|
56
58
|
*/
|
|
57
59
|
readonly minCpu: pulumi.Output<number | undefined>;
|
|
58
60
|
/**
|
|
59
|
-
*
|
|
61
|
+
* The name of the database (e.g. `my-new-database`).
|
|
60
62
|
*
|
|
61
|
-
* > **Important:** Updates to `name` will recreate the database.
|
|
63
|
+
* > **Important:** Updates to the `name` argument will recreate the database.
|
|
62
64
|
*/
|
|
63
65
|
readonly name: pulumi.Output<string>;
|
|
64
66
|
/**
|
|
@@ -83,7 +85,7 @@ export declare class SdbDatabase extends pulumi.CustomResource {
|
|
|
83
85
|
*/
|
|
84
86
|
export interface SdbDatabaseState {
|
|
85
87
|
/**
|
|
86
|
-
*
|
|
88
|
+
* The endpoint of the database.
|
|
87
89
|
*/
|
|
88
90
|
endpoint?: pulumi.Input<string>;
|
|
89
91
|
/**
|
|
@@ -95,9 +97,9 @@ export interface SdbDatabaseState {
|
|
|
95
97
|
*/
|
|
96
98
|
minCpu?: pulumi.Input<number>;
|
|
97
99
|
/**
|
|
98
|
-
*
|
|
100
|
+
* The name of the database (e.g. `my-new-database`).
|
|
99
101
|
*
|
|
100
|
-
* > **Important:** Updates to `name` will recreate the database.
|
|
102
|
+
* > **Important:** Updates to the `name` argument will recreate the database.
|
|
101
103
|
*/
|
|
102
104
|
name?: pulumi.Input<string>;
|
|
103
105
|
/**
|
|
@@ -122,9 +124,9 @@ export interface SdbDatabaseArgs {
|
|
|
122
124
|
*/
|
|
123
125
|
minCpu?: pulumi.Input<number>;
|
|
124
126
|
/**
|
|
125
|
-
*
|
|
127
|
+
* The name of the database (e.g. `my-new-database`).
|
|
126
128
|
*
|
|
127
|
-
* > **Important:** Updates to `name` will recreate the database.
|
|
129
|
+
* > **Important:** Updates to the `name` argument will recreate the database.
|
|
128
130
|
*/
|
|
129
131
|
name?: pulumi.Input<string>;
|
|
130
132
|
/**
|
package/sdbDatabase.js
CHANGED
|
@@ -6,7 +6,9 @@ exports.SdbDatabase = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* The `scaleway.SdbDatabase` resource allows you to create and manage databases for Scaleway Serverless SQL Databases.
|
|
10
|
+
*
|
|
11
|
+
* Refer to the Serverless SQL Databases [documentation](https://www.scaleway.com/en/docs/serverless/sql-databases/) and [API documentation](https://www.scaleway.com/en/developers/api/serverless-databases/) for more information.
|
|
10
12
|
*
|
|
11
13
|
* ## Example Usage
|
|
12
14
|
*
|
|
@@ -25,7 +27,7 @@ const utilities = require("./utilities");
|
|
|
25
27
|
*
|
|
26
28
|
* ## Import
|
|
27
29
|
*
|
|
28
|
-
* Serverless SQL
|
|
30
|
+
* Serverless SQL Databases can be imported using the `{region}/{id}`, as shown below:
|
|
29
31
|
*
|
|
30
32
|
* bash
|
|
31
33
|
*
|
package/sdbDatabase.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sdbDatabase.js","sourceRoot":"","sources":["../sdbDatabase.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;A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@@ -55,6 +55,21 @@ import * as outputs from "./types/output";
|
|
|
55
55
|
* });
|
|
56
56
|
* ```
|
|
57
57
|
*
|
|
58
|
+
* ### Automatically Configure DNS Settings for Your Domain
|
|
59
|
+
*
|
|
60
|
+
* ```typescript
|
|
61
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
62
|
+
* import * as scaleway from "@pulumiverse/scaleway";
|
|
63
|
+
*
|
|
64
|
+
* const config = new pulumi.Config();
|
|
65
|
+
* const domainName = config.require("domainName");
|
|
66
|
+
* const main = new scaleway.TemDomain("main", {
|
|
67
|
+
* name: domainName,
|
|
68
|
+
* acceptTos: true,
|
|
69
|
+
* autoconfig: true,
|
|
70
|
+
* });
|
|
71
|
+
* ```
|
|
72
|
+
*
|
|
58
73
|
* ## Import
|
|
59
74
|
*
|
|
60
75
|
* Domains can be imported using the `{region}/{id}`, e.g.
|
|
@@ -86,6 +101,10 @@ export declare class TemDomain extends pulumi.CustomResource {
|
|
|
86
101
|
* > **Important:** This attribute must be set to `true`.
|
|
87
102
|
*/
|
|
88
103
|
readonly acceptTos: pulumi.Output<boolean>;
|
|
104
|
+
/**
|
|
105
|
+
* Automatically configures DNS settings for the domain, simplifying the setup process by applying predefined configurations.
|
|
106
|
+
*/
|
|
107
|
+
readonly autoconfig: pulumi.Output<boolean | undefined>;
|
|
89
108
|
/**
|
|
90
109
|
* The date and time of the Transaction Email Domain's creation (RFC 3339 format).
|
|
91
110
|
*/
|
|
@@ -195,6 +214,10 @@ export interface TemDomainState {
|
|
|
195
214
|
* > **Important:** This attribute must be set to `true`.
|
|
196
215
|
*/
|
|
197
216
|
acceptTos?: pulumi.Input<boolean>;
|
|
217
|
+
/**
|
|
218
|
+
* Automatically configures DNS settings for the domain, simplifying the setup process by applying predefined configurations.
|
|
219
|
+
*/
|
|
220
|
+
autoconfig?: pulumi.Input<boolean>;
|
|
198
221
|
/**
|
|
199
222
|
* The date and time of the Transaction Email Domain's creation (RFC 3339 format).
|
|
200
223
|
*/
|
|
@@ -296,6 +319,10 @@ export interface TemDomainArgs {
|
|
|
296
319
|
* > **Important:** This attribute must be set to `true`.
|
|
297
320
|
*/
|
|
298
321
|
acceptTos: pulumi.Input<boolean>;
|
|
322
|
+
/**
|
|
323
|
+
* Automatically configures DNS settings for the domain, simplifying the setup process by applying predefined configurations.
|
|
324
|
+
*/
|
|
325
|
+
autoconfig?: pulumi.Input<boolean>;
|
|
299
326
|
/**
|
|
300
327
|
* The domain name, must not be used in another Transactional Email Domain.
|
|
301
328
|
* > **Important:** Updates to `name` will recreate the domain.
|
package/temDomain.js
CHANGED
|
@@ -59,6 +59,21 @@ const utilities = require("./utilities");
|
|
|
59
59
|
* });
|
|
60
60
|
* ```
|
|
61
61
|
*
|
|
62
|
+
* ### Automatically Configure DNS Settings for Your Domain
|
|
63
|
+
*
|
|
64
|
+
* ```typescript
|
|
65
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
66
|
+
* import * as scaleway from "@pulumiverse/scaleway";
|
|
67
|
+
*
|
|
68
|
+
* const config = new pulumi.Config();
|
|
69
|
+
* const domainName = config.require("domainName");
|
|
70
|
+
* const main = new scaleway.TemDomain("main", {
|
|
71
|
+
* name: domainName,
|
|
72
|
+
* acceptTos: true,
|
|
73
|
+
* autoconfig: true,
|
|
74
|
+
* });
|
|
75
|
+
* ```
|
|
76
|
+
*
|
|
62
77
|
* ## Import
|
|
63
78
|
*
|
|
64
79
|
* Domains can be imported using the `{region}/{id}`, e.g.
|
|
@@ -98,6 +113,7 @@ class TemDomain extends pulumi.CustomResource {
|
|
|
98
113
|
if (opts.id) {
|
|
99
114
|
const state = argsOrState;
|
|
100
115
|
resourceInputs["acceptTos"] = state ? state.acceptTos : undefined;
|
|
116
|
+
resourceInputs["autoconfig"] = state ? state.autoconfig : undefined;
|
|
101
117
|
resourceInputs["createdAt"] = state ? state.createdAt : undefined;
|
|
102
118
|
resourceInputs["dkimConfig"] = state ? state.dkimConfig : undefined;
|
|
103
119
|
resourceInputs["dmarcConfig"] = state ? state.dmarcConfig : undefined;
|
|
@@ -127,6 +143,7 @@ class TemDomain extends pulumi.CustomResource {
|
|
|
127
143
|
throw new Error("Missing required property 'acceptTos'");
|
|
128
144
|
}
|
|
129
145
|
resourceInputs["acceptTos"] = args ? args.acceptTos : undefined;
|
|
146
|
+
resourceInputs["autoconfig"] = args ? args.autoconfig : undefined;
|
|
130
147
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
131
148
|
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
|
132
149
|
resourceInputs["region"] = args ? args.region : undefined;
|
package/temDomain.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"temDomain.js","sourceRoot":"","sources":["../temDomain.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"temDomain.js","sourceRoot":"","sources":["../temDomain.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8EG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsB,EAAE,IAAmC;QACpH,OAAO,IAAI,SAAS,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChE,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,SAAS,CAAC,YAAY,CAAC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