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
@@ -20,31 +20,35 @@ __all__ = ['VpcPublicGatewayArgs', 'VpcPublicGateway']
20
20
  class VpcPublicGatewayArgs:
21
21
  def __init__(__self__, *,
22
22
  type: pulumi.Input[str],
23
+ allowed_ip_ranges: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
23
24
  bastion_enabled: Optional[pulumi.Input[bool]] = None,
24
25
  bastion_port: Optional[pulumi.Input[int]] = None,
25
26
  enable_smtp: Optional[pulumi.Input[bool]] = None,
26
27
  ip_id: Optional[pulumi.Input[str]] = None,
28
+ move_to_ipam: Optional[pulumi.Input[bool]] = None,
27
29
  name: Optional[pulumi.Input[str]] = None,
28
30
  project_id: Optional[pulumi.Input[str]] = None,
29
31
  refresh_ssh_keys: Optional[pulumi.Input[str]] = None,
30
32
  tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
31
- upstream_dns_servers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
32
33
  zone: Optional[pulumi.Input[str]] = None):
33
34
  """
34
35
  The set of arguments for constructing a VpcPublicGateway resource.
35
36
  :param pulumi.Input[str] type: The gateway type.
37
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_ip_ranges: Set a definitive list of IP ranges (in CIDR notation) allowed to connect to the SSH bastion.
36
38
  :param pulumi.Input[bool] bastion_enabled: Enable SSH bastion on the gateway.
37
39
  :param pulumi.Input[int] bastion_port: The port on which the SSH bastion will listen.
38
40
  :param pulumi.Input[bool] enable_smtp: Enable SMTP on the gateway.
39
41
  :param pulumi.Input[str] ip_id: Attach an existing flexible IP to the gateway.
42
+ :param pulumi.Input[bool] move_to_ipam: Put a Public Gateway in IPAM mode, so that it can be used with the Public Gateways API v2
40
43
  :param pulumi.Input[str] name: The name for the Public Gateway. If not provided it will be randomly generated.
41
44
  :param pulumi.Input[str] project_id: `project_id`) The ID of the project the public gateway is associated with.
42
45
  :param pulumi.Input[str] refresh_ssh_keys: Trigger a refresh of the SSH keys on the Public Gateway by changing this field's value.
43
46
  :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags to associate with the Public Gateway.
44
- :param pulumi.Input[Sequence[pulumi.Input[str]]] upstream_dns_servers: Override the gateway's default recursive DNS servers, if DNS features are enabled.
45
47
  :param pulumi.Input[str] zone: `zone`) The zone in which the Public Gateway should be created.
46
48
  """
47
49
  pulumi.set(__self__, "type", type)
50
+ if allowed_ip_ranges is not None:
51
+ pulumi.set(__self__, "allowed_ip_ranges", allowed_ip_ranges)
48
52
  if bastion_enabled is not None:
49
53
  pulumi.set(__self__, "bastion_enabled", bastion_enabled)
50
54
  if bastion_port is not None:
@@ -53,6 +57,8 @@ class VpcPublicGatewayArgs:
53
57
  pulumi.set(__self__, "enable_smtp", enable_smtp)
54
58
  if ip_id is not None:
55
59
  pulumi.set(__self__, "ip_id", ip_id)
60
+ if move_to_ipam is not None:
61
+ pulumi.set(__self__, "move_to_ipam", move_to_ipam)
56
62
  if name is not None:
57
63
  pulumi.set(__self__, "name", name)
58
64
  if project_id is not None:
@@ -61,8 +67,6 @@ class VpcPublicGatewayArgs:
61
67
  pulumi.set(__self__, "refresh_ssh_keys", refresh_ssh_keys)
62
68
  if tags is not None:
63
69
  pulumi.set(__self__, "tags", tags)
64
- if upstream_dns_servers is not None:
65
- pulumi.set(__self__, "upstream_dns_servers", upstream_dns_servers)
66
70
  if zone is not None:
67
71
  pulumi.set(__self__, "zone", zone)
68
72
 
@@ -78,6 +82,18 @@ class VpcPublicGatewayArgs:
78
82
  def type(self, value: pulumi.Input[str]):
79
83
  pulumi.set(self, "type", value)
80
84
 
85
+ @property
86
+ @pulumi.getter(name="allowedIpRanges")
87
+ def allowed_ip_ranges(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
88
+ """
89
+ Set a definitive list of IP ranges (in CIDR notation) allowed to connect to the SSH bastion.
90
+ """
91
+ return pulumi.get(self, "allowed_ip_ranges")
92
+
93
+ @allowed_ip_ranges.setter
94
+ def allowed_ip_ranges(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
95
+ pulumi.set(self, "allowed_ip_ranges", value)
96
+
81
97
  @property
82
98
  @pulumi.getter(name="bastionEnabled")
83
99
  def bastion_enabled(self) -> Optional[pulumi.Input[bool]]:
@@ -126,6 +142,18 @@ class VpcPublicGatewayArgs:
126
142
  def ip_id(self, value: Optional[pulumi.Input[str]]):
127
143
  pulumi.set(self, "ip_id", value)
128
144
 
145
+ @property
146
+ @pulumi.getter(name="moveToIpam")
147
+ def move_to_ipam(self) -> Optional[pulumi.Input[bool]]:
148
+ """
149
+ Put a Public Gateway in IPAM mode, so that it can be used with the Public Gateways API v2
150
+ """
151
+ return pulumi.get(self, "move_to_ipam")
152
+
153
+ @move_to_ipam.setter
154
+ def move_to_ipam(self, value: Optional[pulumi.Input[bool]]):
155
+ pulumi.set(self, "move_to_ipam", value)
156
+
129
157
  @property
130
158
  @pulumi.getter
131
159
  def name(self) -> Optional[pulumi.Input[str]]:
@@ -174,18 +202,6 @@ class VpcPublicGatewayArgs:
174
202
  def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
175
203
  pulumi.set(self, "tags", value)
176
204
 
177
- @property
178
- @pulumi.getter(name="upstreamDnsServers")
179
- def upstream_dns_servers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
180
- """
181
- Override the gateway's default recursive DNS servers, if DNS features are enabled.
182
- """
183
- return pulumi.get(self, "upstream_dns_servers")
184
-
185
- @upstream_dns_servers.setter
186
- def upstream_dns_servers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
187
- pulumi.set(self, "upstream_dns_servers", value)
188
-
189
205
  @property
190
206
  @pulumi.getter
191
207
  def zone(self) -> Optional[pulumi.Input[str]]:
@@ -202,11 +218,14 @@ class VpcPublicGatewayArgs:
202
218
  @pulumi.input_type
203
219
  class _VpcPublicGatewayState:
204
220
  def __init__(__self__, *,
221
+ allowed_ip_ranges: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
222
+ bandwidth: Optional[pulumi.Input[int]] = None,
205
223
  bastion_enabled: Optional[pulumi.Input[bool]] = None,
206
224
  bastion_port: Optional[pulumi.Input[int]] = None,
207
225
  created_at: Optional[pulumi.Input[str]] = None,
208
226
  enable_smtp: Optional[pulumi.Input[bool]] = None,
209
227
  ip_id: Optional[pulumi.Input[str]] = None,
228
+ move_to_ipam: Optional[pulumi.Input[bool]] = None,
210
229
  name: Optional[pulumi.Input[str]] = None,
211
230
  organization_id: Optional[pulumi.Input[str]] = None,
212
231
  project_id: Optional[pulumi.Input[str]] = None,
@@ -219,11 +238,14 @@ class _VpcPublicGatewayState:
219
238
  zone: Optional[pulumi.Input[str]] = None):
220
239
  """
221
240
  Input properties used for looking up and filtering VpcPublicGateway resources.
241
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_ip_ranges: Set a definitive list of IP ranges (in CIDR notation) allowed to connect to the SSH bastion.
242
+ :param pulumi.Input[int] bandwidth: The bandwidth available of the gateway
222
243
  :param pulumi.Input[bool] bastion_enabled: Enable SSH bastion on the gateway.
223
244
  :param pulumi.Input[int] bastion_port: The port on which the SSH bastion will listen.
224
245
  :param pulumi.Input[str] created_at: The date and time of the creation of the Public Gateway.
225
246
  :param pulumi.Input[bool] enable_smtp: Enable SMTP on the gateway.
226
247
  :param pulumi.Input[str] ip_id: Attach an existing flexible IP to the gateway.
248
+ :param pulumi.Input[bool] move_to_ipam: Put a Public Gateway in IPAM mode, so that it can be used with the Public Gateways API v2
227
249
  :param pulumi.Input[str] name: The name for the Public Gateway. If not provided it will be randomly generated.
228
250
  :param pulumi.Input[str] organization_id: The Organization ID the Public Gateway is associated with.
229
251
  :param pulumi.Input[str] project_id: `project_id`) The ID of the project the public gateway is associated with.
@@ -235,6 +257,10 @@ class _VpcPublicGatewayState:
235
257
  :param pulumi.Input[Sequence[pulumi.Input[str]]] upstream_dns_servers: Override the gateway's default recursive DNS servers, if DNS features are enabled.
236
258
  :param pulumi.Input[str] zone: `zone`) The zone in which the Public Gateway should be created.
237
259
  """
260
+ if allowed_ip_ranges is not None:
261
+ pulumi.set(__self__, "allowed_ip_ranges", allowed_ip_ranges)
262
+ if bandwidth is not None:
263
+ pulumi.set(__self__, "bandwidth", bandwidth)
238
264
  if bastion_enabled is not None:
239
265
  pulumi.set(__self__, "bastion_enabled", bastion_enabled)
240
266
  if bastion_port is not None:
@@ -245,6 +271,8 @@ class _VpcPublicGatewayState:
245
271
  pulumi.set(__self__, "enable_smtp", enable_smtp)
246
272
  if ip_id is not None:
247
273
  pulumi.set(__self__, "ip_id", ip_id)
274
+ if move_to_ipam is not None:
275
+ pulumi.set(__self__, "move_to_ipam", move_to_ipam)
248
276
  if name is not None:
249
277
  pulumi.set(__self__, "name", name)
250
278
  if organization_id is not None:
@@ -266,6 +294,30 @@ class _VpcPublicGatewayState:
266
294
  if zone is not None:
267
295
  pulumi.set(__self__, "zone", zone)
268
296
 
297
+ @property
298
+ @pulumi.getter(name="allowedIpRanges")
299
+ def allowed_ip_ranges(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
300
+ """
301
+ Set a definitive list of IP ranges (in CIDR notation) allowed to connect to the SSH bastion.
302
+ """
303
+ return pulumi.get(self, "allowed_ip_ranges")
304
+
305
+ @allowed_ip_ranges.setter
306
+ def allowed_ip_ranges(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
307
+ pulumi.set(self, "allowed_ip_ranges", value)
308
+
309
+ @property
310
+ @pulumi.getter
311
+ def bandwidth(self) -> Optional[pulumi.Input[int]]:
312
+ """
313
+ The bandwidth available of the gateway
314
+ """
315
+ return pulumi.get(self, "bandwidth")
316
+
317
+ @bandwidth.setter
318
+ def bandwidth(self, value: Optional[pulumi.Input[int]]):
319
+ pulumi.set(self, "bandwidth", value)
320
+
269
321
  @property
270
322
  @pulumi.getter(name="bastionEnabled")
271
323
  def bastion_enabled(self) -> Optional[pulumi.Input[bool]]:
@@ -326,6 +378,18 @@ class _VpcPublicGatewayState:
326
378
  def ip_id(self, value: Optional[pulumi.Input[str]]):
327
379
  pulumi.set(self, "ip_id", value)
328
380
 
381
+ @property
382
+ @pulumi.getter(name="moveToIpam")
383
+ def move_to_ipam(self) -> Optional[pulumi.Input[bool]]:
384
+ """
385
+ Put a Public Gateway in IPAM mode, so that it can be used with the Public Gateways API v2
386
+ """
387
+ return pulumi.get(self, "move_to_ipam")
388
+
389
+ @move_to_ipam.setter
390
+ def move_to_ipam(self, value: Optional[pulumi.Input[bool]]):
391
+ pulumi.set(self, "move_to_ipam", value)
392
+
329
393
  @property
330
394
  @pulumi.getter
331
395
  def name(self) -> Optional[pulumi.Input[str]]:
@@ -457,16 +521,17 @@ class VpcPublicGateway(pulumi.CustomResource):
457
521
  def __init__(__self__,
458
522
  resource_name: str,
459
523
  opts: Optional[pulumi.ResourceOptions] = None,
524
+ allowed_ip_ranges: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
460
525
  bastion_enabled: Optional[pulumi.Input[bool]] = None,
461
526
  bastion_port: Optional[pulumi.Input[int]] = None,
462
527
  enable_smtp: Optional[pulumi.Input[bool]] = None,
463
528
  ip_id: Optional[pulumi.Input[str]] = None,
529
+ move_to_ipam: Optional[pulumi.Input[bool]] = None,
464
530
  name: Optional[pulumi.Input[str]] = None,
465
531
  project_id: Optional[pulumi.Input[str]] = None,
466
532
  refresh_ssh_keys: Optional[pulumi.Input[str]] = None,
467
533
  tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
468
534
  type: Optional[pulumi.Input[str]] = None,
469
- upstream_dns_servers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
470
535
  zone: Optional[pulumi.Input[str]] = None,
471
536
  __props__=None):
472
537
  """
@@ -502,16 +567,17 @@ class VpcPublicGateway(pulumi.CustomResource):
502
567
 
503
568
  :param str resource_name: The name of the resource.
504
569
  :param pulumi.ResourceOptions opts: Options for the resource.
570
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_ip_ranges: Set a definitive list of IP ranges (in CIDR notation) allowed to connect to the SSH bastion.
505
571
  :param pulumi.Input[bool] bastion_enabled: Enable SSH bastion on the gateway.
506
572
  :param pulumi.Input[int] bastion_port: The port on which the SSH bastion will listen.
507
573
  :param pulumi.Input[bool] enable_smtp: Enable SMTP on the gateway.
508
574
  :param pulumi.Input[str] ip_id: Attach an existing flexible IP to the gateway.
575
+ :param pulumi.Input[bool] move_to_ipam: Put a Public Gateway in IPAM mode, so that it can be used with the Public Gateways API v2
509
576
  :param pulumi.Input[str] name: The name for the Public Gateway. If not provided it will be randomly generated.
510
577
  :param pulumi.Input[str] project_id: `project_id`) The ID of the project the public gateway is associated with.
511
578
  :param pulumi.Input[str] refresh_ssh_keys: Trigger a refresh of the SSH keys on the Public Gateway by changing this field's value.
512
579
  :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags to associate with the Public Gateway.
513
580
  :param pulumi.Input[str] type: The gateway type.
514
- :param pulumi.Input[Sequence[pulumi.Input[str]]] upstream_dns_servers: Override the gateway's default recursive DNS servers, if DNS features are enabled.
515
581
  :param pulumi.Input[str] zone: `zone`) The zone in which the Public Gateway should be created.
516
582
  """
517
583
  ...
@@ -566,16 +632,17 @@ class VpcPublicGateway(pulumi.CustomResource):
566
632
  def _internal_init(__self__,
567
633
  resource_name: str,
568
634
  opts: Optional[pulumi.ResourceOptions] = None,
635
+ allowed_ip_ranges: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
569
636
  bastion_enabled: Optional[pulumi.Input[bool]] = None,
570
637
  bastion_port: Optional[pulumi.Input[int]] = None,
571
638
  enable_smtp: Optional[pulumi.Input[bool]] = None,
572
639
  ip_id: Optional[pulumi.Input[str]] = None,
640
+ move_to_ipam: Optional[pulumi.Input[bool]] = None,
573
641
  name: Optional[pulumi.Input[str]] = None,
574
642
  project_id: Optional[pulumi.Input[str]] = None,
575
643
  refresh_ssh_keys: Optional[pulumi.Input[str]] = None,
576
644
  tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
577
645
  type: Optional[pulumi.Input[str]] = None,
578
- upstream_dns_servers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
579
646
  zone: Optional[pulumi.Input[str]] = None,
580
647
  __props__=None):
581
648
  pulumi.log.warn("""VpcPublicGateway is deprecated: scaleway.index/vpcpublicgateway.VpcPublicGateway has been deprecated in favor of scaleway.network/publicgateway.PublicGateway""")
@@ -587,10 +654,12 @@ class VpcPublicGateway(pulumi.CustomResource):
587
654
  raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
588
655
  __props__ = VpcPublicGatewayArgs.__new__(VpcPublicGatewayArgs)
589
656
 
657
+ __props__.__dict__["allowed_ip_ranges"] = allowed_ip_ranges
590
658
  __props__.__dict__["bastion_enabled"] = bastion_enabled
591
659
  __props__.__dict__["bastion_port"] = bastion_port
592
660
  __props__.__dict__["enable_smtp"] = enable_smtp
593
661
  __props__.__dict__["ip_id"] = ip_id
662
+ __props__.__dict__["move_to_ipam"] = move_to_ipam
594
663
  __props__.__dict__["name"] = name
595
664
  __props__.__dict__["project_id"] = project_id
596
665
  __props__.__dict__["refresh_ssh_keys"] = refresh_ssh_keys
@@ -598,12 +667,13 @@ class VpcPublicGateway(pulumi.CustomResource):
598
667
  if type is None and not opts.urn:
599
668
  raise TypeError("Missing required property 'type'")
600
669
  __props__.__dict__["type"] = type
601
- __props__.__dict__["upstream_dns_servers"] = upstream_dns_servers
602
670
  __props__.__dict__["zone"] = zone
671
+ __props__.__dict__["bandwidth"] = None
603
672
  __props__.__dict__["created_at"] = None
604
673
  __props__.__dict__["organization_id"] = None
605
674
  __props__.__dict__["status"] = None
606
675
  __props__.__dict__["updated_at"] = None
676
+ __props__.__dict__["upstream_dns_servers"] = None
607
677
  super(VpcPublicGateway, __self__).__init__(
608
678
  'scaleway:index/vpcPublicGateway:VpcPublicGateway',
609
679
  resource_name,
@@ -614,11 +684,14 @@ class VpcPublicGateway(pulumi.CustomResource):
614
684
  def get(resource_name: str,
615
685
  id: pulumi.Input[str],
616
686
  opts: Optional[pulumi.ResourceOptions] = None,
687
+ allowed_ip_ranges: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
688
+ bandwidth: Optional[pulumi.Input[int]] = None,
617
689
  bastion_enabled: Optional[pulumi.Input[bool]] = None,
618
690
  bastion_port: Optional[pulumi.Input[int]] = None,
619
691
  created_at: Optional[pulumi.Input[str]] = None,
620
692
  enable_smtp: Optional[pulumi.Input[bool]] = None,
621
693
  ip_id: Optional[pulumi.Input[str]] = None,
694
+ move_to_ipam: Optional[pulumi.Input[bool]] = None,
622
695
  name: Optional[pulumi.Input[str]] = None,
623
696
  organization_id: Optional[pulumi.Input[str]] = None,
624
697
  project_id: Optional[pulumi.Input[str]] = None,
@@ -636,11 +709,14 @@ class VpcPublicGateway(pulumi.CustomResource):
636
709
  :param str resource_name: The unique name of the resulting resource.
637
710
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
638
711
  :param pulumi.ResourceOptions opts: Options for the resource.
712
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_ip_ranges: Set a definitive list of IP ranges (in CIDR notation) allowed to connect to the SSH bastion.
713
+ :param pulumi.Input[int] bandwidth: The bandwidth available of the gateway
639
714
  :param pulumi.Input[bool] bastion_enabled: Enable SSH bastion on the gateway.
640
715
  :param pulumi.Input[int] bastion_port: The port on which the SSH bastion will listen.
641
716
  :param pulumi.Input[str] created_at: The date and time of the creation of the Public Gateway.
642
717
  :param pulumi.Input[bool] enable_smtp: Enable SMTP on the gateway.
643
718
  :param pulumi.Input[str] ip_id: Attach an existing flexible IP to the gateway.
719
+ :param pulumi.Input[bool] move_to_ipam: Put a Public Gateway in IPAM mode, so that it can be used with the Public Gateways API v2
644
720
  :param pulumi.Input[str] name: The name for the Public Gateway. If not provided it will be randomly generated.
645
721
  :param pulumi.Input[str] organization_id: The Organization ID the Public Gateway is associated with.
646
722
  :param pulumi.Input[str] project_id: `project_id`) The ID of the project the public gateway is associated with.
@@ -656,11 +732,14 @@ class VpcPublicGateway(pulumi.CustomResource):
656
732
 
657
733
  __props__ = _VpcPublicGatewayState.__new__(_VpcPublicGatewayState)
658
734
 
735
+ __props__.__dict__["allowed_ip_ranges"] = allowed_ip_ranges
736
+ __props__.__dict__["bandwidth"] = bandwidth
659
737
  __props__.__dict__["bastion_enabled"] = bastion_enabled
660
738
  __props__.__dict__["bastion_port"] = bastion_port
661
739
  __props__.__dict__["created_at"] = created_at
662
740
  __props__.__dict__["enable_smtp"] = enable_smtp
663
741
  __props__.__dict__["ip_id"] = ip_id
742
+ __props__.__dict__["move_to_ipam"] = move_to_ipam
664
743
  __props__.__dict__["name"] = name
665
744
  __props__.__dict__["organization_id"] = organization_id
666
745
  __props__.__dict__["project_id"] = project_id
@@ -673,6 +752,22 @@ class VpcPublicGateway(pulumi.CustomResource):
673
752
  __props__.__dict__["zone"] = zone
674
753
  return VpcPublicGateway(resource_name, opts=opts, __props__=__props__)
675
754
 
755
+ @property
756
+ @pulumi.getter(name="allowedIpRanges")
757
+ def allowed_ip_ranges(self) -> pulumi.Output[Sequence[str]]:
758
+ """
759
+ Set a definitive list of IP ranges (in CIDR notation) allowed to connect to the SSH bastion.
760
+ """
761
+ return pulumi.get(self, "allowed_ip_ranges")
762
+
763
+ @property
764
+ @pulumi.getter
765
+ def bandwidth(self) -> pulumi.Output[int]:
766
+ """
767
+ The bandwidth available of the gateway
768
+ """
769
+ return pulumi.get(self, "bandwidth")
770
+
676
771
  @property
677
772
  @pulumi.getter(name="bastionEnabled")
678
773
  def bastion_enabled(self) -> pulumi.Output[Optional[bool]]:
@@ -713,6 +808,14 @@ class VpcPublicGateway(pulumi.CustomResource):
713
808
  """
714
809
  return pulumi.get(self, "ip_id")
715
810
 
811
+ @property
812
+ @pulumi.getter(name="moveToIpam")
813
+ def move_to_ipam(self) -> pulumi.Output[Optional[bool]]:
814
+ """
815
+ Put a Public Gateway in IPAM mode, so that it can be used with the Public Gateways API v2
816
+ """
817
+ return pulumi.get(self, "move_to_ipam")
818
+
716
819
  @property
717
820
  @pulumi.getter
718
821
  def name(self) -> pulumi.Output[str]:
@@ -779,7 +882,7 @@ class VpcPublicGateway(pulumi.CustomResource):
779
882
 
780
883
  @property
781
884
  @pulumi.getter(name="upstreamDnsServers")
782
- def upstream_dns_servers(self) -> pulumi.Output[Optional[Sequence[str]]]:
885
+ def upstream_dns_servers(self) -> pulumi.Output[Sequence[str]]:
783
886
  """
784
887
  Override the gateway's default recursive DNS servers, if DNS features are enabled.
785
888
  """
@@ -594,6 +594,10 @@ class VpcPublicGatewayDhcp(pulumi.CustomResource):
594
594
  zone: Optional[pulumi.Input[str]] = None,
595
595
  __props__=None):
596
596
  """
597
+ > **Important:** The resource `network.PublicGatewayDhcp` has been deprecated and will no longer be supported.
598
+ In 2023, DHCP functionality was moved from Public Gateways to Private Networks, DHCP resources are now no longer needed.
599
+ For more information, please refer to the dedicated guide.
600
+
597
601
  Creates and manages Scaleway VPC Public Gateway DHCP configurations.
598
602
  For more information, see the [API documentation](https://www.scaleway.com/en/developers/api/public-gateway/#dhcp-c05544).
599
603
 
@@ -643,6 +647,10 @@ class VpcPublicGatewayDhcp(pulumi.CustomResource):
643
647
  args: VpcPublicGatewayDhcpArgs,
644
648
  opts: Optional[pulumi.ResourceOptions] = None):
645
649
  """
650
+ > **Important:** The resource `network.PublicGatewayDhcp` has been deprecated and will no longer be supported.
651
+ In 2023, DHCP functionality was moved from Public Gateways to Private Networks, DHCP resources are now no longer needed.
652
+ For more information, please refer to the dedicated guide.
653
+
646
654
  Creates and manages Scaleway VPC Public Gateway DHCP configurations.
647
655
  For more information, see the [API documentation](https://www.scaleway.com/en/developers/api/public-gateway/#dhcp-c05544).
648
656
 
@@ -237,6 +237,10 @@ class VpcPublicGatewayDhcpReservation(pulumi.CustomResource):
237
237
  zone: Optional[pulumi.Input[str]] = None,
238
238
  __props__=None):
239
239
  """
240
+ > **Important:** The resource `network.PublicGatewayDhcpReservation` has been deprecated and will no longer be supported.
241
+ In 2023, DHCP functionality was moved from Public Gateways to Private Networks, DHCP resources are now no longer needed.
242
+ You can use IPAM to manage your IPs. For more information, please refer to the dedicated guide.
243
+
240
244
  Creates and manages [Scaleway DHCP Reservations](https://www.scaleway.com/en/docs/vpc/concepts/#dhcp).
241
245
 
242
246
  These static associations are used to assign IP addresses based on the MAC addresses of the resource.
@@ -307,6 +311,10 @@ class VpcPublicGatewayDhcpReservation(pulumi.CustomResource):
307
311
  args: VpcPublicGatewayDhcpReservationArgs,
308
312
  opts: Optional[pulumi.ResourceOptions] = None):
309
313
  """
314
+ > **Important:** The resource `network.PublicGatewayDhcpReservation` has been deprecated and will no longer be supported.
315
+ In 2023, DHCP functionality was moved from Public Gateways to Private Networks, DHCP resources are now no longer needed.
316
+ You can use IPAM to manage your IPs. For more information, please refer to the dedicated guide.
317
+
310
318
  Creates and manages [Scaleway DHCP Reservations](https://www.scaleway.com/en/docs/vpc/concepts/#dhcp).
311
319
 
312
320
  These static associations are used to assign IP addresses based on the MAC addresses of the resource.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pulumiverse_scaleway
3
- Version: 1.26.0a1742897201
3
+ Version: 1.27.0a1743490704
4
4
  Summary: A Pulumi package for creating and managing Scaleway cloud resources.
5
5
  License: Apache-2.0
6
6
  Project-URL: Homepage, https://www.scaleway.com