pulumiverse-scaleway 1.17.0a1730194779__py3-none-any.whl → 1.18.0__py3-none-any.whl
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.
Potentially problematic release.
This version of pulumiverse-scaleway might be problematic. Click here for more details.
- pulumiverse_scaleway/__init__.py +9 -0
- pulumiverse_scaleway/_inputs.py +133 -107
- pulumiverse_scaleway/account_project.py +17 -17
- pulumiverse_scaleway/account_ssh_key.py +8 -4
- pulumiverse_scaleway/container.py +146 -160
- pulumiverse_scaleway/container_cron.py +42 -77
- pulumiverse_scaleway/container_domain.py +30 -24
- pulumiverse_scaleway/container_namespace.py +42 -42
- pulumiverse_scaleway/container_token.py +36 -38
- pulumiverse_scaleway/container_trigger.py +45 -43
- pulumiverse_scaleway/function.py +112 -154
- pulumiverse_scaleway/function_cron.py +42 -60
- pulumiverse_scaleway/function_domain.py +56 -47
- pulumiverse_scaleway/function_namespace.py +49 -49
- pulumiverse_scaleway/function_token.py +36 -38
- pulumiverse_scaleway/function_trigger.py +45 -43
- pulumiverse_scaleway/get_account_project.py +14 -8
- pulumiverse_scaleway/get_account_ssh_key.py +14 -10
- pulumiverse_scaleway/get_availability_zones.py +17 -9
- pulumiverse_scaleway/get_container.py +50 -30
- pulumiverse_scaleway/get_container_namespace.py +26 -16
- pulumiverse_scaleway/get_function.py +20 -12
- pulumiverse_scaleway/get_function_namespace.py +14 -14
- pulumiverse_scaleway/get_object_bucket.py +22 -10
- pulumiverse_scaleway/get_object_bucket_policy.py +15 -9
- pulumiverse_scaleway/get_tem_domain.py +12 -1
- pulumiverse_scaleway/instance_server.py +32 -0
- pulumiverse_scaleway/object_bucket.py +67 -81
- pulumiverse_scaleway/object_bucket_acl.py +21 -17
- pulumiverse_scaleway/object_bucket_lock_configuration.py +21 -19
- pulumiverse_scaleway/object_bucket_policy.py +10 -8
- pulumiverse_scaleway/object_bucket_website_configuration.py +24 -22
- pulumiverse_scaleway/object_item.py +78 -62
- pulumiverse_scaleway/outputs.py +102 -73
- pulumiverse_scaleway/pulumi-plugin.json +1 -1
- pulumiverse_scaleway/sdb_database.py +26 -22
- pulumiverse_scaleway/tem_domain.py +75 -0
- pulumiverse_scaleway/vpc_private_network.py +2 -2
- pulumiverse_scaleway/vpc_route.py +577 -0
- {pulumiverse_scaleway-1.17.0a1730194779.dist-info → pulumiverse_scaleway-1.18.0.dist-info}/METADATA +1 -1
- {pulumiverse_scaleway-1.17.0a1730194779.dist-info → pulumiverse_scaleway-1.18.0.dist-info}/RECORD +43 -42
- {pulumiverse_scaleway-1.17.0a1730194779.dist-info → pulumiverse_scaleway-1.18.0.dist-info}/WHEEL +1 -1
- {pulumiverse_scaleway-1.17.0a1730194779.dist-info → pulumiverse_scaleway-1.18.0.dist-info}/top_level.txt +0 -0
|
@@ -34,17 +34,19 @@ class ObjectItemArgs:
|
|
|
34
34
|
"""
|
|
35
35
|
The set of arguments for constructing a ObjectItem resource.
|
|
36
36
|
:param pulumi.Input[str] bucket: The bucket's name or regional ID.
|
|
37
|
-
:param pulumi.Input[str] key: The path
|
|
37
|
+
:param pulumi.Input[str] key: The path to the object.
|
|
38
38
|
:param pulumi.Input[str] content: The content of the file to upload. Only one of `file`, `content` or `content_base64` can be defined.
|
|
39
39
|
:param pulumi.Input[str] content_base64: The base64-encoded content of the file to upload. Only one of `file`, `content` or `content_base64` can be defined.
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
:param pulumi.Input[
|
|
40
|
+
|
|
41
|
+
> **Note:** Only one of `file`, `content` or `content_base64` can be defined.
|
|
42
|
+
:param pulumi.Input[str] file: The name of the file to upload, defaults to an empty file.
|
|
43
|
+
:param pulumi.Input[str] hash: Hash of the file, used to trigger the upload on file change.
|
|
44
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] metadata: Map of metadata used for the object (keys must be lowercase).
|
|
43
45
|
:param pulumi.Input[str] project_id: The project_id you want to attach the resource to
|
|
44
|
-
:param pulumi.Input[str] region: The Scaleway region
|
|
45
|
-
:param pulumi.Input[str] storage_class: 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.
|
|
46
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Map of tags
|
|
47
|
-
:param pulumi.Input[str] visibility: Visibility of the object, `public-read` or `private
|
|
46
|
+
:param pulumi.Input[str] region: The Scaleway region the bucket resides in.
|
|
47
|
+
:param pulumi.Input[str] storage_class: 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.
|
|
48
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Map of tags.
|
|
49
|
+
:param pulumi.Input[str] visibility: Visibility of the object, `public-read` or `private`.
|
|
48
50
|
"""
|
|
49
51
|
pulumi.set(__self__, "bucket", bucket)
|
|
50
52
|
pulumi.set(__self__, "key", key)
|
|
@@ -85,7 +87,7 @@ class ObjectItemArgs:
|
|
|
85
87
|
@pulumi.getter
|
|
86
88
|
def key(self) -> pulumi.Input[str]:
|
|
87
89
|
"""
|
|
88
|
-
The path
|
|
90
|
+
The path to the object.
|
|
89
91
|
"""
|
|
90
92
|
return pulumi.get(self, "key")
|
|
91
93
|
|
|
@@ -110,6 +112,8 @@ class ObjectItemArgs:
|
|
|
110
112
|
def content_base64(self) -> Optional[pulumi.Input[str]]:
|
|
111
113
|
"""
|
|
112
114
|
The base64-encoded content of the file to upload. Only one of `file`, `content` or `content_base64` can be defined.
|
|
115
|
+
|
|
116
|
+
> **Note:** Only one of `file`, `content` or `content_base64` can be defined.
|
|
113
117
|
"""
|
|
114
118
|
return pulumi.get(self, "content_base64")
|
|
115
119
|
|
|
@@ -121,7 +125,7 @@ class ObjectItemArgs:
|
|
|
121
125
|
@pulumi.getter
|
|
122
126
|
def file(self) -> Optional[pulumi.Input[str]]:
|
|
123
127
|
"""
|
|
124
|
-
The name of the file to upload, defaults to an empty file.
|
|
128
|
+
The name of the file to upload, defaults to an empty file.
|
|
125
129
|
"""
|
|
126
130
|
return pulumi.get(self, "file")
|
|
127
131
|
|
|
@@ -133,7 +137,7 @@ class ObjectItemArgs:
|
|
|
133
137
|
@pulumi.getter
|
|
134
138
|
def hash(self) -> Optional[pulumi.Input[str]]:
|
|
135
139
|
"""
|
|
136
|
-
Hash of the file, used to trigger upload on file change
|
|
140
|
+
Hash of the file, used to trigger the upload on file change.
|
|
137
141
|
"""
|
|
138
142
|
return pulumi.get(self, "hash")
|
|
139
143
|
|
|
@@ -145,7 +149,7 @@ class ObjectItemArgs:
|
|
|
145
149
|
@pulumi.getter
|
|
146
150
|
def metadata(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
147
151
|
"""
|
|
148
|
-
Map of metadata used for the object
|
|
152
|
+
Map of metadata used for the object (keys must be lowercase).
|
|
149
153
|
"""
|
|
150
154
|
return pulumi.get(self, "metadata")
|
|
151
155
|
|
|
@@ -169,7 +173,7 @@ class ObjectItemArgs:
|
|
|
169
173
|
@pulumi.getter
|
|
170
174
|
def region(self) -> Optional[pulumi.Input[str]]:
|
|
171
175
|
"""
|
|
172
|
-
The Scaleway region
|
|
176
|
+
The Scaleway region the bucket resides in.
|
|
173
177
|
"""
|
|
174
178
|
return pulumi.get(self, "region")
|
|
175
179
|
|
|
@@ -181,7 +185,7 @@ class ObjectItemArgs:
|
|
|
181
185
|
@pulumi.getter(name="storageClass")
|
|
182
186
|
def storage_class(self) -> Optional[pulumi.Input[str]]:
|
|
183
187
|
"""
|
|
184
|
-
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.
|
|
188
|
+
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.
|
|
185
189
|
"""
|
|
186
190
|
return pulumi.get(self, "storage_class")
|
|
187
191
|
|
|
@@ -193,7 +197,7 @@ class ObjectItemArgs:
|
|
|
193
197
|
@pulumi.getter
|
|
194
198
|
def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
195
199
|
"""
|
|
196
|
-
Map of tags
|
|
200
|
+
Map of tags.
|
|
197
201
|
"""
|
|
198
202
|
return pulumi.get(self, "tags")
|
|
199
203
|
|
|
@@ -205,7 +209,7 @@ class ObjectItemArgs:
|
|
|
205
209
|
@pulumi.getter
|
|
206
210
|
def visibility(self) -> Optional[pulumi.Input[str]]:
|
|
207
211
|
"""
|
|
208
|
-
Visibility of the object, `public-read` or `private
|
|
212
|
+
Visibility of the object, `public-read` or `private`.
|
|
209
213
|
"""
|
|
210
214
|
return pulumi.get(self, "visibility")
|
|
211
215
|
|
|
@@ -234,15 +238,17 @@ class _ObjectItemState:
|
|
|
234
238
|
:param pulumi.Input[str] bucket: The bucket's name or regional ID.
|
|
235
239
|
:param pulumi.Input[str] content: The content of the file to upload. Only one of `file`, `content` or `content_base64` can be defined.
|
|
236
240
|
:param pulumi.Input[str] content_base64: The base64-encoded content of the file to upload. Only one of `file`, `content` or `content_base64` can be defined.
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
:param pulumi.Input[str]
|
|
240
|
-
:param pulumi.Input[
|
|
241
|
+
|
|
242
|
+
> **Note:** Only one of `file`, `content` or `content_base64` can be defined.
|
|
243
|
+
:param pulumi.Input[str] file: The name of the file to upload, defaults to an empty file.
|
|
244
|
+
:param pulumi.Input[str] hash: Hash of the file, used to trigger the upload on file change.
|
|
245
|
+
:param pulumi.Input[str] key: The path to the object.
|
|
246
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] metadata: Map of metadata used for the object (keys must be lowercase).
|
|
241
247
|
:param pulumi.Input[str] project_id: The project_id you want to attach the resource to
|
|
242
|
-
:param pulumi.Input[str] region: The Scaleway region
|
|
243
|
-
:param pulumi.Input[str] storage_class: 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.
|
|
244
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Map of tags
|
|
245
|
-
:param pulumi.Input[str] visibility: Visibility of the object, `public-read` or `private
|
|
248
|
+
:param pulumi.Input[str] region: The Scaleway region the bucket resides in.
|
|
249
|
+
:param pulumi.Input[str] storage_class: 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.
|
|
250
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Map of tags.
|
|
251
|
+
:param pulumi.Input[str] visibility: Visibility of the object, `public-read` or `private`.
|
|
246
252
|
"""
|
|
247
253
|
if bucket is not None:
|
|
248
254
|
pulumi.set(__self__, "bucket", bucket)
|
|
@@ -298,6 +304,8 @@ class _ObjectItemState:
|
|
|
298
304
|
def content_base64(self) -> Optional[pulumi.Input[str]]:
|
|
299
305
|
"""
|
|
300
306
|
The base64-encoded content of the file to upload. Only one of `file`, `content` or `content_base64` can be defined.
|
|
307
|
+
|
|
308
|
+
> **Note:** Only one of `file`, `content` or `content_base64` can be defined.
|
|
301
309
|
"""
|
|
302
310
|
return pulumi.get(self, "content_base64")
|
|
303
311
|
|
|
@@ -309,7 +317,7 @@ class _ObjectItemState:
|
|
|
309
317
|
@pulumi.getter
|
|
310
318
|
def file(self) -> Optional[pulumi.Input[str]]:
|
|
311
319
|
"""
|
|
312
|
-
The name of the file to upload, defaults to an empty file.
|
|
320
|
+
The name of the file to upload, defaults to an empty file.
|
|
313
321
|
"""
|
|
314
322
|
return pulumi.get(self, "file")
|
|
315
323
|
|
|
@@ -321,7 +329,7 @@ class _ObjectItemState:
|
|
|
321
329
|
@pulumi.getter
|
|
322
330
|
def hash(self) -> Optional[pulumi.Input[str]]:
|
|
323
331
|
"""
|
|
324
|
-
Hash of the file, used to trigger upload on file change
|
|
332
|
+
Hash of the file, used to trigger the upload on file change.
|
|
325
333
|
"""
|
|
326
334
|
return pulumi.get(self, "hash")
|
|
327
335
|
|
|
@@ -333,7 +341,7 @@ class _ObjectItemState:
|
|
|
333
341
|
@pulumi.getter
|
|
334
342
|
def key(self) -> Optional[pulumi.Input[str]]:
|
|
335
343
|
"""
|
|
336
|
-
The path
|
|
344
|
+
The path to the object.
|
|
337
345
|
"""
|
|
338
346
|
return pulumi.get(self, "key")
|
|
339
347
|
|
|
@@ -345,7 +353,7 @@ class _ObjectItemState:
|
|
|
345
353
|
@pulumi.getter
|
|
346
354
|
def metadata(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
347
355
|
"""
|
|
348
|
-
Map of metadata used for the object
|
|
356
|
+
Map of metadata used for the object (keys must be lowercase).
|
|
349
357
|
"""
|
|
350
358
|
return pulumi.get(self, "metadata")
|
|
351
359
|
|
|
@@ -369,7 +377,7 @@ class _ObjectItemState:
|
|
|
369
377
|
@pulumi.getter
|
|
370
378
|
def region(self) -> Optional[pulumi.Input[str]]:
|
|
371
379
|
"""
|
|
372
|
-
The Scaleway region
|
|
380
|
+
The Scaleway region the bucket resides in.
|
|
373
381
|
"""
|
|
374
382
|
return pulumi.get(self, "region")
|
|
375
383
|
|
|
@@ -381,7 +389,7 @@ class _ObjectItemState:
|
|
|
381
389
|
@pulumi.getter(name="storageClass")
|
|
382
390
|
def storage_class(self) -> Optional[pulumi.Input[str]]:
|
|
383
391
|
"""
|
|
384
|
-
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.
|
|
392
|
+
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.
|
|
385
393
|
"""
|
|
386
394
|
return pulumi.get(self, "storage_class")
|
|
387
395
|
|
|
@@ -393,7 +401,7 @@ class _ObjectItemState:
|
|
|
393
401
|
@pulumi.getter
|
|
394
402
|
def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
395
403
|
"""
|
|
396
|
-
Map of tags
|
|
404
|
+
Map of tags.
|
|
397
405
|
"""
|
|
398
406
|
return pulumi.get(self, "tags")
|
|
399
407
|
|
|
@@ -405,7 +413,7 @@ class _ObjectItemState:
|
|
|
405
413
|
@pulumi.getter
|
|
406
414
|
def visibility(self) -> Optional[pulumi.Input[str]]:
|
|
407
415
|
"""
|
|
408
|
-
Visibility of the object, `public-read` or `private
|
|
416
|
+
Visibility of the object, `public-read` or `private`.
|
|
409
417
|
"""
|
|
410
418
|
return pulumi.get(self, "visibility")
|
|
411
419
|
|
|
@@ -433,12 +441,13 @@ class ObjectItem(pulumi.CustomResource):
|
|
|
433
441
|
visibility: Optional[pulumi.Input[str]] = None,
|
|
434
442
|
__props__=None):
|
|
435
443
|
"""
|
|
436
|
-
|
|
437
|
-
|
|
444
|
+
The `ObjectItem` resource allows you to create and manage objects for [Scaleway Object storage](https://www.scaleway.com/en/docs/storage/object/).
|
|
445
|
+
|
|
446
|
+
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.
|
|
438
447
|
|
|
439
448
|
## Import
|
|
440
449
|
|
|
441
|
-
Objects can be imported using the `{region}/{bucketName}/{objectKey}` identifier,
|
|
450
|
+
Objects can be imported using the `{region}/{bucketName}/{objectKey}` identifier, as shown below:
|
|
442
451
|
|
|
443
452
|
bash
|
|
444
453
|
|
|
@@ -461,15 +470,17 @@ class ObjectItem(pulumi.CustomResource):
|
|
|
461
470
|
:param pulumi.Input[str] bucket: The bucket's name or regional ID.
|
|
462
471
|
:param pulumi.Input[str] content: The content of the file to upload. Only one of `file`, `content` or `content_base64` can be defined.
|
|
463
472
|
:param pulumi.Input[str] content_base64: The base64-encoded content of the file to upload. Only one of `file`, `content` or `content_base64` can be defined.
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
:param pulumi.Input[str]
|
|
467
|
-
:param pulumi.Input[
|
|
473
|
+
|
|
474
|
+
> **Note:** Only one of `file`, `content` or `content_base64` can be defined.
|
|
475
|
+
:param pulumi.Input[str] file: The name of the file to upload, defaults to an empty file.
|
|
476
|
+
:param pulumi.Input[str] hash: Hash of the file, used to trigger the upload on file change.
|
|
477
|
+
:param pulumi.Input[str] key: The path to the object.
|
|
478
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] metadata: Map of metadata used for the object (keys must be lowercase).
|
|
468
479
|
:param pulumi.Input[str] project_id: The project_id you want to attach the resource to
|
|
469
|
-
:param pulumi.Input[str] region: The Scaleway region
|
|
470
|
-
:param pulumi.Input[str] storage_class: 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.
|
|
471
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Map of tags
|
|
472
|
-
:param pulumi.Input[str] visibility: Visibility of the object, `public-read` or `private
|
|
480
|
+
:param pulumi.Input[str] region: The Scaleway region the bucket resides in.
|
|
481
|
+
:param pulumi.Input[str] storage_class: 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.
|
|
482
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Map of tags.
|
|
483
|
+
:param pulumi.Input[str] visibility: Visibility of the object, `public-read` or `private`.
|
|
473
484
|
"""
|
|
474
485
|
...
|
|
475
486
|
@overload
|
|
@@ -478,12 +489,13 @@ class ObjectItem(pulumi.CustomResource):
|
|
|
478
489
|
args: ObjectItemArgs,
|
|
479
490
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
480
491
|
"""
|
|
481
|
-
|
|
482
|
-
|
|
492
|
+
The `ObjectItem` resource allows you to create and manage objects for [Scaleway Object storage](https://www.scaleway.com/en/docs/storage/object/).
|
|
493
|
+
|
|
494
|
+
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.
|
|
483
495
|
|
|
484
496
|
## Import
|
|
485
497
|
|
|
486
|
-
Objects can be imported using the `{region}/{bucketName}/{objectKey}` identifier,
|
|
498
|
+
Objects can be imported using the `{region}/{bucketName}/{objectKey}` identifier, as shown below:
|
|
487
499
|
|
|
488
500
|
bash
|
|
489
501
|
|
|
@@ -585,15 +597,17 @@ class ObjectItem(pulumi.CustomResource):
|
|
|
585
597
|
:param pulumi.Input[str] bucket: The bucket's name or regional ID.
|
|
586
598
|
:param pulumi.Input[str] content: The content of the file to upload. Only one of `file`, `content` or `content_base64` can be defined.
|
|
587
599
|
:param pulumi.Input[str] content_base64: The base64-encoded content of the file to upload. Only one of `file`, `content` or `content_base64` can be defined.
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
:param pulumi.Input[str]
|
|
591
|
-
:param pulumi.Input[
|
|
600
|
+
|
|
601
|
+
> **Note:** Only one of `file`, `content` or `content_base64` can be defined.
|
|
602
|
+
:param pulumi.Input[str] file: The name of the file to upload, defaults to an empty file.
|
|
603
|
+
:param pulumi.Input[str] hash: Hash of the file, used to trigger the upload on file change.
|
|
604
|
+
:param pulumi.Input[str] key: The path to the object.
|
|
605
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] metadata: Map of metadata used for the object (keys must be lowercase).
|
|
592
606
|
:param pulumi.Input[str] project_id: The project_id you want to attach the resource to
|
|
593
|
-
:param pulumi.Input[str] region: The Scaleway region
|
|
594
|
-
:param pulumi.Input[str] storage_class: 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.
|
|
595
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Map of tags
|
|
596
|
-
:param pulumi.Input[str] visibility: Visibility of the object, `public-read` or `private
|
|
607
|
+
:param pulumi.Input[str] region: The Scaleway region the bucket resides in.
|
|
608
|
+
:param pulumi.Input[str] storage_class: 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.
|
|
609
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Map of tags.
|
|
610
|
+
:param pulumi.Input[str] visibility: Visibility of the object, `public-read` or `private`.
|
|
597
611
|
"""
|
|
598
612
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
599
613
|
|
|
@@ -634,6 +648,8 @@ class ObjectItem(pulumi.CustomResource):
|
|
|
634
648
|
def content_base64(self) -> pulumi.Output[Optional[str]]:
|
|
635
649
|
"""
|
|
636
650
|
The base64-encoded content of the file to upload. Only one of `file`, `content` or `content_base64` can be defined.
|
|
651
|
+
|
|
652
|
+
> **Note:** Only one of `file`, `content` or `content_base64` can be defined.
|
|
637
653
|
"""
|
|
638
654
|
return pulumi.get(self, "content_base64")
|
|
639
655
|
|
|
@@ -641,7 +657,7 @@ class ObjectItem(pulumi.CustomResource):
|
|
|
641
657
|
@pulumi.getter
|
|
642
658
|
def file(self) -> pulumi.Output[Optional[str]]:
|
|
643
659
|
"""
|
|
644
|
-
The name of the file to upload, defaults to an empty file.
|
|
660
|
+
The name of the file to upload, defaults to an empty file.
|
|
645
661
|
"""
|
|
646
662
|
return pulumi.get(self, "file")
|
|
647
663
|
|
|
@@ -649,7 +665,7 @@ class ObjectItem(pulumi.CustomResource):
|
|
|
649
665
|
@pulumi.getter
|
|
650
666
|
def hash(self) -> pulumi.Output[Optional[str]]:
|
|
651
667
|
"""
|
|
652
|
-
Hash of the file, used to trigger upload on file change
|
|
668
|
+
Hash of the file, used to trigger the upload on file change.
|
|
653
669
|
"""
|
|
654
670
|
return pulumi.get(self, "hash")
|
|
655
671
|
|
|
@@ -657,7 +673,7 @@ class ObjectItem(pulumi.CustomResource):
|
|
|
657
673
|
@pulumi.getter
|
|
658
674
|
def key(self) -> pulumi.Output[str]:
|
|
659
675
|
"""
|
|
660
|
-
The path
|
|
676
|
+
The path to the object.
|
|
661
677
|
"""
|
|
662
678
|
return pulumi.get(self, "key")
|
|
663
679
|
|
|
@@ -665,7 +681,7 @@ class ObjectItem(pulumi.CustomResource):
|
|
|
665
681
|
@pulumi.getter
|
|
666
682
|
def metadata(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
|
667
683
|
"""
|
|
668
|
-
Map of metadata used for the object
|
|
684
|
+
Map of metadata used for the object (keys must be lowercase).
|
|
669
685
|
"""
|
|
670
686
|
return pulumi.get(self, "metadata")
|
|
671
687
|
|
|
@@ -681,7 +697,7 @@ class ObjectItem(pulumi.CustomResource):
|
|
|
681
697
|
@pulumi.getter
|
|
682
698
|
def region(self) -> pulumi.Output[str]:
|
|
683
699
|
"""
|
|
684
|
-
The Scaleway region
|
|
700
|
+
The Scaleway region the bucket resides in.
|
|
685
701
|
"""
|
|
686
702
|
return pulumi.get(self, "region")
|
|
687
703
|
|
|
@@ -689,7 +705,7 @@ class ObjectItem(pulumi.CustomResource):
|
|
|
689
705
|
@pulumi.getter(name="storageClass")
|
|
690
706
|
def storage_class(self) -> pulumi.Output[Optional[str]]:
|
|
691
707
|
"""
|
|
692
|
-
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.
|
|
708
|
+
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.
|
|
693
709
|
"""
|
|
694
710
|
return pulumi.get(self, "storage_class")
|
|
695
711
|
|
|
@@ -697,7 +713,7 @@ class ObjectItem(pulumi.CustomResource):
|
|
|
697
713
|
@pulumi.getter
|
|
698
714
|
def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
|
699
715
|
"""
|
|
700
|
-
Map of tags
|
|
716
|
+
Map of tags.
|
|
701
717
|
"""
|
|
702
718
|
return pulumi.get(self, "tags")
|
|
703
719
|
|
|
@@ -705,7 +721,7 @@ class ObjectItem(pulumi.CustomResource):
|
|
|
705
721
|
@pulumi.getter
|
|
706
722
|
def visibility(self) -> pulumi.Output[str]:
|
|
707
723
|
"""
|
|
708
|
-
Visibility of the object, `public-read` or `private
|
|
724
|
+
Visibility of the object, `public-read` or `private`.
|
|
709
725
|
"""
|
|
710
726
|
return pulumi.get(self, "visibility")
|
|
711
727
|
|