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
@@ -34,26 +34,42 @@ class GatewayNetworkArgs:
34
34
  The set of arguments for constructing a GatewayNetwork resource.
35
35
  :param pulumi.Input[str] gateway_id: The ID of the Public Gateway.
36
36
  :param pulumi.Input[str] private_network_id: The ID of the Private Network.
37
- :param pulumi.Input[bool] cleanup_dhcp: Whether to remove DHCP configuration on this GatewayNetwork upon destroy. Requires DHCP ID.
38
- :param pulumi.Input[str] dhcp_id: The ID of the Public Gateway DHCP configuration. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified.
39
- :param pulumi.Input[bool] enable_dhcp: Whether a DHCP configuration should be enabled on this GatewayNetwork. Requires a DHCP ID.
40
- :param pulumi.Input[bool] enable_masquerade: Whether masquerade (dynamic NAT) should be enabled on this GatewayNetwork
37
+ :param pulumi.Input[bool] cleanup_dhcp: Please use `ipam_config`. Whether to remove DHCP configuration on this GatewayNetwork upon destroy. Requires DHCP ID.
38
+ :param pulumi.Input[str] dhcp_id: Please use `ipam_config`. The ID of the Public Gateway DHCP configuration. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified.
39
+ :param pulumi.Input[bool] enable_dhcp: Please use `ipam_config`. Whether a DHCP configuration should be enabled on this GatewayNetwork. Requires a DHCP ID.
40
+ :param pulumi.Input[bool] enable_masquerade: Whether masquerade (dynamic NAT) should be enabled on this GatewayNetwork.
41
41
  :param pulumi.Input[Sequence[pulumi.Input['GatewayNetworkIpamConfigArgs']]] ipam_configs: Auto-configure the GatewayNetwork using Scaleway's IPAM (IP address management service). Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified.
42
- :param pulumi.Input[str] static_address: Enable DHCP configration on this GatewayNetwork. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified.
42
+ :param pulumi.Input[str] static_address: Please use `ipam_config`. Enable DHCP configration on this GatewayNetwork. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified.
43
43
  :param pulumi.Input[str] zone: `zone`) The zone in which the gateway network should be created.
44
+
45
+ > **Important:**
46
+ In 2023, DHCP functionality was moved from Public Gateways to Private Networks, DHCP fields are now deprecated.
47
+ For more information, please refer to the dedicated guide.
44
48
  """
45
49
  pulumi.set(__self__, "gateway_id", gateway_id)
46
50
  pulumi.set(__self__, "private_network_id", private_network_id)
51
+ if cleanup_dhcp is not None:
52
+ warnings.warn("""Please use ipam_config. For more information, please refer to the dedicated guide: https://github.com/scaleway/terraform-provider-scaleway/blob/master/docs/guides/migration_guide_vpcgw_v2.md""", DeprecationWarning)
53
+ pulumi.log.warn("""cleanup_dhcp is deprecated: Please use ipam_config. For more information, please refer to the dedicated guide: https://github.com/scaleway/terraform-provider-scaleway/blob/master/docs/guides/migration_guide_vpcgw_v2.md""")
47
54
  if cleanup_dhcp is not None:
48
55
  pulumi.set(__self__, "cleanup_dhcp", cleanup_dhcp)
56
+ if dhcp_id is not None:
57
+ warnings.warn("""Please use ipam_config. For more information, please refer to the dedicated guide: https://github.com/scaleway/terraform-provider-scaleway/blob/master/docs/guides/migration_guide_vpcgw_v2.md""", DeprecationWarning)
58
+ pulumi.log.warn("""dhcp_id is deprecated: Please use ipam_config. For more information, please refer to the dedicated guide: https://github.com/scaleway/terraform-provider-scaleway/blob/master/docs/guides/migration_guide_vpcgw_v2.md""")
49
59
  if dhcp_id is not None:
50
60
  pulumi.set(__self__, "dhcp_id", dhcp_id)
61
+ if enable_dhcp is not None:
62
+ warnings.warn("""Please use ipam_config. For more information, please refer to the dedicated guide: https://github.com/scaleway/terraform-provider-scaleway/blob/master/docs/guides/migration_guide_vpcgw_v2.md""", DeprecationWarning)
63
+ pulumi.log.warn("""enable_dhcp is deprecated: Please use ipam_config. For more information, please refer to the dedicated guide: https://github.com/scaleway/terraform-provider-scaleway/blob/master/docs/guides/migration_guide_vpcgw_v2.md""")
51
64
  if enable_dhcp is not None:
52
65
  pulumi.set(__self__, "enable_dhcp", enable_dhcp)
53
66
  if enable_masquerade is not None:
54
67
  pulumi.set(__self__, "enable_masquerade", enable_masquerade)
55
68
  if ipam_configs is not None:
56
69
  pulumi.set(__self__, "ipam_configs", ipam_configs)
70
+ if static_address is not None:
71
+ warnings.warn("""Please use ipam_config. For more information, please refer to the dedicated guide: https://github.com/scaleway/terraform-provider-scaleway/blob/master/docs/guides/migration_guide_vpcgw_v2.md""", DeprecationWarning)
72
+ pulumi.log.warn("""static_address is deprecated: Please use ipam_config. For more information, please refer to the dedicated guide: https://github.com/scaleway/terraform-provider-scaleway/blob/master/docs/guides/migration_guide_vpcgw_v2.md""")
57
73
  if static_address is not None:
58
74
  pulumi.set(__self__, "static_address", static_address)
59
75
  if zone is not None:
@@ -85,9 +101,10 @@ class GatewayNetworkArgs:
85
101
 
86
102
  @property
87
103
  @pulumi.getter(name="cleanupDhcp")
104
+ @_utilities.deprecated("""Please use ipam_config. For more information, please refer to the dedicated guide: https://github.com/scaleway/terraform-provider-scaleway/blob/master/docs/guides/migration_guide_vpcgw_v2.md""")
88
105
  def cleanup_dhcp(self) -> Optional[pulumi.Input[bool]]:
89
106
  """
90
- Whether to remove DHCP configuration on this GatewayNetwork upon destroy. Requires DHCP ID.
107
+ Please use `ipam_config`. Whether to remove DHCP configuration on this GatewayNetwork upon destroy. Requires DHCP ID.
91
108
  """
92
109
  return pulumi.get(self, "cleanup_dhcp")
93
110
 
@@ -97,9 +114,10 @@ class GatewayNetworkArgs:
97
114
 
98
115
  @property
99
116
  @pulumi.getter(name="dhcpId")
117
+ @_utilities.deprecated("""Please use ipam_config. For more information, please refer to the dedicated guide: https://github.com/scaleway/terraform-provider-scaleway/blob/master/docs/guides/migration_guide_vpcgw_v2.md""")
100
118
  def dhcp_id(self) -> Optional[pulumi.Input[str]]:
101
119
  """
102
- The ID of the Public Gateway DHCP configuration. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified.
120
+ Please use `ipam_config`. The ID of the Public Gateway DHCP configuration. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified.
103
121
  """
104
122
  return pulumi.get(self, "dhcp_id")
105
123
 
@@ -109,9 +127,10 @@ class GatewayNetworkArgs:
109
127
 
110
128
  @property
111
129
  @pulumi.getter(name="enableDhcp")
130
+ @_utilities.deprecated("""Please use ipam_config. For more information, please refer to the dedicated guide: https://github.com/scaleway/terraform-provider-scaleway/blob/master/docs/guides/migration_guide_vpcgw_v2.md""")
112
131
  def enable_dhcp(self) -> Optional[pulumi.Input[bool]]:
113
132
  """
114
- Whether a DHCP configuration should be enabled on this GatewayNetwork. Requires a DHCP ID.
133
+ Please use `ipam_config`. Whether a DHCP configuration should be enabled on this GatewayNetwork. Requires a DHCP ID.
115
134
  """
116
135
  return pulumi.get(self, "enable_dhcp")
117
136
 
@@ -123,7 +142,7 @@ class GatewayNetworkArgs:
123
142
  @pulumi.getter(name="enableMasquerade")
124
143
  def enable_masquerade(self) -> Optional[pulumi.Input[bool]]:
125
144
  """
126
- Whether masquerade (dynamic NAT) should be enabled on this GatewayNetwork
145
+ Whether masquerade (dynamic NAT) should be enabled on this GatewayNetwork.
127
146
  """
128
147
  return pulumi.get(self, "enable_masquerade")
129
148
 
@@ -145,9 +164,10 @@ class GatewayNetworkArgs:
145
164
 
146
165
  @property
147
166
  @pulumi.getter(name="staticAddress")
167
+ @_utilities.deprecated("""Please use ipam_config. For more information, please refer to the dedicated guide: https://github.com/scaleway/terraform-provider-scaleway/blob/master/docs/guides/migration_guide_vpcgw_v2.md""")
148
168
  def static_address(self) -> Optional[pulumi.Input[str]]:
149
169
  """
150
- Enable DHCP configration on this GatewayNetwork. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified.
170
+ Please use `ipam_config`. Enable DHCP configration on this GatewayNetwork. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified.
151
171
  """
152
172
  return pulumi.get(self, "static_address")
153
173
 
@@ -160,6 +180,10 @@ class GatewayNetworkArgs:
160
180
  def zone(self) -> Optional[pulumi.Input[str]]:
161
181
  """
162
182
  `zone`) The zone in which the gateway network should be created.
183
+
184
+ > **Important:**
185
+ In 2023, DHCP functionality was moved from Public Gateways to Private Networks, DHCP fields are now deprecated.
186
+ For more information, please refer to the dedicated guide.
163
187
  """
164
188
  return pulumi.get(self, "zone")
165
189
 
@@ -186,26 +210,39 @@ class _GatewayNetworkState:
186
210
  zone: Optional[pulumi.Input[str]] = None):
187
211
  """
188
212
  Input properties used for looking up and filtering GatewayNetwork resources.
189
- :param pulumi.Input[bool] cleanup_dhcp: Whether to remove DHCP configuration on this GatewayNetwork upon destroy. Requires DHCP ID.
213
+ :param pulumi.Input[bool] cleanup_dhcp: Please use `ipam_config`. Whether to remove DHCP configuration on this GatewayNetwork upon destroy. Requires DHCP ID.
190
214
  :param pulumi.Input[str] created_at: The date and time of the creation of the GatewayNetwork.
191
- :param pulumi.Input[str] dhcp_id: The ID of the Public Gateway DHCP configuration. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified.
192
- :param pulumi.Input[bool] enable_dhcp: Whether a DHCP configuration should be enabled on this GatewayNetwork. Requires a DHCP ID.
193
- :param pulumi.Input[bool] enable_masquerade: Whether masquerade (dynamic NAT) should be enabled on this GatewayNetwork
215
+ :param pulumi.Input[str] dhcp_id: Please use `ipam_config`. The ID of the Public Gateway DHCP configuration. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified.
216
+ :param pulumi.Input[bool] enable_dhcp: Please use `ipam_config`. Whether a DHCP configuration should be enabled on this GatewayNetwork. Requires a DHCP ID.
217
+ :param pulumi.Input[bool] enable_masquerade: Whether masquerade (dynamic NAT) should be enabled on this GatewayNetwork.
194
218
  :param pulumi.Input[str] gateway_id: The ID of the Public Gateway.
195
219
  :param pulumi.Input[Sequence[pulumi.Input['GatewayNetworkIpamConfigArgs']]] ipam_configs: Auto-configure the GatewayNetwork using Scaleway's IPAM (IP address management service). Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified.
196
220
  :param pulumi.Input[str] mac_address: The MAC address of the GatewayNetwork.
197
221
  :param pulumi.Input[str] private_network_id: The ID of the Private Network.
198
- :param pulumi.Input[str] static_address: Enable DHCP configration on this GatewayNetwork. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified.
222
+ :param pulumi.Input[str] static_address: Please use `ipam_config`. Enable DHCP configration on this GatewayNetwork. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified.
199
223
  :param pulumi.Input[str] status: The status of the Public Gateway's connection to the Private Network.
200
224
  :param pulumi.Input[str] updated_at: The date and time of the last update of the GatewayNetwork.
201
225
  :param pulumi.Input[str] zone: `zone`) The zone in which the gateway network should be created.
226
+
227
+ > **Important:**
228
+ In 2023, DHCP functionality was moved from Public Gateways to Private Networks, DHCP fields are now deprecated.
229
+ For more information, please refer to the dedicated guide.
202
230
  """
231
+ if cleanup_dhcp is not None:
232
+ warnings.warn("""Please use ipam_config. For more information, please refer to the dedicated guide: https://github.com/scaleway/terraform-provider-scaleway/blob/master/docs/guides/migration_guide_vpcgw_v2.md""", DeprecationWarning)
233
+ pulumi.log.warn("""cleanup_dhcp is deprecated: Please use ipam_config. For more information, please refer to the dedicated guide: https://github.com/scaleway/terraform-provider-scaleway/blob/master/docs/guides/migration_guide_vpcgw_v2.md""")
203
234
  if cleanup_dhcp is not None:
204
235
  pulumi.set(__self__, "cleanup_dhcp", cleanup_dhcp)
205
236
  if created_at is not None:
206
237
  pulumi.set(__self__, "created_at", created_at)
238
+ if dhcp_id is not None:
239
+ warnings.warn("""Please use ipam_config. For more information, please refer to the dedicated guide: https://github.com/scaleway/terraform-provider-scaleway/blob/master/docs/guides/migration_guide_vpcgw_v2.md""", DeprecationWarning)
240
+ pulumi.log.warn("""dhcp_id is deprecated: Please use ipam_config. For more information, please refer to the dedicated guide: https://github.com/scaleway/terraform-provider-scaleway/blob/master/docs/guides/migration_guide_vpcgw_v2.md""")
207
241
  if dhcp_id is not None:
208
242
  pulumi.set(__self__, "dhcp_id", dhcp_id)
243
+ if enable_dhcp is not None:
244
+ warnings.warn("""Please use ipam_config. For more information, please refer to the dedicated guide: https://github.com/scaleway/terraform-provider-scaleway/blob/master/docs/guides/migration_guide_vpcgw_v2.md""", DeprecationWarning)
245
+ pulumi.log.warn("""enable_dhcp is deprecated: Please use ipam_config. For more information, please refer to the dedicated guide: https://github.com/scaleway/terraform-provider-scaleway/blob/master/docs/guides/migration_guide_vpcgw_v2.md""")
209
246
  if enable_dhcp is not None:
210
247
  pulumi.set(__self__, "enable_dhcp", enable_dhcp)
211
248
  if enable_masquerade is not None:
@@ -218,6 +255,9 @@ class _GatewayNetworkState:
218
255
  pulumi.set(__self__, "mac_address", mac_address)
219
256
  if private_network_id is not None:
220
257
  pulumi.set(__self__, "private_network_id", private_network_id)
258
+ if static_address is not None:
259
+ warnings.warn("""Please use ipam_config. For more information, please refer to the dedicated guide: https://github.com/scaleway/terraform-provider-scaleway/blob/master/docs/guides/migration_guide_vpcgw_v2.md""", DeprecationWarning)
260
+ pulumi.log.warn("""static_address is deprecated: Please use ipam_config. For more information, please refer to the dedicated guide: https://github.com/scaleway/terraform-provider-scaleway/blob/master/docs/guides/migration_guide_vpcgw_v2.md""")
221
261
  if static_address is not None:
222
262
  pulumi.set(__self__, "static_address", static_address)
223
263
  if status is not None:
@@ -229,9 +269,10 @@ class _GatewayNetworkState:
229
269
 
230
270
  @property
231
271
  @pulumi.getter(name="cleanupDhcp")
272
+ @_utilities.deprecated("""Please use ipam_config. For more information, please refer to the dedicated guide: https://github.com/scaleway/terraform-provider-scaleway/blob/master/docs/guides/migration_guide_vpcgw_v2.md""")
232
273
  def cleanup_dhcp(self) -> Optional[pulumi.Input[bool]]:
233
274
  """
234
- Whether to remove DHCP configuration on this GatewayNetwork upon destroy. Requires DHCP ID.
275
+ Please use `ipam_config`. Whether to remove DHCP configuration on this GatewayNetwork upon destroy. Requires DHCP ID.
235
276
  """
236
277
  return pulumi.get(self, "cleanup_dhcp")
237
278
 
@@ -253,9 +294,10 @@ class _GatewayNetworkState:
253
294
 
254
295
  @property
255
296
  @pulumi.getter(name="dhcpId")
297
+ @_utilities.deprecated("""Please use ipam_config. For more information, please refer to the dedicated guide: https://github.com/scaleway/terraform-provider-scaleway/blob/master/docs/guides/migration_guide_vpcgw_v2.md""")
256
298
  def dhcp_id(self) -> Optional[pulumi.Input[str]]:
257
299
  """
258
- The ID of the Public Gateway DHCP configuration. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified.
300
+ Please use `ipam_config`. The ID of the Public Gateway DHCP configuration. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified.
259
301
  """
260
302
  return pulumi.get(self, "dhcp_id")
261
303
 
@@ -265,9 +307,10 @@ class _GatewayNetworkState:
265
307
 
266
308
  @property
267
309
  @pulumi.getter(name="enableDhcp")
310
+ @_utilities.deprecated("""Please use ipam_config. For more information, please refer to the dedicated guide: https://github.com/scaleway/terraform-provider-scaleway/blob/master/docs/guides/migration_guide_vpcgw_v2.md""")
268
311
  def enable_dhcp(self) -> Optional[pulumi.Input[bool]]:
269
312
  """
270
- Whether a DHCP configuration should be enabled on this GatewayNetwork. Requires a DHCP ID.
313
+ Please use `ipam_config`. Whether a DHCP configuration should be enabled on this GatewayNetwork. Requires a DHCP ID.
271
314
  """
272
315
  return pulumi.get(self, "enable_dhcp")
273
316
 
@@ -279,7 +322,7 @@ class _GatewayNetworkState:
279
322
  @pulumi.getter(name="enableMasquerade")
280
323
  def enable_masquerade(self) -> Optional[pulumi.Input[bool]]:
281
324
  """
282
- Whether masquerade (dynamic NAT) should be enabled on this GatewayNetwork
325
+ Whether masquerade (dynamic NAT) should be enabled on this GatewayNetwork.
283
326
  """
284
327
  return pulumi.get(self, "enable_masquerade")
285
328
 
@@ -337,9 +380,10 @@ class _GatewayNetworkState:
337
380
 
338
381
  @property
339
382
  @pulumi.getter(name="staticAddress")
383
+ @_utilities.deprecated("""Please use ipam_config. For more information, please refer to the dedicated guide: https://github.com/scaleway/terraform-provider-scaleway/blob/master/docs/guides/migration_guide_vpcgw_v2.md""")
340
384
  def static_address(self) -> Optional[pulumi.Input[str]]:
341
385
  """
342
- Enable DHCP configration on this GatewayNetwork. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified.
386
+ Please use `ipam_config`. Enable DHCP configration on this GatewayNetwork. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified.
343
387
  """
344
388
  return pulumi.get(self, "static_address")
345
389
 
@@ -376,6 +420,10 @@ class _GatewayNetworkState:
376
420
  def zone(self) -> Optional[pulumi.Input[str]]:
377
421
  """
378
422
  `zone`) The zone in which the gateway network should be created.
423
+
424
+ > **Important:**
425
+ In 2023, DHCP functionality was moved from Public Gateways to Private Networks, DHCP fields are now deprecated.
426
+ For more information, please refer to the dedicated guide.
379
427
  """
380
428
  return pulumi.get(self, "zone")
381
429
 
@@ -402,8 +450,8 @@ class GatewayNetwork(pulumi.CustomResource):
402
450
  """
403
451
  Creates and manages GatewayNetworks (connections between a Public Gateway and a Private Network).
404
452
 
405
- It allows the attachment of Private Networks to Public Gateways and DHCP configurations.
406
- For more information, see the [API documentation](https://www.scaleway.com/en/developers/api/public-gateway/#step-3-attach-private-networks-to-the-vpc-public-gateway).
453
+ It allows the attachment of Private Networks to Public Gateways.
454
+ For more information, see [the API documentation](https://www.scaleway.com/en/developers/api/public-gateway/#step-3-attach-private-networks-to-the-vpc-public-gateway).
407
455
 
408
456
  ## Example Usage
409
457
 
@@ -463,47 +511,6 @@ class GatewayNetwork(pulumi.CustomResource):
463
511
  }])
464
512
  ```
465
513
 
466
- ### Create a GatewayNetwork with DHCP
467
-
468
- ```python
469
- import pulumi
470
- import pulumiverse_scaleway as scaleway
471
-
472
- pn01 = scaleway.network.PrivateNetwork("pn01", name="pn_test_network")
473
- gw01 = scaleway.network.PublicGatewayIp("gw01")
474
- dhcp01 = scaleway.network.PublicGatewayDhcp("dhcp01",
475
- subnet="192.168.1.0/24",
476
- push_default_route=True)
477
- pg01 = scaleway.network.PublicGateway("pg01",
478
- name="foobar",
479
- type="VPC-GW-S",
480
- ip_id=gw01.id)
481
- main = scaleway.network.GatewayNetwork("main",
482
- gateway_id=pg01.id,
483
- private_network_id=pn01.id,
484
- dhcp_id=dhcp01.id,
485
- cleanup_dhcp=True,
486
- enable_masquerade=True)
487
- ```
488
-
489
- ### Create a GatewayNetwork with a static IP address
490
-
491
- ```python
492
- import pulumi
493
- import pulumiverse_scaleway as scaleway
494
-
495
- pn01 = scaleway.network.PrivateNetwork("pn01", name="pn_test_network")
496
- pg01 = scaleway.network.PublicGateway("pg01",
497
- name="foobar",
498
- type="VPC-GW-S")
499
- main = scaleway.network.GatewayNetwork("main",
500
- gateway_id=pg01.id,
501
- private_network_id=pn01.id,
502
- enable_dhcp=False,
503
- enable_masquerade=True,
504
- static_address="192.168.1.42/24")
505
- ```
506
-
507
514
  ## Import
508
515
 
509
516
  GatewayNetwork can be imported using `{zone}/{id}`, e.g.
@@ -516,15 +523,19 @@ class GatewayNetwork(pulumi.CustomResource):
516
523
 
517
524
  :param str resource_name: The name of the resource.
518
525
  :param pulumi.ResourceOptions opts: Options for the resource.
519
- :param pulumi.Input[bool] cleanup_dhcp: Whether to remove DHCP configuration on this GatewayNetwork upon destroy. Requires DHCP ID.
520
- :param pulumi.Input[str] dhcp_id: The ID of the Public Gateway DHCP configuration. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified.
521
- :param pulumi.Input[bool] enable_dhcp: Whether a DHCP configuration should be enabled on this GatewayNetwork. Requires a DHCP ID.
522
- :param pulumi.Input[bool] enable_masquerade: Whether masquerade (dynamic NAT) should be enabled on this GatewayNetwork
526
+ :param pulumi.Input[bool] cleanup_dhcp: Please use `ipam_config`. Whether to remove DHCP configuration on this GatewayNetwork upon destroy. Requires DHCP ID.
527
+ :param pulumi.Input[str] dhcp_id: Please use `ipam_config`. The ID of the Public Gateway DHCP configuration. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified.
528
+ :param pulumi.Input[bool] enable_dhcp: Please use `ipam_config`. Whether a DHCP configuration should be enabled on this GatewayNetwork. Requires a DHCP ID.
529
+ :param pulumi.Input[bool] enable_masquerade: Whether masquerade (dynamic NAT) should be enabled on this GatewayNetwork.
523
530
  :param pulumi.Input[str] gateway_id: The ID of the Public Gateway.
524
531
  :param pulumi.Input[Sequence[pulumi.Input[Union['GatewayNetworkIpamConfigArgs', 'GatewayNetworkIpamConfigArgsDict']]]] ipam_configs: Auto-configure the GatewayNetwork using Scaleway's IPAM (IP address management service). Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified.
525
532
  :param pulumi.Input[str] private_network_id: The ID of the Private Network.
526
- :param pulumi.Input[str] static_address: Enable DHCP configration on this GatewayNetwork. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified.
533
+ :param pulumi.Input[str] static_address: Please use `ipam_config`. Enable DHCP configration on this GatewayNetwork. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified.
527
534
  :param pulumi.Input[str] zone: `zone`) The zone in which the gateway network should be created.
535
+
536
+ > **Important:**
537
+ In 2023, DHCP functionality was moved from Public Gateways to Private Networks, DHCP fields are now deprecated.
538
+ For more information, please refer to the dedicated guide.
528
539
  """
529
540
  ...
530
541
  @overload
@@ -535,8 +546,8 @@ class GatewayNetwork(pulumi.CustomResource):
535
546
  """
536
547
  Creates and manages GatewayNetworks (connections between a Public Gateway and a Private Network).
537
548
 
538
- It allows the attachment of Private Networks to Public Gateways and DHCP configurations.
539
- For more information, see the [API documentation](https://www.scaleway.com/en/developers/api/public-gateway/#step-3-attach-private-networks-to-the-vpc-public-gateway).
549
+ It allows the attachment of Private Networks to Public Gateways.
550
+ For more information, see [the API documentation](https://www.scaleway.com/en/developers/api/public-gateway/#step-3-attach-private-networks-to-the-vpc-public-gateway).
540
551
 
541
552
  ## Example Usage
542
553
 
@@ -596,47 +607,6 @@ class GatewayNetwork(pulumi.CustomResource):
596
607
  }])
597
608
  ```
598
609
 
599
- ### Create a GatewayNetwork with DHCP
600
-
601
- ```python
602
- import pulumi
603
- import pulumiverse_scaleway as scaleway
604
-
605
- pn01 = scaleway.network.PrivateNetwork("pn01", name="pn_test_network")
606
- gw01 = scaleway.network.PublicGatewayIp("gw01")
607
- dhcp01 = scaleway.network.PublicGatewayDhcp("dhcp01",
608
- subnet="192.168.1.0/24",
609
- push_default_route=True)
610
- pg01 = scaleway.network.PublicGateway("pg01",
611
- name="foobar",
612
- type="VPC-GW-S",
613
- ip_id=gw01.id)
614
- main = scaleway.network.GatewayNetwork("main",
615
- gateway_id=pg01.id,
616
- private_network_id=pn01.id,
617
- dhcp_id=dhcp01.id,
618
- cleanup_dhcp=True,
619
- enable_masquerade=True)
620
- ```
621
-
622
- ### Create a GatewayNetwork with a static IP address
623
-
624
- ```python
625
- import pulumi
626
- import pulumiverse_scaleway as scaleway
627
-
628
- pn01 = scaleway.network.PrivateNetwork("pn01", name="pn_test_network")
629
- pg01 = scaleway.network.PublicGateway("pg01",
630
- name="foobar",
631
- type="VPC-GW-S")
632
- main = scaleway.network.GatewayNetwork("main",
633
- gateway_id=pg01.id,
634
- private_network_id=pn01.id,
635
- enable_dhcp=False,
636
- enable_masquerade=True,
637
- static_address="192.168.1.42/24")
638
- ```
639
-
640
610
  ## Import
641
611
 
642
612
  GatewayNetwork can be imported using `{zone}/{id}`, e.g.
@@ -729,19 +699,23 @@ class GatewayNetwork(pulumi.CustomResource):
729
699
  :param str resource_name: The unique name of the resulting resource.
730
700
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
731
701
  :param pulumi.ResourceOptions opts: Options for the resource.
732
- :param pulumi.Input[bool] cleanup_dhcp: Whether to remove DHCP configuration on this GatewayNetwork upon destroy. Requires DHCP ID.
702
+ :param pulumi.Input[bool] cleanup_dhcp: Please use `ipam_config`. Whether to remove DHCP configuration on this GatewayNetwork upon destroy. Requires DHCP ID.
733
703
  :param pulumi.Input[str] created_at: The date and time of the creation of the GatewayNetwork.
734
- :param pulumi.Input[str] dhcp_id: The ID of the Public Gateway DHCP configuration. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified.
735
- :param pulumi.Input[bool] enable_dhcp: Whether a DHCP configuration should be enabled on this GatewayNetwork. Requires a DHCP ID.
736
- :param pulumi.Input[bool] enable_masquerade: Whether masquerade (dynamic NAT) should be enabled on this GatewayNetwork
704
+ :param pulumi.Input[str] dhcp_id: Please use `ipam_config`. The ID of the Public Gateway DHCP configuration. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified.
705
+ :param pulumi.Input[bool] enable_dhcp: Please use `ipam_config`. Whether a DHCP configuration should be enabled on this GatewayNetwork. Requires a DHCP ID.
706
+ :param pulumi.Input[bool] enable_masquerade: Whether masquerade (dynamic NAT) should be enabled on this GatewayNetwork.
737
707
  :param pulumi.Input[str] gateway_id: The ID of the Public Gateway.
738
708
  :param pulumi.Input[Sequence[pulumi.Input[Union['GatewayNetworkIpamConfigArgs', 'GatewayNetworkIpamConfigArgsDict']]]] ipam_configs: Auto-configure the GatewayNetwork using Scaleway's IPAM (IP address management service). Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified.
739
709
  :param pulumi.Input[str] mac_address: The MAC address of the GatewayNetwork.
740
710
  :param pulumi.Input[str] private_network_id: The ID of the Private Network.
741
- :param pulumi.Input[str] static_address: Enable DHCP configration on this GatewayNetwork. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified.
711
+ :param pulumi.Input[str] static_address: Please use `ipam_config`. Enable DHCP configration on this GatewayNetwork. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified.
742
712
  :param pulumi.Input[str] status: The status of the Public Gateway's connection to the Private Network.
743
713
  :param pulumi.Input[str] updated_at: The date and time of the last update of the GatewayNetwork.
744
714
  :param pulumi.Input[str] zone: `zone`) The zone in which the gateway network should be created.
715
+
716
+ > **Important:**
717
+ In 2023, DHCP functionality was moved from Public Gateways to Private Networks, DHCP fields are now deprecated.
718
+ For more information, please refer to the dedicated guide.
745
719
  """
746
720
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
747
721
 
@@ -764,9 +738,10 @@ class GatewayNetwork(pulumi.CustomResource):
764
738
 
765
739
  @property
766
740
  @pulumi.getter(name="cleanupDhcp")
767
- def cleanup_dhcp(self) -> pulumi.Output[Optional[bool]]:
741
+ @_utilities.deprecated("""Please use ipam_config. For more information, please refer to the dedicated guide: https://github.com/scaleway/terraform-provider-scaleway/blob/master/docs/guides/migration_guide_vpcgw_v2.md""")
742
+ def cleanup_dhcp(self) -> pulumi.Output[bool]:
768
743
  """
769
- Whether to remove DHCP configuration on this GatewayNetwork upon destroy. Requires DHCP ID.
744
+ Please use `ipam_config`. Whether to remove DHCP configuration on this GatewayNetwork upon destroy. Requires DHCP ID.
770
745
  """
771
746
  return pulumi.get(self, "cleanup_dhcp")
772
747
 
@@ -780,17 +755,19 @@ class GatewayNetwork(pulumi.CustomResource):
780
755
 
781
756
  @property
782
757
  @pulumi.getter(name="dhcpId")
758
+ @_utilities.deprecated("""Please use ipam_config. For more information, please refer to the dedicated guide: https://github.com/scaleway/terraform-provider-scaleway/blob/master/docs/guides/migration_guide_vpcgw_v2.md""")
783
759
  def dhcp_id(self) -> pulumi.Output[Optional[str]]:
784
760
  """
785
- The ID of the Public Gateway DHCP configuration. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified.
761
+ Please use `ipam_config`. The ID of the Public Gateway DHCP configuration. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified.
786
762
  """
787
763
  return pulumi.get(self, "dhcp_id")
788
764
 
789
765
  @property
790
766
  @pulumi.getter(name="enableDhcp")
767
+ @_utilities.deprecated("""Please use ipam_config. For more information, please refer to the dedicated guide: https://github.com/scaleway/terraform-provider-scaleway/blob/master/docs/guides/migration_guide_vpcgw_v2.md""")
791
768
  def enable_dhcp(self) -> pulumi.Output[Optional[bool]]:
792
769
  """
793
- Whether a DHCP configuration should be enabled on this GatewayNetwork. Requires a DHCP ID.
770
+ Please use `ipam_config`. Whether a DHCP configuration should be enabled on this GatewayNetwork. Requires a DHCP ID.
794
771
  """
795
772
  return pulumi.get(self, "enable_dhcp")
796
773
 
@@ -798,7 +775,7 @@ class GatewayNetwork(pulumi.CustomResource):
798
775
  @pulumi.getter(name="enableMasquerade")
799
776
  def enable_masquerade(self) -> pulumi.Output[Optional[bool]]:
800
777
  """
801
- Whether masquerade (dynamic NAT) should be enabled on this GatewayNetwork
778
+ Whether masquerade (dynamic NAT) should be enabled on this GatewayNetwork.
802
779
  """
803
780
  return pulumi.get(self, "enable_masquerade")
804
781
 
@@ -836,9 +813,10 @@ class GatewayNetwork(pulumi.CustomResource):
836
813
 
837
814
  @property
838
815
  @pulumi.getter(name="staticAddress")
816
+ @_utilities.deprecated("""Please use ipam_config. For more information, please refer to the dedicated guide: https://github.com/scaleway/terraform-provider-scaleway/blob/master/docs/guides/migration_guide_vpcgw_v2.md""")
839
817
  def static_address(self) -> pulumi.Output[str]:
840
818
  """
841
- Enable DHCP configration on this GatewayNetwork. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified.
819
+ Please use `ipam_config`. Enable DHCP configration on this GatewayNetwork. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified.
842
820
  """
843
821
  return pulumi.get(self, "static_address")
844
822
 
@@ -863,6 +841,10 @@ class GatewayNetwork(pulumi.CustomResource):
863
841
  def zone(self) -> pulumi.Output[str]:
864
842
  """
865
843
  `zone`) The zone in which the gateway network should be created.
844
+
845
+ > **Important:**
846
+ In 2023, DHCP functionality was moved from Public Gateways to Private Networks, DHCP fields are now deprecated.
847
+ For more information, please refer to the dedicated guide.
866
848
  """
867
849
  return pulumi.get(self, "zone")
868
850
 
@@ -26,7 +26,13 @@ class GetPublicGatewayResult:
26
26
  """
27
27
  A collection of values returned by getPublicGateway.
28
28
  """
29
- def __init__(__self__, bastion_enabled=None, bastion_port=None, created_at=None, enable_smtp=None, id=None, ip_id=None, name=None, organization_id=None, project_id=None, public_gateway_id=None, refresh_ssh_keys=None, status=None, tags=None, type=None, updated_at=None, upstream_dns_servers=None, zone=None):
29
+ def __init__(__self__, allowed_ip_ranges=None, bandwidth=None, bastion_enabled=None, bastion_port=None, created_at=None, enable_smtp=None, id=None, ip_id=None, move_to_ipam=None, name=None, organization_id=None, project_id=None, public_gateway_id=None, refresh_ssh_keys=None, status=None, tags=None, type=None, updated_at=None, upstream_dns_servers=None, zone=None):
30
+ if allowed_ip_ranges and not isinstance(allowed_ip_ranges, list):
31
+ raise TypeError("Expected argument 'allowed_ip_ranges' to be a list")
32
+ pulumi.set(__self__, "allowed_ip_ranges", allowed_ip_ranges)
33
+ if bandwidth and not isinstance(bandwidth, int):
34
+ raise TypeError("Expected argument 'bandwidth' to be a int")
35
+ pulumi.set(__self__, "bandwidth", bandwidth)
30
36
  if bastion_enabled and not isinstance(bastion_enabled, bool):
31
37
  raise TypeError("Expected argument 'bastion_enabled' to be a bool")
32
38
  pulumi.set(__self__, "bastion_enabled", bastion_enabled)
@@ -45,6 +51,9 @@ class GetPublicGatewayResult:
45
51
  if ip_id and not isinstance(ip_id, str):
46
52
  raise TypeError("Expected argument 'ip_id' to be a str")
47
53
  pulumi.set(__self__, "ip_id", ip_id)
54
+ if move_to_ipam and not isinstance(move_to_ipam, bool):
55
+ raise TypeError("Expected argument 'move_to_ipam' to be a bool")
56
+ pulumi.set(__self__, "move_to_ipam", move_to_ipam)
48
57
  if name and not isinstance(name, str):
49
58
  raise TypeError("Expected argument 'name' to be a str")
50
59
  pulumi.set(__self__, "name", name)
@@ -79,6 +88,16 @@ class GetPublicGatewayResult:
79
88
  raise TypeError("Expected argument 'zone' to be a str")
80
89
  pulumi.set(__self__, "zone", zone)
81
90
 
91
+ @property
92
+ @pulumi.getter(name="allowedIpRanges")
93
+ def allowed_ip_ranges(self) -> Sequence[str]:
94
+ return pulumi.get(self, "allowed_ip_ranges")
95
+
96
+ @property
97
+ @pulumi.getter
98
+ def bandwidth(self) -> int:
99
+ return pulumi.get(self, "bandwidth")
100
+
82
101
  @property
83
102
  @pulumi.getter(name="bastionEnabled")
84
103
  def bastion_enabled(self) -> bool:
@@ -112,6 +131,11 @@ class GetPublicGatewayResult:
112
131
  def ip_id(self) -> str:
113
132
  return pulumi.get(self, "ip_id")
114
133
 
134
+ @property
135
+ @pulumi.getter(name="moveToIpam")
136
+ def move_to_ipam(self) -> bool:
137
+ return pulumi.get(self, "move_to_ipam")
138
+
115
139
  @property
116
140
  @pulumi.getter
117
141
  def name(self) -> Optional[str]:
@@ -174,12 +198,15 @@ class AwaitableGetPublicGatewayResult(GetPublicGatewayResult):
174
198
  if False:
175
199
  yield self
176
200
  return GetPublicGatewayResult(
201
+ allowed_ip_ranges=self.allowed_ip_ranges,
202
+ bandwidth=self.bandwidth,
177
203
  bastion_enabled=self.bastion_enabled,
178
204
  bastion_port=self.bastion_port,
179
205
  created_at=self.created_at,
180
206
  enable_smtp=self.enable_smtp,
181
207
  id=self.id,
182
208
  ip_id=self.ip_id,
209
+ move_to_ipam=self.move_to_ipam,
183
210
  name=self.name,
184
211
  organization_id=self.organization_id,
185
212
  project_id=self.project_id,
@@ -231,12 +258,15 @@ def get_public_gateway(name: Optional[str] = None,
231
258
  __ret__ = pulumi.runtime.invoke('scaleway:network/getPublicGateway:getPublicGateway', __args__, opts=opts, typ=GetPublicGatewayResult).value
232
259
 
233
260
  return AwaitableGetPublicGatewayResult(
261
+ allowed_ip_ranges=pulumi.get(__ret__, 'allowed_ip_ranges'),
262
+ bandwidth=pulumi.get(__ret__, 'bandwidth'),
234
263
  bastion_enabled=pulumi.get(__ret__, 'bastion_enabled'),
235
264
  bastion_port=pulumi.get(__ret__, 'bastion_port'),
236
265
  created_at=pulumi.get(__ret__, 'created_at'),
237
266
  enable_smtp=pulumi.get(__ret__, 'enable_smtp'),
238
267
  id=pulumi.get(__ret__, 'id'),
239
268
  ip_id=pulumi.get(__ret__, 'ip_id'),
269
+ move_to_ipam=pulumi.get(__ret__, 'move_to_ipam'),
240
270
  name=pulumi.get(__ret__, 'name'),
241
271
  organization_id=pulumi.get(__ret__, 'organization_id'),
242
272
  project_id=pulumi.get(__ret__, 'project_id'),
@@ -285,12 +315,15 @@ def get_public_gateway_output(name: Optional[pulumi.Input[Optional[str]]] = None
285
315
  opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
286
316
  __ret__ = pulumi.runtime.invoke_output('scaleway:network/getPublicGateway:getPublicGateway', __args__, opts=opts, typ=GetPublicGatewayResult)
287
317
  return __ret__.apply(lambda __response__: GetPublicGatewayResult(
318
+ allowed_ip_ranges=pulumi.get(__response__, 'allowed_ip_ranges'),
319
+ bandwidth=pulumi.get(__response__, 'bandwidth'),
288
320
  bastion_enabled=pulumi.get(__response__, 'bastion_enabled'),
289
321
  bastion_port=pulumi.get(__response__, 'bastion_port'),
290
322
  created_at=pulumi.get(__response__, 'created_at'),
291
323
  enable_smtp=pulumi.get(__response__, 'enable_smtp'),
292
324
  id=pulumi.get(__response__, 'id'),
293
325
  ip_id=pulumi.get(__response__, 'ip_id'),
326
+ move_to_ipam=pulumi.get(__response__, 'move_to_ipam'),
294
327
  name=pulumi.get(__response__, 'name'),
295
328
  organization_id=pulumi.get(__response__, 'organization_id'),
296
329
  project_id=pulumi.get(__response__, 'project_id'),
@@ -223,6 +223,10 @@ class AwaitableGetPublicGatewayDhcpResult(GetPublicGatewayDhcpResult):
223
223
  def get_public_gateway_dhcp(dhcp_id: Optional[str] = None,
224
224
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPublicGatewayDhcpResult:
225
225
  """
226
+ > **Important:** The data source `network.PublicGatewayDhcp` has been deprecated and will no longer be supported.
227
+ In 2023, DHCP functionality was moved from Public Gateways to Private Networks, DHCP resources are now no longer needed.
228
+ For more information, please refer to the dedicated guide.
229
+
226
230
  Gets information about a Public Gateway DHCP configuration.
227
231
 
228
232
  ## Example Usage
@@ -265,6 +269,10 @@ def get_public_gateway_dhcp(dhcp_id: Optional[str] = None,
265
269
  def get_public_gateway_dhcp_output(dhcp_id: Optional[pulumi.Input[str]] = None,
266
270
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetPublicGatewayDhcpResult]:
267
271
  """
272
+ > **Important:** The data source `network.PublicGatewayDhcp` has been deprecated and will no longer be supported.
273
+ In 2023, DHCP functionality was moved from Public Gateways to Private Networks, DHCP resources are now no longer needed.
274
+ For more information, please refer to the dedicated guide.
275
+
268
276
  Gets information about a Public Gateway DHCP configuration.
269
277
 
270
278
  ## Example Usage
@@ -146,6 +146,10 @@ def get_public_gateway_dhcp_reservation(gateway_network_id: Optional[str] = None
146
146
  zone: Optional[str] = None,
147
147
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPublicGatewayDhcpReservationResult:
148
148
  """
149
+ > **Important:** The data source `network.PublicGatewayDhcpReservation` has been deprecated and will no longer be supported.
150
+ In 2023, DHCP functionality was moved from Public Gateways to Private Networks, DHCP resources are now no longer needed.
151
+ You can use IPAM to manage your IPs. For more information, please refer to the dedicated guide.
152
+
149
153
  Gets information about a DHCP entry. For further information, please see the
150
154
  [API documentation](https://www.scaleway.com/en/developers/api/public-gateway/#path-dhcp-entries-list-dhcp-entries).
151
155
 
@@ -267,6 +271,10 @@ def get_public_gateway_dhcp_reservation_output(gateway_network_id: Optional[pulu
267
271
  zone: Optional[pulumi.Input[Optional[str]]] = None,
268
272
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetPublicGatewayDhcpReservationResult]:
269
273
  """
274
+ > **Important:** The data source `network.PublicGatewayDhcpReservation` has been deprecated and will no longer be supported.
275
+ In 2023, DHCP functionality was moved from Public Gateways to Private Networks, DHCP resources are now no longer needed.
276
+ You can use IPAM to manage your IPs. For more information, please refer to the dedicated guide.
277
+
270
278
  Gets information about a DHCP entry. For further information, please see the
271
279
  [API documentation](https://www.scaleway.com/en/developers/api/public-gateway/#path-dhcp-entries-list-dhcp-entries).
272
280