pulumiverse-scaleway 1.27.1__py3-none-any.whl → 1.28.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (73) hide show
  1. pulumiverse_scaleway/__init__.py +16 -0
  2. pulumiverse_scaleway/_inputs.py +498 -6
  3. pulumiverse_scaleway/baremetal_server.py +48 -258
  4. pulumiverse_scaleway/database_instance.py +42 -21
  5. pulumiverse_scaleway/databases/_inputs.py +54 -0
  6. pulumiverse_scaleway/databases/get_instance.py +12 -1
  7. pulumiverse_scaleway/databases/instance.py +42 -21
  8. pulumiverse_scaleway/databases/outputs.py +62 -0
  9. pulumiverse_scaleway/databases/snapshot.py +2 -2
  10. pulumiverse_scaleway/elasticmetal/_inputs.py +74 -0
  11. pulumiverse_scaleway/elasticmetal/get_server.py +12 -1
  12. pulumiverse_scaleway/elasticmetal/outputs.py +87 -0
  13. pulumiverse_scaleway/elasticmetal/server.py +48 -258
  14. pulumiverse_scaleway/get_baremetal_server.py +12 -1
  15. pulumiverse_scaleway/get_cockpit_plan.py +2 -38
  16. pulumiverse_scaleway/get_database_instance.py +12 -1
  17. pulumiverse_scaleway/get_instance_private_nic.py +13 -1
  18. pulumiverse_scaleway/get_instance_server.py +12 -1
  19. pulumiverse_scaleway/get_lb_route.py +12 -1
  20. pulumiverse_scaleway/get_loadbalancer.py +12 -1
  21. pulumiverse_scaleway/get_redis_cluster.py +12 -1
  22. pulumiverse_scaleway/get_vpc_gateway_network.py +12 -1
  23. pulumiverse_scaleway/inference/__init__.py +2 -0
  24. pulumiverse_scaleway/inference/_inputs.py +128 -0
  25. pulumiverse_scaleway/inference/deployment.py +70 -55
  26. pulumiverse_scaleway/inference/get_model.py +299 -0
  27. pulumiverse_scaleway/inference/model.py +683 -0
  28. pulumiverse_scaleway/inference/outputs.py +184 -0
  29. pulumiverse_scaleway/inference_deployment.py +70 -55
  30. pulumiverse_scaleway/instance/_inputs.py +108 -0
  31. pulumiverse_scaleway/instance/get_private_nic.py +13 -1
  32. pulumiverse_scaleway/instance/get_server.py +12 -1
  33. pulumiverse_scaleway/instance/outputs.py +124 -0
  34. pulumiverse_scaleway/instance/private_nic.py +30 -0
  35. pulumiverse_scaleway/instance/server.py +28 -0
  36. pulumiverse_scaleway/instance_private_nic.py +30 -0
  37. pulumiverse_scaleway/instance_server.py +28 -0
  38. pulumiverse_scaleway/kubernetes/__init__.py +1 -0
  39. pulumiverse_scaleway/kubernetes/_inputs.py +203 -0
  40. pulumiverse_scaleway/kubernetes/acl.py +446 -0
  41. pulumiverse_scaleway/kubernetes/outputs.py +195 -1
  42. pulumiverse_scaleway/loadbalancer.py +28 -0
  43. pulumiverse_scaleway/loadbalancer_route.py +138 -14
  44. pulumiverse_scaleway/loadbalancers/_inputs.py +54 -0
  45. pulumiverse_scaleway/loadbalancers/get_load_balancer.py +12 -1
  46. pulumiverse_scaleway/loadbalancers/get_route.py +12 -1
  47. pulumiverse_scaleway/loadbalancers/load_balancer.py +28 -0
  48. pulumiverse_scaleway/loadbalancers/outputs.py +62 -0
  49. pulumiverse_scaleway/loadbalancers/route.py +138 -14
  50. pulumiverse_scaleway/mnq/sns_credentials.py +7 -7
  51. pulumiverse_scaleway/mnq/sqs_credentials.py +7 -7
  52. pulumiverse_scaleway/mnq_sns_credentials.py +7 -7
  53. pulumiverse_scaleway/mnq_sqs_credentials.py +7 -7
  54. pulumiverse_scaleway/network/_inputs.py +54 -0
  55. pulumiverse_scaleway/network/gateway_network.py +28 -0
  56. pulumiverse_scaleway/network/get_gateway_network.py +12 -1
  57. pulumiverse_scaleway/network/outputs.py +62 -0
  58. pulumiverse_scaleway/network/route.py +90 -2
  59. pulumiverse_scaleway/observability/get_plan.py +2 -38
  60. pulumiverse_scaleway/outputs.py +574 -5
  61. pulumiverse_scaleway/pulumi-plugin.json +1 -1
  62. pulumiverse_scaleway/rdb_snapshot.py +2 -2
  63. pulumiverse_scaleway/redis/_inputs.py +60 -6
  64. pulumiverse_scaleway/redis/cluster.py +28 -0
  65. pulumiverse_scaleway/redis/get_cluster.py +12 -1
  66. pulumiverse_scaleway/redis/outputs.py +66 -4
  67. pulumiverse_scaleway/redis_cluster.py +28 -0
  68. pulumiverse_scaleway/vpc_gateway_network.py +28 -0
  69. pulumiverse_scaleway/vpc_route.py +90 -2
  70. {pulumiverse_scaleway-1.27.1.dist-info → pulumiverse_scaleway-1.28.0.dist-info}/METADATA +1 -1
  71. {pulumiverse_scaleway-1.27.1.dist-info → pulumiverse_scaleway-1.28.0.dist-info}/RECORD +73 -70
  72. {pulumiverse_scaleway-1.27.1.dist-info → pulumiverse_scaleway-1.28.0.dist-info}/WHEEL +1 -1
  73. {pulumiverse_scaleway-1.27.1.dist-info → pulumiverse_scaleway-1.28.0.dist-info}/top_level.txt +0 -0
@@ -73,8 +73,7 @@ class DatabaseInstanceArgs:
73
73
  :param pulumi.Input[str] region: `region`) The region
74
74
  in which the Database Instance should be created.
75
75
  :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 a new instance from. This allows restoring a database instance to the state
77
- captured in the specified snapshot. Conflicts with the `engine` attribute.
76
+ :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
77
  :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the Database Instance.
79
78
  :param pulumi.Input[str] user_name: Identifier for the first user of the Database Instance.
80
79
 
@@ -82,7 +81,7 @@ class DatabaseInstanceArgs:
82
81
  :param pulumi.Input[int] volume_size_in_gb: Volume size (in GB). Cannot be used when `volume_type` is set to `lssd`.
83
82
 
84
83
  > **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 (`bssd`, `lssd`, `sbs_5k` or `sbs_15k`).
84
+ :param pulumi.Input[str] volume_type: Type of volume where data are stored (`lssd`, `sbs_5k` or `sbs_15k`).
86
85
  """
87
86
  pulumi.set(__self__, "node_type", node_type)
88
87
  if backup_same_region is not None:
@@ -347,8 +346,7 @@ class DatabaseInstanceArgs:
347
346
  @pulumi.getter(name="snapshotId")
348
347
  def snapshot_id(self) -> Optional[pulumi.Input[str]]:
349
348
  """
350
- ID of an existing snapshot to create a new instance from. This allows restoring a database instance to the state
351
- captured in the specified snapshot. Conflicts with the `engine` attribute.
349
+ The ID of an existing snapshot to restore or create the Database Instance from. Conflicts with the `engine` parameter and backup settings.
352
350
  """
353
351
  return pulumi.get(self, "snapshot_id")
354
352
 
@@ -400,7 +398,7 @@ class DatabaseInstanceArgs:
400
398
  @pulumi.getter(name="volumeType")
401
399
  def volume_type(self) -> Optional[pulumi.Input[str]]:
402
400
  """
403
- Type of volume where data are stored (`bssd`, `lssd`, `sbs_5k` or `sbs_15k`).
401
+ Type of volume where data are stored (`lssd`, `sbs_5k` or `sbs_15k`).
404
402
  """
405
403
  return pulumi.get(self, "volume_type")
406
404
 
@@ -429,6 +427,7 @@ class _DatabaseInstanceState:
429
427
  node_type: Optional[pulumi.Input[str]] = None,
430
428
  organization_id: Optional[pulumi.Input[str]] = None,
431
429
  password: Optional[pulumi.Input[str]] = None,
430
+ private_ips: Optional[pulumi.Input[Sequence[pulumi.Input['DatabaseInstancePrivateIpArgs']]]] = None,
432
431
  private_network: Optional[pulumi.Input['DatabaseInstancePrivateNetworkArgs']] = None,
433
432
  project_id: Optional[pulumi.Input[str]] = None,
434
433
  read_replicas: Optional[pulumi.Input[Sequence[pulumi.Input['DatabaseInstanceReadReplicaArgs']]]] = None,
@@ -467,6 +466,7 @@ class _DatabaseInstanceState:
467
466
  > **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
467
  :param pulumi.Input[str] organization_id: The organization ID the Database Instance is associated with.
469
468
  :param pulumi.Input[str] password: Password for the first user of the Database Instance.
469
+ :param pulumi.Input[Sequence[pulumi.Input['DatabaseInstancePrivateIpArgs']]] private_ips: The private IPv4 address associated with the resource.
470
470
  :param pulumi.Input['DatabaseInstancePrivateNetworkArgs'] private_network: List of Private Networks endpoints of the Database Instance.
471
471
  :param pulumi.Input[str] project_id: `project_id`) The ID of the project the Database
472
472
  Instance is associated with.
@@ -474,8 +474,7 @@ class _DatabaseInstanceState:
474
474
  :param pulumi.Input[str] region: `region`) The region
475
475
  in which the Database Instance should be created.
476
476
  :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 a new instance from. This allows restoring a database instance to the state
478
- captured in the specified snapshot. Conflicts with the `engine` attribute.
477
+ :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
478
  :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the Database Instance.
480
479
  :param pulumi.Input[str] user_name: Identifier for the first user of the Database Instance.
481
480
 
@@ -483,7 +482,7 @@ class _DatabaseInstanceState:
483
482
  :param pulumi.Input[int] volume_size_in_gb: Volume size (in GB). Cannot be used when `volume_type` is set to `lssd`.
484
483
 
485
484
  > **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 (`bssd`, `lssd`, `sbs_5k` or `sbs_15k`).
485
+ :param pulumi.Input[str] volume_type: Type of volume where data are stored (`lssd`, `sbs_5k` or `sbs_15k`).
487
486
  """
488
487
  if backup_same_region is not None:
489
488
  pulumi.set(__self__, "backup_same_region", backup_same_region)
@@ -525,6 +524,8 @@ class _DatabaseInstanceState:
525
524
  pulumi.set(__self__, "organization_id", organization_id)
526
525
  if password is not None:
527
526
  pulumi.set(__self__, "password", password)
527
+ if private_ips is not None:
528
+ pulumi.set(__self__, "private_ips", private_ips)
528
529
  if private_network is not None:
529
530
  pulumi.set(__self__, "private_network", private_network)
530
531
  if project_id is not None:
@@ -761,6 +762,18 @@ class _DatabaseInstanceState:
761
762
  def password(self, value: Optional[pulumi.Input[str]]):
762
763
  pulumi.set(self, "password", value)
763
764
 
765
+ @property
766
+ @pulumi.getter(name="privateIps")
767
+ def private_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DatabaseInstancePrivateIpArgs']]]]:
768
+ """
769
+ The private IPv4 address associated with the resource.
770
+ """
771
+ return pulumi.get(self, "private_ips")
772
+
773
+ @private_ips.setter
774
+ def private_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DatabaseInstancePrivateIpArgs']]]]):
775
+ pulumi.set(self, "private_ips", value)
776
+
764
777
  @property
765
778
  @pulumi.getter(name="privateNetwork")
766
779
  def private_network(self) -> Optional[pulumi.Input['DatabaseInstancePrivateNetworkArgs']]:
@@ -827,8 +840,7 @@ class _DatabaseInstanceState:
827
840
  @pulumi.getter(name="snapshotId")
828
841
  def snapshot_id(self) -> Optional[pulumi.Input[str]]:
829
842
  """
830
- ID of an existing snapshot to create a new instance from. This allows restoring a database instance to the state
831
- captured in the specified snapshot. Conflicts with the `engine` attribute.
843
+ The ID of an existing snapshot to restore or create the Database Instance from. Conflicts with the `engine` parameter and backup settings.
832
844
  """
833
845
  return pulumi.get(self, "snapshot_id")
834
846
 
@@ -880,7 +892,7 @@ class _DatabaseInstanceState:
880
892
  @pulumi.getter(name="volumeType")
881
893
  def volume_type(self) -> Optional[pulumi.Input[str]]:
882
894
  """
883
- Type of volume where data are stored (`bssd`, `lssd`, `sbs_5k` or `sbs_15k`).
895
+ Type of volume where data are stored (`lssd`, `sbs_5k` or `sbs_15k`).
884
896
  """
885
897
  return pulumi.get(self, "volume_type")
886
898
 
@@ -1100,8 +1112,7 @@ class DatabaseInstance(pulumi.CustomResource):
1100
1112
  :param pulumi.Input[str] region: `region`) The region
1101
1113
  in which the Database Instance should be created.
1102
1114
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] settings: Map of engine settings to be set on a running instance.
1103
- :param pulumi.Input[str] snapshot_id: ID of an existing snapshot to create a new instance from. This allows restoring a database instance to the state
1104
- captured in the specified snapshot. Conflicts with the `engine` attribute.
1115
+ :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.
1105
1116
  :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the Database Instance.
1106
1117
  :param pulumi.Input[str] user_name: Identifier for the first user of the Database Instance.
1107
1118
 
@@ -1109,7 +1120,7 @@ class DatabaseInstance(pulumi.CustomResource):
1109
1120
  :param pulumi.Input[int] volume_size_in_gb: Volume size (in GB). Cannot be used when `volume_type` is set to `lssd`.
1110
1121
 
1111
1122
  > **Important** Once your Database Instance reaches `disk_full` status, you should increase the volume size before making any other change to your Database Instance.
1112
- :param pulumi.Input[str] volume_type: Type of volume where data are stored (`bssd`, `lssd`, `sbs_5k` or `sbs_15k`).
1123
+ :param pulumi.Input[str] volume_type: Type of volume where data are stored (`lssd`, `sbs_5k` or `sbs_15k`).
1113
1124
  """
1114
1125
  ...
1115
1126
  @overload
@@ -1340,6 +1351,7 @@ class DatabaseInstance(pulumi.CustomResource):
1340
1351
  __props__.__dict__["endpoint_ip"] = None
1341
1352
  __props__.__dict__["endpoint_port"] = None
1342
1353
  __props__.__dict__["organization_id"] = None
1354
+ __props__.__dict__["private_ips"] = None
1343
1355
  __props__.__dict__["read_replicas"] = None
1344
1356
  secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["password"])
1345
1357
  opts = pulumi.ResourceOptions.merge(opts, secret_opts)
@@ -1370,6 +1382,7 @@ class DatabaseInstance(pulumi.CustomResource):
1370
1382
  node_type: Optional[pulumi.Input[str]] = None,
1371
1383
  organization_id: Optional[pulumi.Input[str]] = None,
1372
1384
  password: Optional[pulumi.Input[str]] = None,
1385
+ private_ips: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DatabaseInstancePrivateIpArgs', 'DatabaseInstancePrivateIpArgsDict']]]]] = None,
1373
1386
  private_network: Optional[pulumi.Input[Union['DatabaseInstancePrivateNetworkArgs', 'DatabaseInstancePrivateNetworkArgsDict']]] = None,
1374
1387
  project_id: Optional[pulumi.Input[str]] = None,
1375
1388
  read_replicas: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DatabaseInstanceReadReplicaArgs', 'DatabaseInstanceReadReplicaArgsDict']]]]] = None,
@@ -1413,6 +1426,7 @@ class DatabaseInstance(pulumi.CustomResource):
1413
1426
  > **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.
1414
1427
  :param pulumi.Input[str] organization_id: The organization ID the Database Instance is associated with.
1415
1428
  :param pulumi.Input[str] password: Password for the first user of the Database Instance.
1429
+ :param pulumi.Input[Sequence[pulumi.Input[Union['DatabaseInstancePrivateIpArgs', 'DatabaseInstancePrivateIpArgsDict']]]] private_ips: The private IPv4 address associated with the resource.
1416
1430
  :param pulumi.Input[Union['DatabaseInstancePrivateNetworkArgs', 'DatabaseInstancePrivateNetworkArgsDict']] private_network: List of Private Networks endpoints of the Database Instance.
1417
1431
  :param pulumi.Input[str] project_id: `project_id`) The ID of the project the Database
1418
1432
  Instance is associated with.
@@ -1420,8 +1434,7 @@ class DatabaseInstance(pulumi.CustomResource):
1420
1434
  :param pulumi.Input[str] region: `region`) The region
1421
1435
  in which the Database Instance should be created.
1422
1436
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] settings: Map of engine settings to be set on a running instance.
1423
- :param pulumi.Input[str] snapshot_id: ID of an existing snapshot to create a new instance from. This allows restoring a database instance to the state
1424
- captured in the specified snapshot. Conflicts with the `engine` attribute.
1437
+ :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.
1425
1438
  :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the Database Instance.
1426
1439
  :param pulumi.Input[str] user_name: Identifier for the first user of the Database Instance.
1427
1440
 
@@ -1429,7 +1442,7 @@ class DatabaseInstance(pulumi.CustomResource):
1429
1442
  :param pulumi.Input[int] volume_size_in_gb: Volume size (in GB). Cannot be used when `volume_type` is set to `lssd`.
1430
1443
 
1431
1444
  > **Important** Once your Database Instance reaches `disk_full` status, you should increase the volume size before making any other change to your Database Instance.
1432
- :param pulumi.Input[str] volume_type: Type of volume where data are stored (`bssd`, `lssd`, `sbs_5k` or `sbs_15k`).
1445
+ :param pulumi.Input[str] volume_type: Type of volume where data are stored (`lssd`, `sbs_5k` or `sbs_15k`).
1433
1446
  """
1434
1447
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
1435
1448
 
@@ -1452,6 +1465,7 @@ class DatabaseInstance(pulumi.CustomResource):
1452
1465
  __props__.__dict__["node_type"] = node_type
1453
1466
  __props__.__dict__["organization_id"] = organization_id
1454
1467
  __props__.__dict__["password"] = password
1468
+ __props__.__dict__["private_ips"] = private_ips
1455
1469
  __props__.__dict__["private_network"] = private_network
1456
1470
  __props__.__dict__["project_id"] = project_id
1457
1471
  __props__.__dict__["read_replicas"] = read_replicas
@@ -1611,6 +1625,14 @@ class DatabaseInstance(pulumi.CustomResource):
1611
1625
  """
1612
1626
  return pulumi.get(self, "password")
1613
1627
 
1628
+ @property
1629
+ @pulumi.getter(name="privateIps")
1630
+ def private_ips(self) -> pulumi.Output[Sequence['outputs.DatabaseInstancePrivateIp']]:
1631
+ """
1632
+ The private IPv4 address associated with the resource.
1633
+ """
1634
+ return pulumi.get(self, "private_ips")
1635
+
1614
1636
  @property
1615
1637
  @pulumi.getter(name="privateNetwork")
1616
1638
  def private_network(self) -> pulumi.Output[Optional['outputs.DatabaseInstancePrivateNetwork']]:
@@ -1657,8 +1679,7 @@ class DatabaseInstance(pulumi.CustomResource):
1657
1679
  @pulumi.getter(name="snapshotId")
1658
1680
  def snapshot_id(self) -> pulumi.Output[Optional[str]]:
1659
1681
  """
1660
- ID of an existing snapshot to create a new instance from. This allows restoring a database instance to the state
1661
- captured in the specified snapshot. Conflicts with the `engine` attribute.
1682
+ The ID of an existing snapshot to restore or create the Database Instance from. Conflicts with the `engine` parameter and backup settings.
1662
1683
  """
1663
1684
  return pulumi.get(self, "snapshot_id")
1664
1685
 
@@ -1694,7 +1715,7 @@ class DatabaseInstance(pulumi.CustomResource):
1694
1715
  @pulumi.getter(name="volumeType")
1695
1716
  def volume_type(self) -> pulumi.Output[Optional[str]]:
1696
1717
  """
1697
- Type of volume where data are stored (`bssd`, `lssd`, `sbs_5k` or `sbs_15k`).
1718
+ Type of volume where data are stored (`lssd`, `sbs_5k` or `sbs_15k`).
1698
1719
  """
1699
1720
  return pulumi.get(self, "volume_type")
1700
1721
 
@@ -21,6 +21,8 @@ __all__ = [
21
21
  'InstanceLoadBalancerArgsDict',
22
22
  'InstanceLogsPolicyArgs',
23
23
  'InstanceLogsPolicyArgsDict',
24
+ 'InstancePrivateIpArgs',
25
+ 'InstancePrivateIpArgsDict',
24
26
  'InstancePrivateNetworkArgs',
25
27
  'InstancePrivateNetworkArgsDict',
26
28
  'InstanceReadReplicaArgs',
@@ -248,6 +250,58 @@ class InstanceLogsPolicyArgs:
248
250
  pulumi.set(self, "total_disk_retention", value)
249
251
 
250
252
 
253
+ if not MYPY:
254
+ class InstancePrivateIpArgsDict(TypedDict):
255
+ address: NotRequired[pulumi.Input[str]]
256
+ """
257
+ The private IPv4 address.
258
+ """
259
+ id: NotRequired[pulumi.Input[str]]
260
+ """
261
+ The ID of the IPv4 address resource.
262
+ """
263
+ elif False:
264
+ InstancePrivateIpArgsDict: TypeAlias = Mapping[str, Any]
265
+
266
+ @pulumi.input_type
267
+ class InstancePrivateIpArgs:
268
+ def __init__(__self__, *,
269
+ address: Optional[pulumi.Input[str]] = None,
270
+ id: Optional[pulumi.Input[str]] = None):
271
+ """
272
+ :param pulumi.Input[str] address: The private IPv4 address.
273
+ :param pulumi.Input[str] id: The ID of the IPv4 address resource.
274
+ """
275
+ if address is not None:
276
+ pulumi.set(__self__, "address", address)
277
+ if id is not None:
278
+ pulumi.set(__self__, "id", id)
279
+
280
+ @property
281
+ @pulumi.getter
282
+ def address(self) -> Optional[pulumi.Input[str]]:
283
+ """
284
+ The private IPv4 address.
285
+ """
286
+ return pulumi.get(self, "address")
287
+
288
+ @address.setter
289
+ def address(self, value: Optional[pulumi.Input[str]]):
290
+ pulumi.set(self, "address", value)
291
+
292
+ @property
293
+ @pulumi.getter
294
+ def id(self) -> Optional[pulumi.Input[str]]:
295
+ """
296
+ The ID of the IPv4 address resource.
297
+ """
298
+ return pulumi.get(self, "id")
299
+
300
+ @id.setter
301
+ def id(self, value: Optional[pulumi.Input[str]]):
302
+ pulumi.set(self, "id", value)
303
+
304
+
251
305
  if not MYPY:
252
306
  class InstancePrivateNetworkArgsDict(TypedDict):
253
307
  pn_id: pulumi.Input[str]
@@ -27,7 +27,7 @@ class GetInstanceResult:
27
27
  """
28
28
  A collection of values returned by getInstance.
29
29
  """
30
- def __init__(__self__, backup_same_region=None, backup_schedule_frequency=None, backup_schedule_retention=None, certificate=None, disable_backup=None, encryption_at_rest=None, endpoint_ip=None, endpoint_port=None, engine=None, id=None, init_settings=None, instance_id=None, is_ha_cluster=None, load_balancers=None, logs_policies=None, name=None, node_type=None, organization_id=None, password=None, private_networks=None, project_id=None, read_replicas=None, region=None, settings=None, snapshot_id=None, tags=None, user_name=None, volume_size_in_gb=None, volume_type=None):
30
+ def __init__(__self__, backup_same_region=None, backup_schedule_frequency=None, backup_schedule_retention=None, certificate=None, disable_backup=None, encryption_at_rest=None, endpoint_ip=None, endpoint_port=None, engine=None, id=None, init_settings=None, instance_id=None, is_ha_cluster=None, load_balancers=None, logs_policies=None, name=None, node_type=None, organization_id=None, password=None, private_ips=None, private_networks=None, project_id=None, read_replicas=None, region=None, settings=None, snapshot_id=None, tags=None, user_name=None, volume_size_in_gb=None, volume_type=None):
31
31
  if backup_same_region and not isinstance(backup_same_region, bool):
32
32
  raise TypeError("Expected argument 'backup_same_region' to be a bool")
33
33
  pulumi.set(__self__, "backup_same_region", backup_same_region)
@@ -85,6 +85,9 @@ class GetInstanceResult:
85
85
  if password and not isinstance(password, str):
86
86
  raise TypeError("Expected argument 'password' to be a str")
87
87
  pulumi.set(__self__, "password", password)
88
+ if private_ips and not isinstance(private_ips, list):
89
+ raise TypeError("Expected argument 'private_ips' to be a list")
90
+ pulumi.set(__self__, "private_ips", private_ips)
88
91
  if private_networks and not isinstance(private_networks, list):
89
92
  raise TypeError("Expected argument 'private_networks' to be a list")
90
93
  pulumi.set(__self__, "private_networks", private_networks)
@@ -214,6 +217,11 @@ class GetInstanceResult:
214
217
  def password(self) -> str:
215
218
  return pulumi.get(self, "password")
216
219
 
220
+ @property
221
+ @pulumi.getter(name="privateIps")
222
+ def private_ips(self) -> Sequence['outputs.GetInstancePrivateIpResult']:
223
+ return pulumi.get(self, "private_ips")
224
+
217
225
  @property
218
226
  @pulumi.getter(name="privateNetworks")
219
227
  def private_networks(self) -> Sequence['outputs.GetInstancePrivateNetworkResult']:
@@ -290,6 +298,7 @@ class AwaitableGetInstanceResult(GetInstanceResult):
290
298
  node_type=self.node_type,
291
299
  organization_id=self.organization_id,
292
300
  password=self.password,
301
+ private_ips=self.private_ips,
293
302
  private_networks=self.private_networks,
294
303
  project_id=self.project_id,
295
304
  read_replicas=self.read_replicas,
@@ -348,6 +357,7 @@ def get_instance(instance_id: Optional[str] = None,
348
357
  node_type=pulumi.get(__ret__, 'node_type'),
349
358
  organization_id=pulumi.get(__ret__, 'organization_id'),
350
359
  password=pulumi.get(__ret__, 'password'),
360
+ private_ips=pulumi.get(__ret__, 'private_ips'),
351
361
  private_networks=pulumi.get(__ret__, 'private_networks'),
352
362
  project_id=pulumi.get(__ret__, 'project_id'),
353
363
  read_replicas=pulumi.get(__ret__, 'read_replicas'),
@@ -403,6 +413,7 @@ def get_instance_output(instance_id: Optional[pulumi.Input[Optional[str]]] = Non
403
413
  node_type=pulumi.get(__response__, 'node_type'),
404
414
  organization_id=pulumi.get(__response__, 'organization_id'),
405
415
  password=pulumi.get(__response__, 'password'),
416
+ private_ips=pulumi.get(__response__, 'private_ips'),
406
417
  private_networks=pulumi.get(__response__, 'private_networks'),
407
418
  project_id=pulumi.get(__response__, 'project_id'),
408
419
  read_replicas=pulumi.get(__response__, 'read_replicas'),
@@ -73,8 +73,7 @@ class InstanceArgs:
73
73
  :param pulumi.Input[str] region: `region`) The region
74
74
  in which the Database Instance should be created.
75
75
  :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 a new instance from. This allows restoring a database instance to the state
77
- captured in the specified snapshot. Conflicts with the `engine` attribute.
76
+ :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
77
  :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the Database Instance.
79
78
  :param pulumi.Input[str] user_name: Identifier for the first user of the Database Instance.
80
79
 
@@ -82,7 +81,7 @@ class InstanceArgs:
82
81
  :param pulumi.Input[int] volume_size_in_gb: Volume size (in GB). Cannot be used when `volume_type` is set to `lssd`.
83
82
 
84
83
  > **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 (`bssd`, `lssd`, `sbs_5k` or `sbs_15k`).
84
+ :param pulumi.Input[str] volume_type: Type of volume where data are stored (`lssd`, `sbs_5k` or `sbs_15k`).
86
85
  """
87
86
  pulumi.set(__self__, "node_type", node_type)
88
87
  if backup_same_region is not None:
@@ -347,8 +346,7 @@ class InstanceArgs:
347
346
  @pulumi.getter(name="snapshotId")
348
347
  def snapshot_id(self) -> Optional[pulumi.Input[str]]:
349
348
  """
350
- ID of an existing snapshot to create a new instance from. This allows restoring a database instance to the state
351
- captured in the specified snapshot. Conflicts with the `engine` attribute.
349
+ The ID of an existing snapshot to restore or create the Database Instance from. Conflicts with the `engine` parameter and backup settings.
352
350
  """
353
351
  return pulumi.get(self, "snapshot_id")
354
352
 
@@ -400,7 +398,7 @@ class InstanceArgs:
400
398
  @pulumi.getter(name="volumeType")
401
399
  def volume_type(self) -> Optional[pulumi.Input[str]]:
402
400
  """
403
- Type of volume where data are stored (`bssd`, `lssd`, `sbs_5k` or `sbs_15k`).
401
+ Type of volume where data are stored (`lssd`, `sbs_5k` or `sbs_15k`).
404
402
  """
405
403
  return pulumi.get(self, "volume_type")
406
404
 
@@ -429,6 +427,7 @@ class _InstanceState:
429
427
  node_type: Optional[pulumi.Input[str]] = None,
430
428
  organization_id: Optional[pulumi.Input[str]] = None,
431
429
  password: Optional[pulumi.Input[str]] = None,
430
+ private_ips: Optional[pulumi.Input[Sequence[pulumi.Input['InstancePrivateIpArgs']]]] = None,
432
431
  private_network: Optional[pulumi.Input['InstancePrivateNetworkArgs']] = None,
433
432
  project_id: Optional[pulumi.Input[str]] = None,
434
433
  read_replicas: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceReadReplicaArgs']]]] = None,
@@ -467,6 +466,7 @@ class _InstanceState:
467
466
  > **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
467
  :param pulumi.Input[str] organization_id: The organization ID the Database Instance is associated with.
469
468
  :param pulumi.Input[str] password: Password for the first user of the Database Instance.
469
+ :param pulumi.Input[Sequence[pulumi.Input['InstancePrivateIpArgs']]] private_ips: The private IPv4 address associated with the resource.
470
470
  :param pulumi.Input['InstancePrivateNetworkArgs'] private_network: List of Private Networks endpoints of the Database Instance.
471
471
  :param pulumi.Input[str] project_id: `project_id`) The ID of the project the Database
472
472
  Instance is associated with.
@@ -474,8 +474,7 @@ class _InstanceState:
474
474
  :param pulumi.Input[str] region: `region`) The region
475
475
  in which the Database Instance should be created.
476
476
  :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 a new instance from. This allows restoring a database instance to the state
478
- captured in the specified snapshot. Conflicts with the `engine` attribute.
477
+ :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
478
  :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the Database Instance.
480
479
  :param pulumi.Input[str] user_name: Identifier for the first user of the Database Instance.
481
480
 
@@ -483,7 +482,7 @@ class _InstanceState:
483
482
  :param pulumi.Input[int] volume_size_in_gb: Volume size (in GB). Cannot be used when `volume_type` is set to `lssd`.
484
483
 
485
484
  > **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 (`bssd`, `lssd`, `sbs_5k` or `sbs_15k`).
485
+ :param pulumi.Input[str] volume_type: Type of volume where data are stored (`lssd`, `sbs_5k` or `sbs_15k`).
487
486
  """
488
487
  if backup_same_region is not None:
489
488
  pulumi.set(__self__, "backup_same_region", backup_same_region)
@@ -525,6 +524,8 @@ class _InstanceState:
525
524
  pulumi.set(__self__, "organization_id", organization_id)
526
525
  if password is not None:
527
526
  pulumi.set(__self__, "password", password)
527
+ if private_ips is not None:
528
+ pulumi.set(__self__, "private_ips", private_ips)
528
529
  if private_network is not None:
529
530
  pulumi.set(__self__, "private_network", private_network)
530
531
  if project_id is not None:
@@ -761,6 +762,18 @@ class _InstanceState:
761
762
  def password(self, value: Optional[pulumi.Input[str]]):
762
763
  pulumi.set(self, "password", value)
763
764
 
765
+ @property
766
+ @pulumi.getter(name="privateIps")
767
+ def private_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InstancePrivateIpArgs']]]]:
768
+ """
769
+ The private IPv4 address associated with the resource.
770
+ """
771
+ return pulumi.get(self, "private_ips")
772
+
773
+ @private_ips.setter
774
+ def private_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['InstancePrivateIpArgs']]]]):
775
+ pulumi.set(self, "private_ips", value)
776
+
764
777
  @property
765
778
  @pulumi.getter(name="privateNetwork")
766
779
  def private_network(self) -> Optional[pulumi.Input['InstancePrivateNetworkArgs']]:
@@ -827,8 +840,7 @@ class _InstanceState:
827
840
  @pulumi.getter(name="snapshotId")
828
841
  def snapshot_id(self) -> Optional[pulumi.Input[str]]:
829
842
  """
830
- ID of an existing snapshot to create a new instance from. This allows restoring a database instance to the state
831
- captured in the specified snapshot. Conflicts with the `engine` attribute.
843
+ The ID of an existing snapshot to restore or create the Database Instance from. Conflicts with the `engine` parameter and backup settings.
832
844
  """
833
845
  return pulumi.get(self, "snapshot_id")
834
846
 
@@ -880,7 +892,7 @@ class _InstanceState:
880
892
  @pulumi.getter(name="volumeType")
881
893
  def volume_type(self) -> Optional[pulumi.Input[str]]:
882
894
  """
883
- Type of volume where data are stored (`bssd`, `lssd`, `sbs_5k` or `sbs_15k`).
895
+ Type of volume where data are stored (`lssd`, `sbs_5k` or `sbs_15k`).
884
896
  """
885
897
  return pulumi.get(self, "volume_type")
886
898
 
@@ -1095,8 +1107,7 @@ class Instance(pulumi.CustomResource):
1095
1107
  :param pulumi.Input[str] region: `region`) The region
1096
1108
  in which the Database Instance should be created.
1097
1109
  :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 a new instance from. This allows restoring a database instance to the state
1099
- captured in the specified snapshot. Conflicts with the `engine` attribute.
1110
+ :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
1111
  :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the Database Instance.
1101
1112
  :param pulumi.Input[str] user_name: Identifier for the first user of the Database Instance.
1102
1113
 
@@ -1104,7 +1115,7 @@ class Instance(pulumi.CustomResource):
1104
1115
  :param pulumi.Input[int] volume_size_in_gb: Volume size (in GB). Cannot be used when `volume_type` is set to `lssd`.
1105
1116
 
1106
1117
  > **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 (`bssd`, `lssd`, `sbs_5k` or `sbs_15k`).
1118
+ :param pulumi.Input[str] volume_type: Type of volume where data are stored (`lssd`, `sbs_5k` or `sbs_15k`).
1108
1119
  """
1109
1120
  ...
1110
1121
  @overload
@@ -1334,6 +1345,7 @@ class Instance(pulumi.CustomResource):
1334
1345
  __props__.__dict__["endpoint_ip"] = None
1335
1346
  __props__.__dict__["endpoint_port"] = None
1336
1347
  __props__.__dict__["organization_id"] = None
1348
+ __props__.__dict__["private_ips"] = None
1337
1349
  __props__.__dict__["read_replicas"] = None
1338
1350
  alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="scaleway:index/databaseInstance:DatabaseInstance")])
1339
1351
  opts = pulumi.ResourceOptions.merge(opts, alias_opts)
@@ -1366,6 +1378,7 @@ class Instance(pulumi.CustomResource):
1366
1378
  node_type: Optional[pulumi.Input[str]] = None,
1367
1379
  organization_id: Optional[pulumi.Input[str]] = None,
1368
1380
  password: Optional[pulumi.Input[str]] = None,
1381
+ private_ips: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstancePrivateIpArgs', 'InstancePrivateIpArgsDict']]]]] = None,
1369
1382
  private_network: Optional[pulumi.Input[Union['InstancePrivateNetworkArgs', 'InstancePrivateNetworkArgsDict']]] = None,
1370
1383
  project_id: Optional[pulumi.Input[str]] = None,
1371
1384
  read_replicas: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceReadReplicaArgs', 'InstanceReadReplicaArgsDict']]]]] = None,
@@ -1409,6 +1422,7 @@ class Instance(pulumi.CustomResource):
1409
1422
  > **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
1423
  :param pulumi.Input[str] organization_id: The organization ID the Database Instance is associated with.
1411
1424
  :param pulumi.Input[str] password: Password for the first user of the Database Instance.
1425
+ :param pulumi.Input[Sequence[pulumi.Input[Union['InstancePrivateIpArgs', 'InstancePrivateIpArgsDict']]]] private_ips: The private IPv4 address associated with the resource.
1412
1426
  :param pulumi.Input[Union['InstancePrivateNetworkArgs', 'InstancePrivateNetworkArgsDict']] private_network: List of Private Networks endpoints of the Database Instance.
1413
1427
  :param pulumi.Input[str] project_id: `project_id`) The ID of the project the Database
1414
1428
  Instance is associated with.
@@ -1416,8 +1430,7 @@ class Instance(pulumi.CustomResource):
1416
1430
  :param pulumi.Input[str] region: `region`) The region
1417
1431
  in which the Database Instance should be created.
1418
1432
  :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 a new instance from. This allows restoring a database instance to the state
1420
- captured in the specified snapshot. Conflicts with the `engine` attribute.
1433
+ :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
1434
  :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the Database Instance.
1422
1435
  :param pulumi.Input[str] user_name: Identifier for the first user of the Database Instance.
1423
1436
 
@@ -1425,7 +1438,7 @@ class Instance(pulumi.CustomResource):
1425
1438
  :param pulumi.Input[int] volume_size_in_gb: Volume size (in GB). Cannot be used when `volume_type` is set to `lssd`.
1426
1439
 
1427
1440
  > **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 (`bssd`, `lssd`, `sbs_5k` or `sbs_15k`).
1441
+ :param pulumi.Input[str] volume_type: Type of volume where data are stored (`lssd`, `sbs_5k` or `sbs_15k`).
1429
1442
  """
1430
1443
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
1431
1444
 
@@ -1448,6 +1461,7 @@ class Instance(pulumi.CustomResource):
1448
1461
  __props__.__dict__["node_type"] = node_type
1449
1462
  __props__.__dict__["organization_id"] = organization_id
1450
1463
  __props__.__dict__["password"] = password
1464
+ __props__.__dict__["private_ips"] = private_ips
1451
1465
  __props__.__dict__["private_network"] = private_network
1452
1466
  __props__.__dict__["project_id"] = project_id
1453
1467
  __props__.__dict__["read_replicas"] = read_replicas
@@ -1607,6 +1621,14 @@ class Instance(pulumi.CustomResource):
1607
1621
  """
1608
1622
  return pulumi.get(self, "password")
1609
1623
 
1624
+ @property
1625
+ @pulumi.getter(name="privateIps")
1626
+ def private_ips(self) -> pulumi.Output[Sequence['outputs.InstancePrivateIp']]:
1627
+ """
1628
+ The private IPv4 address associated with the resource.
1629
+ """
1630
+ return pulumi.get(self, "private_ips")
1631
+
1610
1632
  @property
1611
1633
  @pulumi.getter(name="privateNetwork")
1612
1634
  def private_network(self) -> pulumi.Output[Optional['outputs.InstancePrivateNetwork']]:
@@ -1653,8 +1675,7 @@ class Instance(pulumi.CustomResource):
1653
1675
  @pulumi.getter(name="snapshotId")
1654
1676
  def snapshot_id(self) -> pulumi.Output[Optional[str]]:
1655
1677
  """
1656
- ID of an existing snapshot to create a new instance from. This allows restoring a database instance to the state
1657
- captured in the specified snapshot. Conflicts with the `engine` attribute.
1678
+ The ID of an existing snapshot to restore or create the Database Instance from. Conflicts with the `engine` parameter and backup settings.
1658
1679
  """
1659
1680
  return pulumi.get(self, "snapshot_id")
1660
1681
 
@@ -1690,7 +1711,7 @@ class Instance(pulumi.CustomResource):
1690
1711
  @pulumi.getter(name="volumeType")
1691
1712
  def volume_type(self) -> pulumi.Output[Optional[str]]:
1692
1713
  """
1693
- Type of volume where data are stored (`bssd`, `lssd`, `sbs_5k` or `sbs_15k`).
1714
+ Type of volume where data are stored (`lssd`, `sbs_5k` or `sbs_15k`).
1694
1715
  """
1695
1716
  return pulumi.get(self, "volume_type")
1696
1717