pulumiverse-scaleway 1.28.0a1747119212__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 +16 -1
- pulumiverse_scaleway/_inputs.py +604 -6
- 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 +67 -258
- 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 +61 -21
- pulumiverse_scaleway/databases/_inputs.py +54 -0
- pulumiverse_scaleway/databases/get_instance.py +12 -1
- pulumiverse_scaleway/databases/instance.py +61 -21
- pulumiverse_scaleway/databases/outputs.py +62 -0
- pulumiverse_scaleway/databases/snapshot.py +2 -2
- pulumiverse_scaleway/domain/get_zone.py +7 -1
- pulumiverse_scaleway/elasticmetal/__init__.py +1 -1
- pulumiverse_scaleway/elasticmetal/_inputs.py +74 -0
- pulumiverse_scaleway/elasticmetal/get_partition_schema.py +215 -0
- pulumiverse_scaleway/elasticmetal/get_server.py +12 -1
- pulumiverse_scaleway/elasticmetal/outputs.py +87 -0
- pulumiverse_scaleway/elasticmetal/server.py +67 -258
- pulumiverse_scaleway/get_baremetal_server.py +12 -1
- pulumiverse_scaleway/get_block_snapshot.py +13 -1
- pulumiverse_scaleway/get_cockpit_plan.py +2 -38
- pulumiverse_scaleway/get_database_instance.py +12 -1
- pulumiverse_scaleway/get_domain_zone.py +7 -1
- pulumiverse_scaleway/get_instance_private_nic.py +13 -1
- pulumiverse_scaleway/get_instance_server.py +12 -1
- pulumiverse_scaleway/get_lb_route.py +12 -1
- pulumiverse_scaleway/get_loadbalancer.py +12 -1
- pulumiverse_scaleway/get_mongo_db_instance.py +12 -1
- pulumiverse_scaleway/get_redis_cluster.py +12 -1
- pulumiverse_scaleway/get_vpc_gateway_network.py +12 -1
- pulumiverse_scaleway/iam/user.py +468 -14
- pulumiverse_scaleway/iam_user.py +468 -14
- pulumiverse_scaleway/inference/__init__.py +2 -0
- pulumiverse_scaleway/inference/_inputs.py +128 -0
- pulumiverse_scaleway/inference/deployment.py +70 -55
- pulumiverse_scaleway/inference/get_model.py +299 -0
- pulumiverse_scaleway/inference/model.py +683 -0
- pulumiverse_scaleway/inference/outputs.py +184 -0
- pulumiverse_scaleway/inference_deployment.py +70 -55
- pulumiverse_scaleway/instance/_inputs.py +108 -0
- pulumiverse_scaleway/instance/get_private_nic.py +13 -1
- pulumiverse_scaleway/instance/get_server.py +12 -1
- pulumiverse_scaleway/instance/outputs.py +124 -0
- pulumiverse_scaleway/instance/private_nic.py +49 -0
- pulumiverse_scaleway/instance/server.py +47 -0
- pulumiverse_scaleway/instance/snapshot.py +28 -7
- pulumiverse_scaleway/instance/volume.py +28 -7
- pulumiverse_scaleway/instance_private_nic.py +49 -0
- pulumiverse_scaleway/instance_server.py +47 -0
- pulumiverse_scaleway/instance_snapshot.py +28 -7
- pulumiverse_scaleway/instance_volume.py +28 -7
- pulumiverse_scaleway/kubernetes/__init__.py +1 -0
- pulumiverse_scaleway/kubernetes/_inputs.py +203 -0
- pulumiverse_scaleway/kubernetes/acl.py +446 -0
- pulumiverse_scaleway/kubernetes/outputs.py +195 -1
- pulumiverse_scaleway/loadbalancer.py +28 -0
- pulumiverse_scaleway/loadbalancer_route.py +138 -14
- pulumiverse_scaleway/loadbalancers/_inputs.py +54 -0
- pulumiverse_scaleway/loadbalancers/get_load_balancer.py +12 -1
- pulumiverse_scaleway/loadbalancers/get_route.py +12 -1
- pulumiverse_scaleway/loadbalancers/load_balancer.py +28 -0
- pulumiverse_scaleway/loadbalancers/outputs.py +62 -0
- pulumiverse_scaleway/loadbalancers/route.py +138 -14
- pulumiverse_scaleway/mnq/sns_credentials.py +7 -7
- pulumiverse_scaleway/mnq/sqs_credentials.py +7 -7
- pulumiverse_scaleway/mnq_sns_credentials.py +7 -7
- pulumiverse_scaleway/mnq_sqs_credentials.py +7 -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/_inputs.py +54 -0
- pulumiverse_scaleway/network/gateway_network.py +47 -0
- pulumiverse_scaleway/network/get_gateway_network.py +12 -1
- pulumiverse_scaleway/network/outputs.py +62 -0
- pulumiverse_scaleway/network/route.py +90 -2
- pulumiverse_scaleway/observability/__init__.py +0 -1
- pulumiverse_scaleway/observability/get_plan.py +2 -38
- pulumiverse_scaleway/outputs.py +718 -27
- pulumiverse_scaleway/pulumi-plugin.json +1 -1
- pulumiverse_scaleway/rdb_snapshot.py +2 -2
- pulumiverse_scaleway/redis/_inputs.py +60 -6
- pulumiverse_scaleway/redis/cluster.py +47 -0
- pulumiverse_scaleway/redis/get_cluster.py +12 -1
- pulumiverse_scaleway/redis/outputs.py +66 -4
- pulumiverse_scaleway/redis_cluster.py +47 -0
- pulumiverse_scaleway/vpc_gateway_network.py +47 -0
- pulumiverse_scaleway/vpc_route.py +90 -2
- {pulumiverse_scaleway-1.28.0a1747119212.dist-info → pulumiverse_scaleway-1.29.0.dist-info}/METADATA +1 -1
- {pulumiverse_scaleway-1.28.0a1747119212.dist-info → pulumiverse_scaleway-1.29.0.dist-info}/RECORD +102 -94
- {pulumiverse_scaleway-1.28.0a1747119212.dist-info → pulumiverse_scaleway-1.29.0.dist-info}/WHEEL +1 -1
- {pulumiverse_scaleway-1.28.0a1747119212.dist-info → pulumiverse_scaleway-1.29.0.dist-info}/top_level.txt +0 -0
@@ -34,6 +34,7 @@ class InstanceArgs:
|
|
34
34
|
logs_policy: Optional[pulumi.Input['InstanceLogsPolicyArgs']] = None,
|
35
35
|
name: Optional[pulumi.Input[str]] = None,
|
36
36
|
password: Optional[pulumi.Input[str]] = None,
|
37
|
+
private_ips: Optional[pulumi.Input[Sequence[pulumi.Input['InstancePrivateIpArgs']]]] = None,
|
37
38
|
private_network: Optional[pulumi.Input['InstancePrivateNetworkArgs']] = None,
|
38
39
|
project_id: Optional[pulumi.Input[str]] = None,
|
39
40
|
region: Optional[pulumi.Input[str]] = None,
|
@@ -67,14 +68,14 @@ class InstanceArgs:
|
|
67
68
|
:param pulumi.Input['InstanceLogsPolicyArgs'] logs_policy: Logs policy configuration
|
68
69
|
:param pulumi.Input[str] name: The name of the Database Instance.
|
69
70
|
:param pulumi.Input[str] password: Password for the first user of the Database Instance.
|
71
|
+
:param pulumi.Input[Sequence[pulumi.Input['InstancePrivateIpArgs']]] private_ips: The private IPv4 address associated with the resource.
|
70
72
|
:param pulumi.Input['InstancePrivateNetworkArgs'] private_network: List of Private Networks endpoints of the Database Instance.
|
71
73
|
:param pulumi.Input[str] project_id: `project_id`) The ID of the project the Database
|
72
74
|
Instance is associated with.
|
73
75
|
:param pulumi.Input[str] region: `region`) The region
|
74
76
|
in which the Database Instance should be created.
|
75
77
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] settings: Map of engine settings to be set on a running instance.
|
76
|
-
:param pulumi.Input[str] snapshot_id: ID of an existing snapshot to create
|
77
|
-
captured in the specified snapshot. Conflicts with the `engine` attribute.
|
78
|
+
:param pulumi.Input[str] snapshot_id: The ID of an existing snapshot to restore or create the Database Instance from. Conflicts with the `engine` parameter and backup settings.
|
78
79
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the Database Instance.
|
79
80
|
:param pulumi.Input[str] user_name: Identifier for the first user of the Database Instance.
|
80
81
|
|
@@ -82,7 +83,7 @@ class InstanceArgs:
|
|
82
83
|
:param pulumi.Input[int] volume_size_in_gb: Volume size (in GB). Cannot be used when `volume_type` is set to `lssd`.
|
83
84
|
|
84
85
|
> **Important** Once your Database Instance reaches `disk_full` status, you should increase the volume size before making any other change to your Database Instance.
|
85
|
-
:param pulumi.Input[str] volume_type: Type of volume where data are stored (`
|
86
|
+
:param pulumi.Input[str] volume_type: Type of volume where data are stored (`lssd`, `sbs_5k` or `sbs_15k`).
|
86
87
|
"""
|
87
88
|
pulumi.set(__self__, "node_type", node_type)
|
88
89
|
if backup_same_region is not None:
|
@@ -109,6 +110,8 @@ class InstanceArgs:
|
|
109
110
|
pulumi.set(__self__, "name", name)
|
110
111
|
if password is not None:
|
111
112
|
pulumi.set(__self__, "password", password)
|
113
|
+
if private_ips is not None:
|
114
|
+
pulumi.set(__self__, "private_ips", private_ips)
|
112
115
|
if private_network is not None:
|
113
116
|
pulumi.set(__self__, "private_network", private_network)
|
114
117
|
if project_id is not None:
|
@@ -293,6 +296,18 @@ class InstanceArgs:
|
|
293
296
|
def password(self, value: Optional[pulumi.Input[str]]):
|
294
297
|
pulumi.set(self, "password", value)
|
295
298
|
|
299
|
+
@property
|
300
|
+
@pulumi.getter(name="privateIps")
|
301
|
+
def private_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InstancePrivateIpArgs']]]]:
|
302
|
+
"""
|
303
|
+
The private IPv4 address associated with the resource.
|
304
|
+
"""
|
305
|
+
return pulumi.get(self, "private_ips")
|
306
|
+
|
307
|
+
@private_ips.setter
|
308
|
+
def private_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['InstancePrivateIpArgs']]]]):
|
309
|
+
pulumi.set(self, "private_ips", value)
|
310
|
+
|
296
311
|
@property
|
297
312
|
@pulumi.getter(name="privateNetwork")
|
298
313
|
def private_network(self) -> Optional[pulumi.Input['InstancePrivateNetworkArgs']]:
|
@@ -347,8 +362,7 @@ class InstanceArgs:
|
|
347
362
|
@pulumi.getter(name="snapshotId")
|
348
363
|
def snapshot_id(self) -> Optional[pulumi.Input[str]]:
|
349
364
|
"""
|
350
|
-
ID of an existing snapshot to create
|
351
|
-
captured in the specified snapshot. Conflicts with the `engine` attribute.
|
365
|
+
The ID of an existing snapshot to restore or create the Database Instance from. Conflicts with the `engine` parameter and backup settings.
|
352
366
|
"""
|
353
367
|
return pulumi.get(self, "snapshot_id")
|
354
368
|
|
@@ -400,7 +414,7 @@ class InstanceArgs:
|
|
400
414
|
@pulumi.getter(name="volumeType")
|
401
415
|
def volume_type(self) -> Optional[pulumi.Input[str]]:
|
402
416
|
"""
|
403
|
-
Type of volume where data are stored (`
|
417
|
+
Type of volume where data are stored (`lssd`, `sbs_5k` or `sbs_15k`).
|
404
418
|
"""
|
405
419
|
return pulumi.get(self, "volume_type")
|
406
420
|
|
@@ -429,6 +443,7 @@ class _InstanceState:
|
|
429
443
|
node_type: Optional[pulumi.Input[str]] = None,
|
430
444
|
organization_id: Optional[pulumi.Input[str]] = None,
|
431
445
|
password: Optional[pulumi.Input[str]] = None,
|
446
|
+
private_ips: Optional[pulumi.Input[Sequence[pulumi.Input['InstancePrivateIpArgs']]]] = None,
|
432
447
|
private_network: Optional[pulumi.Input['InstancePrivateNetworkArgs']] = None,
|
433
448
|
project_id: Optional[pulumi.Input[str]] = None,
|
434
449
|
read_replicas: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceReadReplicaArgs']]]] = None,
|
@@ -467,6 +482,7 @@ class _InstanceState:
|
|
467
482
|
> **Important** Once your Database Instance reaches `disk_full` status, if you are using `lssd` storage, you should upgrade the `node_type`, and if you are using `bssd` storage, you should increase the volume size before making any other changes to your Database Instance.
|
468
483
|
:param pulumi.Input[str] organization_id: The organization ID the Database Instance is associated with.
|
469
484
|
:param pulumi.Input[str] password: Password for the first user of the Database Instance.
|
485
|
+
:param pulumi.Input[Sequence[pulumi.Input['InstancePrivateIpArgs']]] private_ips: The private IPv4 address associated with the resource.
|
470
486
|
:param pulumi.Input['InstancePrivateNetworkArgs'] private_network: List of Private Networks endpoints of the Database Instance.
|
471
487
|
:param pulumi.Input[str] project_id: `project_id`) The ID of the project the Database
|
472
488
|
Instance is associated with.
|
@@ -474,8 +490,7 @@ class _InstanceState:
|
|
474
490
|
:param pulumi.Input[str] region: `region`) The region
|
475
491
|
in which the Database Instance should be created.
|
476
492
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] settings: Map of engine settings to be set on a running instance.
|
477
|
-
:param pulumi.Input[str] snapshot_id: ID of an existing snapshot to create
|
478
|
-
captured in the specified snapshot. Conflicts with the `engine` attribute.
|
493
|
+
:param pulumi.Input[str] snapshot_id: The ID of an existing snapshot to restore or create the Database Instance from. Conflicts with the `engine` parameter and backup settings.
|
479
494
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the Database Instance.
|
480
495
|
:param pulumi.Input[str] user_name: Identifier for the first user of the Database Instance.
|
481
496
|
|
@@ -483,7 +498,7 @@ class _InstanceState:
|
|
483
498
|
:param pulumi.Input[int] volume_size_in_gb: Volume size (in GB). Cannot be used when `volume_type` is set to `lssd`.
|
484
499
|
|
485
500
|
> **Important** Once your Database Instance reaches `disk_full` status, you should increase the volume size before making any other change to your Database Instance.
|
486
|
-
:param pulumi.Input[str] volume_type: Type of volume where data are stored (`
|
501
|
+
:param pulumi.Input[str] volume_type: Type of volume where data are stored (`lssd`, `sbs_5k` or `sbs_15k`).
|
487
502
|
"""
|
488
503
|
if backup_same_region is not None:
|
489
504
|
pulumi.set(__self__, "backup_same_region", backup_same_region)
|
@@ -525,6 +540,8 @@ class _InstanceState:
|
|
525
540
|
pulumi.set(__self__, "organization_id", organization_id)
|
526
541
|
if password is not None:
|
527
542
|
pulumi.set(__self__, "password", password)
|
543
|
+
if private_ips is not None:
|
544
|
+
pulumi.set(__self__, "private_ips", private_ips)
|
528
545
|
if private_network is not None:
|
529
546
|
pulumi.set(__self__, "private_network", private_network)
|
530
547
|
if project_id is not None:
|
@@ -761,6 +778,18 @@ class _InstanceState:
|
|
761
778
|
def password(self, value: Optional[pulumi.Input[str]]):
|
762
779
|
pulumi.set(self, "password", value)
|
763
780
|
|
781
|
+
@property
|
782
|
+
@pulumi.getter(name="privateIps")
|
783
|
+
def private_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InstancePrivateIpArgs']]]]:
|
784
|
+
"""
|
785
|
+
The private IPv4 address associated with the resource.
|
786
|
+
"""
|
787
|
+
return pulumi.get(self, "private_ips")
|
788
|
+
|
789
|
+
@private_ips.setter
|
790
|
+
def private_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['InstancePrivateIpArgs']]]]):
|
791
|
+
pulumi.set(self, "private_ips", value)
|
792
|
+
|
764
793
|
@property
|
765
794
|
@pulumi.getter(name="privateNetwork")
|
766
795
|
def private_network(self) -> Optional[pulumi.Input['InstancePrivateNetworkArgs']]:
|
@@ -827,8 +856,7 @@ class _InstanceState:
|
|
827
856
|
@pulumi.getter(name="snapshotId")
|
828
857
|
def snapshot_id(self) -> Optional[pulumi.Input[str]]:
|
829
858
|
"""
|
830
|
-
ID of an existing snapshot to create
|
831
|
-
captured in the specified snapshot. Conflicts with the `engine` attribute.
|
859
|
+
The ID of an existing snapshot to restore or create the Database Instance from. Conflicts with the `engine` parameter and backup settings.
|
832
860
|
"""
|
833
861
|
return pulumi.get(self, "snapshot_id")
|
834
862
|
|
@@ -880,7 +908,7 @@ class _InstanceState:
|
|
880
908
|
@pulumi.getter(name="volumeType")
|
881
909
|
def volume_type(self) -> Optional[pulumi.Input[str]]:
|
882
910
|
"""
|
883
|
-
Type of volume where data are stored (`
|
911
|
+
Type of volume where data are stored (`lssd`, `sbs_5k` or `sbs_15k`).
|
884
912
|
"""
|
885
913
|
return pulumi.get(self, "volume_type")
|
886
914
|
|
@@ -907,6 +935,7 @@ class Instance(pulumi.CustomResource):
|
|
907
935
|
name: Optional[pulumi.Input[str]] = None,
|
908
936
|
node_type: Optional[pulumi.Input[str]] = None,
|
909
937
|
password: Optional[pulumi.Input[str]] = None,
|
938
|
+
private_ips: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstancePrivateIpArgs', 'InstancePrivateIpArgsDict']]]]] = None,
|
910
939
|
private_network: Optional[pulumi.Input[Union['InstancePrivateNetworkArgs', 'InstancePrivateNetworkArgsDict']]] = None,
|
911
940
|
project_id: Optional[pulumi.Input[str]] = None,
|
912
941
|
region: Optional[pulumi.Input[str]] = None,
|
@@ -1089,14 +1118,14 @@ class Instance(pulumi.CustomResource):
|
|
1089
1118
|
|
1090
1119
|
> **Important** Once your Database Instance reaches `disk_full` status, if you are using `lssd` storage, you should upgrade the `node_type`, and if you are using `bssd` storage, you should increase the volume size before making any other changes to your Database Instance.
|
1091
1120
|
:param pulumi.Input[str] password: Password for the first user of the Database Instance.
|
1121
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['InstancePrivateIpArgs', 'InstancePrivateIpArgsDict']]]] private_ips: The private IPv4 address associated with the resource.
|
1092
1122
|
:param pulumi.Input[Union['InstancePrivateNetworkArgs', 'InstancePrivateNetworkArgsDict']] private_network: List of Private Networks endpoints of the Database Instance.
|
1093
1123
|
:param pulumi.Input[str] project_id: `project_id`) The ID of the project the Database
|
1094
1124
|
Instance is associated with.
|
1095
1125
|
:param pulumi.Input[str] region: `region`) The region
|
1096
1126
|
in which the Database Instance should be created.
|
1097
1127
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] settings: Map of engine settings to be set on a running instance.
|
1098
|
-
:param pulumi.Input[str] snapshot_id: ID of an existing snapshot to create
|
1099
|
-
captured in the specified snapshot. Conflicts with the `engine` attribute.
|
1128
|
+
:param pulumi.Input[str] snapshot_id: The ID of an existing snapshot to restore or create the Database Instance from. Conflicts with the `engine` parameter and backup settings.
|
1100
1129
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the Database Instance.
|
1101
1130
|
:param pulumi.Input[str] user_name: Identifier for the first user of the Database Instance.
|
1102
1131
|
|
@@ -1104,7 +1133,7 @@ class Instance(pulumi.CustomResource):
|
|
1104
1133
|
:param pulumi.Input[int] volume_size_in_gb: Volume size (in GB). Cannot be used when `volume_type` is set to `lssd`.
|
1105
1134
|
|
1106
1135
|
> **Important** Once your Database Instance reaches `disk_full` status, you should increase the volume size before making any other change to your Database Instance.
|
1107
|
-
:param pulumi.Input[str] volume_type: Type of volume where data are stored (`
|
1136
|
+
:param pulumi.Input[str] volume_type: Type of volume where data are stored (`lssd`, `sbs_5k` or `sbs_15k`).
|
1108
1137
|
"""
|
1109
1138
|
...
|
1110
1139
|
@overload
|
@@ -1288,6 +1317,7 @@ class Instance(pulumi.CustomResource):
|
|
1288
1317
|
name: Optional[pulumi.Input[str]] = None,
|
1289
1318
|
node_type: Optional[pulumi.Input[str]] = None,
|
1290
1319
|
password: Optional[pulumi.Input[str]] = None,
|
1320
|
+
private_ips: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstancePrivateIpArgs', 'InstancePrivateIpArgsDict']]]]] = None,
|
1291
1321
|
private_network: Optional[pulumi.Input[Union['InstancePrivateNetworkArgs', 'InstancePrivateNetworkArgsDict']]] = None,
|
1292
1322
|
project_id: Optional[pulumi.Input[str]] = None,
|
1293
1323
|
region: Optional[pulumi.Input[str]] = None,
|
@@ -1321,6 +1351,7 @@ class Instance(pulumi.CustomResource):
|
|
1321
1351
|
raise TypeError("Missing required property 'node_type'")
|
1322
1352
|
__props__.__dict__["node_type"] = node_type
|
1323
1353
|
__props__.__dict__["password"] = None if password is None else pulumi.Output.secret(password)
|
1354
|
+
__props__.__dict__["private_ips"] = private_ips
|
1324
1355
|
__props__.__dict__["private_network"] = private_network
|
1325
1356
|
__props__.__dict__["project_id"] = project_id
|
1326
1357
|
__props__.__dict__["region"] = region
|
@@ -1366,6 +1397,7 @@ class Instance(pulumi.CustomResource):
|
|
1366
1397
|
node_type: Optional[pulumi.Input[str]] = None,
|
1367
1398
|
organization_id: Optional[pulumi.Input[str]] = None,
|
1368
1399
|
password: Optional[pulumi.Input[str]] = None,
|
1400
|
+
private_ips: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstancePrivateIpArgs', 'InstancePrivateIpArgsDict']]]]] = None,
|
1369
1401
|
private_network: Optional[pulumi.Input[Union['InstancePrivateNetworkArgs', 'InstancePrivateNetworkArgsDict']]] = None,
|
1370
1402
|
project_id: Optional[pulumi.Input[str]] = None,
|
1371
1403
|
read_replicas: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceReadReplicaArgs', 'InstanceReadReplicaArgsDict']]]]] = None,
|
@@ -1409,6 +1441,7 @@ class Instance(pulumi.CustomResource):
|
|
1409
1441
|
> **Important** Once your Database Instance reaches `disk_full` status, if you are using `lssd` storage, you should upgrade the `node_type`, and if you are using `bssd` storage, you should increase the volume size before making any other changes to your Database Instance.
|
1410
1442
|
:param pulumi.Input[str] organization_id: The organization ID the Database Instance is associated with.
|
1411
1443
|
:param pulumi.Input[str] password: Password for the first user of the Database Instance.
|
1444
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['InstancePrivateIpArgs', 'InstancePrivateIpArgsDict']]]] private_ips: The private IPv4 address associated with the resource.
|
1412
1445
|
:param pulumi.Input[Union['InstancePrivateNetworkArgs', 'InstancePrivateNetworkArgsDict']] private_network: List of Private Networks endpoints of the Database Instance.
|
1413
1446
|
:param pulumi.Input[str] project_id: `project_id`) The ID of the project the Database
|
1414
1447
|
Instance is associated with.
|
@@ -1416,8 +1449,7 @@ class Instance(pulumi.CustomResource):
|
|
1416
1449
|
:param pulumi.Input[str] region: `region`) The region
|
1417
1450
|
in which the Database Instance should be created.
|
1418
1451
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] settings: Map of engine settings to be set on a running instance.
|
1419
|
-
:param pulumi.Input[str] snapshot_id: ID of an existing snapshot to create
|
1420
|
-
captured in the specified snapshot. Conflicts with the `engine` attribute.
|
1452
|
+
:param pulumi.Input[str] snapshot_id: The ID of an existing snapshot to restore or create the Database Instance from. Conflicts with the `engine` parameter and backup settings.
|
1421
1453
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the Database Instance.
|
1422
1454
|
:param pulumi.Input[str] user_name: Identifier for the first user of the Database Instance.
|
1423
1455
|
|
@@ -1425,7 +1457,7 @@ class Instance(pulumi.CustomResource):
|
|
1425
1457
|
:param pulumi.Input[int] volume_size_in_gb: Volume size (in GB). Cannot be used when `volume_type` is set to `lssd`.
|
1426
1458
|
|
1427
1459
|
> **Important** Once your Database Instance reaches `disk_full` status, you should increase the volume size before making any other change to your Database Instance.
|
1428
|
-
:param pulumi.Input[str] volume_type: Type of volume where data are stored (`
|
1460
|
+
:param pulumi.Input[str] volume_type: Type of volume where data are stored (`lssd`, `sbs_5k` or `sbs_15k`).
|
1429
1461
|
"""
|
1430
1462
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
1431
1463
|
|
@@ -1448,6 +1480,7 @@ class Instance(pulumi.CustomResource):
|
|
1448
1480
|
__props__.__dict__["node_type"] = node_type
|
1449
1481
|
__props__.__dict__["organization_id"] = organization_id
|
1450
1482
|
__props__.__dict__["password"] = password
|
1483
|
+
__props__.__dict__["private_ips"] = private_ips
|
1451
1484
|
__props__.__dict__["private_network"] = private_network
|
1452
1485
|
__props__.__dict__["project_id"] = project_id
|
1453
1486
|
__props__.__dict__["read_replicas"] = read_replicas
|
@@ -1607,6 +1640,14 @@ class Instance(pulumi.CustomResource):
|
|
1607
1640
|
"""
|
1608
1641
|
return pulumi.get(self, "password")
|
1609
1642
|
|
1643
|
+
@property
|
1644
|
+
@pulumi.getter(name="privateIps")
|
1645
|
+
def private_ips(self) -> pulumi.Output[Sequence['outputs.InstancePrivateIp']]:
|
1646
|
+
"""
|
1647
|
+
The private IPv4 address associated with the resource.
|
1648
|
+
"""
|
1649
|
+
return pulumi.get(self, "private_ips")
|
1650
|
+
|
1610
1651
|
@property
|
1611
1652
|
@pulumi.getter(name="privateNetwork")
|
1612
1653
|
def private_network(self) -> pulumi.Output[Optional['outputs.InstancePrivateNetwork']]:
|
@@ -1653,8 +1694,7 @@ class Instance(pulumi.CustomResource):
|
|
1653
1694
|
@pulumi.getter(name="snapshotId")
|
1654
1695
|
def snapshot_id(self) -> pulumi.Output[Optional[str]]:
|
1655
1696
|
"""
|
1656
|
-
ID of an existing snapshot to create
|
1657
|
-
captured in the specified snapshot. Conflicts with the `engine` attribute.
|
1697
|
+
The ID of an existing snapshot to restore or create the Database Instance from. Conflicts with the `engine` parameter and backup settings.
|
1658
1698
|
"""
|
1659
1699
|
return pulumi.get(self, "snapshot_id")
|
1660
1700
|
|
@@ -1690,7 +1730,7 @@ class Instance(pulumi.CustomResource):
|
|
1690
1730
|
@pulumi.getter(name="volumeType")
|
1691
1731
|
def volume_type(self) -> pulumi.Output[Optional[str]]:
|
1692
1732
|
"""
|
1693
|
-
Type of volume where data are stored (`
|
1733
|
+
Type of volume where data are stored (`lssd`, `sbs_5k` or `sbs_15k`).
|
1694
1734
|
"""
|
1695
1735
|
return pulumi.get(self, "volume_type")
|
1696
1736
|
|
@@ -18,6 +18,7 @@ __all__ = [
|
|
18
18
|
'AclAclRule',
|
19
19
|
'InstanceLoadBalancer',
|
20
20
|
'InstanceLogsPolicy',
|
21
|
+
'InstancePrivateIp',
|
21
22
|
'InstancePrivateNetwork',
|
22
23
|
'InstanceReadReplica',
|
23
24
|
'ReadReplicaDirectAccess',
|
@@ -25,6 +26,7 @@ __all__ = [
|
|
25
26
|
'GetAclAclRuleResult',
|
26
27
|
'GetInstanceLoadBalancerResult',
|
27
28
|
'GetInstanceLogsPolicyResult',
|
29
|
+
'GetInstancePrivateIpResult',
|
28
30
|
'GetInstancePrivateNetworkResult',
|
29
31
|
'GetInstanceReadReplicaResult',
|
30
32
|
]
|
@@ -193,6 +195,37 @@ class InstanceLogsPolicy(dict):
|
|
193
195
|
return pulumi.get(self, "total_disk_retention")
|
194
196
|
|
195
197
|
|
198
|
+
@pulumi.output_type
|
199
|
+
class InstancePrivateIp(dict):
|
200
|
+
def __init__(__self__, *,
|
201
|
+
address: Optional[str] = None,
|
202
|
+
id: Optional[str] = None):
|
203
|
+
"""
|
204
|
+
:param str address: The private IPv4 address.
|
205
|
+
:param str id: The ID of the IPv4 address resource.
|
206
|
+
"""
|
207
|
+
if address is not None:
|
208
|
+
pulumi.set(__self__, "address", address)
|
209
|
+
if id is not None:
|
210
|
+
pulumi.set(__self__, "id", id)
|
211
|
+
|
212
|
+
@property
|
213
|
+
@pulumi.getter
|
214
|
+
def address(self) -> Optional[str]:
|
215
|
+
"""
|
216
|
+
The private IPv4 address.
|
217
|
+
"""
|
218
|
+
return pulumi.get(self, "address")
|
219
|
+
|
220
|
+
@property
|
221
|
+
@pulumi.getter
|
222
|
+
def id(self) -> Optional[str]:
|
223
|
+
"""
|
224
|
+
The ID of the IPv4 address resource.
|
225
|
+
"""
|
226
|
+
return pulumi.get(self, "id")
|
227
|
+
|
228
|
+
|
196
229
|
@pulumi.output_type
|
197
230
|
class InstancePrivateNetwork(dict):
|
198
231
|
@staticmethod
|
@@ -718,6 +751,35 @@ class GetInstanceLogsPolicyResult(dict):
|
|
718
751
|
return pulumi.get(self, "total_disk_retention")
|
719
752
|
|
720
753
|
|
754
|
+
@pulumi.output_type
|
755
|
+
class GetInstancePrivateIpResult(dict):
|
756
|
+
def __init__(__self__, *,
|
757
|
+
address: str,
|
758
|
+
id: str):
|
759
|
+
"""
|
760
|
+
:param str address: The private IPv4 address
|
761
|
+
:param str id: The ID of the Database Instance.
|
762
|
+
"""
|
763
|
+
pulumi.set(__self__, "address", address)
|
764
|
+
pulumi.set(__self__, "id", id)
|
765
|
+
|
766
|
+
@property
|
767
|
+
@pulumi.getter
|
768
|
+
def address(self) -> str:
|
769
|
+
"""
|
770
|
+
The private IPv4 address
|
771
|
+
"""
|
772
|
+
return pulumi.get(self, "address")
|
773
|
+
|
774
|
+
@property
|
775
|
+
@pulumi.getter
|
776
|
+
def id(self) -> str:
|
777
|
+
"""
|
778
|
+
The ID of the Database Instance.
|
779
|
+
"""
|
780
|
+
return pulumi.get(self, "id")
|
781
|
+
|
782
|
+
|
721
783
|
@pulumi.output_type
|
722
784
|
class GetInstancePrivateNetworkResult(dict):
|
723
785
|
def __init__(__self__, *,
|
@@ -291,7 +291,7 @@ class Snapshot(pulumi.CustomResource):
|
|
291
291
|
"scaleway_rdb_instance",
|
292
292
|
"minimal",
|
293
293
|
],
|
294
|
-
volume_type="
|
294
|
+
volume_type="sbs_5k",
|
295
295
|
volume_size_in_gb=10)
|
296
296
|
test = scaleway.databases.Snapshot("test",
|
297
297
|
name="initial-snapshot",
|
@@ -381,7 +381,7 @@ class Snapshot(pulumi.CustomResource):
|
|
381
381
|
"scaleway_rdb_instance",
|
382
382
|
"minimal",
|
383
383
|
],
|
384
|
-
volume_type="
|
384
|
+
volume_type="sbs_5k",
|
385
385
|
volume_size_in_gb=10)
|
386
386
|
test = scaleway.databases.Snapshot("test",
|
387
387
|
name="initial-snapshot",
|
@@ -105,7 +105,7 @@ class GetZoneResult:
|
|
105
105
|
|
106
106
|
@property
|
107
107
|
@pulumi.getter(name="projectId")
|
108
|
-
def project_id(self) -> str:
|
108
|
+
def project_id(self) -> Optional[str]:
|
109
109
|
return pulumi.get(self, "project_id")
|
110
110
|
|
111
111
|
@property
|
@@ -149,16 +149,19 @@ class AwaitableGetZoneResult(GetZoneResult):
|
|
149
149
|
|
150
150
|
|
151
151
|
def get_zone(domain: Optional[str] = None,
|
152
|
+
project_id: Optional[str] = None,
|
152
153
|
subdomain: Optional[str] = None,
|
153
154
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetZoneResult:
|
154
155
|
"""
|
155
156
|
Use this data source to access information about an existing resource.
|
156
157
|
|
157
158
|
:param str domain: The primary domain name where the DNS zone is located. This is a mandatory field.
|
159
|
+
:param str project_id: ). The ID of the Scaleway Project associated with the domain. If not specified, it defaults to the `project_id` set in the provider configuration.
|
158
160
|
:param str subdomain: The subdomain (or zone name) within the primary domain. This is a mandatory field.
|
159
161
|
"""
|
160
162
|
__args__ = dict()
|
161
163
|
__args__['domain'] = domain
|
164
|
+
__args__['projectId'] = project_id
|
162
165
|
__args__['subdomain'] = subdomain
|
163
166
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
164
167
|
__ret__ = pulumi.runtime.invoke('scaleway:domain/getZone:getZone', __args__, opts=opts, typ=GetZoneResult).value
|
@@ -175,16 +178,19 @@ def get_zone(domain: Optional[str] = None,
|
|
175
178
|
subdomain=pulumi.get(__ret__, 'subdomain'),
|
176
179
|
updated_at=pulumi.get(__ret__, 'updated_at'))
|
177
180
|
def get_zone_output(domain: Optional[pulumi.Input[Optional[str]]] = None,
|
181
|
+
project_id: Optional[pulumi.Input[Optional[str]]] = None,
|
178
182
|
subdomain: Optional[pulumi.Input[Optional[str]]] = None,
|
179
183
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetZoneResult]:
|
180
184
|
"""
|
181
185
|
Use this data source to access information about an existing resource.
|
182
186
|
|
183
187
|
:param str domain: The primary domain name where the DNS zone is located. This is a mandatory field.
|
188
|
+
:param str project_id: ). The ID of the Scaleway Project associated with the domain. If not specified, it defaults to the `project_id` set in the provider configuration.
|
184
189
|
:param str subdomain: The subdomain (or zone name) within the primary domain. This is a mandatory field.
|
185
190
|
"""
|
186
191
|
__args__ = dict()
|
187
192
|
__args__['domain'] = domain
|
193
|
+
__args__['projectId'] = project_id
|
188
194
|
__args__['subdomain'] = subdomain
|
189
195
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
190
196
|
__ret__ = pulumi.runtime.invoke_output('scaleway:domain/getZone:getZone', __args__, opts=opts, typ=GetZoneResult)
|
@@ -5,12 +5,12 @@
|
|
5
5
|
from .. import _utilities
|
6
6
|
import typing
|
7
7
|
# Export this package's modules as members:
|
8
|
-
from .get_easy_partitioning import *
|
9
8
|
from .get_ip import *
|
10
9
|
from .get_ips import *
|
11
10
|
from .get_offer import *
|
12
11
|
from .get_option import *
|
13
12
|
from .get_os import *
|
13
|
+
from .get_partition_schema import *
|
14
14
|
from .get_server import *
|
15
15
|
from .ip import *
|
16
16
|
from .ip_mac_address import *
|
@@ -23,6 +23,8 @@ __all__ = [
|
|
23
23
|
'ServerIpv6ArgsDict',
|
24
24
|
'ServerOptionArgs',
|
25
25
|
'ServerOptionArgsDict',
|
26
|
+
'ServerPrivateIpArgs',
|
27
|
+
'ServerPrivateIpArgsDict',
|
26
28
|
'ServerPrivateNetworkArgs',
|
27
29
|
'ServerPrivateNetworkArgsDict',
|
28
30
|
]
|
@@ -376,6 +378,58 @@ class ServerOptionArgs:
|
|
376
378
|
pulumi.set(self, "name", value)
|
377
379
|
|
378
380
|
|
381
|
+
if not MYPY:
|
382
|
+
class ServerPrivateIpArgsDict(TypedDict):
|
383
|
+
address: NotRequired[pulumi.Input[str]]
|
384
|
+
"""
|
385
|
+
The address of the IPv6.
|
386
|
+
"""
|
387
|
+
id: NotRequired[pulumi.Input[str]]
|
388
|
+
"""
|
389
|
+
The ID of the IPv6.
|
390
|
+
"""
|
391
|
+
elif False:
|
392
|
+
ServerPrivateIpArgsDict: TypeAlias = Mapping[str, Any]
|
393
|
+
|
394
|
+
@pulumi.input_type
|
395
|
+
class ServerPrivateIpArgs:
|
396
|
+
def __init__(__self__, *,
|
397
|
+
address: Optional[pulumi.Input[str]] = None,
|
398
|
+
id: Optional[pulumi.Input[str]] = None):
|
399
|
+
"""
|
400
|
+
:param pulumi.Input[str] address: The address of the IPv6.
|
401
|
+
:param pulumi.Input[str] id: The ID of the IPv6.
|
402
|
+
"""
|
403
|
+
if address is not None:
|
404
|
+
pulumi.set(__self__, "address", address)
|
405
|
+
if id is not None:
|
406
|
+
pulumi.set(__self__, "id", id)
|
407
|
+
|
408
|
+
@property
|
409
|
+
@pulumi.getter
|
410
|
+
def address(self) -> Optional[pulumi.Input[str]]:
|
411
|
+
"""
|
412
|
+
The address of the IPv6.
|
413
|
+
"""
|
414
|
+
return pulumi.get(self, "address")
|
415
|
+
|
416
|
+
@address.setter
|
417
|
+
def address(self, value: Optional[pulumi.Input[str]]):
|
418
|
+
pulumi.set(self, "address", value)
|
419
|
+
|
420
|
+
@property
|
421
|
+
@pulumi.getter
|
422
|
+
def id(self) -> Optional[pulumi.Input[str]]:
|
423
|
+
"""
|
424
|
+
The ID of the IPv6.
|
425
|
+
"""
|
426
|
+
return pulumi.get(self, "id")
|
427
|
+
|
428
|
+
@id.setter
|
429
|
+
def id(self, value: Optional[pulumi.Input[str]]):
|
430
|
+
pulumi.set(self, "id", value)
|
431
|
+
|
432
|
+
|
379
433
|
if not MYPY:
|
380
434
|
class ServerPrivateNetworkArgsDict(TypedDict):
|
381
435
|
id: pulumi.Input[str]
|
@@ -390,6 +444,10 @@ if not MYPY:
|
|
390
444
|
"""
|
391
445
|
List of IPAM IP IDs to assign to the server in the requested private network.
|
392
446
|
"""
|
447
|
+
mapping_id: NotRequired[pulumi.Input[str]]
|
448
|
+
"""
|
449
|
+
The ID of the Server-to-Private Network mapping.
|
450
|
+
"""
|
393
451
|
status: NotRequired[pulumi.Input[str]]
|
394
452
|
"""
|
395
453
|
The private network status.
|
@@ -411,6 +469,7 @@ class ServerPrivateNetworkArgs:
|
|
411
469
|
id: pulumi.Input[str],
|
412
470
|
created_at: Optional[pulumi.Input[str]] = None,
|
413
471
|
ipam_ip_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
472
|
+
mapping_id: Optional[pulumi.Input[str]] = None,
|
414
473
|
status: Optional[pulumi.Input[str]] = None,
|
415
474
|
updated_at: Optional[pulumi.Input[str]] = None,
|
416
475
|
vlan: Optional[pulumi.Input[int]] = None):
|
@@ -418,6 +477,7 @@ class ServerPrivateNetworkArgs:
|
|
418
477
|
:param pulumi.Input[str] id: The id of the private network to attach.
|
419
478
|
:param pulumi.Input[str] created_at: The date and time of the creation of the private network.
|
420
479
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] ipam_ip_ids: List of IPAM IP IDs to assign to the server in the requested private network.
|
480
|
+
:param pulumi.Input[str] mapping_id: The ID of the Server-to-Private Network mapping.
|
421
481
|
:param pulumi.Input[str] status: The private network status.
|
422
482
|
:param pulumi.Input[str] updated_at: The date and time of the last update of the private network.
|
423
483
|
:param pulumi.Input[int] vlan: The VLAN ID associated to the private network.
|
@@ -427,6 +487,8 @@ class ServerPrivateNetworkArgs:
|
|
427
487
|
pulumi.set(__self__, "created_at", created_at)
|
428
488
|
if ipam_ip_ids is not None:
|
429
489
|
pulumi.set(__self__, "ipam_ip_ids", ipam_ip_ids)
|
490
|
+
if mapping_id is not None:
|
491
|
+
pulumi.set(__self__, "mapping_id", mapping_id)
|
430
492
|
if status is not None:
|
431
493
|
pulumi.set(__self__, "status", status)
|
432
494
|
if updated_at is not None:
|
@@ -470,6 +532,18 @@ class ServerPrivateNetworkArgs:
|
|
470
532
|
def ipam_ip_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
471
533
|
pulumi.set(self, "ipam_ip_ids", value)
|
472
534
|
|
535
|
+
@property
|
536
|
+
@pulumi.getter(name="mappingId")
|
537
|
+
def mapping_id(self) -> Optional[pulumi.Input[str]]:
|
538
|
+
"""
|
539
|
+
The ID of the Server-to-Private Network mapping.
|
540
|
+
"""
|
541
|
+
return pulumi.get(self, "mapping_id")
|
542
|
+
|
543
|
+
@mapping_id.setter
|
544
|
+
def mapping_id(self, value: Optional[pulumi.Input[str]]):
|
545
|
+
pulumi.set(self, "mapping_id", value)
|
546
|
+
|
473
547
|
@property
|
474
548
|
@pulumi.getter
|
475
549
|
def status(self) -> Optional[pulumi.Input[str]]:
|