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 VpcGatewayNetworkArgs:
34
34
  The set of arguments for constructing a VpcGatewayNetwork 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['VpcGatewayNetworkIpamConfigArgs']]] 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 VpcGatewayNetworkArgs:
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 VpcGatewayNetworkArgs:
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 VpcGatewayNetworkArgs:
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 VpcGatewayNetworkArgs:
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 VpcGatewayNetworkArgs:
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 VpcGatewayNetworkArgs:
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 _VpcGatewayNetworkState:
186
210
  zone: Optional[pulumi.Input[str]] = None):
187
211
  """
188
212
  Input properties used for looking up and filtering VpcGatewayNetwork 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['VpcGatewayNetworkIpamConfigArgs']]] 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 _VpcGatewayNetworkState:
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 _VpcGatewayNetworkState:
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 _VpcGatewayNetworkState:
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 _VpcGatewayNetworkState:
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 _VpcGatewayNetworkState:
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 _VpcGatewayNetworkState:
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 _VpcGatewayNetworkState:
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
 
@@ -407,8 +455,8 @@ class VpcGatewayNetwork(pulumi.CustomResource):
407
455
  """
408
456
  Creates and manages GatewayNetworks (connections between a Public Gateway and a Private Network).
409
457
 
410
- It allows the attachment of Private Networks to Public Gateways and DHCP configurations.
411
- 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).
458
+ It allows the attachment of Private Networks to Public Gateways.
459
+ 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).
412
460
 
413
461
  ## Example Usage
414
462
 
@@ -468,47 +516,6 @@ class VpcGatewayNetwork(pulumi.CustomResource):
468
516
  }])
469
517
  ```
470
518
 
471
- ### Create a GatewayNetwork with DHCP
472
-
473
- ```python
474
- import pulumi
475
- import pulumiverse_scaleway as scaleway
476
-
477
- pn01 = scaleway.network.PrivateNetwork("pn01", name="pn_test_network")
478
- gw01 = scaleway.network.PublicGatewayIp("gw01")
479
- dhcp01 = scaleway.network.PublicGatewayDhcp("dhcp01",
480
- subnet="192.168.1.0/24",
481
- push_default_route=True)
482
- pg01 = scaleway.network.PublicGateway("pg01",
483
- name="foobar",
484
- type="VPC-GW-S",
485
- ip_id=gw01.id)
486
- main = scaleway.network.GatewayNetwork("main",
487
- gateway_id=pg01.id,
488
- private_network_id=pn01.id,
489
- dhcp_id=dhcp01.id,
490
- cleanup_dhcp=True,
491
- enable_masquerade=True)
492
- ```
493
-
494
- ### Create a GatewayNetwork with a static IP address
495
-
496
- ```python
497
- import pulumi
498
- import pulumiverse_scaleway as scaleway
499
-
500
- pn01 = scaleway.network.PrivateNetwork("pn01", name="pn_test_network")
501
- pg01 = scaleway.network.PublicGateway("pg01",
502
- name="foobar",
503
- type="VPC-GW-S")
504
- main = scaleway.network.GatewayNetwork("main",
505
- gateway_id=pg01.id,
506
- private_network_id=pn01.id,
507
- enable_dhcp=False,
508
- enable_masquerade=True,
509
- static_address="192.168.1.42/24")
510
- ```
511
-
512
519
  ## Import
513
520
 
514
521
  GatewayNetwork can be imported using `{zone}/{id}`, e.g.
@@ -521,15 +528,19 @@ class VpcGatewayNetwork(pulumi.CustomResource):
521
528
 
522
529
  :param str resource_name: The name of the resource.
523
530
  :param pulumi.ResourceOptions opts: Options for the resource.
524
- :param pulumi.Input[bool] cleanup_dhcp: Whether to remove DHCP configuration on this GatewayNetwork upon destroy. Requires DHCP ID.
525
- :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.
526
- :param pulumi.Input[bool] enable_dhcp: Whether a DHCP configuration should be enabled on this GatewayNetwork. Requires a DHCP ID.
527
- :param pulumi.Input[bool] enable_masquerade: Whether masquerade (dynamic NAT) should be enabled on this GatewayNetwork
531
+ :param pulumi.Input[bool] cleanup_dhcp: Please use `ipam_config`. Whether to remove DHCP configuration on this GatewayNetwork upon destroy. Requires DHCP ID.
532
+ :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.
533
+ :param pulumi.Input[bool] enable_dhcp: Please use `ipam_config`. Whether a DHCP configuration should be enabled on this GatewayNetwork. Requires a DHCP ID.
534
+ :param pulumi.Input[bool] enable_masquerade: Whether masquerade (dynamic NAT) should be enabled on this GatewayNetwork.
528
535
  :param pulumi.Input[str] gateway_id: The ID of the Public Gateway.
529
536
  :param pulumi.Input[Sequence[pulumi.Input[Union['VpcGatewayNetworkIpamConfigArgs', 'VpcGatewayNetworkIpamConfigArgsDict']]]] 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.
530
537
  :param pulumi.Input[str] private_network_id: The ID of the Private Network.
531
- :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.
538
+ :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.
532
539
  :param pulumi.Input[str] zone: `zone`) The zone in which the gateway network should be created.
540
+
541
+ > **Important:**
542
+ In 2023, DHCP functionality was moved from Public Gateways to Private Networks, DHCP fields are now deprecated.
543
+ For more information, please refer to the dedicated guide.
533
544
  """
534
545
  ...
535
546
  @overload
@@ -540,8 +551,8 @@ class VpcGatewayNetwork(pulumi.CustomResource):
540
551
  """
541
552
  Creates and manages GatewayNetworks (connections between a Public Gateway and a Private Network).
542
553
 
543
- It allows the attachment of Private Networks to Public Gateways and DHCP configurations.
544
- 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).
554
+ It allows the attachment of Private Networks to Public Gateways.
555
+ 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).
545
556
 
546
557
  ## Example Usage
547
558
 
@@ -601,47 +612,6 @@ class VpcGatewayNetwork(pulumi.CustomResource):
601
612
  }])
602
613
  ```
603
614
 
604
- ### Create a GatewayNetwork with DHCP
605
-
606
- ```python
607
- import pulumi
608
- import pulumiverse_scaleway as scaleway
609
-
610
- pn01 = scaleway.network.PrivateNetwork("pn01", name="pn_test_network")
611
- gw01 = scaleway.network.PublicGatewayIp("gw01")
612
- dhcp01 = scaleway.network.PublicGatewayDhcp("dhcp01",
613
- subnet="192.168.1.0/24",
614
- push_default_route=True)
615
- pg01 = scaleway.network.PublicGateway("pg01",
616
- name="foobar",
617
- type="VPC-GW-S",
618
- ip_id=gw01.id)
619
- main = scaleway.network.GatewayNetwork("main",
620
- gateway_id=pg01.id,
621
- private_network_id=pn01.id,
622
- dhcp_id=dhcp01.id,
623
- cleanup_dhcp=True,
624
- enable_masquerade=True)
625
- ```
626
-
627
- ### Create a GatewayNetwork with a static IP address
628
-
629
- ```python
630
- import pulumi
631
- import pulumiverse_scaleway as scaleway
632
-
633
- pn01 = scaleway.network.PrivateNetwork("pn01", name="pn_test_network")
634
- pg01 = scaleway.network.PublicGateway("pg01",
635
- name="foobar",
636
- type="VPC-GW-S")
637
- main = scaleway.network.GatewayNetwork("main",
638
- gateway_id=pg01.id,
639
- private_network_id=pn01.id,
640
- enable_dhcp=False,
641
- enable_masquerade=True,
642
- static_address="192.168.1.42/24")
643
- ```
644
-
645
615
  ## Import
646
616
 
647
617
  GatewayNetwork can be imported using `{zone}/{id}`, e.g.
@@ -733,19 +703,23 @@ class VpcGatewayNetwork(pulumi.CustomResource):
733
703
  :param str resource_name: The unique name of the resulting resource.
734
704
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
735
705
  :param pulumi.ResourceOptions opts: Options for the resource.
736
- :param pulumi.Input[bool] cleanup_dhcp: Whether to remove DHCP configuration on this GatewayNetwork upon destroy. Requires DHCP ID.
706
+ :param pulumi.Input[bool] cleanup_dhcp: Please use `ipam_config`. Whether to remove DHCP configuration on this GatewayNetwork upon destroy. Requires DHCP ID.
737
707
  :param pulumi.Input[str] created_at: The date and time of the creation of the GatewayNetwork.
738
- :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.
739
- :param pulumi.Input[bool] enable_dhcp: Whether a DHCP configuration should be enabled on this GatewayNetwork. Requires a DHCP ID.
740
- :param pulumi.Input[bool] enable_masquerade: Whether masquerade (dynamic NAT) should be enabled on this GatewayNetwork
708
+ :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.
709
+ :param pulumi.Input[bool] enable_dhcp: Please use `ipam_config`. Whether a DHCP configuration should be enabled on this GatewayNetwork. Requires a DHCP ID.
710
+ :param pulumi.Input[bool] enable_masquerade: Whether masquerade (dynamic NAT) should be enabled on this GatewayNetwork.
741
711
  :param pulumi.Input[str] gateway_id: The ID of the Public Gateway.
742
712
  :param pulumi.Input[Sequence[pulumi.Input[Union['VpcGatewayNetworkIpamConfigArgs', 'VpcGatewayNetworkIpamConfigArgsDict']]]] 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.
743
713
  :param pulumi.Input[str] mac_address: The MAC address of the GatewayNetwork.
744
714
  :param pulumi.Input[str] private_network_id: The ID of the Private Network.
745
- :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.
715
+ :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.
746
716
  :param pulumi.Input[str] status: The status of the Public Gateway's connection to the Private Network.
747
717
  :param pulumi.Input[str] updated_at: The date and time of the last update of the GatewayNetwork.
748
718
  :param pulumi.Input[str] zone: `zone`) The zone in which the gateway network should be created.
719
+
720
+ > **Important:**
721
+ In 2023, DHCP functionality was moved from Public Gateways to Private Networks, DHCP fields are now deprecated.
722
+ For more information, please refer to the dedicated guide.
749
723
  """
750
724
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
751
725
 
@@ -768,9 +742,10 @@ class VpcGatewayNetwork(pulumi.CustomResource):
768
742
 
769
743
  @property
770
744
  @pulumi.getter(name="cleanupDhcp")
771
- def cleanup_dhcp(self) -> pulumi.Output[Optional[bool]]:
745
+ @_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""")
746
+ def cleanup_dhcp(self) -> pulumi.Output[bool]:
772
747
  """
773
- Whether to remove DHCP configuration on this GatewayNetwork upon destroy. Requires DHCP ID.
748
+ Please use `ipam_config`. Whether to remove DHCP configuration on this GatewayNetwork upon destroy. Requires DHCP ID.
774
749
  """
775
750
  return pulumi.get(self, "cleanup_dhcp")
776
751
 
@@ -784,17 +759,19 @@ class VpcGatewayNetwork(pulumi.CustomResource):
784
759
 
785
760
  @property
786
761
  @pulumi.getter(name="dhcpId")
762
+ @_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""")
787
763
  def dhcp_id(self) -> pulumi.Output[Optional[str]]:
788
764
  """
789
- The ID of the Public Gateway DHCP configuration. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified.
765
+ 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.
790
766
  """
791
767
  return pulumi.get(self, "dhcp_id")
792
768
 
793
769
  @property
794
770
  @pulumi.getter(name="enableDhcp")
771
+ @_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""")
795
772
  def enable_dhcp(self) -> pulumi.Output[Optional[bool]]:
796
773
  """
797
- Whether a DHCP configuration should be enabled on this GatewayNetwork. Requires a DHCP ID.
774
+ Please use `ipam_config`. Whether a DHCP configuration should be enabled on this GatewayNetwork. Requires a DHCP ID.
798
775
  """
799
776
  return pulumi.get(self, "enable_dhcp")
800
777
 
@@ -802,7 +779,7 @@ class VpcGatewayNetwork(pulumi.CustomResource):
802
779
  @pulumi.getter(name="enableMasquerade")
803
780
  def enable_masquerade(self) -> pulumi.Output[Optional[bool]]:
804
781
  """
805
- Whether masquerade (dynamic NAT) should be enabled on this GatewayNetwork
782
+ Whether masquerade (dynamic NAT) should be enabled on this GatewayNetwork.
806
783
  """
807
784
  return pulumi.get(self, "enable_masquerade")
808
785
 
@@ -840,9 +817,10 @@ class VpcGatewayNetwork(pulumi.CustomResource):
840
817
 
841
818
  @property
842
819
  @pulumi.getter(name="staticAddress")
820
+ @_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""")
843
821
  def static_address(self) -> pulumi.Output[str]:
844
822
  """
845
- Enable DHCP configration on this GatewayNetwork. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified.
823
+ Please use `ipam_config`. Enable DHCP configration on this GatewayNetwork. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified.
846
824
  """
847
825
  return pulumi.get(self, "static_address")
848
826
 
@@ -867,6 +845,10 @@ class VpcGatewayNetwork(pulumi.CustomResource):
867
845
  def zone(self) -> pulumi.Output[str]:
868
846
  """
869
847
  `zone`) The zone in which the gateway network should be created.
848
+
849
+ > **Important:**
850
+ In 2023, DHCP functionality was moved from Public Gateways to Private Networks, DHCP fields are now deprecated.
851
+ For more information, please refer to the dedicated guide.
870
852
  """
871
853
  return pulumi.get(self, "zone")
872
854