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.
Files changed (102) hide show
  1. pulumiverse_scaleway/__init__.py +16 -1
  2. pulumiverse_scaleway/_inputs.py +604 -6
  3. pulumiverse_scaleway/account/__init__.py +2 -0
  4. pulumiverse_scaleway/account/get_projects.py +235 -0
  5. pulumiverse_scaleway/account/outputs.py +95 -0
  6. pulumiverse_scaleway/baremetal_server.py +67 -258
  7. pulumiverse_scaleway/block/__init__.py +2 -0
  8. pulumiverse_scaleway/block/_inputs.py +73 -0
  9. pulumiverse_scaleway/block/get_snapshot.py +13 -1
  10. pulumiverse_scaleway/block/outputs.py +79 -0
  11. pulumiverse_scaleway/block/snapshot.py +62 -14
  12. pulumiverse_scaleway/block_snapshot.py +62 -14
  13. pulumiverse_scaleway/container.py +2 -2
  14. pulumiverse_scaleway/containers/container.py +2 -2
  15. pulumiverse_scaleway/database_instance.py +61 -21
  16. pulumiverse_scaleway/databases/_inputs.py +54 -0
  17. pulumiverse_scaleway/databases/get_instance.py +12 -1
  18. pulumiverse_scaleway/databases/instance.py +61 -21
  19. pulumiverse_scaleway/databases/outputs.py +62 -0
  20. pulumiverse_scaleway/databases/snapshot.py +2 -2
  21. pulumiverse_scaleway/domain/get_zone.py +7 -1
  22. pulumiverse_scaleway/elasticmetal/__init__.py +1 -1
  23. pulumiverse_scaleway/elasticmetal/_inputs.py +74 -0
  24. pulumiverse_scaleway/elasticmetal/get_partition_schema.py +215 -0
  25. pulumiverse_scaleway/elasticmetal/get_server.py +12 -1
  26. pulumiverse_scaleway/elasticmetal/outputs.py +87 -0
  27. pulumiverse_scaleway/elasticmetal/server.py +67 -258
  28. pulumiverse_scaleway/get_baremetal_server.py +12 -1
  29. pulumiverse_scaleway/get_block_snapshot.py +13 -1
  30. pulumiverse_scaleway/get_cockpit_plan.py +2 -38
  31. pulumiverse_scaleway/get_database_instance.py +12 -1
  32. pulumiverse_scaleway/get_domain_zone.py +7 -1
  33. pulumiverse_scaleway/get_instance_private_nic.py +13 -1
  34. pulumiverse_scaleway/get_instance_server.py +12 -1
  35. pulumiverse_scaleway/get_lb_route.py +12 -1
  36. pulumiverse_scaleway/get_loadbalancer.py +12 -1
  37. pulumiverse_scaleway/get_mongo_db_instance.py +12 -1
  38. pulumiverse_scaleway/get_redis_cluster.py +12 -1
  39. pulumiverse_scaleway/get_vpc_gateway_network.py +12 -1
  40. pulumiverse_scaleway/iam/user.py +468 -14
  41. pulumiverse_scaleway/iam_user.py +468 -14
  42. pulumiverse_scaleway/inference/__init__.py +2 -0
  43. pulumiverse_scaleway/inference/_inputs.py +128 -0
  44. pulumiverse_scaleway/inference/deployment.py +70 -55
  45. pulumiverse_scaleway/inference/get_model.py +299 -0
  46. pulumiverse_scaleway/inference/model.py +683 -0
  47. pulumiverse_scaleway/inference/outputs.py +184 -0
  48. pulumiverse_scaleway/inference_deployment.py +70 -55
  49. pulumiverse_scaleway/instance/_inputs.py +108 -0
  50. pulumiverse_scaleway/instance/get_private_nic.py +13 -1
  51. pulumiverse_scaleway/instance/get_server.py +12 -1
  52. pulumiverse_scaleway/instance/outputs.py +124 -0
  53. pulumiverse_scaleway/instance/private_nic.py +49 -0
  54. pulumiverse_scaleway/instance/server.py +47 -0
  55. pulumiverse_scaleway/instance/snapshot.py +28 -7
  56. pulumiverse_scaleway/instance/volume.py +28 -7
  57. pulumiverse_scaleway/instance_private_nic.py +49 -0
  58. pulumiverse_scaleway/instance_server.py +47 -0
  59. pulumiverse_scaleway/instance_snapshot.py +28 -7
  60. pulumiverse_scaleway/instance_volume.py +28 -7
  61. pulumiverse_scaleway/kubernetes/__init__.py +1 -0
  62. pulumiverse_scaleway/kubernetes/_inputs.py +203 -0
  63. pulumiverse_scaleway/kubernetes/acl.py +446 -0
  64. pulumiverse_scaleway/kubernetes/outputs.py +195 -1
  65. pulumiverse_scaleway/loadbalancer.py +28 -0
  66. pulumiverse_scaleway/loadbalancer_route.py +138 -14
  67. pulumiverse_scaleway/loadbalancers/_inputs.py +54 -0
  68. pulumiverse_scaleway/loadbalancers/get_load_balancer.py +12 -1
  69. pulumiverse_scaleway/loadbalancers/get_route.py +12 -1
  70. pulumiverse_scaleway/loadbalancers/load_balancer.py +28 -0
  71. pulumiverse_scaleway/loadbalancers/outputs.py +62 -0
  72. pulumiverse_scaleway/loadbalancers/route.py +138 -14
  73. pulumiverse_scaleway/mnq/sns_credentials.py +7 -7
  74. pulumiverse_scaleway/mnq/sqs_credentials.py +7 -7
  75. pulumiverse_scaleway/mnq_sns_credentials.py +7 -7
  76. pulumiverse_scaleway/mnq_sqs_credentials.py +7 -7
  77. pulumiverse_scaleway/mongo_db_instance.py +107 -7
  78. pulumiverse_scaleway/mongodb/_inputs.py +54 -0
  79. pulumiverse_scaleway/mongodb/get_instance.py +12 -1
  80. pulumiverse_scaleway/mongodb/instance.py +107 -7
  81. pulumiverse_scaleway/mongodb/outputs.py +62 -0
  82. pulumiverse_scaleway/network/_inputs.py +54 -0
  83. pulumiverse_scaleway/network/gateway_network.py +47 -0
  84. pulumiverse_scaleway/network/get_gateway_network.py +12 -1
  85. pulumiverse_scaleway/network/outputs.py +62 -0
  86. pulumiverse_scaleway/network/route.py +90 -2
  87. pulumiverse_scaleway/observability/__init__.py +0 -1
  88. pulumiverse_scaleway/observability/get_plan.py +2 -38
  89. pulumiverse_scaleway/outputs.py +718 -27
  90. pulumiverse_scaleway/pulumi-plugin.json +1 -1
  91. pulumiverse_scaleway/rdb_snapshot.py +2 -2
  92. pulumiverse_scaleway/redis/_inputs.py +60 -6
  93. pulumiverse_scaleway/redis/cluster.py +47 -0
  94. pulumiverse_scaleway/redis/get_cluster.py +12 -1
  95. pulumiverse_scaleway/redis/outputs.py +66 -4
  96. pulumiverse_scaleway/redis_cluster.py +47 -0
  97. pulumiverse_scaleway/vpc_gateway_network.py +47 -0
  98. pulumiverse_scaleway/vpc_route.py +90 -2
  99. {pulumiverse_scaleway-1.28.0a1747119212.dist-info → pulumiverse_scaleway-1.29.0.dist-info}/METADATA +1 -1
  100. {pulumiverse_scaleway-1.28.0a1747119212.dist-info → pulumiverse_scaleway-1.29.0.dist-info}/RECORD +102 -94
  101. {pulumiverse_scaleway-1.28.0a1747119212.dist-info → pulumiverse_scaleway-1.29.0.dist-info}/WHEEL +1 -1
  102. {pulumiverse_scaleway-1.28.0a1747119212.dist-info → pulumiverse_scaleway-1.29.0.dist-info}/top_level.txt +0 -0
@@ -34,6 +34,7 @@ class DatabaseInstanceArgs:
34
34
  logs_policy: Optional[pulumi.Input['DatabaseInstanceLogsPolicyArgs']] = 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['DatabaseInstancePrivateIpArgs']]]] = None,
37
38
  private_network: Optional[pulumi.Input['DatabaseInstancePrivateNetworkArgs']] = None,
38
39
  project_id: Optional[pulumi.Input[str]] = None,
39
40
  region: Optional[pulumi.Input[str]] = None,
@@ -67,14 +68,14 @@ class DatabaseInstanceArgs:
67
68
  :param pulumi.Input['DatabaseInstanceLogsPolicyArgs'] 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['DatabaseInstancePrivateIpArgs']]] private_ips: The private IPv4 address associated with the resource.
70
72
  :param pulumi.Input['DatabaseInstancePrivateNetworkArgs'] 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 a new instance from. This allows restoring a database instance to the state
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 DatabaseInstanceArgs:
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 (`bssd`, `lssd`, `sbs_5k` or `sbs_15k`).
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 DatabaseInstanceArgs:
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 DatabaseInstanceArgs:
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['DatabaseInstancePrivateIpArgs']]]]:
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['DatabaseInstancePrivateIpArgs']]]]):
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['DatabaseInstancePrivateNetworkArgs']]:
@@ -347,8 +362,7 @@ class DatabaseInstanceArgs:
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 a new instance from. This allows restoring a database instance to the state
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 DatabaseInstanceArgs:
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 (`bssd`, `lssd`, `sbs_5k` or `sbs_15k`).
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 _DatabaseInstanceState:
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['DatabaseInstancePrivateIpArgs']]]] = None,
432
447
  private_network: Optional[pulumi.Input['DatabaseInstancePrivateNetworkArgs']] = None,
433
448
  project_id: Optional[pulumi.Input[str]] = None,
434
449
  read_replicas: Optional[pulumi.Input[Sequence[pulumi.Input['DatabaseInstanceReadReplicaArgs']]]] = None,
@@ -467,6 +482,7 @@ class _DatabaseInstanceState:
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['DatabaseInstancePrivateIpArgs']]] private_ips: The private IPv4 address associated with the resource.
470
486
  :param pulumi.Input['DatabaseInstancePrivateNetworkArgs'] 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 _DatabaseInstanceState:
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 a new instance from. This allows restoring a database instance to the state
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 _DatabaseInstanceState:
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 (`bssd`, `lssd`, `sbs_5k` or `sbs_15k`).
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 _DatabaseInstanceState:
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 _DatabaseInstanceState:
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['DatabaseInstancePrivateIpArgs']]]]:
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['DatabaseInstancePrivateIpArgs']]]]):
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['DatabaseInstancePrivateNetworkArgs']]:
@@ -827,8 +856,7 @@ class _DatabaseInstanceState:
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 a new instance from. This allows restoring a database instance to the state
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 _DatabaseInstanceState:
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 (`bssd`, `lssd`, `sbs_5k` or `sbs_15k`).
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
 
@@ -912,6 +940,7 @@ class DatabaseInstance(pulumi.CustomResource):
912
940
  name: Optional[pulumi.Input[str]] = None,
913
941
  node_type: Optional[pulumi.Input[str]] = None,
914
942
  password: Optional[pulumi.Input[str]] = None,
943
+ private_ips: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DatabaseInstancePrivateIpArgs', 'DatabaseInstancePrivateIpArgsDict']]]]] = None,
915
944
  private_network: Optional[pulumi.Input[Union['DatabaseInstancePrivateNetworkArgs', 'DatabaseInstancePrivateNetworkArgsDict']]] = None,
916
945
  project_id: Optional[pulumi.Input[str]] = None,
917
946
  region: Optional[pulumi.Input[str]] = None,
@@ -1094,14 +1123,14 @@ class DatabaseInstance(pulumi.CustomResource):
1094
1123
 
1095
1124
  > **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.
1096
1125
  :param pulumi.Input[str] password: Password for the first user of the Database Instance.
1126
+ :param pulumi.Input[Sequence[pulumi.Input[Union['DatabaseInstancePrivateIpArgs', 'DatabaseInstancePrivateIpArgsDict']]]] private_ips: The private IPv4 address associated with the resource.
1097
1127
  :param pulumi.Input[Union['DatabaseInstancePrivateNetworkArgs', 'DatabaseInstancePrivateNetworkArgsDict']] private_network: List of Private Networks endpoints of the Database Instance.
1098
1128
  :param pulumi.Input[str] project_id: `project_id`) The ID of the project the Database
1099
1129
  Instance is associated with.
1100
1130
  :param pulumi.Input[str] region: `region`) The region
1101
1131
  in which the Database Instance should be created.
1102
1132
  :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.
1133
+ :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
1134
  :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the Database Instance.
1106
1135
  :param pulumi.Input[str] user_name: Identifier for the first user of the Database Instance.
1107
1136
 
@@ -1109,7 +1138,7 @@ class DatabaseInstance(pulumi.CustomResource):
1109
1138
  :param pulumi.Input[int] volume_size_in_gb: Volume size (in GB). Cannot be used when `volume_type` is set to `lssd`.
1110
1139
 
1111
1140
  > **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`).
1141
+ :param pulumi.Input[str] volume_type: Type of volume where data are stored (`lssd`, `sbs_5k` or `sbs_15k`).
1113
1142
  """
1114
1143
  ...
1115
1144
  @overload
@@ -1293,6 +1322,7 @@ class DatabaseInstance(pulumi.CustomResource):
1293
1322
  name: Optional[pulumi.Input[str]] = None,
1294
1323
  node_type: Optional[pulumi.Input[str]] = None,
1295
1324
  password: Optional[pulumi.Input[str]] = None,
1325
+ private_ips: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DatabaseInstancePrivateIpArgs', 'DatabaseInstancePrivateIpArgsDict']]]]] = None,
1296
1326
  private_network: Optional[pulumi.Input[Union['DatabaseInstancePrivateNetworkArgs', 'DatabaseInstancePrivateNetworkArgsDict']]] = None,
1297
1327
  project_id: Optional[pulumi.Input[str]] = None,
1298
1328
  region: Optional[pulumi.Input[str]] = None,
@@ -1327,6 +1357,7 @@ class DatabaseInstance(pulumi.CustomResource):
1327
1357
  raise TypeError("Missing required property 'node_type'")
1328
1358
  __props__.__dict__["node_type"] = node_type
1329
1359
  __props__.__dict__["password"] = None if password is None else pulumi.Output.secret(password)
1360
+ __props__.__dict__["private_ips"] = private_ips
1330
1361
  __props__.__dict__["private_network"] = private_network
1331
1362
  __props__.__dict__["project_id"] = project_id
1332
1363
  __props__.__dict__["region"] = region
@@ -1370,6 +1401,7 @@ class DatabaseInstance(pulumi.CustomResource):
1370
1401
  node_type: Optional[pulumi.Input[str]] = None,
1371
1402
  organization_id: Optional[pulumi.Input[str]] = None,
1372
1403
  password: Optional[pulumi.Input[str]] = None,
1404
+ private_ips: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DatabaseInstancePrivateIpArgs', 'DatabaseInstancePrivateIpArgsDict']]]]] = None,
1373
1405
  private_network: Optional[pulumi.Input[Union['DatabaseInstancePrivateNetworkArgs', 'DatabaseInstancePrivateNetworkArgsDict']]] = None,
1374
1406
  project_id: Optional[pulumi.Input[str]] = None,
1375
1407
  read_replicas: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DatabaseInstanceReadReplicaArgs', 'DatabaseInstanceReadReplicaArgsDict']]]]] = None,
@@ -1413,6 +1445,7 @@ class DatabaseInstance(pulumi.CustomResource):
1413
1445
  > **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
1446
  :param pulumi.Input[str] organization_id: The organization ID the Database Instance is associated with.
1415
1447
  :param pulumi.Input[str] password: Password for the first user of the Database Instance.
1448
+ :param pulumi.Input[Sequence[pulumi.Input[Union['DatabaseInstancePrivateIpArgs', 'DatabaseInstancePrivateIpArgsDict']]]] private_ips: The private IPv4 address associated with the resource.
1416
1449
  :param pulumi.Input[Union['DatabaseInstancePrivateNetworkArgs', 'DatabaseInstancePrivateNetworkArgsDict']] private_network: List of Private Networks endpoints of the Database Instance.
1417
1450
  :param pulumi.Input[str] project_id: `project_id`) The ID of the project the Database
1418
1451
  Instance is associated with.
@@ -1420,8 +1453,7 @@ class DatabaseInstance(pulumi.CustomResource):
1420
1453
  :param pulumi.Input[str] region: `region`) The region
1421
1454
  in which the Database Instance should be created.
1422
1455
  :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.
1456
+ :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
1457
  :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the Database Instance.
1426
1458
  :param pulumi.Input[str] user_name: Identifier for the first user of the Database Instance.
1427
1459
 
@@ -1429,7 +1461,7 @@ class DatabaseInstance(pulumi.CustomResource):
1429
1461
  :param pulumi.Input[int] volume_size_in_gb: Volume size (in GB). Cannot be used when `volume_type` is set to `lssd`.
1430
1462
 
1431
1463
  > **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`).
1464
+ :param pulumi.Input[str] volume_type: Type of volume where data are stored (`lssd`, `sbs_5k` or `sbs_15k`).
1433
1465
  """
1434
1466
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
1435
1467
 
@@ -1452,6 +1484,7 @@ class DatabaseInstance(pulumi.CustomResource):
1452
1484
  __props__.__dict__["node_type"] = node_type
1453
1485
  __props__.__dict__["organization_id"] = organization_id
1454
1486
  __props__.__dict__["password"] = password
1487
+ __props__.__dict__["private_ips"] = private_ips
1455
1488
  __props__.__dict__["private_network"] = private_network
1456
1489
  __props__.__dict__["project_id"] = project_id
1457
1490
  __props__.__dict__["read_replicas"] = read_replicas
@@ -1611,6 +1644,14 @@ class DatabaseInstance(pulumi.CustomResource):
1611
1644
  """
1612
1645
  return pulumi.get(self, "password")
1613
1646
 
1647
+ @property
1648
+ @pulumi.getter(name="privateIps")
1649
+ def private_ips(self) -> pulumi.Output[Sequence['outputs.DatabaseInstancePrivateIp']]:
1650
+ """
1651
+ The private IPv4 address associated with the resource.
1652
+ """
1653
+ return pulumi.get(self, "private_ips")
1654
+
1614
1655
  @property
1615
1656
  @pulumi.getter(name="privateNetwork")
1616
1657
  def private_network(self) -> pulumi.Output[Optional['outputs.DatabaseInstancePrivateNetwork']]:
@@ -1657,8 +1698,7 @@ class DatabaseInstance(pulumi.CustomResource):
1657
1698
  @pulumi.getter(name="snapshotId")
1658
1699
  def snapshot_id(self) -> pulumi.Output[Optional[str]]:
1659
1700
  """
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.
1701
+ The ID of an existing snapshot to restore or create the Database Instance from. Conflicts with the `engine` parameter and backup settings.
1662
1702
  """
1663
1703
  return pulumi.get(self, "snapshot_id")
1664
1704
 
@@ -1694,7 +1734,7 @@ class DatabaseInstance(pulumi.CustomResource):
1694
1734
  @pulumi.getter(name="volumeType")
1695
1735
  def volume_type(self) -> pulumi.Output[Optional[str]]:
1696
1736
  """
1697
- Type of volume where data are stored (`bssd`, `lssd`, `sbs_5k` or `sbs_15k`).
1737
+ Type of volume where data are stored (`lssd`, `sbs_5k` or `sbs_15k`).
1698
1738
  """
1699
1739
  return pulumi.get(self, "volume_type")
1700
1740
 
@@ -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'),