pulumiverse-scaleway 1.20.0a1730699372__py3-none-any.whl → 1.21.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.
Potentially problematic release.
This version of pulumiverse-scaleway might be problematic. Click here for more details.
- pulumiverse_scaleway/__init__.py +28 -0
- pulumiverse_scaleway/_inputs.py +353 -15
- pulumiverse_scaleway/baremetal_server.py +141 -12
- pulumiverse_scaleway/container_namespace.py +52 -5
- pulumiverse_scaleway/function_namespace.py +52 -5
- pulumiverse_scaleway/get_baremetal_server.py +12 -1
- pulumiverse_scaleway/get_container_namespace.py +15 -4
- pulumiverse_scaleway/get_function_namespace.py +15 -4
- pulumiverse_scaleway/get_iam_user.py +21 -1
- pulumiverse_scaleway/get_loadbalancer_ip.py +8 -2
- pulumiverse_scaleway/get_mongo_db_instance.py +324 -0
- pulumiverse_scaleway/iam_user.py +48 -1
- pulumiverse_scaleway/inference_deployment.py +822 -0
- pulumiverse_scaleway/instance_server.py +32 -22
- pulumiverse_scaleway/iot_network.py +47 -0
- pulumiverse_scaleway/iot_route.py +2 -2
- pulumiverse_scaleway/ipam_ip.py +91 -0
- pulumiverse_scaleway/loadbalancer.py +38 -72
- pulumiverse_scaleway/mnq_nats_credentials.py +2 -0
- pulumiverse_scaleway/mongo_db_instance.py +907 -0
- pulumiverse_scaleway/mongo_db_snapshot.py +521 -0
- pulumiverse_scaleway/object_bucket.py +9 -9
- pulumiverse_scaleway/outputs.py +337 -14
- pulumiverse_scaleway/pulumi-plugin.json +1 -1
- {pulumiverse_scaleway-1.20.0a1730699372.dist-info → pulumiverse_scaleway-1.21.0.dist-info}/METADATA +27 -19
- {pulumiverse_scaleway-1.20.0a1730699372.dist-info → pulumiverse_scaleway-1.21.0.dist-info}/RECORD +28 -24
- {pulumiverse_scaleway-1.20.0a1730699372.dist-info → pulumiverse_scaleway-1.21.0.dist-info}/WHEEL +1 -1
- {pulumiverse_scaleway-1.20.0a1730699372.dist-info → pulumiverse_scaleway-1.21.0.dist-info}/top_level.txt +0 -0
|
@@ -40,12 +40,14 @@ class LoadbalancerArgs:
|
|
|
40
40
|
:param pulumi.Input[bool] assign_flexible_ip: Defines whether to automatically assign a flexible public IPv4 to the Load Balancer.
|
|
41
41
|
:param pulumi.Input[bool] assign_flexible_ipv6: Defines whether to automatically assign a flexible public IPv6 to the Load Balancer.
|
|
42
42
|
:param pulumi.Input[str] description: The description of the Load Balancer.
|
|
43
|
-
:param pulumi.Input[str] ip_id: The ID of the associated Load Balancer IP. See below.
|
|
43
|
+
:param pulumi.Input[str] ip_id: Please use `ip_ids`. The ID of the associated Load Balancer IP. See below.
|
|
44
44
|
|
|
45
45
|
> **Important:** Updates to `ip_id` will recreate the Load Balancer.
|
|
46
46
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] ip_ids: The List of IP IDs to attach to the Load Balancer.
|
|
47
|
+
|
|
48
|
+
> **Important:** Make sure to use a `LoadbalancerIp` resource to create the IPs.
|
|
47
49
|
:param pulumi.Input[str] name: The name of the Load Balancer.
|
|
48
|
-
:param pulumi.Input[Sequence[pulumi.Input['LoadbalancerPrivateNetworkArgs']]] private_networks: List of private network to connect with your load balancer
|
|
50
|
+
:param pulumi.Input[Sequence[pulumi.Input['LoadbalancerPrivateNetworkArgs']]] private_networks: List of private network to connect with your load balancer.
|
|
49
51
|
:param pulumi.Input[str] project_id: `project_id`) The ID of the Project the Load Balancer is associated with.
|
|
50
52
|
:param pulumi.Input[bool] release_ip: The `release_ip` allow the release of the IP address associated with the Load Balancer.
|
|
51
53
|
:param pulumi.Input[str] ssl_compatibility_level: Enforces minimal SSL version (in SSL/TLS offloading context). Please check [possible values](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-load-balancer-create-a-load-balancer).
|
|
@@ -137,7 +139,7 @@ class LoadbalancerArgs:
|
|
|
137
139
|
@_utilities.deprecated("""Please use ip_ids""")
|
|
138
140
|
def ip_id(self) -> Optional[pulumi.Input[str]]:
|
|
139
141
|
"""
|
|
140
|
-
The ID of the associated Load Balancer IP. See below.
|
|
142
|
+
Please use `ip_ids`. The ID of the associated Load Balancer IP. See below.
|
|
141
143
|
|
|
142
144
|
> **Important:** Updates to `ip_id` will recreate the Load Balancer.
|
|
143
145
|
"""
|
|
@@ -152,6 +154,8 @@ class LoadbalancerArgs:
|
|
|
152
154
|
def ip_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
153
155
|
"""
|
|
154
156
|
The List of IP IDs to attach to the Load Balancer.
|
|
157
|
+
|
|
158
|
+
> **Important:** Make sure to use a `LoadbalancerIp` resource to create the IPs.
|
|
155
159
|
"""
|
|
156
160
|
return pulumi.get(self, "ip_ids")
|
|
157
161
|
|
|
@@ -175,7 +179,7 @@ class LoadbalancerArgs:
|
|
|
175
179
|
@pulumi.getter(name="privateNetworks")
|
|
176
180
|
def private_networks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['LoadbalancerPrivateNetworkArgs']]]]:
|
|
177
181
|
"""
|
|
178
|
-
List of private network to connect with your load balancer
|
|
182
|
+
List of private network to connect with your load balancer.
|
|
179
183
|
"""
|
|
180
184
|
return pulumi.get(self, "private_networks")
|
|
181
185
|
|
|
@@ -271,14 +275,16 @@ class _LoadbalancerState:
|
|
|
271
275
|
:param pulumi.Input[bool] assign_flexible_ipv6: Defines whether to automatically assign a flexible public IPv6 to the Load Balancer.
|
|
272
276
|
:param pulumi.Input[str] description: The description of the Load Balancer.
|
|
273
277
|
:param pulumi.Input[str] ip_address: The Load Balancer public IPv4 address.
|
|
274
|
-
:param pulumi.Input[str] ip_id: The ID of the associated Load Balancer IP. See below.
|
|
278
|
+
:param pulumi.Input[str] ip_id: Please use `ip_ids`. The ID of the associated Load Balancer IP. See below.
|
|
275
279
|
|
|
276
280
|
> **Important:** Updates to `ip_id` will recreate the Load Balancer.
|
|
277
281
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] ip_ids: The List of IP IDs to attach to the Load Balancer.
|
|
282
|
+
|
|
283
|
+
> **Important:** Make sure to use a `LoadbalancerIp` resource to create the IPs.
|
|
278
284
|
:param pulumi.Input[str] ipv6_address: The Load Balancer public IPv6 address.
|
|
279
285
|
:param pulumi.Input[str] name: The name of the Load Balancer.
|
|
280
286
|
:param pulumi.Input[str] organization_id: The ID of the Organization ID the Load Balancer is associated with.
|
|
281
|
-
:param pulumi.Input[Sequence[pulumi.Input['LoadbalancerPrivateNetworkArgs']]] private_networks: List of private network to connect with your load balancer
|
|
287
|
+
:param pulumi.Input[Sequence[pulumi.Input['LoadbalancerPrivateNetworkArgs']]] private_networks: List of private network to connect with your load balancer.
|
|
282
288
|
:param pulumi.Input[str] project_id: `project_id`) The ID of the Project the Load Balancer is associated with.
|
|
283
289
|
:param pulumi.Input[str] region: The region of the resource
|
|
284
290
|
:param pulumi.Input[bool] release_ip: The `release_ip` allow the release of the IP address associated with the Load Balancer.
|
|
@@ -381,7 +387,7 @@ class _LoadbalancerState:
|
|
|
381
387
|
@_utilities.deprecated("""Please use ip_ids""")
|
|
382
388
|
def ip_id(self) -> Optional[pulumi.Input[str]]:
|
|
383
389
|
"""
|
|
384
|
-
The ID of the associated Load Balancer IP. See below.
|
|
390
|
+
Please use `ip_ids`. The ID of the associated Load Balancer IP. See below.
|
|
385
391
|
|
|
386
392
|
> **Important:** Updates to `ip_id` will recreate the Load Balancer.
|
|
387
393
|
"""
|
|
@@ -396,6 +402,8 @@ class _LoadbalancerState:
|
|
|
396
402
|
def ip_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
397
403
|
"""
|
|
398
404
|
The List of IP IDs to attach to the Load Balancer.
|
|
405
|
+
|
|
406
|
+
> **Important:** Make sure to use a `LoadbalancerIp` resource to create the IPs.
|
|
399
407
|
"""
|
|
400
408
|
return pulumi.get(self, "ip_ids")
|
|
401
409
|
|
|
@@ -443,7 +451,7 @@ class _LoadbalancerState:
|
|
|
443
451
|
@pulumi.getter(name="privateNetworks")
|
|
444
452
|
def private_networks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['LoadbalancerPrivateNetworkArgs']]]]:
|
|
445
453
|
"""
|
|
446
|
-
List of private network to connect with your load balancer
|
|
454
|
+
List of private network to connect with your load balancer.
|
|
447
455
|
"""
|
|
448
456
|
return pulumi.get(self, "private_networks")
|
|
449
457
|
|
|
@@ -623,7 +631,7 @@ class Loadbalancer(pulumi.CustomResource):
|
|
|
623
631
|
"private_network_id": pn01.id,
|
|
624
632
|
}])
|
|
625
633
|
v4 = scaleway.LoadbalancerIp("v4")
|
|
626
|
-
|
|
634
|
+
lb01 = scaleway.Loadbalancer("lb01",
|
|
627
635
|
ip_ids=[v4.id],
|
|
628
636
|
name="my-lb",
|
|
629
637
|
type="LB-S",
|
|
@@ -633,36 +641,12 @@ class Loadbalancer(pulumi.CustomResource):
|
|
|
633
641
|
}])
|
|
634
642
|
```
|
|
635
643
|
|
|
636
|
-
##
|
|
637
|
-
|
|
638
|
-
Since v1.15.0, `ip_id` is a required field. This means that now a separate `LoadbalancerIp` is required.
|
|
639
|
-
When importing, the IP needs to be imported as well as the Load Balancer.
|
|
640
|
-
When upgrading to v1.15.0, you will need to create a new `LoadbalancerIp` resource and import it.
|
|
644
|
+
## Migration
|
|
641
645
|
|
|
642
|
-
|
|
646
|
+
In order to migrate to other Load Balancer types, you can check upwards or downwards migration via our CLI `scw lb lb-types list`.
|
|
647
|
+
This change will not recreate your Load Balancer.
|
|
643
648
|
|
|
644
|
-
|
|
645
|
-
import pulumi
|
|
646
|
-
import pulumiverse_scaleway as scaleway
|
|
647
|
-
|
|
648
|
-
main = scaleway.Loadbalancer("main",
|
|
649
|
-
zone="fr-par-1",
|
|
650
|
-
type="LB-S")
|
|
651
|
-
```
|
|
652
|
-
|
|
653
|
-
You will need to update it to:
|
|
654
|
-
|
|
655
|
-
```python
|
|
656
|
-
import pulumi
|
|
657
|
-
import pulumiverse_scaleway as scaleway
|
|
658
|
-
|
|
659
|
-
main = scaleway.LoadbalancerIp("main")
|
|
660
|
-
main_loadbalancer = scaleway.Loadbalancer("main",
|
|
661
|
-
ip_id=main.id,
|
|
662
|
-
zone="fr-par-1",
|
|
663
|
-
type="LB-S",
|
|
664
|
-
release_ip=False)
|
|
665
|
-
```
|
|
649
|
+
Please check our [documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-load-balancer-migrate-a-load-balancer) for further details.
|
|
666
650
|
|
|
667
651
|
## Import
|
|
668
652
|
|
|
@@ -681,12 +665,14 @@ class Loadbalancer(pulumi.CustomResource):
|
|
|
681
665
|
:param pulumi.Input[bool] assign_flexible_ip: Defines whether to automatically assign a flexible public IPv4 to the Load Balancer.
|
|
682
666
|
:param pulumi.Input[bool] assign_flexible_ipv6: Defines whether to automatically assign a flexible public IPv6 to the Load Balancer.
|
|
683
667
|
:param pulumi.Input[str] description: The description of the Load Balancer.
|
|
684
|
-
:param pulumi.Input[str] ip_id: The ID of the associated Load Balancer IP. See below.
|
|
668
|
+
:param pulumi.Input[str] ip_id: Please use `ip_ids`. The ID of the associated Load Balancer IP. See below.
|
|
685
669
|
|
|
686
670
|
> **Important:** Updates to `ip_id` will recreate the Load Balancer.
|
|
687
671
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] ip_ids: The List of IP IDs to attach to the Load Balancer.
|
|
672
|
+
|
|
673
|
+
> **Important:** Make sure to use a `LoadbalancerIp` resource to create the IPs.
|
|
688
674
|
:param pulumi.Input[str] name: The name of the Load Balancer.
|
|
689
|
-
:param pulumi.Input[Sequence[pulumi.Input[Union['LoadbalancerPrivateNetworkArgs', 'LoadbalancerPrivateNetworkArgsDict']]]] private_networks: List of private network to connect with your load balancer
|
|
675
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['LoadbalancerPrivateNetworkArgs', 'LoadbalancerPrivateNetworkArgsDict']]]] private_networks: List of private network to connect with your load balancer.
|
|
690
676
|
:param pulumi.Input[str] project_id: `project_id`) The ID of the Project the Load Balancer is associated with.
|
|
691
677
|
:param pulumi.Input[bool] release_ip: The `release_ip` allow the release of the IP address associated with the Load Balancer.
|
|
692
678
|
:param pulumi.Input[str] ssl_compatibility_level: Enforces minimal SSL version (in SSL/TLS offloading context). Please check [possible values](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-load-balancer-create-a-load-balancer).
|
|
@@ -767,7 +753,7 @@ class Loadbalancer(pulumi.CustomResource):
|
|
|
767
753
|
"private_network_id": pn01.id,
|
|
768
754
|
}])
|
|
769
755
|
v4 = scaleway.LoadbalancerIp("v4")
|
|
770
|
-
|
|
756
|
+
lb01 = scaleway.Loadbalancer("lb01",
|
|
771
757
|
ip_ids=[v4.id],
|
|
772
758
|
name="my-lb",
|
|
773
759
|
type="LB-S",
|
|
@@ -777,36 +763,12 @@ class Loadbalancer(pulumi.CustomResource):
|
|
|
777
763
|
}])
|
|
778
764
|
```
|
|
779
765
|
|
|
780
|
-
##
|
|
781
|
-
|
|
782
|
-
Since v1.15.0, `ip_id` is a required field. This means that now a separate `LoadbalancerIp` is required.
|
|
783
|
-
When importing, the IP needs to be imported as well as the Load Balancer.
|
|
784
|
-
When upgrading to v1.15.0, you will need to create a new `LoadbalancerIp` resource and import it.
|
|
785
|
-
|
|
786
|
-
For instance, if you had the following:
|
|
787
|
-
|
|
788
|
-
```python
|
|
789
|
-
import pulumi
|
|
790
|
-
import pulumiverse_scaleway as scaleway
|
|
791
|
-
|
|
792
|
-
main = scaleway.Loadbalancer("main",
|
|
793
|
-
zone="fr-par-1",
|
|
794
|
-
type="LB-S")
|
|
795
|
-
```
|
|
796
|
-
|
|
797
|
-
You will need to update it to:
|
|
766
|
+
## Migration
|
|
798
767
|
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
import pulumiverse_scaleway as scaleway
|
|
768
|
+
In order to migrate to other Load Balancer types, you can check upwards or downwards migration via our CLI `scw lb lb-types list`.
|
|
769
|
+
This change will not recreate your Load Balancer.
|
|
802
770
|
|
|
803
|
-
|
|
804
|
-
main_loadbalancer = scaleway.Loadbalancer("main",
|
|
805
|
-
ip_id=main.id,
|
|
806
|
-
zone="fr-par-1",
|
|
807
|
-
type="LB-S",
|
|
808
|
-
release_ip=False)
|
|
809
|
-
```
|
|
771
|
+
Please check our [documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-load-balancer-migrate-a-load-balancer) for further details.
|
|
810
772
|
|
|
811
773
|
## Import
|
|
812
774
|
|
|
@@ -914,14 +876,16 @@ class Loadbalancer(pulumi.CustomResource):
|
|
|
914
876
|
:param pulumi.Input[bool] assign_flexible_ipv6: Defines whether to automatically assign a flexible public IPv6 to the Load Balancer.
|
|
915
877
|
:param pulumi.Input[str] description: The description of the Load Balancer.
|
|
916
878
|
:param pulumi.Input[str] ip_address: The Load Balancer public IPv4 address.
|
|
917
|
-
:param pulumi.Input[str] ip_id: The ID of the associated Load Balancer IP. See below.
|
|
879
|
+
:param pulumi.Input[str] ip_id: Please use `ip_ids`. The ID of the associated Load Balancer IP. See below.
|
|
918
880
|
|
|
919
881
|
> **Important:** Updates to `ip_id` will recreate the Load Balancer.
|
|
920
882
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] ip_ids: The List of IP IDs to attach to the Load Balancer.
|
|
883
|
+
|
|
884
|
+
> **Important:** Make sure to use a `LoadbalancerIp` resource to create the IPs.
|
|
921
885
|
:param pulumi.Input[str] ipv6_address: The Load Balancer public IPv6 address.
|
|
922
886
|
:param pulumi.Input[str] name: The name of the Load Balancer.
|
|
923
887
|
:param pulumi.Input[str] organization_id: The ID of the Organization ID the Load Balancer is associated with.
|
|
924
|
-
:param pulumi.Input[Sequence[pulumi.Input[Union['LoadbalancerPrivateNetworkArgs', 'LoadbalancerPrivateNetworkArgsDict']]]] private_networks: List of private network to connect with your load balancer
|
|
888
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['LoadbalancerPrivateNetworkArgs', 'LoadbalancerPrivateNetworkArgsDict']]]] private_networks: List of private network to connect with your load balancer.
|
|
925
889
|
:param pulumi.Input[str] project_id: `project_id`) The ID of the Project the Load Balancer is associated with.
|
|
926
890
|
:param pulumi.Input[str] region: The region of the resource
|
|
927
891
|
:param pulumi.Input[bool] release_ip: The `release_ip` allow the release of the IP address associated with the Load Balancer.
|
|
@@ -990,7 +954,7 @@ class Loadbalancer(pulumi.CustomResource):
|
|
|
990
954
|
@_utilities.deprecated("""Please use ip_ids""")
|
|
991
955
|
def ip_id(self) -> pulumi.Output[str]:
|
|
992
956
|
"""
|
|
993
|
-
The ID of the associated Load Balancer IP. See below.
|
|
957
|
+
Please use `ip_ids`. The ID of the associated Load Balancer IP. See below.
|
|
994
958
|
|
|
995
959
|
> **Important:** Updates to `ip_id` will recreate the Load Balancer.
|
|
996
960
|
"""
|
|
@@ -1001,6 +965,8 @@ class Loadbalancer(pulumi.CustomResource):
|
|
|
1001
965
|
def ip_ids(self) -> pulumi.Output[Sequence[str]]:
|
|
1002
966
|
"""
|
|
1003
967
|
The List of IP IDs to attach to the Load Balancer.
|
|
968
|
+
|
|
969
|
+
> **Important:** Make sure to use a `LoadbalancerIp` resource to create the IPs.
|
|
1004
970
|
"""
|
|
1005
971
|
return pulumi.get(self, "ip_ids")
|
|
1006
972
|
|
|
@@ -1032,7 +998,7 @@ class Loadbalancer(pulumi.CustomResource):
|
|
|
1032
998
|
@pulumi.getter(name="privateNetworks")
|
|
1033
999
|
def private_networks(self) -> pulumi.Output[Optional[Sequence['outputs.LoadbalancerPrivateNetwork']]]:
|
|
1034
1000
|
"""
|
|
1035
|
-
List of private network to connect with your load balancer
|
|
1001
|
+
List of private network to connect with your load balancer.
|
|
1036
1002
|
"""
|
|
1037
1003
|
return pulumi.get(self, "private_networks")
|
|
1038
1004
|
|
|
@@ -256,6 +256,8 @@ class MnqNatsCredentials(pulumi.CustomResource):
|
|
|
256
256
|
__props__.__dict__["name"] = name
|
|
257
257
|
__props__.__dict__["region"] = region
|
|
258
258
|
__props__.__dict__["file"] = None
|
|
259
|
+
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["file"])
|
|
260
|
+
opts = pulumi.ResourceOptions.merge(opts, secret_opts)
|
|
259
261
|
super(MnqNatsCredentials, __self__).__init__(
|
|
260
262
|
'scaleway:index/mnqNatsCredentials:MnqNatsCredentials',
|
|
261
263
|
resource_name,
|