pulumiverse-scaleway 1.26.0a1742897201__py3-none-any.whl → 1.26.0a1743166124__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.
Files changed (66) hide show
  1. pulumiverse_scaleway/__init__.py +105 -0
  2. pulumiverse_scaleway/_inputs.py +663 -0
  3. pulumiverse_scaleway/apple_silicon_server.py +105 -0
  4. pulumiverse_scaleway/applesilicon/server.py +105 -0
  5. pulumiverse_scaleway/domain/__init__.py +1 -0
  6. pulumiverse_scaleway/domain/_inputs.py +2697 -0
  7. pulumiverse_scaleway/domain/outputs.py +2145 -0
  8. pulumiverse_scaleway/domain/registration.py +777 -0
  9. pulumiverse_scaleway/edge_services_backend_stage.py +472 -0
  10. pulumiverse_scaleway/edge_services_cache_stage.py +490 -0
  11. pulumiverse_scaleway/edge_services_dns_stage.py +516 -0
  12. pulumiverse_scaleway/edge_services_head_stage.py +258 -0
  13. pulumiverse_scaleway/edge_services_pipeline.py +436 -0
  14. pulumiverse_scaleway/edge_services_plan.py +239 -0
  15. pulumiverse_scaleway/edge_services_route_stage.py +422 -0
  16. pulumiverse_scaleway/edge_services_tls_stage.py +546 -0
  17. pulumiverse_scaleway/edge_services_waf_stage.py +444 -0
  18. pulumiverse_scaleway/elasticmetal/ip.py +13 -7
  19. pulumiverse_scaleway/flexible_ip.py +13 -7
  20. pulumiverse_scaleway/get_lb_frontend.py +12 -1
  21. pulumiverse_scaleway/get_lb_route.py +12 -1
  22. pulumiverse_scaleway/get_secret.py +15 -4
  23. pulumiverse_scaleway/get_vpc_public_gateway.py +34 -1
  24. pulumiverse_scaleway/get_vpc_public_gateway_dhcp.py +8 -0
  25. pulumiverse_scaleway/get_vpc_public_gateway_dhcp_reservation.py +8 -0
  26. pulumiverse_scaleway/loadbalancer_backend.py +2 -2
  27. pulumiverse_scaleway/loadbalancer_frontend.py +47 -0
  28. pulumiverse_scaleway/loadbalancer_route.py +48 -1
  29. pulumiverse_scaleway/loadbalancers/backend.py +2 -2
  30. pulumiverse_scaleway/loadbalancers/frontend.py +47 -0
  31. pulumiverse_scaleway/loadbalancers/get_frontend.py +12 -1
  32. pulumiverse_scaleway/loadbalancers/get_route.py +12 -1
  33. pulumiverse_scaleway/loadbalancers/outputs.py +13 -2
  34. pulumiverse_scaleway/loadbalancers/route.py +48 -1
  35. pulumiverse_scaleway/network/__init__.py +1 -0
  36. pulumiverse_scaleway/network/_inputs.py +194 -0
  37. pulumiverse_scaleway/network/acl.py +415 -0
  38. pulumiverse_scaleway/network/gateway_network.py +104 -122
  39. pulumiverse_scaleway/network/get_public_gateway.py +34 -1
  40. pulumiverse_scaleway/network/get_public_gateway_dhcp.py +8 -0
  41. pulumiverse_scaleway/network/get_public_gateway_dhcp_reservation.py +8 -0
  42. pulumiverse_scaleway/network/outputs.py +139 -0
  43. pulumiverse_scaleway/network/public_gateway.py +124 -21
  44. pulumiverse_scaleway/network/public_gateway_dhcp.py +8 -0
  45. pulumiverse_scaleway/network/public_gateway_dhcp_reservation.py +8 -0
  46. pulumiverse_scaleway/outputs.py +662 -2
  47. pulumiverse_scaleway/pulumi-plugin.json +1 -1
  48. pulumiverse_scaleway/secret.py +22 -2
  49. pulumiverse_scaleway/secret_version.py +6 -6
  50. pulumiverse_scaleway/secrets/_inputs.py +154 -0
  51. pulumiverse_scaleway/secrets/get_secret.py +15 -4
  52. pulumiverse_scaleway/secrets/outputs.py +200 -0
  53. pulumiverse_scaleway/secrets/secret.py +22 -2
  54. pulumiverse_scaleway/tem/__init__.py +2 -0
  55. pulumiverse_scaleway/tem/blocked_list.py +442 -0
  56. pulumiverse_scaleway/tem/domain.py +7 -0
  57. pulumiverse_scaleway/tem/get_offer_subscription.py +254 -0
  58. pulumiverse_scaleway/tem_domain.py +7 -0
  59. pulumiverse_scaleway/vpc_gateway_network.py +104 -122
  60. pulumiverse_scaleway/vpc_public_gateway.py +124 -21
  61. pulumiverse_scaleway/vpc_public_gateway_dhcp.py +8 -0
  62. pulumiverse_scaleway/vpc_public_gateway_dhcp_reservation.py +8 -0
  63. {pulumiverse_scaleway-1.26.0a1742897201.dist-info → pulumiverse_scaleway-1.26.0a1743166124.dist-info}/METADATA +1 -1
  64. {pulumiverse_scaleway-1.26.0a1742897201.dist-info → pulumiverse_scaleway-1.26.0a1743166124.dist-info}/RECORD +66 -53
  65. {pulumiverse_scaleway-1.26.0a1742897201.dist-info → pulumiverse_scaleway-1.26.0a1743166124.dist-info}/WHEEL +1 -1
  66. {pulumiverse_scaleway-1.26.0a1742897201.dist-info → pulumiverse_scaleway-1.26.0a1743166124.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,472 @@
1
+ # coding=utf-8
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
+
5
+ import copy
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from . import _utilities
16
+ from . import outputs
17
+ from ._inputs import *
18
+
19
+ __all__ = ['EdgeServicesBackendStageArgs', 'EdgeServicesBackendStage']
20
+
21
+ @pulumi.input_type
22
+ class EdgeServicesBackendStageArgs:
23
+ def __init__(__self__, *,
24
+ pipeline_id: pulumi.Input[str],
25
+ lb_backend_configs: Optional[pulumi.Input[Sequence[pulumi.Input['EdgeServicesBackendStageLbBackendConfigArgs']]]] = None,
26
+ project_id: Optional[pulumi.Input[str]] = None,
27
+ s3_backend_config: Optional[pulumi.Input['EdgeServicesBackendStageS3BackendConfigArgs']] = None):
28
+ """
29
+ The set of arguments for constructing a EdgeServicesBackendStage resource.
30
+ :param pulumi.Input[str] pipeline_id: The ID of the pipeline.
31
+ :param pulumi.Input[Sequence[pulumi.Input['EdgeServicesBackendStageLbBackendConfigArgs']]] lb_backend_configs: The Scaleway Load Balancer linked to the backend stage.
32
+ :param pulumi.Input[str] project_id: `project_id`) The ID of the project the backend stage is associated with.
33
+ :param pulumi.Input['EdgeServicesBackendStageS3BackendConfigArgs'] s3_backend_config: The Scaleway Object Storage origin bucket (S3) linked to the backend stage.
34
+ """
35
+ pulumi.set(__self__, "pipeline_id", pipeline_id)
36
+ if lb_backend_configs is not None:
37
+ pulumi.set(__self__, "lb_backend_configs", lb_backend_configs)
38
+ if project_id is not None:
39
+ pulumi.set(__self__, "project_id", project_id)
40
+ if s3_backend_config is not None:
41
+ pulumi.set(__self__, "s3_backend_config", s3_backend_config)
42
+
43
+ @property
44
+ @pulumi.getter(name="pipelineId")
45
+ def pipeline_id(self) -> pulumi.Input[str]:
46
+ """
47
+ The ID of the pipeline.
48
+ """
49
+ return pulumi.get(self, "pipeline_id")
50
+
51
+ @pipeline_id.setter
52
+ def pipeline_id(self, value: pulumi.Input[str]):
53
+ pulumi.set(self, "pipeline_id", value)
54
+
55
+ @property
56
+ @pulumi.getter(name="lbBackendConfigs")
57
+ def lb_backend_configs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['EdgeServicesBackendStageLbBackendConfigArgs']]]]:
58
+ """
59
+ The Scaleway Load Balancer linked to the backend stage.
60
+ """
61
+ return pulumi.get(self, "lb_backend_configs")
62
+
63
+ @lb_backend_configs.setter
64
+ def lb_backend_configs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['EdgeServicesBackendStageLbBackendConfigArgs']]]]):
65
+ pulumi.set(self, "lb_backend_configs", value)
66
+
67
+ @property
68
+ @pulumi.getter(name="projectId")
69
+ def project_id(self) -> Optional[pulumi.Input[str]]:
70
+ """
71
+ `project_id`) The ID of the project the backend stage is associated with.
72
+ """
73
+ return pulumi.get(self, "project_id")
74
+
75
+ @project_id.setter
76
+ def project_id(self, value: Optional[pulumi.Input[str]]):
77
+ pulumi.set(self, "project_id", value)
78
+
79
+ @property
80
+ @pulumi.getter(name="s3BackendConfig")
81
+ def s3_backend_config(self) -> Optional[pulumi.Input['EdgeServicesBackendStageS3BackendConfigArgs']]:
82
+ """
83
+ The Scaleway Object Storage origin bucket (S3) linked to the backend stage.
84
+ """
85
+ return pulumi.get(self, "s3_backend_config")
86
+
87
+ @s3_backend_config.setter
88
+ def s3_backend_config(self, value: Optional[pulumi.Input['EdgeServicesBackendStageS3BackendConfigArgs']]):
89
+ pulumi.set(self, "s3_backend_config", value)
90
+
91
+
92
+ @pulumi.input_type
93
+ class _EdgeServicesBackendStageState:
94
+ def __init__(__self__, *,
95
+ created_at: Optional[pulumi.Input[str]] = None,
96
+ lb_backend_configs: Optional[pulumi.Input[Sequence[pulumi.Input['EdgeServicesBackendStageLbBackendConfigArgs']]]] = None,
97
+ pipeline_id: Optional[pulumi.Input[str]] = None,
98
+ project_id: Optional[pulumi.Input[str]] = None,
99
+ s3_backend_config: Optional[pulumi.Input['EdgeServicesBackendStageS3BackendConfigArgs']] = None,
100
+ updated_at: Optional[pulumi.Input[str]] = None):
101
+ """
102
+ Input properties used for looking up and filtering EdgeServicesBackendStage resources.
103
+ :param pulumi.Input[str] created_at: The date and time of the creation of the backend stage.
104
+ :param pulumi.Input[Sequence[pulumi.Input['EdgeServicesBackendStageLbBackendConfigArgs']]] lb_backend_configs: The Scaleway Load Balancer linked to the backend stage.
105
+ :param pulumi.Input[str] pipeline_id: The ID of the pipeline.
106
+ :param pulumi.Input[str] project_id: `project_id`) The ID of the project the backend stage is associated with.
107
+ :param pulumi.Input['EdgeServicesBackendStageS3BackendConfigArgs'] s3_backend_config: The Scaleway Object Storage origin bucket (S3) linked to the backend stage.
108
+ :param pulumi.Input[str] updated_at: The date and time of the last update of the backend stage.
109
+ """
110
+ if created_at is not None:
111
+ pulumi.set(__self__, "created_at", created_at)
112
+ if lb_backend_configs is not None:
113
+ pulumi.set(__self__, "lb_backend_configs", lb_backend_configs)
114
+ if pipeline_id is not None:
115
+ pulumi.set(__self__, "pipeline_id", pipeline_id)
116
+ if project_id is not None:
117
+ pulumi.set(__self__, "project_id", project_id)
118
+ if s3_backend_config is not None:
119
+ pulumi.set(__self__, "s3_backend_config", s3_backend_config)
120
+ if updated_at is not None:
121
+ pulumi.set(__self__, "updated_at", updated_at)
122
+
123
+ @property
124
+ @pulumi.getter(name="createdAt")
125
+ def created_at(self) -> Optional[pulumi.Input[str]]:
126
+ """
127
+ The date and time of the creation of the backend stage.
128
+ """
129
+ return pulumi.get(self, "created_at")
130
+
131
+ @created_at.setter
132
+ def created_at(self, value: Optional[pulumi.Input[str]]):
133
+ pulumi.set(self, "created_at", value)
134
+
135
+ @property
136
+ @pulumi.getter(name="lbBackendConfigs")
137
+ def lb_backend_configs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['EdgeServicesBackendStageLbBackendConfigArgs']]]]:
138
+ """
139
+ The Scaleway Load Balancer linked to the backend stage.
140
+ """
141
+ return pulumi.get(self, "lb_backend_configs")
142
+
143
+ @lb_backend_configs.setter
144
+ def lb_backend_configs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['EdgeServicesBackendStageLbBackendConfigArgs']]]]):
145
+ pulumi.set(self, "lb_backend_configs", value)
146
+
147
+ @property
148
+ @pulumi.getter(name="pipelineId")
149
+ def pipeline_id(self) -> Optional[pulumi.Input[str]]:
150
+ """
151
+ The ID of the pipeline.
152
+ """
153
+ return pulumi.get(self, "pipeline_id")
154
+
155
+ @pipeline_id.setter
156
+ def pipeline_id(self, value: Optional[pulumi.Input[str]]):
157
+ pulumi.set(self, "pipeline_id", value)
158
+
159
+ @property
160
+ @pulumi.getter(name="projectId")
161
+ def project_id(self) -> Optional[pulumi.Input[str]]:
162
+ """
163
+ `project_id`) The ID of the project the backend stage is associated with.
164
+ """
165
+ return pulumi.get(self, "project_id")
166
+
167
+ @project_id.setter
168
+ def project_id(self, value: Optional[pulumi.Input[str]]):
169
+ pulumi.set(self, "project_id", value)
170
+
171
+ @property
172
+ @pulumi.getter(name="s3BackendConfig")
173
+ def s3_backend_config(self) -> Optional[pulumi.Input['EdgeServicesBackendStageS3BackendConfigArgs']]:
174
+ """
175
+ The Scaleway Object Storage origin bucket (S3) linked to the backend stage.
176
+ """
177
+ return pulumi.get(self, "s3_backend_config")
178
+
179
+ @s3_backend_config.setter
180
+ def s3_backend_config(self, value: Optional[pulumi.Input['EdgeServicesBackendStageS3BackendConfigArgs']]):
181
+ pulumi.set(self, "s3_backend_config", value)
182
+
183
+ @property
184
+ @pulumi.getter(name="updatedAt")
185
+ def updated_at(self) -> Optional[pulumi.Input[str]]:
186
+ """
187
+ The date and time of the last update of the backend stage.
188
+ """
189
+ return pulumi.get(self, "updated_at")
190
+
191
+ @updated_at.setter
192
+ def updated_at(self, value: Optional[pulumi.Input[str]]):
193
+ pulumi.set(self, "updated_at", value)
194
+
195
+
196
+ class EdgeServicesBackendStage(pulumi.CustomResource):
197
+ @overload
198
+ def __init__(__self__,
199
+ resource_name: str,
200
+ opts: Optional[pulumi.ResourceOptions] = None,
201
+ lb_backend_configs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['EdgeServicesBackendStageLbBackendConfigArgs', 'EdgeServicesBackendStageLbBackendConfigArgsDict']]]]] = None,
202
+ pipeline_id: Optional[pulumi.Input[str]] = None,
203
+ project_id: Optional[pulumi.Input[str]] = None,
204
+ s3_backend_config: Optional[pulumi.Input[Union['EdgeServicesBackendStageS3BackendConfigArgs', 'EdgeServicesBackendStageS3BackendConfigArgsDict']]] = None,
205
+ __props__=None):
206
+ """
207
+ Creates and manages Scaleway Edge Services Backend Stages.
208
+
209
+ ## Example Usage
210
+
211
+ ### With object backend
212
+
213
+ ```python
214
+ import pulumi
215
+ import pulumiverse_scaleway as scaleway
216
+
217
+ main = scaleway.object.Bucket("main",
218
+ name="my-bucket-name",
219
+ tags={
220
+ "foo": "bar",
221
+ })
222
+ main_edge_services_pipeline = scaleway.EdgeServicesPipeline("main", name="my-pipeline")
223
+ main_edge_services_backend_stage = scaleway.EdgeServicesBackendStage("main",
224
+ pipeline_id=main_edge_services_pipeline.id,
225
+ s3_backend_config={
226
+ "bucket_name": main.name,
227
+ "bucket_region": "fr-par",
228
+ })
229
+ ```
230
+
231
+ ### With LB backend
232
+
233
+ ```python
234
+ import pulumi
235
+ import pulumiverse_scaleway as scaleway
236
+
237
+ main = scaleway.loadbalancers.LoadBalancer("main",
238
+ ip_ids=[main_scaleway_lb_ip["id"]],
239
+ zone="fr-par-1",
240
+ type="LB-S")
241
+ main_frontend = scaleway.loadbalancers.Frontend("main",
242
+ lb_id=main.id,
243
+ backend_id=main_scaleway_lb_backend["id"],
244
+ name="frontend01",
245
+ inbound_port=443,
246
+ certificate_ids=[cert01["id"]])
247
+ main_edge_services_pipeline = scaleway.EdgeServicesPipeline("main", name="my-pipeline")
248
+ main_edge_services_backend_stage = scaleway.EdgeServicesBackendStage("main",
249
+ pipeline_id=main_edge_services_pipeline.id,
250
+ lb_backend_configs=[{
251
+ "lb_config": {
252
+ "id": main.id,
253
+ "frontend_id": id,
254
+ "is_ssl": True,
255
+ "zone": "fr-par-1",
256
+ },
257
+ }])
258
+ ```
259
+
260
+ ## Import
261
+
262
+ Backend stages can be imported using the `{id}`, e.g.
263
+
264
+ bash
265
+
266
+ ```sh
267
+ $ pulumi import scaleway:index/edgeServicesBackendStage:EdgeServicesBackendStage basic 11111111-1111-1111-1111-111111111111
268
+ ```
269
+
270
+ :param str resource_name: The name of the resource.
271
+ :param pulumi.ResourceOptions opts: Options for the resource.
272
+ :param pulumi.Input[Sequence[pulumi.Input[Union['EdgeServicesBackendStageLbBackendConfigArgs', 'EdgeServicesBackendStageLbBackendConfigArgsDict']]]] lb_backend_configs: The Scaleway Load Balancer linked to the backend stage.
273
+ :param pulumi.Input[str] pipeline_id: The ID of the pipeline.
274
+ :param pulumi.Input[str] project_id: `project_id`) The ID of the project the backend stage is associated with.
275
+ :param pulumi.Input[Union['EdgeServicesBackendStageS3BackendConfigArgs', 'EdgeServicesBackendStageS3BackendConfigArgsDict']] s3_backend_config: The Scaleway Object Storage origin bucket (S3) linked to the backend stage.
276
+ """
277
+ ...
278
+ @overload
279
+ def __init__(__self__,
280
+ resource_name: str,
281
+ args: EdgeServicesBackendStageArgs,
282
+ opts: Optional[pulumi.ResourceOptions] = None):
283
+ """
284
+ Creates and manages Scaleway Edge Services Backend Stages.
285
+
286
+ ## Example Usage
287
+
288
+ ### With object backend
289
+
290
+ ```python
291
+ import pulumi
292
+ import pulumiverse_scaleway as scaleway
293
+
294
+ main = scaleway.object.Bucket("main",
295
+ name="my-bucket-name",
296
+ tags={
297
+ "foo": "bar",
298
+ })
299
+ main_edge_services_pipeline = scaleway.EdgeServicesPipeline("main", name="my-pipeline")
300
+ main_edge_services_backend_stage = scaleway.EdgeServicesBackendStage("main",
301
+ pipeline_id=main_edge_services_pipeline.id,
302
+ s3_backend_config={
303
+ "bucket_name": main.name,
304
+ "bucket_region": "fr-par",
305
+ })
306
+ ```
307
+
308
+ ### With LB backend
309
+
310
+ ```python
311
+ import pulumi
312
+ import pulumiverse_scaleway as scaleway
313
+
314
+ main = scaleway.loadbalancers.LoadBalancer("main",
315
+ ip_ids=[main_scaleway_lb_ip["id"]],
316
+ zone="fr-par-1",
317
+ type="LB-S")
318
+ main_frontend = scaleway.loadbalancers.Frontend("main",
319
+ lb_id=main.id,
320
+ backend_id=main_scaleway_lb_backend["id"],
321
+ name="frontend01",
322
+ inbound_port=443,
323
+ certificate_ids=[cert01["id"]])
324
+ main_edge_services_pipeline = scaleway.EdgeServicesPipeline("main", name="my-pipeline")
325
+ main_edge_services_backend_stage = scaleway.EdgeServicesBackendStage("main",
326
+ pipeline_id=main_edge_services_pipeline.id,
327
+ lb_backend_configs=[{
328
+ "lb_config": {
329
+ "id": main.id,
330
+ "frontend_id": id,
331
+ "is_ssl": True,
332
+ "zone": "fr-par-1",
333
+ },
334
+ }])
335
+ ```
336
+
337
+ ## Import
338
+
339
+ Backend stages can be imported using the `{id}`, e.g.
340
+
341
+ bash
342
+
343
+ ```sh
344
+ $ pulumi import scaleway:index/edgeServicesBackendStage:EdgeServicesBackendStage basic 11111111-1111-1111-1111-111111111111
345
+ ```
346
+
347
+ :param str resource_name: The name of the resource.
348
+ :param EdgeServicesBackendStageArgs args: The arguments to use to populate this resource's properties.
349
+ :param pulumi.ResourceOptions opts: Options for the resource.
350
+ """
351
+ ...
352
+ def __init__(__self__, resource_name: str, *args, **kwargs):
353
+ resource_args, opts = _utilities.get_resource_args_opts(EdgeServicesBackendStageArgs, pulumi.ResourceOptions, *args, **kwargs)
354
+ if resource_args is not None:
355
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
356
+ else:
357
+ __self__._internal_init(resource_name, *args, **kwargs)
358
+
359
+ def _internal_init(__self__,
360
+ resource_name: str,
361
+ opts: Optional[pulumi.ResourceOptions] = None,
362
+ lb_backend_configs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['EdgeServicesBackendStageLbBackendConfigArgs', 'EdgeServicesBackendStageLbBackendConfigArgsDict']]]]] = None,
363
+ pipeline_id: Optional[pulumi.Input[str]] = None,
364
+ project_id: Optional[pulumi.Input[str]] = None,
365
+ s3_backend_config: Optional[pulumi.Input[Union['EdgeServicesBackendStageS3BackendConfigArgs', 'EdgeServicesBackendStageS3BackendConfigArgsDict']]] = None,
366
+ __props__=None):
367
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
368
+ if not isinstance(opts, pulumi.ResourceOptions):
369
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
370
+ if opts.id is None:
371
+ if __props__ is not None:
372
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
373
+ __props__ = EdgeServicesBackendStageArgs.__new__(EdgeServicesBackendStageArgs)
374
+
375
+ __props__.__dict__["lb_backend_configs"] = lb_backend_configs
376
+ if pipeline_id is None and not opts.urn:
377
+ raise TypeError("Missing required property 'pipeline_id'")
378
+ __props__.__dict__["pipeline_id"] = pipeline_id
379
+ __props__.__dict__["project_id"] = project_id
380
+ __props__.__dict__["s3_backend_config"] = s3_backend_config
381
+ __props__.__dict__["created_at"] = None
382
+ __props__.__dict__["updated_at"] = None
383
+ super(EdgeServicesBackendStage, __self__).__init__(
384
+ 'scaleway:index/edgeServicesBackendStage:EdgeServicesBackendStage',
385
+ resource_name,
386
+ __props__,
387
+ opts)
388
+
389
+ @staticmethod
390
+ def get(resource_name: str,
391
+ id: pulumi.Input[str],
392
+ opts: Optional[pulumi.ResourceOptions] = None,
393
+ created_at: Optional[pulumi.Input[str]] = None,
394
+ lb_backend_configs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['EdgeServicesBackendStageLbBackendConfigArgs', 'EdgeServicesBackendStageLbBackendConfigArgsDict']]]]] = None,
395
+ pipeline_id: Optional[pulumi.Input[str]] = None,
396
+ project_id: Optional[pulumi.Input[str]] = None,
397
+ s3_backend_config: Optional[pulumi.Input[Union['EdgeServicesBackendStageS3BackendConfigArgs', 'EdgeServicesBackendStageS3BackendConfigArgsDict']]] = None,
398
+ updated_at: Optional[pulumi.Input[str]] = None) -> 'EdgeServicesBackendStage':
399
+ """
400
+ Get an existing EdgeServicesBackendStage resource's state with the given name, id, and optional extra
401
+ properties used to qualify the lookup.
402
+
403
+ :param str resource_name: The unique name of the resulting resource.
404
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
405
+ :param pulumi.ResourceOptions opts: Options for the resource.
406
+ :param pulumi.Input[str] created_at: The date and time of the creation of the backend stage.
407
+ :param pulumi.Input[Sequence[pulumi.Input[Union['EdgeServicesBackendStageLbBackendConfigArgs', 'EdgeServicesBackendStageLbBackendConfigArgsDict']]]] lb_backend_configs: The Scaleway Load Balancer linked to the backend stage.
408
+ :param pulumi.Input[str] pipeline_id: The ID of the pipeline.
409
+ :param pulumi.Input[str] project_id: `project_id`) The ID of the project the backend stage is associated with.
410
+ :param pulumi.Input[Union['EdgeServicesBackendStageS3BackendConfigArgs', 'EdgeServicesBackendStageS3BackendConfigArgsDict']] s3_backend_config: The Scaleway Object Storage origin bucket (S3) linked to the backend stage.
411
+ :param pulumi.Input[str] updated_at: The date and time of the last update of the backend stage.
412
+ """
413
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
414
+
415
+ __props__ = _EdgeServicesBackendStageState.__new__(_EdgeServicesBackendStageState)
416
+
417
+ __props__.__dict__["created_at"] = created_at
418
+ __props__.__dict__["lb_backend_configs"] = lb_backend_configs
419
+ __props__.__dict__["pipeline_id"] = pipeline_id
420
+ __props__.__dict__["project_id"] = project_id
421
+ __props__.__dict__["s3_backend_config"] = s3_backend_config
422
+ __props__.__dict__["updated_at"] = updated_at
423
+ return EdgeServicesBackendStage(resource_name, opts=opts, __props__=__props__)
424
+
425
+ @property
426
+ @pulumi.getter(name="createdAt")
427
+ def created_at(self) -> pulumi.Output[str]:
428
+ """
429
+ The date and time of the creation of the backend stage.
430
+ """
431
+ return pulumi.get(self, "created_at")
432
+
433
+ @property
434
+ @pulumi.getter(name="lbBackendConfigs")
435
+ def lb_backend_configs(self) -> pulumi.Output[Optional[Sequence['outputs.EdgeServicesBackendStageLbBackendConfig']]]:
436
+ """
437
+ The Scaleway Load Balancer linked to the backend stage.
438
+ """
439
+ return pulumi.get(self, "lb_backend_configs")
440
+
441
+ @property
442
+ @pulumi.getter(name="pipelineId")
443
+ def pipeline_id(self) -> pulumi.Output[str]:
444
+ """
445
+ The ID of the pipeline.
446
+ """
447
+ return pulumi.get(self, "pipeline_id")
448
+
449
+ @property
450
+ @pulumi.getter(name="projectId")
451
+ def project_id(self) -> pulumi.Output[str]:
452
+ """
453
+ `project_id`) The ID of the project the backend stage is associated with.
454
+ """
455
+ return pulumi.get(self, "project_id")
456
+
457
+ @property
458
+ @pulumi.getter(name="s3BackendConfig")
459
+ def s3_backend_config(self) -> pulumi.Output[Optional['outputs.EdgeServicesBackendStageS3BackendConfig']]:
460
+ """
461
+ The Scaleway Object Storage origin bucket (S3) linked to the backend stage.
462
+ """
463
+ return pulumi.get(self, "s3_backend_config")
464
+
465
+ @property
466
+ @pulumi.getter(name="updatedAt")
467
+ def updated_at(self) -> pulumi.Output[str]:
468
+ """
469
+ The date and time of the last update of the backend stage.
470
+ """
471
+ return pulumi.get(self, "updated_at")
472
+