pulumiverse-scaleway 1.26.0a1742897201__py3-none-any.whl → 1.27.0__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 (85) hide show
  1. pulumiverse_scaleway/__init__.py +105 -0
  2. pulumiverse_scaleway/_inputs.py +776 -0
  3. pulumiverse_scaleway/apple_silicon_server.py +105 -0
  4. pulumiverse_scaleway/applesilicon/server.py +105 -0
  5. pulumiverse_scaleway/baremetal_server.py +82 -0
  6. pulumiverse_scaleway/cockpit.py +7 -0
  7. pulumiverse_scaleway/domain/__init__.py +1 -0
  8. pulumiverse_scaleway/domain/_inputs.py +2697 -0
  9. pulumiverse_scaleway/domain/outputs.py +2145 -0
  10. pulumiverse_scaleway/domain/registration.py +777 -0
  11. pulumiverse_scaleway/edge_services_backend_stage.py +472 -0
  12. pulumiverse_scaleway/edge_services_cache_stage.py +584 -0
  13. pulumiverse_scaleway/edge_services_dns_stage.py +516 -0
  14. pulumiverse_scaleway/edge_services_head_stage.py +258 -0
  15. pulumiverse_scaleway/edge_services_pipeline.py +478 -0
  16. pulumiverse_scaleway/edge_services_plan.py +239 -0
  17. pulumiverse_scaleway/edge_services_route_stage.py +422 -0
  18. pulumiverse_scaleway/edge_services_tls_stage.py +640 -0
  19. pulumiverse_scaleway/edge_services_waf_stage.py +444 -0
  20. pulumiverse_scaleway/elasticmetal/__init__.py +1 -0
  21. pulumiverse_scaleway/elasticmetal/get_easy_partitioning.py +177 -0
  22. pulumiverse_scaleway/elasticmetal/ip.py +13 -7
  23. pulumiverse_scaleway/elasticmetal/server.py +82 -0
  24. pulumiverse_scaleway/flexible_ip.py +13 -7
  25. pulumiverse_scaleway/get_cockpit_plan.py +1 -0
  26. pulumiverse_scaleway/get_instance_server.py +12 -1
  27. pulumiverse_scaleway/get_lb_frontend.py +12 -1
  28. pulumiverse_scaleway/get_lb_route.py +12 -1
  29. pulumiverse_scaleway/get_secret.py +15 -4
  30. pulumiverse_scaleway/get_vpc_public_gateway.py +34 -1
  31. pulumiverse_scaleway/get_vpc_public_gateway_dhcp.py +8 -0
  32. pulumiverse_scaleway/get_vpc_public_gateway_dhcp_reservation.py +8 -0
  33. pulumiverse_scaleway/hosting/hosting.py +2 -2
  34. pulumiverse_scaleway/instance/get_server.py +12 -1
  35. pulumiverse_scaleway/instance/outputs.py +0 -11
  36. pulumiverse_scaleway/instance/server.py +54 -7
  37. pulumiverse_scaleway/instance_server.py +54 -7
  38. pulumiverse_scaleway/job/_inputs.py +113 -0
  39. pulumiverse_scaleway/job/definition.py +107 -0
  40. pulumiverse_scaleway/job/outputs.py +88 -0
  41. pulumiverse_scaleway/job_definition.py +107 -0
  42. pulumiverse_scaleway/loadbalancer_backend.py +2 -2
  43. pulumiverse_scaleway/loadbalancer_frontend.py +47 -0
  44. pulumiverse_scaleway/loadbalancer_route.py +48 -1
  45. pulumiverse_scaleway/loadbalancers/backend.py +2 -2
  46. pulumiverse_scaleway/loadbalancers/frontend.py +47 -0
  47. pulumiverse_scaleway/loadbalancers/get_frontend.py +12 -1
  48. pulumiverse_scaleway/loadbalancers/get_route.py +12 -1
  49. pulumiverse_scaleway/loadbalancers/outputs.py +13 -2
  50. pulumiverse_scaleway/loadbalancers/route.py +48 -1
  51. pulumiverse_scaleway/network/__init__.py +1 -0
  52. pulumiverse_scaleway/network/_inputs.py +194 -0
  53. pulumiverse_scaleway/network/acl.py +415 -0
  54. pulumiverse_scaleway/network/gateway_network.py +104 -122
  55. pulumiverse_scaleway/network/get_public_gateway.py +34 -1
  56. pulumiverse_scaleway/network/get_public_gateway_dhcp.py +8 -0
  57. pulumiverse_scaleway/network/get_public_gateway_dhcp_reservation.py +8 -0
  58. pulumiverse_scaleway/network/outputs.py +139 -0
  59. pulumiverse_scaleway/network/public_gateway.py +124 -21
  60. pulumiverse_scaleway/network/public_gateway_dhcp.py +8 -0
  61. pulumiverse_scaleway/network/public_gateway_dhcp_reservation.py +8 -0
  62. pulumiverse_scaleway/observability/cockpit.py +7 -0
  63. pulumiverse_scaleway/observability/get_plan.py +1 -0
  64. pulumiverse_scaleway/outputs.py +750 -13
  65. pulumiverse_scaleway/pulumi-plugin.json +1 -1
  66. pulumiverse_scaleway/secret.py +22 -2
  67. pulumiverse_scaleway/secret_version.py +6 -6
  68. pulumiverse_scaleway/secrets/_inputs.py +154 -0
  69. pulumiverse_scaleway/secrets/get_secret.py +15 -4
  70. pulumiverse_scaleway/secrets/outputs.py +200 -0
  71. pulumiverse_scaleway/secrets/secret.py +22 -2
  72. pulumiverse_scaleway/tem/__init__.py +2 -0
  73. pulumiverse_scaleway/tem/blocked_list.py +442 -0
  74. pulumiverse_scaleway/tem/domain.py +7 -0
  75. pulumiverse_scaleway/tem/get_offer_subscription.py +254 -0
  76. pulumiverse_scaleway/tem_domain.py +7 -0
  77. pulumiverse_scaleway/vpc_gateway_network.py +104 -122
  78. pulumiverse_scaleway/vpc_public_gateway.py +124 -21
  79. pulumiverse_scaleway/vpc_public_gateway_dhcp.py +8 -0
  80. pulumiverse_scaleway/vpc_public_gateway_dhcp_reservation.py +8 -0
  81. pulumiverse_scaleway/webhosting.py +2 -2
  82. {pulumiverse_scaleway-1.26.0a1742897201.dist-info → pulumiverse_scaleway-1.27.0.dist-info}/METADATA +1 -1
  83. {pulumiverse_scaleway-1.26.0a1742897201.dist-info → pulumiverse_scaleway-1.27.0.dist-info}/RECORD +85 -71
  84. {pulumiverse_scaleway-1.26.0a1742897201.dist-info → pulumiverse_scaleway-1.27.0.dist-info}/WHEEL +1 -1
  85. {pulumiverse_scaleway-1.26.0a1742897201.dist-info → pulumiverse_scaleway-1.27.0.dist-info}/top_level.txt +0 -0
@@ -968,6 +968,47 @@ class BaremetalServer(pulumi.CustomResource):
968
968
  ssh_key_ids=[main.id])
969
969
  ```
970
970
 
971
+ ### Migrate from hourly to monthly plan
972
+
973
+ To migrate from an hourly to a monthly subscription for a Scaleway Baremetal server, it is important to understand that the migration can only be done by using the data source.
974
+ You cannot directly modify the subscription_period of an existing elasticmetal_get_offer resource. Instead, you must define the monthly offer using the data source and then update the server configuration accordingly.
975
+
976
+ ### Hourly Plan Example
977
+
978
+ ```python
979
+ import pulumi
980
+ import pulumi_scaleway as scaleway
981
+ import pulumiverse_scaleway as scaleway
982
+
983
+ my_offer = scaleway.elasticmetal.get_offer(zone="fr-par-1",
984
+ name="EM-B220E-NVME",
985
+ subscription_period="hourly")
986
+ server01 = scaleway.elasticmetal.Server("server01",
987
+ name="UpdateSubscriptionPeriod",
988
+ offer=my_offer.offer_id,
989
+ zone="%s",
990
+ install_config_afterward=True)
991
+ ```
992
+
993
+ ### Monthly Plan Example
994
+
995
+ ```python
996
+ import pulumi
997
+ import pulumi_scaleway as scaleway
998
+ import pulumiverse_scaleway as scaleway
999
+
1000
+ my_offer = scaleway.elasticmetal.get_offer(zone="fr-par-1",
1001
+ name="EM-B220E-NVME",
1002
+ subscription_period="monthly")
1003
+ server01 = scaleway.elasticmetal.Server("server01",
1004
+ name="UpdateSubscriptionPeriod",
1005
+ offer=my_offer.offer_id,
1006
+ zone="fr-par-1",
1007
+ install_config_afterward=True)
1008
+ ```
1009
+
1010
+ **Important** Once you migrate to a monthly subscription, you cannot downgrade back to an hourly plan. Ensure that the monthly plan meets your needs before making the switch.
1011
+
971
1012
  ## Import
972
1013
 
973
1014
  Baremetal servers can be imported using the `{zone}/{id}`, e.g.
@@ -1186,6 +1227,47 @@ class BaremetalServer(pulumi.CustomResource):
1186
1227
  ssh_key_ids=[main.id])
1187
1228
  ```
1188
1229
 
1230
+ ### Migrate from hourly to monthly plan
1231
+
1232
+ To migrate from an hourly to a monthly subscription for a Scaleway Baremetal server, it is important to understand that the migration can only be done by using the data source.
1233
+ You cannot directly modify the subscription_period of an existing elasticmetal_get_offer resource. Instead, you must define the monthly offer using the data source and then update the server configuration accordingly.
1234
+
1235
+ ### Hourly Plan Example
1236
+
1237
+ ```python
1238
+ import pulumi
1239
+ import pulumi_scaleway as scaleway
1240
+ import pulumiverse_scaleway as scaleway
1241
+
1242
+ my_offer = scaleway.elasticmetal.get_offer(zone="fr-par-1",
1243
+ name="EM-B220E-NVME",
1244
+ subscription_period="hourly")
1245
+ server01 = scaleway.elasticmetal.Server("server01",
1246
+ name="UpdateSubscriptionPeriod",
1247
+ offer=my_offer.offer_id,
1248
+ zone="%s",
1249
+ install_config_afterward=True)
1250
+ ```
1251
+
1252
+ ### Monthly Plan Example
1253
+
1254
+ ```python
1255
+ import pulumi
1256
+ import pulumi_scaleway as scaleway
1257
+ import pulumiverse_scaleway as scaleway
1258
+
1259
+ my_offer = scaleway.elasticmetal.get_offer(zone="fr-par-1",
1260
+ name="EM-B220E-NVME",
1261
+ subscription_period="monthly")
1262
+ server01 = scaleway.elasticmetal.Server("server01",
1263
+ name="UpdateSubscriptionPeriod",
1264
+ offer=my_offer.offer_id,
1265
+ zone="fr-par-1",
1266
+ install_config_afterward=True)
1267
+ ```
1268
+
1269
+ **Important** Once you migrate to a monthly subscription, you cannot downgrade back to an hourly plan. Ensure that the monthly plan meets your needs before making the switch.
1270
+
1189
1271
  ## Import
1190
1272
 
1191
1273
  Baremetal servers can be imported using the `{zone}/{id}`, e.g.
@@ -26,6 +26,7 @@ class CockpitArgs:
26
26
  """
27
27
  The set of arguments for constructing a Cockpit resource.
28
28
  :param pulumi.Input[str] plan: Name of the plan to use. Available plans are: free, premium, and custom.
29
+ > **Important:** The plan field is deprecated. Any modification or selection will have no effect.
29
30
  :param pulumi.Input[str] project_id: ) The ID of the Project the Cockpit is associated with.
30
31
  """
31
32
  if plan is not None:
@@ -42,6 +43,7 @@ class CockpitArgs:
42
43
  def plan(self) -> Optional[pulumi.Input[str]]:
43
44
  """
44
45
  Name of the plan to use. Available plans are: free, premium, and custom.
46
+ > **Important:** The plan field is deprecated. Any modification or selection will have no effect.
45
47
  """
46
48
  return pulumi.get(self, "plan")
47
49
 
@@ -74,6 +76,7 @@ class _CockpitState:
74
76
  Input properties used for looking up and filtering Cockpit resources.
75
77
  :param pulumi.Input[Sequence[pulumi.Input['CockpitEndpointArgs']]] endpoints: (Deprecated) A list of [endpoints](https://www.scaleway.com/en/docs/observability/cockpit/concepts/#endpoints) related to Cockpit, each with specific URLs:
76
78
  :param pulumi.Input[str] plan: Name of the plan to use. Available plans are: free, premium, and custom.
79
+ > **Important:** The plan field is deprecated. Any modification or selection will have no effect.
77
80
  :param pulumi.Input[str] plan_id: (Deprecated) The ID of the current pricing plan.
78
81
  :param pulumi.Input[str] project_id: ) The ID of the Project the Cockpit is associated with.
79
82
  :param pulumi.Input[Sequence[pulumi.Input['CockpitPushUrlArgs']]] push_urls: [DEPRECATED] Push_url
@@ -120,6 +123,7 @@ class _CockpitState:
120
123
  def plan(self) -> Optional[pulumi.Input[str]]:
121
124
  """
122
125
  Name of the plan to use. Available plans are: free, premium, and custom.
126
+ > **Important:** The plan field is deprecated. Any modification or selection will have no effect.
123
127
  """
124
128
  return pulumi.get(self, "plan")
125
129
 
@@ -193,6 +197,7 @@ class Cockpit(pulumi.CustomResource):
193
197
  :param str resource_name: The name of the resource.
194
198
  :param pulumi.ResourceOptions opts: Options for the resource.
195
199
  :param pulumi.Input[str] plan: Name of the plan to use. Available plans are: free, premium, and custom.
200
+ > **Important:** The plan field is deprecated. Any modification or selection will have no effect.
196
201
  :param pulumi.Input[str] project_id: ) The ID of the Project the Cockpit is associated with.
197
202
  """
198
203
  ...
@@ -268,6 +273,7 @@ class Cockpit(pulumi.CustomResource):
268
273
  :param pulumi.ResourceOptions opts: Options for the resource.
269
274
  :param pulumi.Input[Sequence[pulumi.Input[Union['CockpitEndpointArgs', 'CockpitEndpointArgsDict']]]] endpoints: (Deprecated) A list of [endpoints](https://www.scaleway.com/en/docs/observability/cockpit/concepts/#endpoints) related to Cockpit, each with specific URLs:
270
275
  :param pulumi.Input[str] plan: Name of the plan to use. Available plans are: free, premium, and custom.
276
+ > **Important:** The plan field is deprecated. Any modification or selection will have no effect.
271
277
  :param pulumi.Input[str] plan_id: (Deprecated) The ID of the current pricing plan.
272
278
  :param pulumi.Input[str] project_id: ) The ID of the Project the Cockpit is associated with.
273
279
  :param pulumi.Input[Sequence[pulumi.Input[Union['CockpitPushUrlArgs', 'CockpitPushUrlArgsDict']]]] push_urls: [DEPRECATED] Push_url
@@ -298,6 +304,7 @@ class Cockpit(pulumi.CustomResource):
298
304
  def plan(self) -> pulumi.Output[Optional[str]]:
299
305
  """
300
306
  Name of the plan to use. Available plans are: free, premium, and custom.
307
+ > **Important:** The plan field is deprecated. Any modification or selection will have no effect.
301
308
  """
302
309
  return pulumi.get(self, "plan")
303
310
 
@@ -8,6 +8,7 @@ import typing
8
8
  from .get_record import *
9
9
  from .get_zone import *
10
10
  from .record import *
11
+ from .registration import *
11
12
  from .zone import *
12
13
  from ._inputs import *
13
14
  from . import outputs