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.
- pulumiverse_scaleway/__init__.py +105 -0
- pulumiverse_scaleway/_inputs.py +776 -0
- pulumiverse_scaleway/apple_silicon_server.py +105 -0
- pulumiverse_scaleway/applesilicon/server.py +105 -0
- pulumiverse_scaleway/baremetal_server.py +82 -0
- pulumiverse_scaleway/cockpit.py +7 -0
- pulumiverse_scaleway/domain/__init__.py +1 -0
- pulumiverse_scaleway/domain/_inputs.py +2697 -0
- pulumiverse_scaleway/domain/outputs.py +2145 -0
- pulumiverse_scaleway/domain/registration.py +777 -0
- pulumiverse_scaleway/edge_services_backend_stage.py +472 -0
- pulumiverse_scaleway/edge_services_cache_stage.py +584 -0
- pulumiverse_scaleway/edge_services_dns_stage.py +516 -0
- pulumiverse_scaleway/edge_services_head_stage.py +258 -0
- pulumiverse_scaleway/edge_services_pipeline.py +478 -0
- pulumiverse_scaleway/edge_services_plan.py +239 -0
- pulumiverse_scaleway/edge_services_route_stage.py +422 -0
- pulumiverse_scaleway/edge_services_tls_stage.py +640 -0
- pulumiverse_scaleway/edge_services_waf_stage.py +444 -0
- pulumiverse_scaleway/elasticmetal/__init__.py +1 -0
- pulumiverse_scaleway/elasticmetal/get_easy_partitioning.py +177 -0
- pulumiverse_scaleway/elasticmetal/ip.py +13 -7
- pulumiverse_scaleway/elasticmetal/server.py +82 -0
- pulumiverse_scaleway/flexible_ip.py +13 -7
- pulumiverse_scaleway/get_cockpit_plan.py +1 -0
- pulumiverse_scaleway/get_instance_server.py +12 -1
- pulumiverse_scaleway/get_lb_frontend.py +12 -1
- pulumiverse_scaleway/get_lb_route.py +12 -1
- pulumiverse_scaleway/get_secret.py +15 -4
- pulumiverse_scaleway/get_vpc_public_gateway.py +34 -1
- pulumiverse_scaleway/get_vpc_public_gateway_dhcp.py +8 -0
- pulumiverse_scaleway/get_vpc_public_gateway_dhcp_reservation.py +8 -0
- pulumiverse_scaleway/hosting/hosting.py +2 -2
- pulumiverse_scaleway/instance/get_server.py +12 -1
- pulumiverse_scaleway/instance/outputs.py +0 -11
- pulumiverse_scaleway/instance/server.py +54 -7
- pulumiverse_scaleway/instance_server.py +54 -7
- pulumiverse_scaleway/job/_inputs.py +113 -0
- pulumiverse_scaleway/job/definition.py +107 -0
- pulumiverse_scaleway/job/outputs.py +88 -0
- pulumiverse_scaleway/job_definition.py +107 -0
- pulumiverse_scaleway/loadbalancer_backend.py +2 -2
- pulumiverse_scaleway/loadbalancer_frontend.py +47 -0
- pulumiverse_scaleway/loadbalancer_route.py +48 -1
- pulumiverse_scaleway/loadbalancers/backend.py +2 -2
- pulumiverse_scaleway/loadbalancers/frontend.py +47 -0
- pulumiverse_scaleway/loadbalancers/get_frontend.py +12 -1
- pulumiverse_scaleway/loadbalancers/get_route.py +12 -1
- pulumiverse_scaleway/loadbalancers/outputs.py +13 -2
- pulumiverse_scaleway/loadbalancers/route.py +48 -1
- pulumiverse_scaleway/network/__init__.py +1 -0
- pulumiverse_scaleway/network/_inputs.py +194 -0
- pulumiverse_scaleway/network/acl.py +415 -0
- pulumiverse_scaleway/network/gateway_network.py +104 -122
- pulumiverse_scaleway/network/get_public_gateway.py +34 -1
- pulumiverse_scaleway/network/get_public_gateway_dhcp.py +8 -0
- pulumiverse_scaleway/network/get_public_gateway_dhcp_reservation.py +8 -0
- pulumiverse_scaleway/network/outputs.py +139 -0
- pulumiverse_scaleway/network/public_gateway.py +124 -21
- pulumiverse_scaleway/network/public_gateway_dhcp.py +8 -0
- pulumiverse_scaleway/network/public_gateway_dhcp_reservation.py +8 -0
- pulumiverse_scaleway/observability/cockpit.py +7 -0
- pulumiverse_scaleway/observability/get_plan.py +1 -0
- pulumiverse_scaleway/outputs.py +750 -13
- pulumiverse_scaleway/pulumi-plugin.json +1 -1
- pulumiverse_scaleway/secret.py +22 -2
- pulumiverse_scaleway/secret_version.py +6 -6
- pulumiverse_scaleway/secrets/_inputs.py +154 -0
- pulumiverse_scaleway/secrets/get_secret.py +15 -4
- pulumiverse_scaleway/secrets/outputs.py +200 -0
- pulumiverse_scaleway/secrets/secret.py +22 -2
- pulumiverse_scaleway/tem/__init__.py +2 -0
- pulumiverse_scaleway/tem/blocked_list.py +442 -0
- pulumiverse_scaleway/tem/domain.py +7 -0
- pulumiverse_scaleway/tem/get_offer_subscription.py +254 -0
- pulumiverse_scaleway/tem_domain.py +7 -0
- pulumiverse_scaleway/vpc_gateway_network.py +104 -122
- pulumiverse_scaleway/vpc_public_gateway.py +124 -21
- pulumiverse_scaleway/vpc_public_gateway_dhcp.py +8 -0
- pulumiverse_scaleway/vpc_public_gateway_dhcp_reservation.py +8 -0
- pulumiverse_scaleway/webhosting.py +2 -2
- {pulumiverse_scaleway-1.26.0a1742897201.dist-info → pulumiverse_scaleway-1.27.0.dist-info}/METADATA +1 -1
- {pulumiverse_scaleway-1.26.0a1742897201.dist-info → pulumiverse_scaleway-1.27.0.dist-info}/RECORD +85 -71
- {pulumiverse_scaleway-1.26.0a1742897201.dist-info → pulumiverse_scaleway-1.27.0.dist-info}/WHEEL +1 -1
- {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.
|
pulumiverse_scaleway/cockpit.py
CHANGED
@@ -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
|
|