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
|
@@ -27,14 +27,11 @@ class ContainerCronArgs:
|
|
|
27
27
|
"""
|
|
28
28
|
The set of arguments for constructing a ContainerCron resource.
|
|
29
29
|
:param pulumi.Input[str] args: The key-value mapping to define arguments that will be passed to your container’s event object
|
|
30
|
-
|
|
31
|
-
:param pulumi.Input[str]
|
|
32
|
-
:param pulumi.Input[str]
|
|
33
|
-
executed.
|
|
34
|
-
:param pulumi.Input[str] name: The name of the container cron. If not provided, the name is generated.
|
|
35
|
-
during
|
|
30
|
+
:param pulumi.Input[str] container_id: The unique identifier of the container to link to your CRON trigger.
|
|
31
|
+
:param pulumi.Input[str] schedule: CRON format string (refer to the [CRON schedule reference](https://www.scaleway.com/en/docs/serverless/containers/reference-content/cron-schedules/) for more information).
|
|
32
|
+
:param pulumi.Input[str] name: The name of the container CRON trigger. If not provided, a random name is generated.
|
|
36
33
|
:param pulumi.Input[str] region: (Defaults to provider `region`) The region
|
|
37
|
-
in
|
|
34
|
+
in which the CRON trigger is created.
|
|
38
35
|
"""
|
|
39
36
|
pulumi.set(__self__, "args", args)
|
|
40
37
|
pulumi.set(__self__, "container_id", container_id)
|
|
@@ -49,7 +46,6 @@ class ContainerCronArgs:
|
|
|
49
46
|
def args(self) -> pulumi.Input[str]:
|
|
50
47
|
"""
|
|
51
48
|
The key-value mapping to define arguments that will be passed to your container’s event object
|
|
52
|
-
during
|
|
53
49
|
"""
|
|
54
50
|
return pulumi.get(self, "args")
|
|
55
51
|
|
|
@@ -61,7 +57,7 @@ class ContainerCronArgs:
|
|
|
61
57
|
@pulumi.getter(name="containerId")
|
|
62
58
|
def container_id(self) -> pulumi.Input[str]:
|
|
63
59
|
"""
|
|
64
|
-
The container
|
|
60
|
+
The unique identifier of the container to link to your CRON trigger.
|
|
65
61
|
"""
|
|
66
62
|
return pulumi.get(self, "container_id")
|
|
67
63
|
|
|
@@ -73,8 +69,7 @@ class ContainerCronArgs:
|
|
|
73
69
|
@pulumi.getter
|
|
74
70
|
def schedule(self) -> pulumi.Input[str]:
|
|
75
71
|
"""
|
|
76
|
-
|
|
77
|
-
executed.
|
|
72
|
+
CRON format string (refer to the [CRON schedule reference](https://www.scaleway.com/en/docs/serverless/containers/reference-content/cron-schedules/) for more information).
|
|
78
73
|
"""
|
|
79
74
|
return pulumi.get(self, "schedule")
|
|
80
75
|
|
|
@@ -86,8 +81,7 @@ class ContainerCronArgs:
|
|
|
86
81
|
@pulumi.getter
|
|
87
82
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
88
83
|
"""
|
|
89
|
-
The name of the container
|
|
90
|
-
during
|
|
84
|
+
The name of the container CRON trigger. If not provided, a random name is generated.
|
|
91
85
|
"""
|
|
92
86
|
return pulumi.get(self, "name")
|
|
93
87
|
|
|
@@ -100,7 +94,7 @@ class ContainerCronArgs:
|
|
|
100
94
|
def region(self) -> Optional[pulumi.Input[str]]:
|
|
101
95
|
"""
|
|
102
96
|
(Defaults to provider `region`) The region
|
|
103
|
-
in
|
|
97
|
+
in which the CRON trigger is created.
|
|
104
98
|
"""
|
|
105
99
|
return pulumi.get(self, "region")
|
|
106
100
|
|
|
@@ -121,15 +115,12 @@ class _ContainerCronState:
|
|
|
121
115
|
"""
|
|
122
116
|
Input properties used for looking up and filtering ContainerCron resources.
|
|
123
117
|
:param pulumi.Input[str] args: The key-value mapping to define arguments that will be passed to your container’s event object
|
|
124
|
-
|
|
125
|
-
:param pulumi.Input[str]
|
|
126
|
-
:param pulumi.Input[str] name: The name of the container cron. If not provided, the name is generated.
|
|
127
|
-
during
|
|
118
|
+
:param pulumi.Input[str] container_id: The unique identifier of the container to link to your CRON trigger.
|
|
119
|
+
:param pulumi.Input[str] name: The name of the container CRON trigger. If not provided, a random name is generated.
|
|
128
120
|
:param pulumi.Input[str] region: (Defaults to provider `region`) The region
|
|
129
|
-
in
|
|
130
|
-
:param pulumi.Input[str] schedule:
|
|
131
|
-
|
|
132
|
-
:param pulumi.Input[str] status: The cron status.
|
|
121
|
+
in which the CRON trigger is created.
|
|
122
|
+
:param pulumi.Input[str] schedule: CRON format string (refer to the [CRON schedule reference](https://www.scaleway.com/en/docs/serverless/containers/reference-content/cron-schedules/) for more information).
|
|
123
|
+
:param pulumi.Input[str] status: The CRON status.
|
|
133
124
|
"""
|
|
134
125
|
if args is not None:
|
|
135
126
|
pulumi.set(__self__, "args", args)
|
|
@@ -149,7 +140,6 @@ class _ContainerCronState:
|
|
|
149
140
|
def args(self) -> Optional[pulumi.Input[str]]:
|
|
150
141
|
"""
|
|
151
142
|
The key-value mapping to define arguments that will be passed to your container’s event object
|
|
152
|
-
during
|
|
153
143
|
"""
|
|
154
144
|
return pulumi.get(self, "args")
|
|
155
145
|
|
|
@@ -161,7 +151,7 @@ class _ContainerCronState:
|
|
|
161
151
|
@pulumi.getter(name="containerId")
|
|
162
152
|
def container_id(self) -> Optional[pulumi.Input[str]]:
|
|
163
153
|
"""
|
|
164
|
-
The container
|
|
154
|
+
The unique identifier of the container to link to your CRON trigger.
|
|
165
155
|
"""
|
|
166
156
|
return pulumi.get(self, "container_id")
|
|
167
157
|
|
|
@@ -173,8 +163,7 @@ class _ContainerCronState:
|
|
|
173
163
|
@pulumi.getter
|
|
174
164
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
175
165
|
"""
|
|
176
|
-
The name of the container
|
|
177
|
-
during
|
|
166
|
+
The name of the container CRON trigger. If not provided, a random name is generated.
|
|
178
167
|
"""
|
|
179
168
|
return pulumi.get(self, "name")
|
|
180
169
|
|
|
@@ -187,7 +176,7 @@ class _ContainerCronState:
|
|
|
187
176
|
def region(self) -> Optional[pulumi.Input[str]]:
|
|
188
177
|
"""
|
|
189
178
|
(Defaults to provider `region`) The region
|
|
190
|
-
in
|
|
179
|
+
in which the CRON trigger is created.
|
|
191
180
|
"""
|
|
192
181
|
return pulumi.get(self, "region")
|
|
193
182
|
|
|
@@ -199,8 +188,7 @@ class _ContainerCronState:
|
|
|
199
188
|
@pulumi.getter
|
|
200
189
|
def schedule(self) -> Optional[pulumi.Input[str]]:
|
|
201
190
|
"""
|
|
202
|
-
|
|
203
|
-
executed.
|
|
191
|
+
CRON format string (refer to the [CRON schedule reference](https://www.scaleway.com/en/docs/serverless/containers/reference-content/cron-schedules/) for more information).
|
|
204
192
|
"""
|
|
205
193
|
return pulumi.get(self, "schedule")
|
|
206
194
|
|
|
@@ -212,7 +200,7 @@ class _ContainerCronState:
|
|
|
212
200
|
@pulumi.getter
|
|
213
201
|
def status(self) -> Optional[pulumi.Input[str]]:
|
|
214
202
|
"""
|
|
215
|
-
The
|
|
203
|
+
The CRON status.
|
|
216
204
|
"""
|
|
217
205
|
return pulumi.get(self, "status")
|
|
218
206
|
|
|
@@ -233,21 +221,14 @@ class ContainerCron(pulumi.CustomResource):
|
|
|
233
221
|
schedule: Optional[pulumi.Input[str]] = None,
|
|
234
222
|
__props__=None):
|
|
235
223
|
"""
|
|
236
|
-
|
|
224
|
+
The `ContainerCron` resource allows you to create and manage CRON triggers for Scaleway [Serverless Containers](https://www.scaleway.com/en/docs/serverless/containers/).
|
|
237
225
|
|
|
238
|
-
|
|
239
|
-
the [documentation](https://www.scaleway.com/en/docs/serverless/containers/)
|
|
240
|
-
.
|
|
241
|
-
|
|
242
|
-
For more details about the limitation
|
|
243
|
-
check [containers-limitations](https://www.scaleway.com/en/docs/compute/containers/reference-content/containers-limitations/)
|
|
244
|
-
.
|
|
245
|
-
|
|
246
|
-
You can check also
|
|
247
|
-
our [containers cron api documentation](https://www.scaleway.com/en/developers/api/serverless-containers/#crons-942bf4).
|
|
226
|
+
Refer to the Containers CRON triggers [documentation](https://www.scaleway.com/en/docs/serverless/containers/how-to/add-trigger-to-a-container/) and [API documentation](https://www.scaleway.com/en/developers/api/serverless-containers/#path-triggers-list-all-triggers) for more information.
|
|
248
227
|
|
|
249
228
|
## Example Usage
|
|
250
229
|
|
|
230
|
+
The following command allows you to add a CRON trigger to a Serverless Container.
|
|
231
|
+
|
|
251
232
|
```python
|
|
252
233
|
import pulumi
|
|
253
234
|
import json
|
|
@@ -275,7 +256,7 @@ class ContainerCron(pulumi.CustomResource):
|
|
|
275
256
|
|
|
276
257
|
## Import
|
|
277
258
|
|
|
278
|
-
Container Cron can be imported using
|
|
259
|
+
Container Cron can be imported using `{region}/{id}`, as shown below:
|
|
279
260
|
|
|
280
261
|
bash
|
|
281
262
|
|
|
@@ -286,14 +267,11 @@ class ContainerCron(pulumi.CustomResource):
|
|
|
286
267
|
:param str resource_name: The name of the resource.
|
|
287
268
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
288
269
|
:param pulumi.Input[str] args: The key-value mapping to define arguments that will be passed to your container’s event object
|
|
289
|
-
|
|
290
|
-
:param pulumi.Input[str]
|
|
291
|
-
:param pulumi.Input[str] name: The name of the container cron. If not provided, the name is generated.
|
|
292
|
-
during
|
|
270
|
+
:param pulumi.Input[str] container_id: The unique identifier of the container to link to your CRON trigger.
|
|
271
|
+
:param pulumi.Input[str] name: The name of the container CRON trigger. If not provided, a random name is generated.
|
|
293
272
|
:param pulumi.Input[str] region: (Defaults to provider `region`) The region
|
|
294
|
-
in
|
|
295
|
-
:param pulumi.Input[str] schedule:
|
|
296
|
-
executed.
|
|
273
|
+
in which the CRON trigger is created.
|
|
274
|
+
:param pulumi.Input[str] schedule: CRON format string (refer to the [CRON schedule reference](https://www.scaleway.com/en/docs/serverless/containers/reference-content/cron-schedules/) for more information).
|
|
297
275
|
"""
|
|
298
276
|
...
|
|
299
277
|
@overload
|
|
@@ -302,21 +280,14 @@ class ContainerCron(pulumi.CustomResource):
|
|
|
302
280
|
args: ContainerCronArgs,
|
|
303
281
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
304
282
|
"""
|
|
305
|
-
|
|
283
|
+
The `ContainerCron` resource allows you to create and manage CRON triggers for Scaleway [Serverless Containers](https://www.scaleway.com/en/docs/serverless/containers/).
|
|
306
284
|
|
|
307
|
-
|
|
308
|
-
the [documentation](https://www.scaleway.com/en/docs/serverless/containers/)
|
|
309
|
-
.
|
|
310
|
-
|
|
311
|
-
For more details about the limitation
|
|
312
|
-
check [containers-limitations](https://www.scaleway.com/en/docs/compute/containers/reference-content/containers-limitations/)
|
|
313
|
-
.
|
|
314
|
-
|
|
315
|
-
You can check also
|
|
316
|
-
our [containers cron api documentation](https://www.scaleway.com/en/developers/api/serverless-containers/#crons-942bf4).
|
|
285
|
+
Refer to the Containers CRON triggers [documentation](https://www.scaleway.com/en/docs/serverless/containers/how-to/add-trigger-to-a-container/) and [API documentation](https://www.scaleway.com/en/developers/api/serverless-containers/#path-triggers-list-all-triggers) for more information.
|
|
317
286
|
|
|
318
287
|
## Example Usage
|
|
319
288
|
|
|
289
|
+
The following command allows you to add a CRON trigger to a Serverless Container.
|
|
290
|
+
|
|
320
291
|
```python
|
|
321
292
|
import pulumi
|
|
322
293
|
import json
|
|
@@ -344,7 +315,7 @@ class ContainerCron(pulumi.CustomResource):
|
|
|
344
315
|
|
|
345
316
|
## Import
|
|
346
317
|
|
|
347
|
-
Container Cron can be imported using
|
|
318
|
+
Container Cron can be imported using `{region}/{id}`, as shown below:
|
|
348
319
|
|
|
349
320
|
bash
|
|
350
321
|
|
|
@@ -417,15 +388,12 @@ class ContainerCron(pulumi.CustomResource):
|
|
|
417
388
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
418
389
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
419
390
|
:param pulumi.Input[str] args: The key-value mapping to define arguments that will be passed to your container’s event object
|
|
420
|
-
|
|
421
|
-
:param pulumi.Input[str]
|
|
422
|
-
:param pulumi.Input[str] name: The name of the container cron. If not provided, the name is generated.
|
|
423
|
-
during
|
|
391
|
+
:param pulumi.Input[str] container_id: The unique identifier of the container to link to your CRON trigger.
|
|
392
|
+
:param pulumi.Input[str] name: The name of the container CRON trigger. If not provided, a random name is generated.
|
|
424
393
|
:param pulumi.Input[str] region: (Defaults to provider `region`) The region
|
|
425
|
-
in
|
|
426
|
-
:param pulumi.Input[str] schedule:
|
|
427
|
-
|
|
428
|
-
:param pulumi.Input[str] status: The cron status.
|
|
394
|
+
in which the CRON trigger is created.
|
|
395
|
+
:param pulumi.Input[str] schedule: CRON format string (refer to the [CRON schedule reference](https://www.scaleway.com/en/docs/serverless/containers/reference-content/cron-schedules/) for more information).
|
|
396
|
+
:param pulumi.Input[str] status: The CRON status.
|
|
429
397
|
"""
|
|
430
398
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
431
399
|
|
|
@@ -444,7 +412,6 @@ class ContainerCron(pulumi.CustomResource):
|
|
|
444
412
|
def args(self) -> pulumi.Output[str]:
|
|
445
413
|
"""
|
|
446
414
|
The key-value mapping to define arguments that will be passed to your container’s event object
|
|
447
|
-
during
|
|
448
415
|
"""
|
|
449
416
|
return pulumi.get(self, "args")
|
|
450
417
|
|
|
@@ -452,7 +419,7 @@ class ContainerCron(pulumi.CustomResource):
|
|
|
452
419
|
@pulumi.getter(name="containerId")
|
|
453
420
|
def container_id(self) -> pulumi.Output[str]:
|
|
454
421
|
"""
|
|
455
|
-
The container
|
|
422
|
+
The unique identifier of the container to link to your CRON trigger.
|
|
456
423
|
"""
|
|
457
424
|
return pulumi.get(self, "container_id")
|
|
458
425
|
|
|
@@ -460,8 +427,7 @@ class ContainerCron(pulumi.CustomResource):
|
|
|
460
427
|
@pulumi.getter
|
|
461
428
|
def name(self) -> pulumi.Output[str]:
|
|
462
429
|
"""
|
|
463
|
-
The name of the container
|
|
464
|
-
during
|
|
430
|
+
The name of the container CRON trigger. If not provided, a random name is generated.
|
|
465
431
|
"""
|
|
466
432
|
return pulumi.get(self, "name")
|
|
467
433
|
|
|
@@ -470,7 +436,7 @@ class ContainerCron(pulumi.CustomResource):
|
|
|
470
436
|
def region(self) -> pulumi.Output[str]:
|
|
471
437
|
"""
|
|
472
438
|
(Defaults to provider `region`) The region
|
|
473
|
-
in
|
|
439
|
+
in which the CRON trigger is created.
|
|
474
440
|
"""
|
|
475
441
|
return pulumi.get(self, "region")
|
|
476
442
|
|
|
@@ -478,8 +444,7 @@ class ContainerCron(pulumi.CustomResource):
|
|
|
478
444
|
@pulumi.getter
|
|
479
445
|
def schedule(self) -> pulumi.Output[str]:
|
|
480
446
|
"""
|
|
481
|
-
|
|
482
|
-
executed.
|
|
447
|
+
CRON format string (refer to the [CRON schedule reference](https://www.scaleway.com/en/docs/serverless/containers/reference-content/cron-schedules/) for more information).
|
|
483
448
|
"""
|
|
484
449
|
return pulumi.get(self, "schedule")
|
|
485
450
|
|
|
@@ -487,7 +452,7 @@ class ContainerCron(pulumi.CustomResource):
|
|
|
487
452
|
@pulumi.getter
|
|
488
453
|
def status(self) -> pulumi.Output[str]:
|
|
489
454
|
"""
|
|
490
|
-
The
|
|
455
|
+
The CRON status.
|
|
491
456
|
"""
|
|
492
457
|
return pulumi.get(self, "status")
|
|
493
458
|
|
|
@@ -24,9 +24,9 @@ class ContainerDomainArgs:
|
|
|
24
24
|
region: Optional[pulumi.Input[str]] = None):
|
|
25
25
|
"""
|
|
26
26
|
The set of arguments for constructing a ContainerDomain resource.
|
|
27
|
-
:param pulumi.Input[str] container_id: The
|
|
27
|
+
:param pulumi.Input[str] container_id: The unique identifier of the container.
|
|
28
28
|
:param pulumi.Input[str] hostname: The hostname with a CNAME record.
|
|
29
|
-
:param pulumi.Input[str] region: `region`) The region in which the container exists
|
|
29
|
+
:param pulumi.Input[str] region: `region`) The region in which the container exists.
|
|
30
30
|
"""
|
|
31
31
|
pulumi.set(__self__, "container_id", container_id)
|
|
32
32
|
pulumi.set(__self__, "hostname", hostname)
|
|
@@ -37,7 +37,7 @@ class ContainerDomainArgs:
|
|
|
37
37
|
@pulumi.getter(name="containerId")
|
|
38
38
|
def container_id(self) -> pulumi.Input[str]:
|
|
39
39
|
"""
|
|
40
|
-
The
|
|
40
|
+
The unique identifier of the container.
|
|
41
41
|
"""
|
|
42
42
|
return pulumi.get(self, "container_id")
|
|
43
43
|
|
|
@@ -61,7 +61,7 @@ class ContainerDomainArgs:
|
|
|
61
61
|
@pulumi.getter
|
|
62
62
|
def region(self) -> Optional[pulumi.Input[str]]:
|
|
63
63
|
"""
|
|
64
|
-
`region`) The region in which the container exists
|
|
64
|
+
`region`) The region in which the container exists.
|
|
65
65
|
"""
|
|
66
66
|
return pulumi.get(self, "region")
|
|
67
67
|
|
|
@@ -79,10 +79,10 @@ class _ContainerDomainState:
|
|
|
79
79
|
url: Optional[pulumi.Input[str]] = None):
|
|
80
80
|
"""
|
|
81
81
|
Input properties used for looking up and filtering ContainerDomain resources.
|
|
82
|
-
:param pulumi.Input[str] container_id: The
|
|
82
|
+
:param pulumi.Input[str] container_id: The unique identifier of the container.
|
|
83
83
|
:param pulumi.Input[str] hostname: The hostname with a CNAME record.
|
|
84
|
-
:param pulumi.Input[str] region: `region`) The region in which the container exists
|
|
85
|
-
:param pulumi.Input[str] url: The URL used to query the container
|
|
84
|
+
:param pulumi.Input[str] region: `region`) The region in which the container exists.
|
|
85
|
+
:param pulumi.Input[str] url: The URL used to query the container.
|
|
86
86
|
"""
|
|
87
87
|
if container_id is not None:
|
|
88
88
|
pulumi.set(__self__, "container_id", container_id)
|
|
@@ -97,7 +97,7 @@ class _ContainerDomainState:
|
|
|
97
97
|
@pulumi.getter(name="containerId")
|
|
98
98
|
def container_id(self) -> Optional[pulumi.Input[str]]:
|
|
99
99
|
"""
|
|
100
|
-
The
|
|
100
|
+
The unique identifier of the container.
|
|
101
101
|
"""
|
|
102
102
|
return pulumi.get(self, "container_id")
|
|
103
103
|
|
|
@@ -121,7 +121,7 @@ class _ContainerDomainState:
|
|
|
121
121
|
@pulumi.getter
|
|
122
122
|
def region(self) -> Optional[pulumi.Input[str]]:
|
|
123
123
|
"""
|
|
124
|
-
`region`) The region in which the container exists
|
|
124
|
+
`region`) The region in which the container exists.
|
|
125
125
|
"""
|
|
126
126
|
return pulumi.get(self, "region")
|
|
127
127
|
|
|
@@ -133,7 +133,7 @@ class _ContainerDomainState:
|
|
|
133
133
|
@pulumi.getter
|
|
134
134
|
def url(self) -> Optional[pulumi.Input[str]]:
|
|
135
135
|
"""
|
|
136
|
-
The URL used to query the container
|
|
136
|
+
The URL used to query the container.
|
|
137
137
|
"""
|
|
138
138
|
return pulumi.get(self, "url")
|
|
139
139
|
|
|
@@ -152,11 +152,14 @@ class ContainerDomain(pulumi.CustomResource):
|
|
|
152
152
|
region: Optional[pulumi.Input[str]] = None,
|
|
153
153
|
__props__=None):
|
|
154
154
|
"""
|
|
155
|
-
|
|
156
|
-
|
|
155
|
+
The `ContainerDomain` resource allows you to create and manage domain name bindings for Scaleway [Serverless Containers](https://www.scaleway.com/en/docs/serverless/containers/).
|
|
156
|
+
|
|
157
|
+
Refer to the Containers domain [documentation](https://www.scaleway.com/en/docs/compute/containers/how-to/add-a-custom-domain-to-a-container/) and the [API documentation](https://www.scaleway.com/en/developers/api/serverless-containers/#path-domains-list-all-domain-name-bindings) for more information.
|
|
157
158
|
|
|
158
159
|
## Example Usage
|
|
159
160
|
|
|
161
|
+
The commands below shows how to bind a custom domain name to a container.
|
|
162
|
+
|
|
160
163
|
### Simple
|
|
161
164
|
|
|
162
165
|
```python
|
|
@@ -209,7 +212,7 @@ class ContainerDomain(pulumi.CustomResource):
|
|
|
209
212
|
|
|
210
213
|
## Import
|
|
211
214
|
|
|
212
|
-
Container domain binding can be imported using
|
|
215
|
+
Container domain binding can be imported using `{region}/{id}`, as shown below:
|
|
213
216
|
|
|
214
217
|
bash
|
|
215
218
|
|
|
@@ -219,9 +222,9 @@ class ContainerDomain(pulumi.CustomResource):
|
|
|
219
222
|
|
|
220
223
|
:param str resource_name: The name of the resource.
|
|
221
224
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
222
|
-
:param pulumi.Input[str] container_id: The
|
|
225
|
+
:param pulumi.Input[str] container_id: The unique identifier of the container.
|
|
223
226
|
:param pulumi.Input[str] hostname: The hostname with a CNAME record.
|
|
224
|
-
:param pulumi.Input[str] region: `region`) The region in which the container exists
|
|
227
|
+
:param pulumi.Input[str] region: `region`) The region in which the container exists.
|
|
225
228
|
"""
|
|
226
229
|
...
|
|
227
230
|
@overload
|
|
@@ -230,11 +233,14 @@ class ContainerDomain(pulumi.CustomResource):
|
|
|
230
233
|
args: ContainerDomainArgs,
|
|
231
234
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
232
235
|
"""
|
|
233
|
-
|
|
234
|
-
|
|
236
|
+
The `ContainerDomain` resource allows you to create and manage domain name bindings for Scaleway [Serverless Containers](https://www.scaleway.com/en/docs/serverless/containers/).
|
|
237
|
+
|
|
238
|
+
Refer to the Containers domain [documentation](https://www.scaleway.com/en/docs/compute/containers/how-to/add-a-custom-domain-to-a-container/) and the [API documentation](https://www.scaleway.com/en/developers/api/serverless-containers/#path-domains-list-all-domain-name-bindings) for more information.
|
|
235
239
|
|
|
236
240
|
## Example Usage
|
|
237
241
|
|
|
242
|
+
The commands below shows how to bind a custom domain name to a container.
|
|
243
|
+
|
|
238
244
|
### Simple
|
|
239
245
|
|
|
240
246
|
```python
|
|
@@ -287,7 +293,7 @@ class ContainerDomain(pulumi.CustomResource):
|
|
|
287
293
|
|
|
288
294
|
## Import
|
|
289
295
|
|
|
290
|
-
Container domain binding can be imported using
|
|
296
|
+
Container domain binding can be imported using `{region}/{id}`, as shown below:
|
|
291
297
|
|
|
292
298
|
bash
|
|
293
299
|
|
|
@@ -351,10 +357,10 @@ class ContainerDomain(pulumi.CustomResource):
|
|
|
351
357
|
:param str resource_name: The unique name of the resulting resource.
|
|
352
358
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
353
359
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
354
|
-
:param pulumi.Input[str] container_id: The
|
|
360
|
+
:param pulumi.Input[str] container_id: The unique identifier of the container.
|
|
355
361
|
:param pulumi.Input[str] hostname: The hostname with a CNAME record.
|
|
356
|
-
:param pulumi.Input[str] region: `region`) The region in which the container exists
|
|
357
|
-
:param pulumi.Input[str] url: The URL used to query the container
|
|
362
|
+
:param pulumi.Input[str] region: `region`) The region in which the container exists.
|
|
363
|
+
:param pulumi.Input[str] url: The URL used to query the container.
|
|
358
364
|
"""
|
|
359
365
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
360
366
|
|
|
@@ -370,7 +376,7 @@ class ContainerDomain(pulumi.CustomResource):
|
|
|
370
376
|
@pulumi.getter(name="containerId")
|
|
371
377
|
def container_id(self) -> pulumi.Output[str]:
|
|
372
378
|
"""
|
|
373
|
-
The
|
|
379
|
+
The unique identifier of the container.
|
|
374
380
|
"""
|
|
375
381
|
return pulumi.get(self, "container_id")
|
|
376
382
|
|
|
@@ -386,7 +392,7 @@ class ContainerDomain(pulumi.CustomResource):
|
|
|
386
392
|
@pulumi.getter
|
|
387
393
|
def region(self) -> pulumi.Output[str]:
|
|
388
394
|
"""
|
|
389
|
-
`region`) The region in which the container exists
|
|
395
|
+
`region`) The region in which the container exists.
|
|
390
396
|
"""
|
|
391
397
|
return pulumi.get(self, "region")
|
|
392
398
|
|
|
@@ -394,7 +400,7 @@ class ContainerDomain(pulumi.CustomResource):
|
|
|
394
400
|
@pulumi.getter
|
|
395
401
|
def url(self) -> pulumi.Output[str]:
|
|
396
402
|
"""
|
|
397
|
-
The URL used to query the container
|
|
403
|
+
The URL used to query the container.
|
|
398
404
|
"""
|
|
399
405
|
return pulumi.get(self, "url")
|
|
400
406
|
|