pulumiverse-scaleway 1.28.0a1747384911__py3-none-any.whl → 1.29.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 +0 -1
- pulumiverse_scaleway/_inputs.py +106 -0
- pulumiverse_scaleway/account/__init__.py +2 -0
- pulumiverse_scaleway/account/get_projects.py +235 -0
- pulumiverse_scaleway/account/outputs.py +95 -0
- pulumiverse_scaleway/baremetal_server.py +20 -1
- pulumiverse_scaleway/block/__init__.py +2 -0
- pulumiverse_scaleway/block/_inputs.py +73 -0
- pulumiverse_scaleway/block/get_snapshot.py +13 -1
- pulumiverse_scaleway/block/outputs.py +79 -0
- pulumiverse_scaleway/block/snapshot.py +62 -14
- pulumiverse_scaleway/block_snapshot.py +62 -14
- pulumiverse_scaleway/container.py +2 -2
- pulumiverse_scaleway/containers/container.py +2 -2
- pulumiverse_scaleway/database_instance.py +20 -1
- pulumiverse_scaleway/databases/instance.py +20 -1
- pulumiverse_scaleway/domain/get_zone.py +7 -1
- pulumiverse_scaleway/elasticmetal/__init__.py +1 -1
- pulumiverse_scaleway/elasticmetal/get_partition_schema.py +215 -0
- pulumiverse_scaleway/elasticmetal/server.py +20 -1
- pulumiverse_scaleway/get_block_snapshot.py +13 -1
- pulumiverse_scaleway/get_domain_zone.py +7 -1
- pulumiverse_scaleway/get_mongo_db_instance.py +12 -1
- pulumiverse_scaleway/iam/user.py +468 -14
- pulumiverse_scaleway/iam_user.py +468 -14
- pulumiverse_scaleway/instance/private_nic.py +20 -1
- pulumiverse_scaleway/instance/server.py +20 -1
- pulumiverse_scaleway/instance/snapshot.py +28 -7
- pulumiverse_scaleway/instance/volume.py +28 -7
- pulumiverse_scaleway/instance_private_nic.py +20 -1
- pulumiverse_scaleway/instance_server.py +20 -1
- pulumiverse_scaleway/instance_snapshot.py +28 -7
- pulumiverse_scaleway/instance_volume.py +28 -7
- pulumiverse_scaleway/mongo_db_instance.py +107 -7
- pulumiverse_scaleway/mongodb/_inputs.py +54 -0
- pulumiverse_scaleway/mongodb/get_instance.py +12 -1
- pulumiverse_scaleway/mongodb/instance.py +107 -7
- pulumiverse_scaleway/mongodb/outputs.py +62 -0
- pulumiverse_scaleway/network/gateway_network.py +20 -1
- pulumiverse_scaleway/observability/__init__.py +0 -1
- pulumiverse_scaleway/outputs.py +122 -0
- pulumiverse_scaleway/pulumi-plugin.json +1 -1
- pulumiverse_scaleway/redis/cluster.py +20 -1
- pulumiverse_scaleway/redis_cluster.py +20 -1
- pulumiverse_scaleway/vpc_gateway_network.py +20 -1
- {pulumiverse_scaleway-1.28.0a1747384911.dist-info → pulumiverse_scaleway-1.29.0.dist-info}/METADATA +1 -1
- {pulumiverse_scaleway-1.28.0a1747384911.dist-info → pulumiverse_scaleway-1.29.0.dist-info}/RECORD +49 -44
- {pulumiverse_scaleway-1.28.0a1747384911.dist-info → pulumiverse_scaleway-1.29.0.dist-info}/WHEEL +1 -1
- {pulumiverse_scaleway-1.28.0a1747384911.dist-info → pulumiverse_scaleway-1.29.0.dist-info}/top_level.txt +0 -0
@@ -25,6 +25,7 @@ class InstanceArgs:
|
|
25
25
|
node_type: pulumi.Input[str],
|
26
26
|
name: Optional[pulumi.Input[str]] = None,
|
27
27
|
password: Optional[pulumi.Input[str]] = None,
|
28
|
+
private_ips: Optional[pulumi.Input[Sequence[pulumi.Input['InstancePrivateIpArgs']]]] = None,
|
28
29
|
private_network: Optional[pulumi.Input['InstancePrivateNetworkArgs']] = None,
|
29
30
|
project_id: Optional[pulumi.Input[str]] = None,
|
30
31
|
public_network: Optional[pulumi.Input['InstancePublicNetworkArgs']] = None,
|
@@ -42,9 +43,11 @@ class InstanceArgs:
|
|
42
43
|
:param pulumi.Input[str] node_type: The type of MongoDB® intance to create.
|
43
44
|
:param pulumi.Input[str] name: Name of the MongoDB® instance.
|
44
45
|
:param pulumi.Input[str] password: Password of the user.
|
46
|
+
:param pulumi.Input[Sequence[pulumi.Input['InstancePrivateIpArgs']]] private_ips: The private IPv4 address associated with the instance.
|
45
47
|
:param pulumi.Input['InstancePrivateNetworkArgs'] private_network: Private Network endpoints of the Database Instance.
|
46
48
|
:param pulumi.Input[str] project_id: The project_id you want to attach the resource to
|
47
|
-
:param pulumi.Input['InstancePublicNetworkArgs'] public_network: Public network
|
49
|
+
:param pulumi.Input['InstancePublicNetworkArgs'] public_network: Public network endpoint configuration (no arguments).
|
50
|
+
> **Important** If neither private_network nor public_network is specified, a public network endpoint is created by default.
|
48
51
|
:param pulumi.Input[str] region: The region you want to attach the resource to
|
49
52
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] settings: Map of settings to define for the instance.
|
50
53
|
:param pulumi.Input[str] snapshot_id: Snapshot ID to restore the MongoDB® instance from.
|
@@ -60,6 +63,8 @@ class InstanceArgs:
|
|
60
63
|
pulumi.set(__self__, "name", name)
|
61
64
|
if password is not None:
|
62
65
|
pulumi.set(__self__, "password", password)
|
66
|
+
if private_ips is not None:
|
67
|
+
pulumi.set(__self__, "private_ips", private_ips)
|
63
68
|
if private_network is not None:
|
64
69
|
pulumi.set(__self__, "private_network", private_network)
|
65
70
|
if project_id is not None:
|
@@ -131,6 +136,18 @@ class InstanceArgs:
|
|
131
136
|
def password(self, value: Optional[pulumi.Input[str]]):
|
132
137
|
pulumi.set(self, "password", value)
|
133
138
|
|
139
|
+
@property
|
140
|
+
@pulumi.getter(name="privateIps")
|
141
|
+
def private_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InstancePrivateIpArgs']]]]:
|
142
|
+
"""
|
143
|
+
The private IPv4 address associated with the instance.
|
144
|
+
"""
|
145
|
+
return pulumi.get(self, "private_ips")
|
146
|
+
|
147
|
+
@private_ips.setter
|
148
|
+
def private_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['InstancePrivateIpArgs']]]]):
|
149
|
+
pulumi.set(self, "private_ips", value)
|
150
|
+
|
134
151
|
@property
|
135
152
|
@pulumi.getter(name="privateNetwork")
|
136
153
|
def private_network(self) -> Optional[pulumi.Input['InstancePrivateNetworkArgs']]:
|
@@ -159,7 +176,8 @@ class InstanceArgs:
|
|
159
176
|
@pulumi.getter(name="publicNetwork")
|
160
177
|
def public_network(self) -> Optional[pulumi.Input['InstancePublicNetworkArgs']]:
|
161
178
|
"""
|
162
|
-
Public network
|
179
|
+
Public network endpoint configuration (no arguments).
|
180
|
+
> **Important** If neither private_network nor public_network is specified, a public network endpoint is created by default.
|
163
181
|
"""
|
164
182
|
return pulumi.get(self, "public_network")
|
165
183
|
|
@@ -272,6 +290,7 @@ class _InstanceState:
|
|
272
290
|
node_number: Optional[pulumi.Input[int]] = None,
|
273
291
|
node_type: Optional[pulumi.Input[str]] = None,
|
274
292
|
password: Optional[pulumi.Input[str]] = None,
|
293
|
+
private_ips: Optional[pulumi.Input[Sequence[pulumi.Input['InstancePrivateIpArgs']]]] = None,
|
275
294
|
private_network: Optional[pulumi.Input['InstancePrivateNetworkArgs']] = None,
|
276
295
|
project_id: Optional[pulumi.Input[str]] = None,
|
277
296
|
public_network: Optional[pulumi.Input['InstancePublicNetworkArgs']] = None,
|
@@ -291,9 +310,11 @@ class _InstanceState:
|
|
291
310
|
:param pulumi.Input[int] node_number: Number of nodes in the instance
|
292
311
|
:param pulumi.Input[str] node_type: The type of MongoDB® intance to create.
|
293
312
|
:param pulumi.Input[str] password: Password of the user.
|
313
|
+
:param pulumi.Input[Sequence[pulumi.Input['InstancePrivateIpArgs']]] private_ips: The private IPv4 address associated with the instance.
|
294
314
|
:param pulumi.Input['InstancePrivateNetworkArgs'] private_network: Private Network endpoints of the Database Instance.
|
295
315
|
:param pulumi.Input[str] project_id: The project_id you want to attach the resource to
|
296
|
-
:param pulumi.Input['InstancePublicNetworkArgs'] public_network: Public network
|
316
|
+
:param pulumi.Input['InstancePublicNetworkArgs'] public_network: Public network endpoint configuration (no arguments).
|
317
|
+
> **Important** If neither private_network nor public_network is specified, a public network endpoint is created by default.
|
297
318
|
:param pulumi.Input[str] region: The region you want to attach the resource to
|
298
319
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] settings: Map of settings to define for the instance.
|
299
320
|
:param pulumi.Input[str] snapshot_id: Snapshot ID to restore the MongoDB® instance from.
|
@@ -314,6 +335,8 @@ class _InstanceState:
|
|
314
335
|
pulumi.set(__self__, "node_type", node_type)
|
315
336
|
if password is not None:
|
316
337
|
pulumi.set(__self__, "password", password)
|
338
|
+
if private_ips is not None:
|
339
|
+
pulumi.set(__self__, "private_ips", private_ips)
|
317
340
|
if private_network is not None:
|
318
341
|
pulumi.set(__self__, "private_network", private_network)
|
319
342
|
if project_id is not None:
|
@@ -399,6 +422,18 @@ class _InstanceState:
|
|
399
422
|
def password(self, value: Optional[pulumi.Input[str]]):
|
400
423
|
pulumi.set(self, "password", value)
|
401
424
|
|
425
|
+
@property
|
426
|
+
@pulumi.getter(name="privateIps")
|
427
|
+
def private_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InstancePrivateIpArgs']]]]:
|
428
|
+
"""
|
429
|
+
The private IPv4 address associated with the instance.
|
430
|
+
"""
|
431
|
+
return pulumi.get(self, "private_ips")
|
432
|
+
|
433
|
+
@private_ips.setter
|
434
|
+
def private_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['InstancePrivateIpArgs']]]]):
|
435
|
+
pulumi.set(self, "private_ips", value)
|
436
|
+
|
402
437
|
@property
|
403
438
|
@pulumi.getter(name="privateNetwork")
|
404
439
|
def private_network(self) -> Optional[pulumi.Input['InstancePrivateNetworkArgs']]:
|
@@ -427,7 +462,8 @@ class _InstanceState:
|
|
427
462
|
@pulumi.getter(name="publicNetwork")
|
428
463
|
def public_network(self) -> Optional[pulumi.Input['InstancePublicNetworkArgs']]:
|
429
464
|
"""
|
430
|
-
Public network
|
465
|
+
Public network endpoint configuration (no arguments).
|
466
|
+
> **Important** If neither private_network nor public_network is specified, a public network endpoint is created by default.
|
431
467
|
"""
|
432
468
|
return pulumi.get(self, "public_network")
|
433
469
|
|
@@ -553,6 +589,7 @@ class Instance(pulumi.CustomResource):
|
|
553
589
|
node_number: Optional[pulumi.Input[int]] = None,
|
554
590
|
node_type: Optional[pulumi.Input[str]] = None,
|
555
591
|
password: Optional[pulumi.Input[str]] = None,
|
592
|
+
private_ips: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstancePrivateIpArgs', 'InstancePrivateIpArgsDict']]]]] = None,
|
556
593
|
private_network: Optional[pulumi.Input[Union['InstancePrivateNetworkArgs', 'InstancePrivateNetworkArgsDict']]] = None,
|
557
594
|
project_id: Optional[pulumi.Input[str]] = None,
|
558
595
|
public_network: Optional[pulumi.Input[Union['InstancePublicNetworkArgs', 'InstancePublicNetworkArgsDict']]] = None,
|
@@ -609,6 +646,29 @@ class Instance(pulumi.CustomResource):
|
|
609
646
|
})
|
610
647
|
```
|
611
648
|
|
649
|
+
### Private Network and Public Network
|
650
|
+
|
651
|
+
```python
|
652
|
+
import pulumi
|
653
|
+
import pulumiverse_scaleway as scaleway
|
654
|
+
|
655
|
+
pn01 = scaleway.network.PrivateNetwork("pn01",
|
656
|
+
name="my_private_network",
|
657
|
+
region="fr-par")
|
658
|
+
main = scaleway.mongodb.Instance("main",
|
659
|
+
name="test-mongodb-basic1",
|
660
|
+
version="7.0.12",
|
661
|
+
node_type="MGDB-PLAY2-NANO",
|
662
|
+
node_number=1,
|
663
|
+
user_name="my_initial_user",
|
664
|
+
password="thiZ_is_v&ry_s3cret",
|
665
|
+
volume_size_in_gb=5,
|
666
|
+
private_network={
|
667
|
+
"pn_id": pn02["id"],
|
668
|
+
},
|
669
|
+
public_network={})
|
670
|
+
```
|
671
|
+
|
612
672
|
### Restore From Snapshot
|
613
673
|
|
614
674
|
```python
|
@@ -638,9 +698,11 @@ class Instance(pulumi.CustomResource):
|
|
638
698
|
:param pulumi.Input[int] node_number: Number of nodes in the instance
|
639
699
|
:param pulumi.Input[str] node_type: The type of MongoDB® intance to create.
|
640
700
|
:param pulumi.Input[str] password: Password of the user.
|
701
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['InstancePrivateIpArgs', 'InstancePrivateIpArgsDict']]]] private_ips: The private IPv4 address associated with the instance.
|
641
702
|
:param pulumi.Input[Union['InstancePrivateNetworkArgs', 'InstancePrivateNetworkArgsDict']] private_network: Private Network endpoints of the Database Instance.
|
642
703
|
:param pulumi.Input[str] project_id: The project_id you want to attach the resource to
|
643
|
-
:param pulumi.Input[Union['InstancePublicNetworkArgs', 'InstancePublicNetworkArgsDict']] public_network: Public network
|
704
|
+
:param pulumi.Input[Union['InstancePublicNetworkArgs', 'InstancePublicNetworkArgsDict']] public_network: Public network endpoint configuration (no arguments).
|
705
|
+
> **Important** If neither private_network nor public_network is specified, a public network endpoint is created by default.
|
644
706
|
:param pulumi.Input[str] region: The region you want to attach the resource to
|
645
707
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] settings: Map of settings to define for the instance.
|
646
708
|
:param pulumi.Input[str] snapshot_id: Snapshot ID to restore the MongoDB® instance from.
|
@@ -700,6 +762,29 @@ class Instance(pulumi.CustomResource):
|
|
700
762
|
})
|
701
763
|
```
|
702
764
|
|
765
|
+
### Private Network and Public Network
|
766
|
+
|
767
|
+
```python
|
768
|
+
import pulumi
|
769
|
+
import pulumiverse_scaleway as scaleway
|
770
|
+
|
771
|
+
pn01 = scaleway.network.PrivateNetwork("pn01",
|
772
|
+
name="my_private_network",
|
773
|
+
region="fr-par")
|
774
|
+
main = scaleway.mongodb.Instance("main",
|
775
|
+
name="test-mongodb-basic1",
|
776
|
+
version="7.0.12",
|
777
|
+
node_type="MGDB-PLAY2-NANO",
|
778
|
+
node_number=1,
|
779
|
+
user_name="my_initial_user",
|
780
|
+
password="thiZ_is_v&ry_s3cret",
|
781
|
+
volume_size_in_gb=5,
|
782
|
+
private_network={
|
783
|
+
"pn_id": pn02["id"],
|
784
|
+
},
|
785
|
+
public_network={})
|
786
|
+
```
|
787
|
+
|
703
788
|
### Restore From Snapshot
|
704
789
|
|
705
790
|
```python
|
@@ -742,6 +827,7 @@ class Instance(pulumi.CustomResource):
|
|
742
827
|
node_number: Optional[pulumi.Input[int]] = None,
|
743
828
|
node_type: Optional[pulumi.Input[str]] = None,
|
744
829
|
password: Optional[pulumi.Input[str]] = None,
|
830
|
+
private_ips: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstancePrivateIpArgs', 'InstancePrivateIpArgsDict']]]]] = None,
|
745
831
|
private_network: Optional[pulumi.Input[Union['InstancePrivateNetworkArgs', 'InstancePrivateNetworkArgsDict']]] = None,
|
746
832
|
project_id: Optional[pulumi.Input[str]] = None,
|
747
833
|
public_network: Optional[pulumi.Input[Union['InstancePublicNetworkArgs', 'InstancePublicNetworkArgsDict']]] = None,
|
@@ -770,6 +856,7 @@ class Instance(pulumi.CustomResource):
|
|
770
856
|
raise TypeError("Missing required property 'node_type'")
|
771
857
|
__props__.__dict__["node_type"] = node_type
|
772
858
|
__props__.__dict__["password"] = None if password is None else pulumi.Output.secret(password)
|
859
|
+
__props__.__dict__["private_ips"] = private_ips
|
773
860
|
__props__.__dict__["private_network"] = private_network
|
774
861
|
__props__.__dict__["project_id"] = project_id
|
775
862
|
__props__.__dict__["public_network"] = public_network
|
@@ -802,6 +889,7 @@ class Instance(pulumi.CustomResource):
|
|
802
889
|
node_number: Optional[pulumi.Input[int]] = None,
|
803
890
|
node_type: Optional[pulumi.Input[str]] = None,
|
804
891
|
password: Optional[pulumi.Input[str]] = None,
|
892
|
+
private_ips: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstancePrivateIpArgs', 'InstancePrivateIpArgsDict']]]]] = None,
|
805
893
|
private_network: Optional[pulumi.Input[Union['InstancePrivateNetworkArgs', 'InstancePrivateNetworkArgsDict']]] = None,
|
806
894
|
project_id: Optional[pulumi.Input[str]] = None,
|
807
895
|
public_network: Optional[pulumi.Input[Union['InstancePublicNetworkArgs', 'InstancePublicNetworkArgsDict']]] = None,
|
@@ -826,9 +914,11 @@ class Instance(pulumi.CustomResource):
|
|
826
914
|
:param pulumi.Input[int] node_number: Number of nodes in the instance
|
827
915
|
:param pulumi.Input[str] node_type: The type of MongoDB® intance to create.
|
828
916
|
:param pulumi.Input[str] password: Password of the user.
|
917
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['InstancePrivateIpArgs', 'InstancePrivateIpArgsDict']]]] private_ips: The private IPv4 address associated with the instance.
|
829
918
|
:param pulumi.Input[Union['InstancePrivateNetworkArgs', 'InstancePrivateNetworkArgsDict']] private_network: Private Network endpoints of the Database Instance.
|
830
919
|
:param pulumi.Input[str] project_id: The project_id you want to attach the resource to
|
831
|
-
:param pulumi.Input[Union['InstancePublicNetworkArgs', 'InstancePublicNetworkArgsDict']] public_network: Public network
|
920
|
+
:param pulumi.Input[Union['InstancePublicNetworkArgs', 'InstancePublicNetworkArgsDict']] public_network: Public network endpoint configuration (no arguments).
|
921
|
+
> **Important** If neither private_network nor public_network is specified, a public network endpoint is created by default.
|
832
922
|
:param pulumi.Input[str] region: The region you want to attach the resource to
|
833
923
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] settings: Map of settings to define for the instance.
|
834
924
|
:param pulumi.Input[str] snapshot_id: Snapshot ID to restore the MongoDB® instance from.
|
@@ -848,6 +938,7 @@ class Instance(pulumi.CustomResource):
|
|
848
938
|
__props__.__dict__["node_number"] = node_number
|
849
939
|
__props__.__dict__["node_type"] = node_type
|
850
940
|
__props__.__dict__["password"] = password
|
941
|
+
__props__.__dict__["private_ips"] = private_ips
|
851
942
|
__props__.__dict__["private_network"] = private_network
|
852
943
|
__props__.__dict__["project_id"] = project_id
|
853
944
|
__props__.__dict__["public_network"] = public_network
|
@@ -902,6 +993,14 @@ class Instance(pulumi.CustomResource):
|
|
902
993
|
"""
|
903
994
|
return pulumi.get(self, "password")
|
904
995
|
|
996
|
+
@property
|
997
|
+
@pulumi.getter(name="privateIps")
|
998
|
+
def private_ips(self) -> pulumi.Output[Sequence['outputs.InstancePrivateIp']]:
|
999
|
+
"""
|
1000
|
+
The private IPv4 address associated with the instance.
|
1001
|
+
"""
|
1002
|
+
return pulumi.get(self, "private_ips")
|
1003
|
+
|
905
1004
|
@property
|
906
1005
|
@pulumi.getter(name="privateNetwork")
|
907
1006
|
def private_network(self) -> pulumi.Output[Optional['outputs.InstancePrivateNetwork']]:
|
@@ -922,7 +1021,8 @@ class Instance(pulumi.CustomResource):
|
|
922
1021
|
@pulumi.getter(name="publicNetwork")
|
923
1022
|
def public_network(self) -> pulumi.Output['outputs.InstancePublicNetwork']:
|
924
1023
|
"""
|
925
|
-
Public network
|
1024
|
+
Public network endpoint configuration (no arguments).
|
1025
|
+
> **Important** If neither private_network nor public_network is specified, a public network endpoint is created by default.
|
926
1026
|
"""
|
927
1027
|
return pulumi.get(self, "public_network")
|
928
1028
|
|
@@ -15,12 +15,45 @@ else:
|
|
15
15
|
from .. import _utilities
|
16
16
|
|
17
17
|
__all__ = [
|
18
|
+
'InstancePrivateIp',
|
18
19
|
'InstancePrivateNetwork',
|
19
20
|
'InstancePublicNetwork',
|
21
|
+
'GetInstancePrivateIpResult',
|
20
22
|
'GetInstancePrivateNetworkResult',
|
21
23
|
'GetInstancePublicNetworkResult',
|
22
24
|
]
|
23
25
|
|
26
|
+
@pulumi.output_type
|
27
|
+
class InstancePrivateIp(dict):
|
28
|
+
def __init__(__self__, *,
|
29
|
+
address: Optional[str] = None,
|
30
|
+
id: Optional[str] = None):
|
31
|
+
"""
|
32
|
+
:param str address: The private IPv4 address.
|
33
|
+
:param str id: The ID of the endpoint.
|
34
|
+
"""
|
35
|
+
if address is not None:
|
36
|
+
pulumi.set(__self__, "address", address)
|
37
|
+
if id is not None:
|
38
|
+
pulumi.set(__self__, "id", id)
|
39
|
+
|
40
|
+
@property
|
41
|
+
@pulumi.getter
|
42
|
+
def address(self) -> Optional[str]:
|
43
|
+
"""
|
44
|
+
The private IPv4 address.
|
45
|
+
"""
|
46
|
+
return pulumi.get(self, "address")
|
47
|
+
|
48
|
+
@property
|
49
|
+
@pulumi.getter
|
50
|
+
def id(self) -> Optional[str]:
|
51
|
+
"""
|
52
|
+
The ID of the endpoint.
|
53
|
+
"""
|
54
|
+
return pulumi.get(self, "id")
|
55
|
+
|
56
|
+
|
24
57
|
@pulumi.output_type
|
25
58
|
class InstancePrivateNetwork(dict):
|
26
59
|
@staticmethod
|
@@ -166,6 +199,35 @@ class InstancePublicNetwork(dict):
|
|
166
199
|
return pulumi.get(self, "port")
|
167
200
|
|
168
201
|
|
202
|
+
@pulumi.output_type
|
203
|
+
class GetInstancePrivateIpResult(dict):
|
204
|
+
def __init__(__self__, *,
|
205
|
+
address: str,
|
206
|
+
id: str):
|
207
|
+
"""
|
208
|
+
:param str address: The private IPv4 address
|
209
|
+
:param str id: The ID of the MongoDB® Instance.
|
210
|
+
"""
|
211
|
+
pulumi.set(__self__, "address", address)
|
212
|
+
pulumi.set(__self__, "id", id)
|
213
|
+
|
214
|
+
@property
|
215
|
+
@pulumi.getter
|
216
|
+
def address(self) -> str:
|
217
|
+
"""
|
218
|
+
The private IPv4 address
|
219
|
+
"""
|
220
|
+
return pulumi.get(self, "address")
|
221
|
+
|
222
|
+
@property
|
223
|
+
@pulumi.getter
|
224
|
+
def id(self) -> str:
|
225
|
+
"""
|
226
|
+
The ID of the MongoDB® Instance.
|
227
|
+
"""
|
228
|
+
return pulumi.get(self, "id")
|
229
|
+
|
230
|
+
|
169
231
|
@pulumi.output_type
|
170
232
|
class GetInstancePrivateNetworkResult(dict):
|
171
233
|
def __init__(__self__, *,
|
@@ -28,6 +28,7 @@ class GatewayNetworkArgs:
|
|
28
28
|
enable_dhcp: Optional[pulumi.Input[bool]] = None,
|
29
29
|
enable_masquerade: Optional[pulumi.Input[bool]] = None,
|
30
30
|
ipam_configs: Optional[pulumi.Input[Sequence[pulumi.Input['GatewayNetworkIpamConfigArgs']]]] = None,
|
31
|
+
private_ips: Optional[pulumi.Input[Sequence[pulumi.Input['GatewayNetworkPrivateIpArgs']]]] = None,
|
31
32
|
static_address: Optional[pulumi.Input[str]] = None,
|
32
33
|
zone: Optional[pulumi.Input[str]] = None):
|
33
34
|
"""
|
@@ -39,6 +40,7 @@ class GatewayNetworkArgs:
|
|
39
40
|
: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
41
|
:param pulumi.Input[bool] enable_masquerade: Whether masquerade (dynamic NAT) should be enabled on this GatewayNetwork.
|
41
42
|
: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.
|
43
|
+
:param pulumi.Input[Sequence[pulumi.Input['GatewayNetworkPrivateIpArgs']]] private_ips: The private IPv4 address associated with the resource.
|
42
44
|
: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
45
|
:param pulumi.Input[str] zone: `zone`) The zone in which the gateway network should be created.
|
44
46
|
|
@@ -67,6 +69,8 @@ class GatewayNetworkArgs:
|
|
67
69
|
pulumi.set(__self__, "enable_masquerade", enable_masquerade)
|
68
70
|
if ipam_configs is not None:
|
69
71
|
pulumi.set(__self__, "ipam_configs", ipam_configs)
|
72
|
+
if private_ips is not None:
|
73
|
+
pulumi.set(__self__, "private_ips", private_ips)
|
70
74
|
if static_address is not None:
|
71
75
|
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
76
|
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""")
|
@@ -162,6 +166,18 @@ class GatewayNetworkArgs:
|
|
162
166
|
def ipam_configs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['GatewayNetworkIpamConfigArgs']]]]):
|
163
167
|
pulumi.set(self, "ipam_configs", value)
|
164
168
|
|
169
|
+
@property
|
170
|
+
@pulumi.getter(name="privateIps")
|
171
|
+
def private_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['GatewayNetworkPrivateIpArgs']]]]:
|
172
|
+
"""
|
173
|
+
The private IPv4 address associated with the resource.
|
174
|
+
"""
|
175
|
+
return pulumi.get(self, "private_ips")
|
176
|
+
|
177
|
+
@private_ips.setter
|
178
|
+
def private_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['GatewayNetworkPrivateIpArgs']]]]):
|
179
|
+
pulumi.set(self, "private_ips", value)
|
180
|
+
|
165
181
|
@property
|
166
182
|
@pulumi.getter(name="staticAddress")
|
167
183
|
@_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""")
|
@@ -459,6 +475,7 @@ class GatewayNetwork(pulumi.CustomResource):
|
|
459
475
|
enable_masquerade: Optional[pulumi.Input[bool]] = None,
|
460
476
|
gateway_id: Optional[pulumi.Input[str]] = None,
|
461
477
|
ipam_configs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['GatewayNetworkIpamConfigArgs', 'GatewayNetworkIpamConfigArgsDict']]]]] = None,
|
478
|
+
private_ips: Optional[pulumi.Input[Sequence[pulumi.Input[Union['GatewayNetworkPrivateIpArgs', 'GatewayNetworkPrivateIpArgsDict']]]]] = None,
|
462
479
|
private_network_id: Optional[pulumi.Input[str]] = None,
|
463
480
|
static_address: Optional[pulumi.Input[str]] = None,
|
464
481
|
zone: Optional[pulumi.Input[str]] = None,
|
@@ -545,6 +562,7 @@ class GatewayNetwork(pulumi.CustomResource):
|
|
545
562
|
:param pulumi.Input[bool] enable_masquerade: Whether masquerade (dynamic NAT) should be enabled on this GatewayNetwork.
|
546
563
|
:param pulumi.Input[str] gateway_id: The ID of the Public Gateway.
|
547
564
|
: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.
|
565
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['GatewayNetworkPrivateIpArgs', 'GatewayNetworkPrivateIpArgsDict']]]] private_ips: The private IPv4 address associated with the resource.
|
548
566
|
:param pulumi.Input[str] private_network_id: The ID of the Private Network.
|
549
567
|
: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.
|
550
568
|
:param pulumi.Input[str] zone: `zone`) The zone in which the gateway network should be created.
|
@@ -654,6 +672,7 @@ class GatewayNetwork(pulumi.CustomResource):
|
|
654
672
|
enable_masquerade: Optional[pulumi.Input[bool]] = None,
|
655
673
|
gateway_id: Optional[pulumi.Input[str]] = None,
|
656
674
|
ipam_configs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['GatewayNetworkIpamConfigArgs', 'GatewayNetworkIpamConfigArgsDict']]]]] = None,
|
675
|
+
private_ips: Optional[pulumi.Input[Sequence[pulumi.Input[Union['GatewayNetworkPrivateIpArgs', 'GatewayNetworkPrivateIpArgsDict']]]]] = None,
|
657
676
|
private_network_id: Optional[pulumi.Input[str]] = None,
|
658
677
|
static_address: Optional[pulumi.Input[str]] = None,
|
659
678
|
zone: Optional[pulumi.Input[str]] = None,
|
@@ -674,6 +693,7 @@ class GatewayNetwork(pulumi.CustomResource):
|
|
674
693
|
raise TypeError("Missing required property 'gateway_id'")
|
675
694
|
__props__.__dict__["gateway_id"] = gateway_id
|
676
695
|
__props__.__dict__["ipam_configs"] = ipam_configs
|
696
|
+
__props__.__dict__["private_ips"] = private_ips
|
677
697
|
if private_network_id is None and not opts.urn:
|
678
698
|
raise TypeError("Missing required property 'private_network_id'")
|
679
699
|
__props__.__dict__["private_network_id"] = private_network_id
|
@@ -681,7 +701,6 @@ class GatewayNetwork(pulumi.CustomResource):
|
|
681
701
|
__props__.__dict__["zone"] = zone
|
682
702
|
__props__.__dict__["created_at"] = None
|
683
703
|
__props__.__dict__["mac_address"] = None
|
684
|
-
__props__.__dict__["private_ips"] = None
|
685
704
|
__props__.__dict__["status"] = None
|
686
705
|
__props__.__dict__["updated_at"] = None
|
687
706
|
alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="scaleway:index/vpcGatewayNetwork:VpcGatewayNetwork")])
|
pulumiverse_scaleway/outputs.py
CHANGED
@@ -23,6 +23,7 @@ __all__ = [
|
|
23
23
|
'BaremetalServerOption',
|
24
24
|
'BaremetalServerPrivateIp',
|
25
25
|
'BaremetalServerPrivateNetwork',
|
26
|
+
'BlockSnapshotImport',
|
26
27
|
'CockpitAlertManagerContactPoint',
|
27
28
|
'CockpitEndpoint',
|
28
29
|
'CockpitPushUrl',
|
@@ -105,6 +106,7 @@ __all__ = [
|
|
105
106
|
'LoadbalancerPrivateNetwork',
|
106
107
|
'MnqSnsCredentialsPermissions',
|
107
108
|
'MnqSqsCredentialsPermissions',
|
109
|
+
'MongoDbInstancePrivateIp',
|
108
110
|
'MongoDbInstancePrivateNetwork',
|
109
111
|
'MongoDbInstancePublicNetwork',
|
110
112
|
'ObjectBucketAclAccessControlPolicy',
|
@@ -146,6 +148,7 @@ __all__ = [
|
|
146
148
|
'GetBaremetalServerPrivateNetworkResult',
|
147
149
|
'GetBillingConsumptionsConsumptionResult',
|
148
150
|
'GetBillingInvoicesInvoiceResult',
|
151
|
+
'GetBlockSnapshotImportResult',
|
149
152
|
'GetCockpitEndpointResult',
|
150
153
|
'GetCockpitPushUrlResult',
|
151
154
|
'GetContainerHealthCheckResult',
|
@@ -212,6 +215,7 @@ __all__ = [
|
|
212
215
|
'GetLoadbalancerCertificateLetsencryptResult',
|
213
216
|
'GetLoadbalancerPrivateIpResult',
|
214
217
|
'GetLoadbalancerPrivateNetworkResult',
|
218
|
+
'GetMongoDbInstancePrivateIpResult',
|
215
219
|
'GetMongoDbInstancePrivateNetworkResult',
|
216
220
|
'GetMongoDbInstancePublicNetworkResult',
|
217
221
|
'GetObjectBucketCorsRuleResult',
|
@@ -708,6 +712,35 @@ class BaremetalServerPrivateNetwork(dict):
|
|
708
712
|
return pulumi.get(self, "vlan")
|
709
713
|
|
710
714
|
|
715
|
+
@pulumi.output_type
|
716
|
+
class BlockSnapshotImport(dict):
|
717
|
+
def __init__(__self__, *,
|
718
|
+
bucket: str,
|
719
|
+
key: str):
|
720
|
+
"""
|
721
|
+
:param str bucket: Bucket containing qcow
|
722
|
+
:param str key: Key of the qcow file in the specified bucket
|
723
|
+
"""
|
724
|
+
pulumi.set(__self__, "bucket", bucket)
|
725
|
+
pulumi.set(__self__, "key", key)
|
726
|
+
|
727
|
+
@property
|
728
|
+
@pulumi.getter
|
729
|
+
def bucket(self) -> str:
|
730
|
+
"""
|
731
|
+
Bucket containing qcow
|
732
|
+
"""
|
733
|
+
return pulumi.get(self, "bucket")
|
734
|
+
|
735
|
+
@property
|
736
|
+
@pulumi.getter
|
737
|
+
def key(self) -> str:
|
738
|
+
"""
|
739
|
+
Key of the qcow file in the specified bucket
|
740
|
+
"""
|
741
|
+
return pulumi.get(self, "key")
|
742
|
+
|
743
|
+
|
711
744
|
@pulumi.output_type
|
712
745
|
class CockpitAlertManagerContactPoint(dict):
|
713
746
|
def __init__(__self__, *,
|
@@ -6033,6 +6066,37 @@ class MnqSqsCredentialsPermissions(dict):
|
|
6033
6066
|
return pulumi.get(self, "can_receive")
|
6034
6067
|
|
6035
6068
|
|
6069
|
+
@pulumi.output_type
|
6070
|
+
class MongoDbInstancePrivateIp(dict):
|
6071
|
+
def __init__(__self__, *,
|
6072
|
+
address: Optional[str] = None,
|
6073
|
+
id: Optional[str] = None):
|
6074
|
+
"""
|
6075
|
+
:param str address: The private IPv4 address.
|
6076
|
+
:param str id: The ID of the endpoint.
|
6077
|
+
"""
|
6078
|
+
if address is not None:
|
6079
|
+
pulumi.set(__self__, "address", address)
|
6080
|
+
if id is not None:
|
6081
|
+
pulumi.set(__self__, "id", id)
|
6082
|
+
|
6083
|
+
@property
|
6084
|
+
@pulumi.getter
|
6085
|
+
def address(self) -> Optional[str]:
|
6086
|
+
"""
|
6087
|
+
The private IPv4 address.
|
6088
|
+
"""
|
6089
|
+
return pulumi.get(self, "address")
|
6090
|
+
|
6091
|
+
@property
|
6092
|
+
@pulumi.getter
|
6093
|
+
def id(self) -> Optional[str]:
|
6094
|
+
"""
|
6095
|
+
The ID of the endpoint.
|
6096
|
+
"""
|
6097
|
+
return pulumi.get(self, "id")
|
6098
|
+
|
6099
|
+
|
6036
6100
|
@pulumi.output_type
|
6037
6101
|
class MongoDbInstancePrivateNetwork(dict):
|
6038
6102
|
@staticmethod
|
@@ -8437,6 +8501,35 @@ class GetBillingInvoicesInvoiceResult(dict):
|
|
8437
8501
|
return pulumi.get(self, "total_untaxed")
|
8438
8502
|
|
8439
8503
|
|
8504
|
+
@pulumi.output_type
|
8505
|
+
class GetBlockSnapshotImportResult(dict):
|
8506
|
+
def __init__(__self__, *,
|
8507
|
+
bucket: str,
|
8508
|
+
key: str):
|
8509
|
+
"""
|
8510
|
+
:param str bucket: Bucket containing qcow
|
8511
|
+
:param str key: Key of the qcow file in the specified bucket
|
8512
|
+
"""
|
8513
|
+
pulumi.set(__self__, "bucket", bucket)
|
8514
|
+
pulumi.set(__self__, "key", key)
|
8515
|
+
|
8516
|
+
@property
|
8517
|
+
@pulumi.getter
|
8518
|
+
def bucket(self) -> str:
|
8519
|
+
"""
|
8520
|
+
Bucket containing qcow
|
8521
|
+
"""
|
8522
|
+
return pulumi.get(self, "bucket")
|
8523
|
+
|
8524
|
+
@property
|
8525
|
+
@pulumi.getter
|
8526
|
+
def key(self) -> str:
|
8527
|
+
"""
|
8528
|
+
Key of the qcow file in the specified bucket
|
8529
|
+
"""
|
8530
|
+
return pulumi.get(self, "key")
|
8531
|
+
|
8532
|
+
|
8440
8533
|
@pulumi.output_type
|
8441
8534
|
class GetCockpitEndpointResult(dict):
|
8442
8535
|
def __init__(__self__, *,
|
@@ -12479,6 +12572,35 @@ class GetLoadbalancerPrivateNetworkResult(dict):
|
|
12479
12572
|
return pulumi.get(self, "zone")
|
12480
12573
|
|
12481
12574
|
|
12575
|
+
@pulumi.output_type
|
12576
|
+
class GetMongoDbInstancePrivateIpResult(dict):
|
12577
|
+
def __init__(__self__, *,
|
12578
|
+
address: str,
|
12579
|
+
id: str):
|
12580
|
+
"""
|
12581
|
+
:param str address: The private IPv4 address
|
12582
|
+
:param str id: The ID of the MongoDB® Instance.
|
12583
|
+
"""
|
12584
|
+
pulumi.set(__self__, "address", address)
|
12585
|
+
pulumi.set(__self__, "id", id)
|
12586
|
+
|
12587
|
+
@property
|
12588
|
+
@pulumi.getter
|
12589
|
+
def address(self) -> str:
|
12590
|
+
"""
|
12591
|
+
The private IPv4 address
|
12592
|
+
"""
|
12593
|
+
return pulumi.get(self, "address")
|
12594
|
+
|
12595
|
+
@property
|
12596
|
+
@pulumi.getter
|
12597
|
+
def id(self) -> str:
|
12598
|
+
"""
|
12599
|
+
The ID of the MongoDB® Instance.
|
12600
|
+
"""
|
12601
|
+
return pulumi.get(self, "id")
|
12602
|
+
|
12603
|
+
|
12482
12604
|
@pulumi.output_type
|
12483
12605
|
class GetMongoDbInstancePrivateNetworkResult(dict):
|
12484
12606
|
def __init__(__self__, *,
|