pulumiverse-scaleway 1.26.0a1742897201__py3-none-any.whl → 1.27.0a1743490704__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.27.0a1743490704.dist-info}/METADATA +1 -1
  64. {pulumiverse_scaleway-1.26.0a1742897201.dist-info → pulumiverse_scaleway-1.27.0a1743490704.dist-info}/RECORD +66 -53
  65. {pulumiverse_scaleway-1.26.0a1742897201.dist-info → pulumiverse_scaleway-1.27.0a1743490704.dist-info}/WHEEL +1 -1
  66. {pulumiverse_scaleway-1.26.0a1742897201.dist-info → pulumiverse_scaleway-1.27.0a1743490704.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,490 @@
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__ = ['EdgeServicesCacheStageArgs', 'EdgeServicesCacheStage']
20
+
21
+ @pulumi.input_type
22
+ class EdgeServicesCacheStageArgs:
23
+ def __init__(__self__, *,
24
+ pipeline_id: pulumi.Input[str],
25
+ backend_stage_id: Optional[pulumi.Input[str]] = None,
26
+ fallback_ttl: Optional[pulumi.Input[int]] = None,
27
+ project_id: Optional[pulumi.Input[str]] = None,
28
+ purge_requests: Optional[pulumi.Input[Sequence[pulumi.Input['EdgeServicesCacheStagePurgeRequestArgs']]]] = None,
29
+ refresh_cache: Optional[pulumi.Input[str]] = None):
30
+ """
31
+ The set of arguments for constructing a EdgeServicesCacheStage resource.
32
+ :param pulumi.Input[str] pipeline_id: The ID of the pipeline.
33
+ :param pulumi.Input[str] backend_stage_id: The backend stage ID the cache stage will be linked to.
34
+ :param pulumi.Input[int] fallback_ttl: The Time To Live (TTL) in seconds. Defines how long content is cached.
35
+ :param pulumi.Input[str] project_id: `project_id`) The ID of the project the cache stage is associated with.
36
+ :param pulumi.Input[Sequence[pulumi.Input['EdgeServicesCacheStagePurgeRequestArgs']]] purge_requests: The Scaleway Object Storage origin bucket (S3) linked to the backend stage.
37
+ :param pulumi.Input[str] refresh_cache: Trigger a refresh of the cache by changing this field's value.
38
+ """
39
+ pulumi.set(__self__, "pipeline_id", pipeline_id)
40
+ if backend_stage_id is not None:
41
+ pulumi.set(__self__, "backend_stage_id", backend_stage_id)
42
+ if fallback_ttl is not None:
43
+ pulumi.set(__self__, "fallback_ttl", fallback_ttl)
44
+ if project_id is not None:
45
+ pulumi.set(__self__, "project_id", project_id)
46
+ if purge_requests is not None:
47
+ pulumi.set(__self__, "purge_requests", purge_requests)
48
+ if refresh_cache is not None:
49
+ pulumi.set(__self__, "refresh_cache", refresh_cache)
50
+
51
+ @property
52
+ @pulumi.getter(name="pipelineId")
53
+ def pipeline_id(self) -> pulumi.Input[str]:
54
+ """
55
+ The ID of the pipeline.
56
+ """
57
+ return pulumi.get(self, "pipeline_id")
58
+
59
+ @pipeline_id.setter
60
+ def pipeline_id(self, value: pulumi.Input[str]):
61
+ pulumi.set(self, "pipeline_id", value)
62
+
63
+ @property
64
+ @pulumi.getter(name="backendStageId")
65
+ def backend_stage_id(self) -> Optional[pulumi.Input[str]]:
66
+ """
67
+ The backend stage ID the cache stage will be linked to.
68
+ """
69
+ return pulumi.get(self, "backend_stage_id")
70
+
71
+ @backend_stage_id.setter
72
+ def backend_stage_id(self, value: Optional[pulumi.Input[str]]):
73
+ pulumi.set(self, "backend_stage_id", value)
74
+
75
+ @property
76
+ @pulumi.getter(name="fallbackTtl")
77
+ def fallback_ttl(self) -> Optional[pulumi.Input[int]]:
78
+ """
79
+ The Time To Live (TTL) in seconds. Defines how long content is cached.
80
+ """
81
+ return pulumi.get(self, "fallback_ttl")
82
+
83
+ @fallback_ttl.setter
84
+ def fallback_ttl(self, value: Optional[pulumi.Input[int]]):
85
+ pulumi.set(self, "fallback_ttl", value)
86
+
87
+ @property
88
+ @pulumi.getter(name="projectId")
89
+ def project_id(self) -> Optional[pulumi.Input[str]]:
90
+ """
91
+ `project_id`) The ID of the project the cache stage is associated with.
92
+ """
93
+ return pulumi.get(self, "project_id")
94
+
95
+ @project_id.setter
96
+ def project_id(self, value: Optional[pulumi.Input[str]]):
97
+ pulumi.set(self, "project_id", value)
98
+
99
+ @property
100
+ @pulumi.getter(name="purgeRequests")
101
+ def purge_requests(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['EdgeServicesCacheStagePurgeRequestArgs']]]]:
102
+ """
103
+ The Scaleway Object Storage origin bucket (S3) linked to the backend stage.
104
+ """
105
+ return pulumi.get(self, "purge_requests")
106
+
107
+ @purge_requests.setter
108
+ def purge_requests(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['EdgeServicesCacheStagePurgeRequestArgs']]]]):
109
+ pulumi.set(self, "purge_requests", value)
110
+
111
+ @property
112
+ @pulumi.getter(name="refreshCache")
113
+ def refresh_cache(self) -> Optional[pulumi.Input[str]]:
114
+ """
115
+ Trigger a refresh of the cache by changing this field's value.
116
+ """
117
+ return pulumi.get(self, "refresh_cache")
118
+
119
+ @refresh_cache.setter
120
+ def refresh_cache(self, value: Optional[pulumi.Input[str]]):
121
+ pulumi.set(self, "refresh_cache", value)
122
+
123
+
124
+ @pulumi.input_type
125
+ class _EdgeServicesCacheStageState:
126
+ def __init__(__self__, *,
127
+ backend_stage_id: Optional[pulumi.Input[str]] = None,
128
+ created_at: Optional[pulumi.Input[str]] = None,
129
+ fallback_ttl: Optional[pulumi.Input[int]] = None,
130
+ pipeline_id: Optional[pulumi.Input[str]] = None,
131
+ project_id: Optional[pulumi.Input[str]] = None,
132
+ purge_requests: Optional[pulumi.Input[Sequence[pulumi.Input['EdgeServicesCacheStagePurgeRequestArgs']]]] = None,
133
+ refresh_cache: Optional[pulumi.Input[str]] = None,
134
+ updated_at: Optional[pulumi.Input[str]] = None):
135
+ """
136
+ Input properties used for looking up and filtering EdgeServicesCacheStage resources.
137
+ :param pulumi.Input[str] backend_stage_id: The backend stage ID the cache stage will be linked to.
138
+ :param pulumi.Input[str] created_at: The date and time of the creation of the cache stage.
139
+ :param pulumi.Input[int] fallback_ttl: The Time To Live (TTL) in seconds. Defines how long content is cached.
140
+ :param pulumi.Input[str] pipeline_id: The ID of the pipeline.
141
+ :param pulumi.Input[str] project_id: `project_id`) The ID of the project the cache stage is associated with.
142
+ :param pulumi.Input[Sequence[pulumi.Input['EdgeServicesCacheStagePurgeRequestArgs']]] purge_requests: The Scaleway Object Storage origin bucket (S3) linked to the backend stage.
143
+ :param pulumi.Input[str] refresh_cache: Trigger a refresh of the cache by changing this field's value.
144
+ :param pulumi.Input[str] updated_at: The date and time of the last update of the cache stage.
145
+ """
146
+ if backend_stage_id is not None:
147
+ pulumi.set(__self__, "backend_stage_id", backend_stage_id)
148
+ if created_at is not None:
149
+ pulumi.set(__self__, "created_at", created_at)
150
+ if fallback_ttl is not None:
151
+ pulumi.set(__self__, "fallback_ttl", fallback_ttl)
152
+ if pipeline_id is not None:
153
+ pulumi.set(__self__, "pipeline_id", pipeline_id)
154
+ if project_id is not None:
155
+ pulumi.set(__self__, "project_id", project_id)
156
+ if purge_requests is not None:
157
+ pulumi.set(__self__, "purge_requests", purge_requests)
158
+ if refresh_cache is not None:
159
+ pulumi.set(__self__, "refresh_cache", refresh_cache)
160
+ if updated_at is not None:
161
+ pulumi.set(__self__, "updated_at", updated_at)
162
+
163
+ @property
164
+ @pulumi.getter(name="backendStageId")
165
+ def backend_stage_id(self) -> Optional[pulumi.Input[str]]:
166
+ """
167
+ The backend stage ID the cache stage will be linked to.
168
+ """
169
+ return pulumi.get(self, "backend_stage_id")
170
+
171
+ @backend_stage_id.setter
172
+ def backend_stage_id(self, value: Optional[pulumi.Input[str]]):
173
+ pulumi.set(self, "backend_stage_id", value)
174
+
175
+ @property
176
+ @pulumi.getter(name="createdAt")
177
+ def created_at(self) -> Optional[pulumi.Input[str]]:
178
+ """
179
+ The date and time of the creation of the cache stage.
180
+ """
181
+ return pulumi.get(self, "created_at")
182
+
183
+ @created_at.setter
184
+ def created_at(self, value: Optional[pulumi.Input[str]]):
185
+ pulumi.set(self, "created_at", value)
186
+
187
+ @property
188
+ @pulumi.getter(name="fallbackTtl")
189
+ def fallback_ttl(self) -> Optional[pulumi.Input[int]]:
190
+ """
191
+ The Time To Live (TTL) in seconds. Defines how long content is cached.
192
+ """
193
+ return pulumi.get(self, "fallback_ttl")
194
+
195
+ @fallback_ttl.setter
196
+ def fallback_ttl(self, value: Optional[pulumi.Input[int]]):
197
+ pulumi.set(self, "fallback_ttl", value)
198
+
199
+ @property
200
+ @pulumi.getter(name="pipelineId")
201
+ def pipeline_id(self) -> Optional[pulumi.Input[str]]:
202
+ """
203
+ The ID of the pipeline.
204
+ """
205
+ return pulumi.get(self, "pipeline_id")
206
+
207
+ @pipeline_id.setter
208
+ def pipeline_id(self, value: Optional[pulumi.Input[str]]):
209
+ pulumi.set(self, "pipeline_id", value)
210
+
211
+ @property
212
+ @pulumi.getter(name="projectId")
213
+ def project_id(self) -> Optional[pulumi.Input[str]]:
214
+ """
215
+ `project_id`) The ID of the project the cache stage is associated with.
216
+ """
217
+ return pulumi.get(self, "project_id")
218
+
219
+ @project_id.setter
220
+ def project_id(self, value: Optional[pulumi.Input[str]]):
221
+ pulumi.set(self, "project_id", value)
222
+
223
+ @property
224
+ @pulumi.getter(name="purgeRequests")
225
+ def purge_requests(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['EdgeServicesCacheStagePurgeRequestArgs']]]]:
226
+ """
227
+ The Scaleway Object Storage origin bucket (S3) linked to the backend stage.
228
+ """
229
+ return pulumi.get(self, "purge_requests")
230
+
231
+ @purge_requests.setter
232
+ def purge_requests(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['EdgeServicesCacheStagePurgeRequestArgs']]]]):
233
+ pulumi.set(self, "purge_requests", value)
234
+
235
+ @property
236
+ @pulumi.getter(name="refreshCache")
237
+ def refresh_cache(self) -> Optional[pulumi.Input[str]]:
238
+ """
239
+ Trigger a refresh of the cache by changing this field's value.
240
+ """
241
+ return pulumi.get(self, "refresh_cache")
242
+
243
+ @refresh_cache.setter
244
+ def refresh_cache(self, value: Optional[pulumi.Input[str]]):
245
+ pulumi.set(self, "refresh_cache", value)
246
+
247
+ @property
248
+ @pulumi.getter(name="updatedAt")
249
+ def updated_at(self) -> Optional[pulumi.Input[str]]:
250
+ """
251
+ The date and time of the last update of the cache stage.
252
+ """
253
+ return pulumi.get(self, "updated_at")
254
+
255
+ @updated_at.setter
256
+ def updated_at(self, value: Optional[pulumi.Input[str]]):
257
+ pulumi.set(self, "updated_at", value)
258
+
259
+
260
+ class EdgeServicesCacheStage(pulumi.CustomResource):
261
+ @overload
262
+ def __init__(__self__,
263
+ resource_name: str,
264
+ opts: Optional[pulumi.ResourceOptions] = None,
265
+ backend_stage_id: Optional[pulumi.Input[str]] = None,
266
+ fallback_ttl: Optional[pulumi.Input[int]] = None,
267
+ pipeline_id: Optional[pulumi.Input[str]] = None,
268
+ project_id: Optional[pulumi.Input[str]] = None,
269
+ purge_requests: Optional[pulumi.Input[Sequence[pulumi.Input[Union['EdgeServicesCacheStagePurgeRequestArgs', 'EdgeServicesCacheStagePurgeRequestArgsDict']]]]] = None,
270
+ refresh_cache: Optional[pulumi.Input[str]] = None,
271
+ __props__=None):
272
+ """
273
+ Creates and manages Scaleway Edge Services Cache Stages.
274
+
275
+ ## Example Usage
276
+
277
+ ### Basic
278
+
279
+ ```python
280
+ import pulumi
281
+ import pulumiverse_scaleway as scaleway
282
+
283
+ main = scaleway.EdgeServicesCacheStage("main",
284
+ pipeline_id=main_scaleway_edge_services_pipeline["id"],
285
+ backend_stage_id=main_scaleway_edge_services_backend_stage["id"])
286
+ ```
287
+
288
+ ## Import
289
+
290
+ Cache stages can be imported using the `{id}`, e.g.
291
+
292
+ bash
293
+
294
+ ```sh
295
+ $ pulumi import scaleway:index/edgeServicesCacheStage:EdgeServicesCacheStage basic 11111111-1111-1111-1111-111111111111
296
+ ```
297
+
298
+ :param str resource_name: The name of the resource.
299
+ :param pulumi.ResourceOptions opts: Options for the resource.
300
+ :param pulumi.Input[str] backend_stage_id: The backend stage ID the cache stage will be linked to.
301
+ :param pulumi.Input[int] fallback_ttl: The Time To Live (TTL) in seconds. Defines how long content is cached.
302
+ :param pulumi.Input[str] pipeline_id: The ID of the pipeline.
303
+ :param pulumi.Input[str] project_id: `project_id`) The ID of the project the cache stage is associated with.
304
+ :param pulumi.Input[Sequence[pulumi.Input[Union['EdgeServicesCacheStagePurgeRequestArgs', 'EdgeServicesCacheStagePurgeRequestArgsDict']]]] purge_requests: The Scaleway Object Storage origin bucket (S3) linked to the backend stage.
305
+ :param pulumi.Input[str] refresh_cache: Trigger a refresh of the cache by changing this field's value.
306
+ """
307
+ ...
308
+ @overload
309
+ def __init__(__self__,
310
+ resource_name: str,
311
+ args: EdgeServicesCacheStageArgs,
312
+ opts: Optional[pulumi.ResourceOptions] = None):
313
+ """
314
+ Creates and manages Scaleway Edge Services Cache Stages.
315
+
316
+ ## Example Usage
317
+
318
+ ### Basic
319
+
320
+ ```python
321
+ import pulumi
322
+ import pulumiverse_scaleway as scaleway
323
+
324
+ main = scaleway.EdgeServicesCacheStage("main",
325
+ pipeline_id=main_scaleway_edge_services_pipeline["id"],
326
+ backend_stage_id=main_scaleway_edge_services_backend_stage["id"])
327
+ ```
328
+
329
+ ## Import
330
+
331
+ Cache stages can be imported using the `{id}`, e.g.
332
+
333
+ bash
334
+
335
+ ```sh
336
+ $ pulumi import scaleway:index/edgeServicesCacheStage:EdgeServicesCacheStage basic 11111111-1111-1111-1111-111111111111
337
+ ```
338
+
339
+ :param str resource_name: The name of the resource.
340
+ :param EdgeServicesCacheStageArgs args: The arguments to use to populate this resource's properties.
341
+ :param pulumi.ResourceOptions opts: Options for the resource.
342
+ """
343
+ ...
344
+ def __init__(__self__, resource_name: str, *args, **kwargs):
345
+ resource_args, opts = _utilities.get_resource_args_opts(EdgeServicesCacheStageArgs, pulumi.ResourceOptions, *args, **kwargs)
346
+ if resource_args is not None:
347
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
348
+ else:
349
+ __self__._internal_init(resource_name, *args, **kwargs)
350
+
351
+ def _internal_init(__self__,
352
+ resource_name: str,
353
+ opts: Optional[pulumi.ResourceOptions] = None,
354
+ backend_stage_id: Optional[pulumi.Input[str]] = None,
355
+ fallback_ttl: Optional[pulumi.Input[int]] = None,
356
+ pipeline_id: Optional[pulumi.Input[str]] = None,
357
+ project_id: Optional[pulumi.Input[str]] = None,
358
+ purge_requests: Optional[pulumi.Input[Sequence[pulumi.Input[Union['EdgeServicesCacheStagePurgeRequestArgs', 'EdgeServicesCacheStagePurgeRequestArgsDict']]]]] = None,
359
+ refresh_cache: Optional[pulumi.Input[str]] = None,
360
+ __props__=None):
361
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
362
+ if not isinstance(opts, pulumi.ResourceOptions):
363
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
364
+ if opts.id is None:
365
+ if __props__ is not None:
366
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
367
+ __props__ = EdgeServicesCacheStageArgs.__new__(EdgeServicesCacheStageArgs)
368
+
369
+ __props__.__dict__["backend_stage_id"] = backend_stage_id
370
+ __props__.__dict__["fallback_ttl"] = fallback_ttl
371
+ if pipeline_id is None and not opts.urn:
372
+ raise TypeError("Missing required property 'pipeline_id'")
373
+ __props__.__dict__["pipeline_id"] = pipeline_id
374
+ __props__.__dict__["project_id"] = project_id
375
+ __props__.__dict__["purge_requests"] = purge_requests
376
+ __props__.__dict__["refresh_cache"] = refresh_cache
377
+ __props__.__dict__["created_at"] = None
378
+ __props__.__dict__["updated_at"] = None
379
+ super(EdgeServicesCacheStage, __self__).__init__(
380
+ 'scaleway:index/edgeServicesCacheStage:EdgeServicesCacheStage',
381
+ resource_name,
382
+ __props__,
383
+ opts)
384
+
385
+ @staticmethod
386
+ def get(resource_name: str,
387
+ id: pulumi.Input[str],
388
+ opts: Optional[pulumi.ResourceOptions] = None,
389
+ backend_stage_id: Optional[pulumi.Input[str]] = None,
390
+ created_at: Optional[pulumi.Input[str]] = None,
391
+ fallback_ttl: Optional[pulumi.Input[int]] = None,
392
+ pipeline_id: Optional[pulumi.Input[str]] = None,
393
+ project_id: Optional[pulumi.Input[str]] = None,
394
+ purge_requests: Optional[pulumi.Input[Sequence[pulumi.Input[Union['EdgeServicesCacheStagePurgeRequestArgs', 'EdgeServicesCacheStagePurgeRequestArgsDict']]]]] = None,
395
+ refresh_cache: Optional[pulumi.Input[str]] = None,
396
+ updated_at: Optional[pulumi.Input[str]] = None) -> 'EdgeServicesCacheStage':
397
+ """
398
+ Get an existing EdgeServicesCacheStage resource's state with the given name, id, and optional extra
399
+ properties used to qualify the lookup.
400
+
401
+ :param str resource_name: The unique name of the resulting resource.
402
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
403
+ :param pulumi.ResourceOptions opts: Options for the resource.
404
+ :param pulumi.Input[str] backend_stage_id: The backend stage ID the cache stage will be linked to.
405
+ :param pulumi.Input[str] created_at: The date and time of the creation of the cache stage.
406
+ :param pulumi.Input[int] fallback_ttl: The Time To Live (TTL) in seconds. Defines how long content is cached.
407
+ :param pulumi.Input[str] pipeline_id: The ID of the pipeline.
408
+ :param pulumi.Input[str] project_id: `project_id`) The ID of the project the cache stage is associated with.
409
+ :param pulumi.Input[Sequence[pulumi.Input[Union['EdgeServicesCacheStagePurgeRequestArgs', 'EdgeServicesCacheStagePurgeRequestArgsDict']]]] purge_requests: The Scaleway Object Storage origin bucket (S3) linked to the backend stage.
410
+ :param pulumi.Input[str] refresh_cache: Trigger a refresh of the cache by changing this field's value.
411
+ :param pulumi.Input[str] updated_at: The date and time of the last update of the cache stage.
412
+ """
413
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
414
+
415
+ __props__ = _EdgeServicesCacheStageState.__new__(_EdgeServicesCacheStageState)
416
+
417
+ __props__.__dict__["backend_stage_id"] = backend_stage_id
418
+ __props__.__dict__["created_at"] = created_at
419
+ __props__.__dict__["fallback_ttl"] = fallback_ttl
420
+ __props__.__dict__["pipeline_id"] = pipeline_id
421
+ __props__.__dict__["project_id"] = project_id
422
+ __props__.__dict__["purge_requests"] = purge_requests
423
+ __props__.__dict__["refresh_cache"] = refresh_cache
424
+ __props__.__dict__["updated_at"] = updated_at
425
+ return EdgeServicesCacheStage(resource_name, opts=opts, __props__=__props__)
426
+
427
+ @property
428
+ @pulumi.getter(name="backendStageId")
429
+ def backend_stage_id(self) -> pulumi.Output[str]:
430
+ """
431
+ The backend stage ID the cache stage will be linked to.
432
+ """
433
+ return pulumi.get(self, "backend_stage_id")
434
+
435
+ @property
436
+ @pulumi.getter(name="createdAt")
437
+ def created_at(self) -> pulumi.Output[str]:
438
+ """
439
+ The date and time of the creation of the cache stage.
440
+ """
441
+ return pulumi.get(self, "created_at")
442
+
443
+ @property
444
+ @pulumi.getter(name="fallbackTtl")
445
+ def fallback_ttl(self) -> pulumi.Output[Optional[int]]:
446
+ """
447
+ The Time To Live (TTL) in seconds. Defines how long content is cached.
448
+ """
449
+ return pulumi.get(self, "fallback_ttl")
450
+
451
+ @property
452
+ @pulumi.getter(name="pipelineId")
453
+ def pipeline_id(self) -> pulumi.Output[str]:
454
+ """
455
+ The ID of the pipeline.
456
+ """
457
+ return pulumi.get(self, "pipeline_id")
458
+
459
+ @property
460
+ @pulumi.getter(name="projectId")
461
+ def project_id(self) -> pulumi.Output[str]:
462
+ """
463
+ `project_id`) The ID of the project the cache stage is associated with.
464
+ """
465
+ return pulumi.get(self, "project_id")
466
+
467
+ @property
468
+ @pulumi.getter(name="purgeRequests")
469
+ def purge_requests(self) -> pulumi.Output[Optional[Sequence['outputs.EdgeServicesCacheStagePurgeRequest']]]:
470
+ """
471
+ The Scaleway Object Storage origin bucket (S3) linked to the backend stage.
472
+ """
473
+ return pulumi.get(self, "purge_requests")
474
+
475
+ @property
476
+ @pulumi.getter(name="refreshCache")
477
+ def refresh_cache(self) -> pulumi.Output[Optional[str]]:
478
+ """
479
+ Trigger a refresh of the cache by changing this field's value.
480
+ """
481
+ return pulumi.get(self, "refresh_cache")
482
+
483
+ @property
484
+ @pulumi.getter(name="updatedAt")
485
+ def updated_at(self) -> pulumi.Output[str]:
486
+ """
487
+ The date and time of the last update of the cache stage.
488
+ """
489
+ return pulumi.get(self, "updated_at")
490
+