pulumiverse-scaleway 1.30.0a1752168858__py3-none-any.whl → 1.31.0a1752171288__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 (42) hide show
  1. pulumiverse_scaleway/__init__.py +27 -0
  2. pulumiverse_scaleway/_inputs.py +94 -32
  3. pulumiverse_scaleway/apple_silicon_server.py +47 -0
  4. pulumiverse_scaleway/applesilicon/server.py +47 -0
  5. pulumiverse_scaleway/autoscaling/__init__.py +13 -0
  6. pulumiverse_scaleway/autoscaling/_inputs.py +559 -0
  7. pulumiverse_scaleway/autoscaling/instance_group.py +808 -0
  8. pulumiverse_scaleway/autoscaling/instance_policy.py +635 -0
  9. pulumiverse_scaleway/autoscaling/instance_template.py +879 -0
  10. pulumiverse_scaleway/autoscaling/outputs.py +439 -0
  11. pulumiverse_scaleway/edge_services_cache_stage.py +47 -0
  12. pulumiverse_scaleway/get_cockpit_source.py +50 -7
  13. pulumiverse_scaleway/get_kubernetes_node_pool.py +12 -1
  14. pulumiverse_scaleway/get_vpc.py +12 -1
  15. pulumiverse_scaleway/get_vpc_private_network.py +12 -1
  16. pulumiverse_scaleway/kubernetes/get_pool.py +12 -1
  17. pulumiverse_scaleway/kubernetes/pool.py +61 -0
  18. pulumiverse_scaleway/kubernetes_node_pool.py +61 -0
  19. pulumiverse_scaleway/loadbalancer_acl.py +7 -7
  20. pulumiverse_scaleway/loadbalancers/_inputs.py +51 -11
  21. pulumiverse_scaleway/loadbalancers/acl.py +7 -7
  22. pulumiverse_scaleway/loadbalancers/outputs.py +60 -10
  23. pulumiverse_scaleway/network/get_private_network.py +12 -1
  24. pulumiverse_scaleway/network/get_vpc.py +12 -1
  25. pulumiverse_scaleway/network/private_network.py +47 -0
  26. pulumiverse_scaleway/network/vpc.py +47 -0
  27. pulumiverse_scaleway/object/_inputs.py +43 -21
  28. pulumiverse_scaleway/object/bucket_acl.py +6 -4
  29. pulumiverse_scaleway/object/outputs.py +26 -12
  30. pulumiverse_scaleway/object_bucket_acl.py +6 -4
  31. pulumiverse_scaleway/observability/get_source.py +50 -7
  32. pulumiverse_scaleway/outputs.py +86 -22
  33. pulumiverse_scaleway/pulumi-plugin.json +1 -1
  34. pulumiverse_scaleway/vpc.py +47 -0
  35. pulumiverse_scaleway/vpc_private_network.py +47 -0
  36. {pulumiverse_scaleway-1.30.0a1752168858.dist-info → pulumiverse_scaleway-1.31.0a1752171288.dist-info}/METADATA +1 -1
  37. {pulumiverse_scaleway-1.30.0a1752168858.dist-info → pulumiverse_scaleway-1.31.0a1752171288.dist-info}/RECORD +39 -36
  38. pulumiverse_scaleway/elasticmetal/get_easy_partitioning.py +0 -177
  39. pulumiverse_scaleway/get_cockpit_plan.py +0 -94
  40. pulumiverse_scaleway/observability/get_plan.py +0 -90
  41. {pulumiverse_scaleway-1.30.0a1752168858.dist-info → pulumiverse_scaleway-1.31.0a1752171288.dist-info}/WHEEL +0 -0
  42. {pulumiverse_scaleway-1.30.0a1752168858.dist-info → pulumiverse_scaleway-1.31.0a1752171288.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,439 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import builtins
6
+ import copy
7
+ import warnings
8
+ import sys
9
+ import pulumi
10
+ import pulumi.runtime
11
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
12
+ if sys.version_info >= (3, 11):
13
+ from typing import NotRequired, TypedDict, TypeAlias
14
+ else:
15
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
16
+ from .. import _utilities
17
+ from . import outputs
18
+
19
+ __all__ = [
20
+ 'InstanceGroupCapacity',
21
+ 'InstanceGroupLoadBalancer',
22
+ 'InstancePolicyMetric',
23
+ 'InstanceTemplateVolume',
24
+ 'InstanceTemplateVolumeFromEmpty',
25
+ 'InstanceTemplateVolumeFromSnapshot',
26
+ ]
27
+
28
+ @pulumi.output_type
29
+ class InstanceGroupCapacity(dict):
30
+ @staticmethod
31
+ def __key_warning(key: str):
32
+ suggest = None
33
+ if key == "cooldownDelay":
34
+ suggest = "cooldown_delay"
35
+ elif key == "maxReplicas":
36
+ suggest = "max_replicas"
37
+ elif key == "minReplicas":
38
+ suggest = "min_replicas"
39
+
40
+ if suggest:
41
+ pulumi.log.warn(f"Key '{key}' not found in InstanceGroupCapacity. Access the value via the '{suggest}' property getter instead.")
42
+
43
+ def __getitem__(self, key: str) -> Any:
44
+ InstanceGroupCapacity.__key_warning(key)
45
+ return super().__getitem__(key)
46
+
47
+ def get(self, key: str, default = None) -> Any:
48
+ InstanceGroupCapacity.__key_warning(key)
49
+ return super().get(key, default)
50
+
51
+ def __init__(__self__, *,
52
+ cooldown_delay: Optional[builtins.int] = None,
53
+ max_replicas: Optional[builtins.int] = None,
54
+ min_replicas: Optional[builtins.int] = None):
55
+ """
56
+ :param builtins.int cooldown_delay: Time (in seconds) after a scaling action during which requests to carry out a new scaling action will be denied.
57
+ :param builtins.int max_replicas: The maximum count of Instances for the Instance group.
58
+ :param builtins.int min_replicas: The minimum count of Instances for the Instance group.
59
+ """
60
+ if cooldown_delay is not None:
61
+ pulumi.set(__self__, "cooldown_delay", cooldown_delay)
62
+ if max_replicas is not None:
63
+ pulumi.set(__self__, "max_replicas", max_replicas)
64
+ if min_replicas is not None:
65
+ pulumi.set(__self__, "min_replicas", min_replicas)
66
+
67
+ @property
68
+ @pulumi.getter(name="cooldownDelay")
69
+ def cooldown_delay(self) -> Optional[builtins.int]:
70
+ """
71
+ Time (in seconds) after a scaling action during which requests to carry out a new scaling action will be denied.
72
+ """
73
+ return pulumi.get(self, "cooldown_delay")
74
+
75
+ @property
76
+ @pulumi.getter(name="maxReplicas")
77
+ def max_replicas(self) -> Optional[builtins.int]:
78
+ """
79
+ The maximum count of Instances for the Instance group.
80
+ """
81
+ return pulumi.get(self, "max_replicas")
82
+
83
+ @property
84
+ @pulumi.getter(name="minReplicas")
85
+ def min_replicas(self) -> Optional[builtins.int]:
86
+ """
87
+ The minimum count of Instances for the Instance group.
88
+ """
89
+ return pulumi.get(self, "min_replicas")
90
+
91
+
92
+ @pulumi.output_type
93
+ class InstanceGroupLoadBalancer(dict):
94
+ @staticmethod
95
+ def __key_warning(key: str):
96
+ suggest = None
97
+ if key == "backendIds":
98
+ suggest = "backend_ids"
99
+ elif key == "privateNetworkId":
100
+ suggest = "private_network_id"
101
+
102
+ if suggest:
103
+ pulumi.log.warn(f"Key '{key}' not found in InstanceGroupLoadBalancer. Access the value via the '{suggest}' property getter instead.")
104
+
105
+ def __getitem__(self, key: str) -> Any:
106
+ InstanceGroupLoadBalancer.__key_warning(key)
107
+ return super().__getitem__(key)
108
+
109
+ def get(self, key: str, default = None) -> Any:
110
+ InstanceGroupLoadBalancer.__key_warning(key)
111
+ return super().get(key, default)
112
+
113
+ def __init__(__self__, *,
114
+ backend_ids: Optional[Sequence[builtins.str]] = None,
115
+ id: Optional[builtins.str] = None,
116
+ private_network_id: Optional[builtins.str] = None):
117
+ """
118
+ :param Sequence[builtins.str] backend_ids: The Load Balancer backend IDs.
119
+ :param builtins.str id: The ID of the Load Balancer.
120
+ :param builtins.str private_network_id: The ID of the Private Network attached to the Load Balancer.
121
+ """
122
+ if backend_ids is not None:
123
+ pulumi.set(__self__, "backend_ids", backend_ids)
124
+ if id is not None:
125
+ pulumi.set(__self__, "id", id)
126
+ if private_network_id is not None:
127
+ pulumi.set(__self__, "private_network_id", private_network_id)
128
+
129
+ @property
130
+ @pulumi.getter(name="backendIds")
131
+ def backend_ids(self) -> Optional[Sequence[builtins.str]]:
132
+ """
133
+ The Load Balancer backend IDs.
134
+ """
135
+ return pulumi.get(self, "backend_ids")
136
+
137
+ @property
138
+ @pulumi.getter
139
+ def id(self) -> Optional[builtins.str]:
140
+ """
141
+ The ID of the Load Balancer.
142
+ """
143
+ return pulumi.get(self, "id")
144
+
145
+ @property
146
+ @pulumi.getter(name="privateNetworkId")
147
+ def private_network_id(self) -> Optional[builtins.str]:
148
+ """
149
+ The ID of the Private Network attached to the Load Balancer.
150
+ """
151
+ return pulumi.get(self, "private_network_id")
152
+
153
+
154
+ @pulumi.output_type
155
+ class InstancePolicyMetric(dict):
156
+ @staticmethod
157
+ def __key_warning(key: str):
158
+ suggest = None
159
+ if key == "cockpitMetricName":
160
+ suggest = "cockpit_metric_name"
161
+ elif key == "managedMetric":
162
+ suggest = "managed_metric"
163
+ elif key == "samplingRangeMin":
164
+ suggest = "sampling_range_min"
165
+
166
+ if suggest:
167
+ pulumi.log.warn(f"Key '{key}' not found in InstancePolicyMetric. Access the value via the '{suggest}' property getter instead.")
168
+
169
+ def __getitem__(self, key: str) -> Any:
170
+ InstancePolicyMetric.__key_warning(key)
171
+ return super().__getitem__(key)
172
+
173
+ def get(self, key: str, default = None) -> Any:
174
+ InstancePolicyMetric.__key_warning(key)
175
+ return super().get(key, default)
176
+
177
+ def __init__(__self__, *,
178
+ aggregate: builtins.str,
179
+ name: builtins.str,
180
+ operator: builtins.str,
181
+ cockpit_metric_name: Optional[builtins.str] = None,
182
+ managed_metric: Optional[builtins.str] = None,
183
+ sampling_range_min: Optional[builtins.int] = None,
184
+ threshold: Optional[builtins.int] = None):
185
+ """
186
+ :param builtins.str aggregate: How the values sampled for the `metric` should be aggregated.
187
+ :param builtins.str name: Name or description of the metric policy.
188
+ :param builtins.str operator: Operator used when comparing the threshold value of the chosen `metric` to the actual sampled and aggregated value.
189
+ :param builtins.str cockpit_metric_name: The custom metric to use for this policy. This must be stored in Scaleway Cockpit. The metric forms the basis of the condition that will be checked to determine whether a scaling action should be triggered
190
+ :param builtins.str managed_metric: The managed metric to use for this policy. These are available by default in Cockpit without any configuration or `node_exporter`. The chosen metric forms the basis of the condition that will be checked to determine whether a scaling action should be triggered.
191
+ :param builtins.int sampling_range_min: The Interval of time, in minutes, during which metric is sampled.
192
+ :param builtins.int threshold: The threshold value to measure the aggregated sampled `metric` value against. Combined with the `operator` field, determines whether a scaling action should be triggered.
193
+ """
194
+ pulumi.set(__self__, "aggregate", aggregate)
195
+ pulumi.set(__self__, "name", name)
196
+ pulumi.set(__self__, "operator", operator)
197
+ if cockpit_metric_name is not None:
198
+ pulumi.set(__self__, "cockpit_metric_name", cockpit_metric_name)
199
+ if managed_metric is not None:
200
+ pulumi.set(__self__, "managed_metric", managed_metric)
201
+ if sampling_range_min is not None:
202
+ pulumi.set(__self__, "sampling_range_min", sampling_range_min)
203
+ if threshold is not None:
204
+ pulumi.set(__self__, "threshold", threshold)
205
+
206
+ @property
207
+ @pulumi.getter
208
+ def aggregate(self) -> builtins.str:
209
+ """
210
+ How the values sampled for the `metric` should be aggregated.
211
+ """
212
+ return pulumi.get(self, "aggregate")
213
+
214
+ @property
215
+ @pulumi.getter
216
+ def name(self) -> builtins.str:
217
+ """
218
+ Name or description of the metric policy.
219
+ """
220
+ return pulumi.get(self, "name")
221
+
222
+ @property
223
+ @pulumi.getter
224
+ def operator(self) -> builtins.str:
225
+ """
226
+ Operator used when comparing the threshold value of the chosen `metric` to the actual sampled and aggregated value.
227
+ """
228
+ return pulumi.get(self, "operator")
229
+
230
+ @property
231
+ @pulumi.getter(name="cockpitMetricName")
232
+ def cockpit_metric_name(self) -> Optional[builtins.str]:
233
+ """
234
+ The custom metric to use for this policy. This must be stored in Scaleway Cockpit. The metric forms the basis of the condition that will be checked to determine whether a scaling action should be triggered
235
+ """
236
+ return pulumi.get(self, "cockpit_metric_name")
237
+
238
+ @property
239
+ @pulumi.getter(name="managedMetric")
240
+ def managed_metric(self) -> Optional[builtins.str]:
241
+ """
242
+ The managed metric to use for this policy. These are available by default in Cockpit without any configuration or `node_exporter`. The chosen metric forms the basis of the condition that will be checked to determine whether a scaling action should be triggered.
243
+ """
244
+ return pulumi.get(self, "managed_metric")
245
+
246
+ @property
247
+ @pulumi.getter(name="samplingRangeMin")
248
+ def sampling_range_min(self) -> Optional[builtins.int]:
249
+ """
250
+ The Interval of time, in minutes, during which metric is sampled.
251
+ """
252
+ return pulumi.get(self, "sampling_range_min")
253
+
254
+ @property
255
+ @pulumi.getter
256
+ def threshold(self) -> Optional[builtins.int]:
257
+ """
258
+ The threshold value to measure the aggregated sampled `metric` value against. Combined with the `operator` field, determines whether a scaling action should be triggered.
259
+ """
260
+ return pulumi.get(self, "threshold")
261
+
262
+
263
+ @pulumi.output_type
264
+ class InstanceTemplateVolume(dict):
265
+ @staticmethod
266
+ def __key_warning(key: str):
267
+ suggest = None
268
+ if key == "volumeType":
269
+ suggest = "volume_type"
270
+ elif key == "fromEmpty":
271
+ suggest = "from_empty"
272
+ elif key == "fromSnapshot":
273
+ suggest = "from_snapshot"
274
+ elif key == "perfIops":
275
+ suggest = "perf_iops"
276
+
277
+ if suggest:
278
+ pulumi.log.warn(f"Key '{key}' not found in InstanceTemplateVolume. Access the value via the '{suggest}' property getter instead.")
279
+
280
+ def __getitem__(self, key: str) -> Any:
281
+ InstanceTemplateVolume.__key_warning(key)
282
+ return super().__getitem__(key)
283
+
284
+ def get(self, key: str, default = None) -> Any:
285
+ InstanceTemplateVolume.__key_warning(key)
286
+ return super().get(key, default)
287
+
288
+ def __init__(__self__, *,
289
+ name: builtins.str,
290
+ volume_type: builtins.str,
291
+ boot: Optional[builtins.bool] = None,
292
+ from_empty: Optional['outputs.InstanceTemplateVolumeFromEmpty'] = None,
293
+ from_snapshot: Optional['outputs.InstanceTemplateVolumeFromSnapshot'] = None,
294
+ perf_iops: Optional[builtins.int] = None,
295
+ tags: Optional[Sequence[builtins.str]] = None):
296
+ """
297
+ :param builtins.str name: The name of the volume.
298
+ :param builtins.str volume_type: The type of the volume.
299
+ :param builtins.bool boot: Force the Instance to boot on this volume.
300
+ :param 'InstanceTemplateVolumeFromEmptyArgs' from_empty: Volume instance template from empty
301
+ :param 'InstanceTemplateVolumeFromSnapshotArgs' from_snapshot: Volume instance template from snapshot
302
+ :param builtins.int perf_iops: The maximum IO/s expected, according to the different options available in stock (`5000 | 15000`).
303
+ :param Sequence[builtins.str] tags: The list of tags assigned to the volume.
304
+ """
305
+ pulumi.set(__self__, "name", name)
306
+ pulumi.set(__self__, "volume_type", volume_type)
307
+ if boot is not None:
308
+ pulumi.set(__self__, "boot", boot)
309
+ if from_empty is not None:
310
+ pulumi.set(__self__, "from_empty", from_empty)
311
+ if from_snapshot is not None:
312
+ pulumi.set(__self__, "from_snapshot", from_snapshot)
313
+ if perf_iops is not None:
314
+ pulumi.set(__self__, "perf_iops", perf_iops)
315
+ if tags is not None:
316
+ pulumi.set(__self__, "tags", tags)
317
+
318
+ @property
319
+ @pulumi.getter
320
+ def name(self) -> builtins.str:
321
+ """
322
+ The name of the volume.
323
+ """
324
+ return pulumi.get(self, "name")
325
+
326
+ @property
327
+ @pulumi.getter(name="volumeType")
328
+ def volume_type(self) -> builtins.str:
329
+ """
330
+ The type of the volume.
331
+ """
332
+ return pulumi.get(self, "volume_type")
333
+
334
+ @property
335
+ @pulumi.getter
336
+ def boot(self) -> Optional[builtins.bool]:
337
+ """
338
+ Force the Instance to boot on this volume.
339
+ """
340
+ return pulumi.get(self, "boot")
341
+
342
+ @property
343
+ @pulumi.getter(name="fromEmpty")
344
+ def from_empty(self) -> Optional['outputs.InstanceTemplateVolumeFromEmpty']:
345
+ """
346
+ Volume instance template from empty
347
+ """
348
+ return pulumi.get(self, "from_empty")
349
+
350
+ @property
351
+ @pulumi.getter(name="fromSnapshot")
352
+ def from_snapshot(self) -> Optional['outputs.InstanceTemplateVolumeFromSnapshot']:
353
+ """
354
+ Volume instance template from snapshot
355
+ """
356
+ return pulumi.get(self, "from_snapshot")
357
+
358
+ @property
359
+ @pulumi.getter(name="perfIops")
360
+ def perf_iops(self) -> Optional[builtins.int]:
361
+ """
362
+ The maximum IO/s expected, according to the different options available in stock (`5000 | 15000`).
363
+ """
364
+ return pulumi.get(self, "perf_iops")
365
+
366
+ @property
367
+ @pulumi.getter
368
+ def tags(self) -> Optional[Sequence[builtins.str]]:
369
+ """
370
+ The list of tags assigned to the volume.
371
+ """
372
+ return pulumi.get(self, "tags")
373
+
374
+
375
+ @pulumi.output_type
376
+ class InstanceTemplateVolumeFromEmpty(dict):
377
+ def __init__(__self__, *,
378
+ size: builtins.int):
379
+ """
380
+ :param builtins.int size: Size in GB of the new empty volume
381
+ """
382
+ pulumi.set(__self__, "size", size)
383
+
384
+ @property
385
+ @pulumi.getter
386
+ def size(self) -> builtins.int:
387
+ """
388
+ Size in GB of the new empty volume
389
+ """
390
+ return pulumi.get(self, "size")
391
+
392
+
393
+ @pulumi.output_type
394
+ class InstanceTemplateVolumeFromSnapshot(dict):
395
+ @staticmethod
396
+ def __key_warning(key: str):
397
+ suggest = None
398
+ if key == "snapshotId":
399
+ suggest = "snapshot_id"
400
+
401
+ if suggest:
402
+ pulumi.log.warn(f"Key '{key}' not found in InstanceTemplateVolumeFromSnapshot. Access the value via the '{suggest}' property getter instead.")
403
+
404
+ def __getitem__(self, key: str) -> Any:
405
+ InstanceTemplateVolumeFromSnapshot.__key_warning(key)
406
+ return super().__getitem__(key)
407
+
408
+ def get(self, key: str, default = None) -> Any:
409
+ InstanceTemplateVolumeFromSnapshot.__key_warning(key)
410
+ return super().get(key, default)
411
+
412
+ def __init__(__self__, *,
413
+ snapshot_id: builtins.str,
414
+ size: Optional[builtins.int] = None):
415
+ """
416
+ :param builtins.str snapshot_id: ID of the snapshot to clone
417
+ :param builtins.int size: Override size (in GB) of the cloned volume
418
+ """
419
+ pulumi.set(__self__, "snapshot_id", snapshot_id)
420
+ if size is not None:
421
+ pulumi.set(__self__, "size", size)
422
+
423
+ @property
424
+ @pulumi.getter(name="snapshotId")
425
+ def snapshot_id(self) -> builtins.str:
426
+ """
427
+ ID of the snapshot to clone
428
+ """
429
+ return pulumi.get(self, "snapshot_id")
430
+
431
+ @property
432
+ @pulumi.getter
433
+ def size(self) -> Optional[builtins.int]:
434
+ """
435
+ Override size (in GB) of the cloned volume
436
+ """
437
+ return pulumi.get(self, "size")
438
+
439
+
@@ -25,6 +25,7 @@ class EdgeServicesCacheStageArgs:
25
25
  pipeline_id: pulumi.Input[builtins.str],
26
26
  backend_stage_id: Optional[pulumi.Input[builtins.str]] = None,
27
27
  fallback_ttl: Optional[pulumi.Input[builtins.int]] = None,
28
+ include_cookies: Optional[pulumi.Input[builtins.bool]] = None,
28
29
  project_id: Optional[pulumi.Input[builtins.str]] = None,
29
30
  purge_requests: Optional[pulumi.Input[Sequence[pulumi.Input['EdgeServicesCacheStagePurgeRequestArgs']]]] = None,
30
31
  refresh_cache: Optional[pulumi.Input[builtins.str]] = None,
@@ -35,6 +36,7 @@ class EdgeServicesCacheStageArgs:
35
36
  :param pulumi.Input[builtins.str] pipeline_id: The ID of the pipeline.
36
37
  :param pulumi.Input[builtins.str] backend_stage_id: The backend stage ID the cache stage will be linked to. Only one of `backend_stage_id`, `route_stage_id` and `waf_stage_id` should be specified.
37
38
  :param pulumi.Input[builtins.int] fallback_ttl: The Time To Live (TTL) in seconds. Defines how long content is cached.
39
+ :param pulumi.Input[builtins.bool] include_cookies: Defines whether responses to requests with cookies must be stored in the cache.
38
40
  :param pulumi.Input[builtins.str] project_id: `project_id`) The ID of the project the cache stage is associated with.
39
41
  :param pulumi.Input[Sequence[pulumi.Input['EdgeServicesCacheStagePurgeRequestArgs']]] purge_requests: The Scaleway Object Storage origin bucket (S3) linked to the backend stage.
40
42
  :param pulumi.Input[builtins.str] refresh_cache: Trigger a refresh of the cache by changing this field's value.
@@ -46,6 +48,8 @@ class EdgeServicesCacheStageArgs:
46
48
  pulumi.set(__self__, "backend_stage_id", backend_stage_id)
47
49
  if fallback_ttl is not None:
48
50
  pulumi.set(__self__, "fallback_ttl", fallback_ttl)
51
+ if include_cookies is not None:
52
+ pulumi.set(__self__, "include_cookies", include_cookies)
49
53
  if project_id is not None:
50
54
  pulumi.set(__self__, "project_id", project_id)
51
55
  if purge_requests is not None:
@@ -93,6 +97,18 @@ class EdgeServicesCacheStageArgs:
93
97
  def fallback_ttl(self, value: Optional[pulumi.Input[builtins.int]]):
94
98
  pulumi.set(self, "fallback_ttl", value)
95
99
 
100
+ @property
101
+ @pulumi.getter(name="includeCookies")
102
+ def include_cookies(self) -> Optional[pulumi.Input[builtins.bool]]:
103
+ """
104
+ Defines whether responses to requests with cookies must be stored in the cache.
105
+ """
106
+ return pulumi.get(self, "include_cookies")
107
+
108
+ @include_cookies.setter
109
+ def include_cookies(self, value: Optional[pulumi.Input[builtins.bool]]):
110
+ pulumi.set(self, "include_cookies", value)
111
+
96
112
  @property
97
113
  @pulumi.getter(name="projectId")
98
114
  def project_id(self) -> Optional[pulumi.Input[builtins.str]]:
@@ -160,6 +176,7 @@ class _EdgeServicesCacheStageState:
160
176
  backend_stage_id: Optional[pulumi.Input[builtins.str]] = None,
161
177
  created_at: Optional[pulumi.Input[builtins.str]] = None,
162
178
  fallback_ttl: Optional[pulumi.Input[builtins.int]] = None,
179
+ include_cookies: Optional[pulumi.Input[builtins.bool]] = None,
163
180
  pipeline_id: Optional[pulumi.Input[builtins.str]] = None,
164
181
  project_id: Optional[pulumi.Input[builtins.str]] = None,
165
182
  purge_requests: Optional[pulumi.Input[Sequence[pulumi.Input['EdgeServicesCacheStagePurgeRequestArgs']]]] = None,
@@ -172,6 +189,7 @@ class _EdgeServicesCacheStageState:
172
189
  :param pulumi.Input[builtins.str] backend_stage_id: The backend stage ID the cache stage will be linked to. Only one of `backend_stage_id`, `route_stage_id` and `waf_stage_id` should be specified.
173
190
  :param pulumi.Input[builtins.str] created_at: The date and time of the creation of the cache stage.
174
191
  :param pulumi.Input[builtins.int] fallback_ttl: The Time To Live (TTL) in seconds. Defines how long content is cached.
192
+ :param pulumi.Input[builtins.bool] include_cookies: Defines whether responses to requests with cookies must be stored in the cache.
175
193
  :param pulumi.Input[builtins.str] pipeline_id: The ID of the pipeline.
176
194
  :param pulumi.Input[builtins.str] project_id: `project_id`) The ID of the project the cache stage is associated with.
177
195
  :param pulumi.Input[Sequence[pulumi.Input['EdgeServicesCacheStagePurgeRequestArgs']]] purge_requests: The Scaleway Object Storage origin bucket (S3) linked to the backend stage.
@@ -186,6 +204,8 @@ class _EdgeServicesCacheStageState:
186
204
  pulumi.set(__self__, "created_at", created_at)
187
205
  if fallback_ttl is not None:
188
206
  pulumi.set(__self__, "fallback_ttl", fallback_ttl)
207
+ if include_cookies is not None:
208
+ pulumi.set(__self__, "include_cookies", include_cookies)
189
209
  if pipeline_id is not None:
190
210
  pulumi.set(__self__, "pipeline_id", pipeline_id)
191
211
  if project_id is not None:
@@ -237,6 +257,18 @@ class _EdgeServicesCacheStageState:
237
257
  def fallback_ttl(self, value: Optional[pulumi.Input[builtins.int]]):
238
258
  pulumi.set(self, "fallback_ttl", value)
239
259
 
260
+ @property
261
+ @pulumi.getter(name="includeCookies")
262
+ def include_cookies(self) -> Optional[pulumi.Input[builtins.bool]]:
263
+ """
264
+ Defines whether responses to requests with cookies must be stored in the cache.
265
+ """
266
+ return pulumi.get(self, "include_cookies")
267
+
268
+ @include_cookies.setter
269
+ def include_cookies(self, value: Optional[pulumi.Input[builtins.bool]]):
270
+ pulumi.set(self, "include_cookies", value)
271
+
240
272
  @property
241
273
  @pulumi.getter(name="pipelineId")
242
274
  def pipeline_id(self) -> Optional[pulumi.Input[builtins.str]]:
@@ -330,6 +362,7 @@ class EdgeServicesCacheStage(pulumi.CustomResource):
330
362
  opts: Optional[pulumi.ResourceOptions] = None,
331
363
  backend_stage_id: Optional[pulumi.Input[builtins.str]] = None,
332
364
  fallback_ttl: Optional[pulumi.Input[builtins.int]] = None,
365
+ include_cookies: Optional[pulumi.Input[builtins.bool]] = None,
333
366
  pipeline_id: Optional[pulumi.Input[builtins.str]] = None,
334
367
  project_id: Optional[pulumi.Input[builtins.str]] = None,
335
368
  purge_requests: Optional[pulumi.Input[Sequence[pulumi.Input[Union['EdgeServicesCacheStagePurgeRequestArgs', 'EdgeServicesCacheStagePurgeRequestArgsDict']]]]] = None,
@@ -367,6 +400,7 @@ class EdgeServicesCacheStage(pulumi.CustomResource):
367
400
  :param pulumi.ResourceOptions opts: Options for the resource.
368
401
  :param pulumi.Input[builtins.str] backend_stage_id: The backend stage ID the cache stage will be linked to. Only one of `backend_stage_id`, `route_stage_id` and `waf_stage_id` should be specified.
369
402
  :param pulumi.Input[builtins.int] fallback_ttl: The Time To Live (TTL) in seconds. Defines how long content is cached.
403
+ :param pulumi.Input[builtins.bool] include_cookies: Defines whether responses to requests with cookies must be stored in the cache.
370
404
  :param pulumi.Input[builtins.str] pipeline_id: The ID of the pipeline.
371
405
  :param pulumi.Input[builtins.str] project_id: `project_id`) The ID of the project the cache stage is associated with.
372
406
  :param pulumi.Input[Sequence[pulumi.Input[Union['EdgeServicesCacheStagePurgeRequestArgs', 'EdgeServicesCacheStagePurgeRequestArgsDict']]]] purge_requests: The Scaleway Object Storage origin bucket (S3) linked to the backend stage.
@@ -423,6 +457,7 @@ class EdgeServicesCacheStage(pulumi.CustomResource):
423
457
  opts: Optional[pulumi.ResourceOptions] = None,
424
458
  backend_stage_id: Optional[pulumi.Input[builtins.str]] = None,
425
459
  fallback_ttl: Optional[pulumi.Input[builtins.int]] = None,
460
+ include_cookies: Optional[pulumi.Input[builtins.bool]] = None,
426
461
  pipeline_id: Optional[pulumi.Input[builtins.str]] = None,
427
462
  project_id: Optional[pulumi.Input[builtins.str]] = None,
428
463
  purge_requests: Optional[pulumi.Input[Sequence[pulumi.Input[Union['EdgeServicesCacheStagePurgeRequestArgs', 'EdgeServicesCacheStagePurgeRequestArgsDict']]]]] = None,
@@ -440,6 +475,7 @@ class EdgeServicesCacheStage(pulumi.CustomResource):
440
475
 
441
476
  __props__.__dict__["backend_stage_id"] = backend_stage_id
442
477
  __props__.__dict__["fallback_ttl"] = fallback_ttl
478
+ __props__.__dict__["include_cookies"] = include_cookies
443
479
  if pipeline_id is None and not opts.urn:
444
480
  raise TypeError("Missing required property 'pipeline_id'")
445
481
  __props__.__dict__["pipeline_id"] = pipeline_id
@@ -463,6 +499,7 @@ class EdgeServicesCacheStage(pulumi.CustomResource):
463
499
  backend_stage_id: Optional[pulumi.Input[builtins.str]] = None,
464
500
  created_at: Optional[pulumi.Input[builtins.str]] = None,
465
501
  fallback_ttl: Optional[pulumi.Input[builtins.int]] = None,
502
+ include_cookies: Optional[pulumi.Input[builtins.bool]] = None,
466
503
  pipeline_id: Optional[pulumi.Input[builtins.str]] = None,
467
504
  project_id: Optional[pulumi.Input[builtins.str]] = None,
468
505
  purge_requests: Optional[pulumi.Input[Sequence[pulumi.Input[Union['EdgeServicesCacheStagePurgeRequestArgs', 'EdgeServicesCacheStagePurgeRequestArgsDict']]]]] = None,
@@ -480,6 +517,7 @@ class EdgeServicesCacheStage(pulumi.CustomResource):
480
517
  :param pulumi.Input[builtins.str] backend_stage_id: The backend stage ID the cache stage will be linked to. Only one of `backend_stage_id`, `route_stage_id` and `waf_stage_id` should be specified.
481
518
  :param pulumi.Input[builtins.str] created_at: The date and time of the creation of the cache stage.
482
519
  :param pulumi.Input[builtins.int] fallback_ttl: The Time To Live (TTL) in seconds. Defines how long content is cached.
520
+ :param pulumi.Input[builtins.bool] include_cookies: Defines whether responses to requests with cookies must be stored in the cache.
483
521
  :param pulumi.Input[builtins.str] pipeline_id: The ID of the pipeline.
484
522
  :param pulumi.Input[builtins.str] project_id: `project_id`) The ID of the project the cache stage is associated with.
485
523
  :param pulumi.Input[Sequence[pulumi.Input[Union['EdgeServicesCacheStagePurgeRequestArgs', 'EdgeServicesCacheStagePurgeRequestArgsDict']]]] purge_requests: The Scaleway Object Storage origin bucket (S3) linked to the backend stage.
@@ -495,6 +533,7 @@ class EdgeServicesCacheStage(pulumi.CustomResource):
495
533
  __props__.__dict__["backend_stage_id"] = backend_stage_id
496
534
  __props__.__dict__["created_at"] = created_at
497
535
  __props__.__dict__["fallback_ttl"] = fallback_ttl
536
+ __props__.__dict__["include_cookies"] = include_cookies
498
537
  __props__.__dict__["pipeline_id"] = pipeline_id
499
538
  __props__.__dict__["project_id"] = project_id
500
539
  __props__.__dict__["purge_requests"] = purge_requests
@@ -528,6 +567,14 @@ class EdgeServicesCacheStage(pulumi.CustomResource):
528
567
  """
529
568
  return pulumi.get(self, "fallback_ttl")
530
569
 
570
+ @property
571
+ @pulumi.getter(name="includeCookies")
572
+ def include_cookies(self) -> pulumi.Output[Optional[builtins.bool]]:
573
+ """
574
+ Defines whether responses to requests with cookies must be stored in the cache.
575
+ """
576
+ return pulumi.get(self, "include_cookies")
577
+
531
578
  @property
532
579
  @pulumi.getter(name="pipelineId")
533
580
  def pipeline_id(self) -> pulumi.Output[builtins.str]: