pulumi-linode 5.3.0a1757052548__py3-none-any.whl → 5.4.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of pulumi-linode might be problematic. Click here for more details.

@@ -57,6 +57,7 @@ class DatabaseMysqlV2Args:
57
57
  engine_config_mysql_wait_timeout: Optional[pulumi.Input[_builtins.int]] = None,
58
58
  fork_restore_time: Optional[pulumi.Input[_builtins.str]] = None,
59
59
  fork_source: Optional[pulumi.Input[_builtins.int]] = None,
60
+ private_network: Optional[pulumi.Input['DatabaseMysqlV2PrivateNetworkArgs']] = None,
60
61
  suspended: Optional[pulumi.Input[_builtins.bool]] = None,
61
62
  timeouts: Optional[pulumi.Input['DatabaseMysqlV2TimeoutsArgs']] = None,
62
63
  updates: Optional[pulumi.Input['DatabaseMysqlV2UpdatesArgs']] = None):
@@ -101,7 +102,10 @@ class DatabaseMysqlV2Args:
101
102
  :param pulumi.Input[_builtins.str] fork_restore_time: The database timestamp from which it was restored.
102
103
  :param pulumi.Input[_builtins.int] fork_source: The ID of the database that was forked from.
103
104
 
105
+ * `private_network` - (Optional) Restricts access to this database using a virtual private cloud (VPC) that you've configured in the region where the database will live.
106
+
104
107
  * `updates` - (Optional) Configuration settings for automated patch update maintenance for the Managed Database.
108
+ :param pulumi.Input['DatabaseMysqlV2PrivateNetworkArgs'] private_network: Restricts access to this database using a virtual private cloud (VPC) that you've configured in the region where the database will live.
105
109
  :param pulumi.Input[_builtins.bool] suspended: Whether this Managed Database should be suspended.
106
110
  :param pulumi.Input['DatabaseMysqlV2UpdatesArgs'] updates: Configuration settings for automated patch update maintenance for the Managed Database.
107
111
  """
@@ -173,6 +177,8 @@ class DatabaseMysqlV2Args:
173
177
  pulumi.set(__self__, "fork_restore_time", fork_restore_time)
174
178
  if fork_source is not None:
175
179
  pulumi.set(__self__, "fork_source", fork_source)
180
+ if private_network is not None:
181
+ pulumi.set(__self__, "private_network", private_network)
176
182
  if suspended is not None:
177
183
  pulumi.set(__self__, "suspended", suspended)
178
184
  if timeouts is not None:
@@ -608,6 +614,8 @@ class DatabaseMysqlV2Args:
608
614
  """
609
615
  The ID of the database that was forked from.
610
616
 
617
+ * `private_network` - (Optional) Restricts access to this database using a virtual private cloud (VPC) that you've configured in the region where the database will live.
618
+
611
619
  * `updates` - (Optional) Configuration settings for automated patch update maintenance for the Managed Database.
612
620
  """
613
621
  return pulumi.get(self, "fork_source")
@@ -616,6 +624,18 @@ class DatabaseMysqlV2Args:
616
624
  def fork_source(self, value: Optional[pulumi.Input[_builtins.int]]):
617
625
  pulumi.set(self, "fork_source", value)
618
626
 
627
+ @_builtins.property
628
+ @pulumi.getter(name="privateNetwork")
629
+ def private_network(self) -> Optional[pulumi.Input['DatabaseMysqlV2PrivateNetworkArgs']]:
630
+ """
631
+ Restricts access to this database using a virtual private cloud (VPC) that you've configured in the region where the database will live.
632
+ """
633
+ return pulumi.get(self, "private_network")
634
+
635
+ @private_network.setter
636
+ def private_network(self, value: Optional[pulumi.Input['DatabaseMysqlV2PrivateNetworkArgs']]):
637
+ pulumi.set(self, "private_network", value)
638
+
619
639
  @_builtins.property
620
640
  @pulumi.getter
621
641
  def suspended(self) -> Optional[pulumi.Input[_builtins.bool]]:
@@ -698,6 +718,7 @@ class _DatabaseMysqlV2State:
698
718
  pending_updates: Optional[pulumi.Input[Sequence[pulumi.Input['DatabaseMysqlV2PendingUpdateArgs']]]] = None,
699
719
  platform: Optional[pulumi.Input[_builtins.str]] = None,
700
720
  port: Optional[pulumi.Input[_builtins.int]] = None,
721
+ private_network: Optional[pulumi.Input['DatabaseMysqlV2PrivateNetworkArgs']] = None,
701
722
  region: Optional[pulumi.Input[_builtins.str]] = None,
702
723
  root_password: Optional[pulumi.Input[_builtins.str]] = None,
703
724
  root_username: Optional[pulumi.Input[_builtins.str]] = None,
@@ -749,6 +770,8 @@ class _DatabaseMysqlV2State:
749
770
  :param pulumi.Input[_builtins.str] fork_restore_time: The database timestamp from which it was restored.
750
771
  :param pulumi.Input[_builtins.int] fork_source: The ID of the database that was forked from.
751
772
 
773
+ * `private_network` - (Optional) Restricts access to this database using a virtual private cloud (VPC) that you've configured in the region where the database will live.
774
+
752
775
  * `updates` - (Optional) Configuration settings for automated patch update maintenance for the Managed Database.
753
776
  :param pulumi.Input[_builtins.str] host_primary: The primary host for the Managed Database.
754
777
  :param pulumi.Input[_builtins.str] host_secondary: The secondary/private host for the managed database.
@@ -758,6 +781,7 @@ class _DatabaseMysqlV2State:
758
781
  :param pulumi.Input[Sequence[pulumi.Input['DatabaseMysqlV2PendingUpdateArgs']]] pending_updates: A set of pending updates.
759
782
  :param pulumi.Input[_builtins.str] platform: The back-end platform for relational databases used by the service.
760
783
  :param pulumi.Input[_builtins.int] port: The access port for this Managed Database.
784
+ :param pulumi.Input['DatabaseMysqlV2PrivateNetworkArgs'] private_network: Restricts access to this database using a virtual private cloud (VPC) that you've configured in the region where the database will live.
761
785
  :param pulumi.Input[_builtins.str] region: The region to use for the Managed Database.
762
786
  :param pulumi.Input[_builtins.str] root_password: The randomly-generated root password for the Managed Database instance.
763
787
  :param pulumi.Input[_builtins.str] root_username: The root username for the Managed Database instance.
@@ -861,6 +885,8 @@ class _DatabaseMysqlV2State:
861
885
  pulumi.set(__self__, "platform", platform)
862
886
  if port is not None:
863
887
  pulumi.set(__self__, "port", port)
888
+ if private_network is not None:
889
+ pulumi.set(__self__, "private_network", private_network)
864
890
  if region is not None:
865
891
  pulumi.set(__self__, "region", region)
866
892
  if root_password is not None:
@@ -1322,6 +1348,8 @@ class _DatabaseMysqlV2State:
1322
1348
  """
1323
1349
  The ID of the database that was forked from.
1324
1350
 
1351
+ * `private_network` - (Optional) Restricts access to this database using a virtual private cloud (VPC) that you've configured in the region where the database will live.
1352
+
1325
1353
  * `updates` - (Optional) Configuration settings for automated patch update maintenance for the Managed Database.
1326
1354
  """
1327
1355
  return pulumi.get(self, "fork_source")
@@ -1426,6 +1454,18 @@ class _DatabaseMysqlV2State:
1426
1454
  def port(self, value: Optional[pulumi.Input[_builtins.int]]):
1427
1455
  pulumi.set(self, "port", value)
1428
1456
 
1457
+ @_builtins.property
1458
+ @pulumi.getter(name="privateNetwork")
1459
+ def private_network(self) -> Optional[pulumi.Input['DatabaseMysqlV2PrivateNetworkArgs']]:
1460
+ """
1461
+ Restricts access to this database using a virtual private cloud (VPC) that you've configured in the region where the database will live.
1462
+ """
1463
+ return pulumi.get(self, "private_network")
1464
+
1465
+ @private_network.setter
1466
+ def private_network(self, value: Optional[pulumi.Input['DatabaseMysqlV2PrivateNetworkArgs']]):
1467
+ pulumi.set(self, "private_network", value)
1468
+
1429
1469
  @_builtins.property
1430
1470
  @pulumi.getter
1431
1471
  def region(self) -> Optional[pulumi.Input[_builtins.str]]:
@@ -1598,6 +1638,7 @@ class DatabaseMysqlV2(pulumi.CustomResource):
1598
1638
  fork_restore_time: Optional[pulumi.Input[_builtins.str]] = None,
1599
1639
  fork_source: Optional[pulumi.Input[_builtins.int]] = None,
1600
1640
  label: Optional[pulumi.Input[_builtins.str]] = None,
1641
+ private_network: Optional[pulumi.Input[Union['DatabaseMysqlV2PrivateNetworkArgs', 'DatabaseMysqlV2PrivateNetworkArgsDict']]] = None,
1601
1642
  region: Optional[pulumi.Input[_builtins.str]] = None,
1602
1643
  suspended: Optional[pulumi.Input[_builtins.bool]] = None,
1603
1644
  timeouts: Optional[pulumi.Input[Union['DatabaseMysqlV2TimeoutsArgs', 'DatabaseMysqlV2TimeoutsArgsDict']]] = None,
@@ -1685,8 +1726,11 @@ class DatabaseMysqlV2(pulumi.CustomResource):
1685
1726
  :param pulumi.Input[_builtins.str] fork_restore_time: The database timestamp from which it was restored.
1686
1727
  :param pulumi.Input[_builtins.int] fork_source: The ID of the database that was forked from.
1687
1728
 
1729
+ * `private_network` - (Optional) Restricts access to this database using a virtual private cloud (VPC) that you've configured in the region where the database will live.
1730
+
1688
1731
  * `updates` - (Optional) Configuration settings for automated patch update maintenance for the Managed Database.
1689
1732
  :param pulumi.Input[_builtins.str] label: A unique, user-defined string referring to the Managed Database.
1733
+ :param pulumi.Input[Union['DatabaseMysqlV2PrivateNetworkArgs', 'DatabaseMysqlV2PrivateNetworkArgsDict']] private_network: Restricts access to this database using a virtual private cloud (VPC) that you've configured in the region where the database will live.
1690
1734
  :param pulumi.Input[_builtins.str] region: The region to use for the Managed Database.
1691
1735
  :param pulumi.Input[_builtins.bool] suspended: Whether this Managed Database should be suspended.
1692
1736
  :param pulumi.Input[_builtins.str] type: The Linode Instance type used for the nodes of the Managed Database.
@@ -1794,6 +1838,7 @@ class DatabaseMysqlV2(pulumi.CustomResource):
1794
1838
  fork_restore_time: Optional[pulumi.Input[_builtins.str]] = None,
1795
1839
  fork_source: Optional[pulumi.Input[_builtins.int]] = None,
1796
1840
  label: Optional[pulumi.Input[_builtins.str]] = None,
1841
+ private_network: Optional[pulumi.Input[Union['DatabaseMysqlV2PrivateNetworkArgs', 'DatabaseMysqlV2PrivateNetworkArgsDict']]] = None,
1797
1842
  region: Optional[pulumi.Input[_builtins.str]] = None,
1798
1843
  suspended: Optional[pulumi.Input[_builtins.bool]] = None,
1799
1844
  timeouts: Optional[pulumi.Input[Union['DatabaseMysqlV2TimeoutsArgs', 'DatabaseMysqlV2TimeoutsArgsDict']]] = None,
@@ -1846,6 +1891,7 @@ class DatabaseMysqlV2(pulumi.CustomResource):
1846
1891
  if label is None and not opts.urn:
1847
1892
  raise TypeError("Missing required property 'label'")
1848
1893
  __props__.__dict__["label"] = label
1894
+ __props__.__dict__["private_network"] = private_network
1849
1895
  if region is None and not opts.urn:
1850
1896
  raise TypeError("Missing required property 'region'")
1851
1897
  __props__.__dict__["region"] = region
@@ -1929,6 +1975,7 @@ class DatabaseMysqlV2(pulumi.CustomResource):
1929
1975
  pending_updates: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DatabaseMysqlV2PendingUpdateArgs', 'DatabaseMysqlV2PendingUpdateArgsDict']]]]] = None,
1930
1976
  platform: Optional[pulumi.Input[_builtins.str]] = None,
1931
1977
  port: Optional[pulumi.Input[_builtins.int]] = None,
1978
+ private_network: Optional[pulumi.Input[Union['DatabaseMysqlV2PrivateNetworkArgs', 'DatabaseMysqlV2PrivateNetworkArgsDict']]] = None,
1932
1979
  region: Optional[pulumi.Input[_builtins.str]] = None,
1933
1980
  root_password: Optional[pulumi.Input[_builtins.str]] = None,
1934
1981
  root_username: Optional[pulumi.Input[_builtins.str]] = None,
@@ -1985,6 +2032,8 @@ class DatabaseMysqlV2(pulumi.CustomResource):
1985
2032
  :param pulumi.Input[_builtins.str] fork_restore_time: The database timestamp from which it was restored.
1986
2033
  :param pulumi.Input[_builtins.int] fork_source: The ID of the database that was forked from.
1987
2034
 
2035
+ * `private_network` - (Optional) Restricts access to this database using a virtual private cloud (VPC) that you've configured in the region where the database will live.
2036
+
1988
2037
  * `updates` - (Optional) Configuration settings for automated patch update maintenance for the Managed Database.
1989
2038
  :param pulumi.Input[_builtins.str] host_primary: The primary host for the Managed Database.
1990
2039
  :param pulumi.Input[_builtins.str] host_secondary: The secondary/private host for the managed database.
@@ -1994,6 +2043,7 @@ class DatabaseMysqlV2(pulumi.CustomResource):
1994
2043
  :param pulumi.Input[Sequence[pulumi.Input[Union['DatabaseMysqlV2PendingUpdateArgs', 'DatabaseMysqlV2PendingUpdateArgsDict']]]] pending_updates: A set of pending updates.
1995
2044
  :param pulumi.Input[_builtins.str] platform: The back-end platform for relational databases used by the service.
1996
2045
  :param pulumi.Input[_builtins.int] port: The access port for this Managed Database.
2046
+ :param pulumi.Input[Union['DatabaseMysqlV2PrivateNetworkArgs', 'DatabaseMysqlV2PrivateNetworkArgsDict']] private_network: Restricts access to this database using a virtual private cloud (VPC) that you've configured in the region where the database will live.
1997
2047
  :param pulumi.Input[_builtins.str] region: The region to use for the Managed Database.
1998
2048
  :param pulumi.Input[_builtins.str] root_password: The randomly-generated root password for the Managed Database instance.
1999
2049
  :param pulumi.Input[_builtins.str] root_username: The root username for the Managed Database instance.
@@ -2056,6 +2106,7 @@ class DatabaseMysqlV2(pulumi.CustomResource):
2056
2106
  __props__.__dict__["pending_updates"] = pending_updates
2057
2107
  __props__.__dict__["platform"] = platform
2058
2108
  __props__.__dict__["port"] = port
2109
+ __props__.__dict__["private_network"] = private_network
2059
2110
  __props__.__dict__["region"] = region
2060
2111
  __props__.__dict__["root_password"] = root_password
2061
2112
  __props__.__dict__["root_username"] = root_username
@@ -2363,6 +2414,8 @@ class DatabaseMysqlV2(pulumi.CustomResource):
2363
2414
  """
2364
2415
  The ID of the database that was forked from.
2365
2416
 
2417
+ * `private_network` - (Optional) Restricts access to this database using a virtual private cloud (VPC) that you've configured in the region where the database will live.
2418
+
2366
2419
  * `updates` - (Optional) Configuration settings for automated patch update maintenance for the Managed Database.
2367
2420
  """
2368
2421
  return pulumi.get(self, "fork_source")
@@ -2431,6 +2484,14 @@ class DatabaseMysqlV2(pulumi.CustomResource):
2431
2484
  """
2432
2485
  return pulumi.get(self, "port")
2433
2486
 
2487
+ @_builtins.property
2488
+ @pulumi.getter(name="privateNetwork")
2489
+ def private_network(self) -> pulumi.Output[Optional['outputs.DatabaseMysqlV2PrivateNetwork']]:
2490
+ """
2491
+ Restricts access to this database using a virtual private cloud (VPC) that you've configured in the region where the database will live.
2492
+ """
2493
+ return pulumi.get(self, "private_network")
2494
+
2434
2495
  @_builtins.property
2435
2496
  @pulumi.getter
2436
2497
  def region(self) -> pulumi.Output[_builtins.str]:
@@ -76,6 +76,7 @@ class DatabasePostgresqlV2Args:
76
76
  engine_config_work_mem: Optional[pulumi.Input[_builtins.int]] = None,
77
77
  fork_restore_time: Optional[pulumi.Input[_builtins.str]] = None,
78
78
  fork_source: Optional[pulumi.Input[_builtins.int]] = None,
79
+ private_network: Optional[pulumi.Input['DatabasePostgresqlV2PrivateNetworkArgs']] = None,
79
80
  suspended: Optional[pulumi.Input[_builtins.bool]] = None,
80
81
  timeouts: Optional[pulumi.Input['DatabasePostgresqlV2TimeoutsArgs']] = None,
81
82
  updates: Optional[pulumi.Input['DatabasePostgresqlV2UpdatesArgs']] = None):
@@ -139,7 +140,10 @@ class DatabasePostgresqlV2Args:
139
140
  :param pulumi.Input[_builtins.str] fork_restore_time: The database timestamp from which it was restored.
140
141
  :param pulumi.Input[_builtins.int] fork_source: The ID of the database that was forked from.
141
142
 
143
+ * `private_network` - (Optional) Restricts access to this database using a virtual private cloud (VPC) that you've configured in the region where the database will live.
144
+
142
145
  * `updates` - (Optional) Configuration settings for automated patch update maintenance for the Managed Database.
146
+ :param pulumi.Input['DatabasePostgresqlV2PrivateNetworkArgs'] private_network: Restricts access to this database using a virtual private cloud (VPC) that you've configured in the region where the database will live.
143
147
  :param pulumi.Input[_builtins.bool] suspended: Whether this Managed Database should be suspended.
144
148
  :param pulumi.Input['DatabasePostgresqlV2UpdatesArgs'] updates: Configuration settings for automated patch update maintenance for the Managed Database.
145
149
  """
@@ -249,6 +253,8 @@ class DatabasePostgresqlV2Args:
249
253
  pulumi.set(__self__, "fork_restore_time", fork_restore_time)
250
254
  if fork_source is not None:
251
255
  pulumi.set(__self__, "fork_source", fork_source)
256
+ if private_network is not None:
257
+ pulumi.set(__self__, "private_network", private_network)
252
258
  if suspended is not None:
253
259
  pulumi.set(__self__, "suspended", suspended)
254
260
  if timeouts is not None:
@@ -912,6 +918,8 @@ class DatabasePostgresqlV2Args:
912
918
  """
913
919
  The ID of the database that was forked from.
914
920
 
921
+ * `private_network` - (Optional) Restricts access to this database using a virtual private cloud (VPC) that you've configured in the region where the database will live.
922
+
915
923
  * `updates` - (Optional) Configuration settings for automated patch update maintenance for the Managed Database.
916
924
  """
917
925
  return pulumi.get(self, "fork_source")
@@ -920,6 +928,18 @@ class DatabasePostgresqlV2Args:
920
928
  def fork_source(self, value: Optional[pulumi.Input[_builtins.int]]):
921
929
  pulumi.set(self, "fork_source", value)
922
930
 
931
+ @_builtins.property
932
+ @pulumi.getter(name="privateNetwork")
933
+ def private_network(self) -> Optional[pulumi.Input['DatabasePostgresqlV2PrivateNetworkArgs']]:
934
+ """
935
+ Restricts access to this database using a virtual private cloud (VPC) that you've configured in the region where the database will live.
936
+ """
937
+ return pulumi.get(self, "private_network")
938
+
939
+ @private_network.setter
940
+ def private_network(self, value: Optional[pulumi.Input['DatabasePostgresqlV2PrivateNetworkArgs']]):
941
+ pulumi.set(self, "private_network", value)
942
+
923
943
  @_builtins.property
924
944
  @pulumi.getter
925
945
  def suspended(self) -> Optional[pulumi.Input[_builtins.bool]]:
@@ -1021,6 +1041,7 @@ class _DatabasePostgresqlV2State:
1021
1041
  pending_updates: Optional[pulumi.Input[Sequence[pulumi.Input['DatabasePostgresqlV2PendingUpdateArgs']]]] = None,
1022
1042
  platform: Optional[pulumi.Input[_builtins.str]] = None,
1023
1043
  port: Optional[pulumi.Input[_builtins.int]] = None,
1044
+ private_network: Optional[pulumi.Input['DatabasePostgresqlV2PrivateNetworkArgs']] = None,
1024
1045
  region: Optional[pulumi.Input[_builtins.str]] = None,
1025
1046
  root_password: Optional[pulumi.Input[_builtins.str]] = None,
1026
1047
  root_username: Optional[pulumi.Input[_builtins.str]] = None,
@@ -1091,6 +1112,8 @@ class _DatabasePostgresqlV2State:
1091
1112
  :param pulumi.Input[_builtins.str] fork_restore_time: The database timestamp from which it was restored.
1092
1113
  :param pulumi.Input[_builtins.int] fork_source: The ID of the database that was forked from.
1093
1114
 
1115
+ * `private_network` - (Optional) Restricts access to this database using a virtual private cloud (VPC) that you've configured in the region where the database will live.
1116
+
1094
1117
  * `updates` - (Optional) Configuration settings for automated patch update maintenance for the Managed Database.
1095
1118
  :param pulumi.Input[_builtins.str] host_primary: The primary host for the Managed Database.
1096
1119
  :param pulumi.Input[_builtins.str] host_secondary: The secondary/private host for the managed database.
@@ -1100,6 +1123,7 @@ class _DatabasePostgresqlV2State:
1100
1123
  :param pulumi.Input[Sequence[pulumi.Input['DatabasePostgresqlV2PendingUpdateArgs']]] pending_updates: A set of pending updates.
1101
1124
  :param pulumi.Input[_builtins.str] platform: The back-end platform for relational databases used by the service.
1102
1125
  :param pulumi.Input[_builtins.int] port: The access port for this Managed Database.
1126
+ :param pulumi.Input['DatabasePostgresqlV2PrivateNetworkArgs'] private_network: Restricts access to this database using a virtual private cloud (VPC) that you've configured in the region where the database will live.
1103
1127
  :param pulumi.Input[_builtins.str] region: The region to use for the Managed Database.
1104
1128
  :param pulumi.Input[_builtins.str] root_password: The randomly-generated root password for the Managed Database instance.
1105
1129
  :param pulumi.Input[_builtins.str] root_username: The root username for the Managed Database instance.
@@ -1241,6 +1265,8 @@ class _DatabasePostgresqlV2State:
1241
1265
  pulumi.set(__self__, "platform", platform)
1242
1266
  if port is not None:
1243
1267
  pulumi.set(__self__, "port", port)
1268
+ if private_network is not None:
1269
+ pulumi.set(__self__, "private_network", private_network)
1244
1270
  if region is not None:
1245
1271
  pulumi.set(__self__, "region", region)
1246
1272
  if root_password is not None:
@@ -1930,6 +1956,8 @@ class _DatabasePostgresqlV2State:
1930
1956
  """
1931
1957
  The ID of the database that was forked from.
1932
1958
 
1959
+ * `private_network` - (Optional) Restricts access to this database using a virtual private cloud (VPC) that you've configured in the region where the database will live.
1960
+
1933
1961
  * `updates` - (Optional) Configuration settings for automated patch update maintenance for the Managed Database.
1934
1962
  """
1935
1963
  return pulumi.get(self, "fork_source")
@@ -2034,6 +2062,18 @@ class _DatabasePostgresqlV2State:
2034
2062
  def port(self, value: Optional[pulumi.Input[_builtins.int]]):
2035
2063
  pulumi.set(self, "port", value)
2036
2064
 
2065
+ @_builtins.property
2066
+ @pulumi.getter(name="privateNetwork")
2067
+ def private_network(self) -> Optional[pulumi.Input['DatabasePostgresqlV2PrivateNetworkArgs']]:
2068
+ """
2069
+ Restricts access to this database using a virtual private cloud (VPC) that you've configured in the region where the database will live.
2070
+ """
2071
+ return pulumi.get(self, "private_network")
2072
+
2073
+ @private_network.setter
2074
+ def private_network(self, value: Optional[pulumi.Input['DatabasePostgresqlV2PrivateNetworkArgs']]):
2075
+ pulumi.set(self, "private_network", value)
2076
+
2037
2077
  @_builtins.property
2038
2078
  @pulumi.getter
2039
2079
  def region(self) -> Optional[pulumi.Input[_builtins.str]]:
@@ -2225,6 +2265,7 @@ class DatabasePostgresqlV2(pulumi.CustomResource):
2225
2265
  fork_restore_time: Optional[pulumi.Input[_builtins.str]] = None,
2226
2266
  fork_source: Optional[pulumi.Input[_builtins.int]] = None,
2227
2267
  label: Optional[pulumi.Input[_builtins.str]] = None,
2268
+ private_network: Optional[pulumi.Input[Union['DatabasePostgresqlV2PrivateNetworkArgs', 'DatabasePostgresqlV2PrivateNetworkArgsDict']]] = None,
2228
2269
  region: Optional[pulumi.Input[_builtins.str]] = None,
2229
2270
  suspended: Optional[pulumi.Input[_builtins.bool]] = None,
2230
2271
  timeouts: Optional[pulumi.Input[Union['DatabasePostgresqlV2TimeoutsArgs', 'DatabasePostgresqlV2TimeoutsArgsDict']]] = None,
@@ -2331,8 +2372,11 @@ class DatabasePostgresqlV2(pulumi.CustomResource):
2331
2372
  :param pulumi.Input[_builtins.str] fork_restore_time: The database timestamp from which it was restored.
2332
2373
  :param pulumi.Input[_builtins.int] fork_source: The ID of the database that was forked from.
2333
2374
 
2375
+ * `private_network` - (Optional) Restricts access to this database using a virtual private cloud (VPC) that you've configured in the region where the database will live.
2376
+
2334
2377
  * `updates` - (Optional) Configuration settings for automated patch update maintenance for the Managed Database.
2335
2378
  :param pulumi.Input[_builtins.str] label: A unique, user-defined string referring to the Managed Database.
2379
+ :param pulumi.Input[Union['DatabasePostgresqlV2PrivateNetworkArgs', 'DatabasePostgresqlV2PrivateNetworkArgsDict']] private_network: Restricts access to this database using a virtual private cloud (VPC) that you've configured in the region where the database will live.
2336
2380
  :param pulumi.Input[_builtins.str] region: The region to use for the Managed Database.
2337
2381
  :param pulumi.Input[_builtins.bool] suspended: Whether this Managed Database should be suspended.
2338
2382
  :param pulumi.Input[_builtins.str] type: The Linode Instance type used for the nodes of the Managed Database.
@@ -2459,6 +2503,7 @@ class DatabasePostgresqlV2(pulumi.CustomResource):
2459
2503
  fork_restore_time: Optional[pulumi.Input[_builtins.str]] = None,
2460
2504
  fork_source: Optional[pulumi.Input[_builtins.int]] = None,
2461
2505
  label: Optional[pulumi.Input[_builtins.str]] = None,
2506
+ private_network: Optional[pulumi.Input[Union['DatabasePostgresqlV2PrivateNetworkArgs', 'DatabasePostgresqlV2PrivateNetworkArgsDict']]] = None,
2462
2507
  region: Optional[pulumi.Input[_builtins.str]] = None,
2463
2508
  suspended: Optional[pulumi.Input[_builtins.bool]] = None,
2464
2509
  timeouts: Optional[pulumi.Input[Union['DatabasePostgresqlV2TimeoutsArgs', 'DatabasePostgresqlV2TimeoutsArgsDict']]] = None,
@@ -2530,6 +2575,7 @@ class DatabasePostgresqlV2(pulumi.CustomResource):
2530
2575
  if label is None and not opts.urn:
2531
2576
  raise TypeError("Missing required property 'label'")
2532
2577
  __props__.__dict__["label"] = label
2578
+ __props__.__dict__["private_network"] = private_network
2533
2579
  if region is None and not opts.urn:
2534
2580
  raise TypeError("Missing required property 'region'")
2535
2581
  __props__.__dict__["region"] = region
@@ -2632,6 +2678,7 @@ class DatabasePostgresqlV2(pulumi.CustomResource):
2632
2678
  pending_updates: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DatabasePostgresqlV2PendingUpdateArgs', 'DatabasePostgresqlV2PendingUpdateArgsDict']]]]] = None,
2633
2679
  platform: Optional[pulumi.Input[_builtins.str]] = None,
2634
2680
  port: Optional[pulumi.Input[_builtins.int]] = None,
2681
+ private_network: Optional[pulumi.Input[Union['DatabasePostgresqlV2PrivateNetworkArgs', 'DatabasePostgresqlV2PrivateNetworkArgsDict']]] = None,
2635
2682
  region: Optional[pulumi.Input[_builtins.str]] = None,
2636
2683
  root_password: Optional[pulumi.Input[_builtins.str]] = None,
2637
2684
  root_username: Optional[pulumi.Input[_builtins.str]] = None,
@@ -2707,6 +2754,8 @@ class DatabasePostgresqlV2(pulumi.CustomResource):
2707
2754
  :param pulumi.Input[_builtins.str] fork_restore_time: The database timestamp from which it was restored.
2708
2755
  :param pulumi.Input[_builtins.int] fork_source: The ID of the database that was forked from.
2709
2756
 
2757
+ * `private_network` - (Optional) Restricts access to this database using a virtual private cloud (VPC) that you've configured in the region where the database will live.
2758
+
2710
2759
  * `updates` - (Optional) Configuration settings for automated patch update maintenance for the Managed Database.
2711
2760
  :param pulumi.Input[_builtins.str] host_primary: The primary host for the Managed Database.
2712
2761
  :param pulumi.Input[_builtins.str] host_secondary: The secondary/private host for the managed database.
@@ -2716,6 +2765,7 @@ class DatabasePostgresqlV2(pulumi.CustomResource):
2716
2765
  :param pulumi.Input[Sequence[pulumi.Input[Union['DatabasePostgresqlV2PendingUpdateArgs', 'DatabasePostgresqlV2PendingUpdateArgsDict']]]] pending_updates: A set of pending updates.
2717
2766
  :param pulumi.Input[_builtins.str] platform: The back-end platform for relational databases used by the service.
2718
2767
  :param pulumi.Input[_builtins.int] port: The access port for this Managed Database.
2768
+ :param pulumi.Input[Union['DatabasePostgresqlV2PrivateNetworkArgs', 'DatabasePostgresqlV2PrivateNetworkArgsDict']] private_network: Restricts access to this database using a virtual private cloud (VPC) that you've configured in the region where the database will live.
2719
2769
  :param pulumi.Input[_builtins.str] region: The region to use for the Managed Database.
2720
2770
  :param pulumi.Input[_builtins.str] root_password: The randomly-generated root password for the Managed Database instance.
2721
2771
  :param pulumi.Input[_builtins.str] root_username: The root username for the Managed Database instance.
@@ -2797,6 +2847,7 @@ class DatabasePostgresqlV2(pulumi.CustomResource):
2797
2847
  __props__.__dict__["pending_updates"] = pending_updates
2798
2848
  __props__.__dict__["platform"] = platform
2799
2849
  __props__.__dict__["port"] = port
2850
+ __props__.__dict__["private_network"] = private_network
2800
2851
  __props__.__dict__["region"] = region
2801
2852
  __props__.__dict__["root_password"] = root_password
2802
2853
  __props__.__dict__["root_username"] = root_username
@@ -3256,6 +3307,8 @@ class DatabasePostgresqlV2(pulumi.CustomResource):
3256
3307
  """
3257
3308
  The ID of the database that was forked from.
3258
3309
 
3310
+ * `private_network` - (Optional) Restricts access to this database using a virtual private cloud (VPC) that you've configured in the region where the database will live.
3311
+
3259
3312
  * `updates` - (Optional) Configuration settings for automated patch update maintenance for the Managed Database.
3260
3313
  """
3261
3314
  return pulumi.get(self, "fork_source")
@@ -3324,6 +3377,14 @@ class DatabasePostgresqlV2(pulumi.CustomResource):
3324
3377
  """
3325
3378
  return pulumi.get(self, "port")
3326
3379
 
3380
+ @_builtins.property
3381
+ @pulumi.getter(name="privateNetwork")
3382
+ def private_network(self) -> pulumi.Output[Optional['outputs.DatabasePostgresqlV2PrivateNetwork']]:
3383
+ """
3384
+ Restricts access to this database using a virtual private cloud (VPC) that you've configured in the region where the database will live.
3385
+ """
3386
+ return pulumi.get(self, "private_network")
3387
+
3327
3388
  @_builtins.property
3328
3389
  @pulumi.getter
3329
3390
  def region(self) -> pulumi.Output[_builtins.str]:
@@ -27,7 +27,7 @@ class GetDatabaseMysqlV2Result:
27
27
  """
28
28
  A collection of values returned by getDatabaseMysqlV2.
29
29
  """
30
- def __init__(__self__, allow_lists=None, ca_cert=None, cluster_size=None, created=None, encrypted=None, engine=None, engine_config_binlog_retention_period=None, engine_config_mysql_connect_timeout=None, engine_config_mysql_default_time_zone=None, engine_config_mysql_group_concat_max_len=None, engine_config_mysql_information_schema_stats_expiry=None, engine_config_mysql_innodb_change_buffer_max_size=None, engine_config_mysql_innodb_flush_neighbors=None, engine_config_mysql_innodb_ft_min_token_size=None, engine_config_mysql_innodb_ft_server_stopword_table=None, engine_config_mysql_innodb_lock_wait_timeout=None, engine_config_mysql_innodb_log_buffer_size=None, engine_config_mysql_innodb_online_alter_log_max_size=None, engine_config_mysql_innodb_read_io_threads=None, engine_config_mysql_innodb_rollback_on_timeout=None, engine_config_mysql_innodb_thread_concurrency=None, engine_config_mysql_innodb_write_io_threads=None, engine_config_mysql_interactive_timeout=None, engine_config_mysql_internal_tmp_mem_storage_engine=None, engine_config_mysql_max_allowed_packet=None, engine_config_mysql_max_heap_table_size=None, engine_config_mysql_net_buffer_length=None, engine_config_mysql_net_read_timeout=None, engine_config_mysql_net_write_timeout=None, engine_config_mysql_sort_buffer_size=None, engine_config_mysql_sql_mode=None, engine_config_mysql_sql_require_primary_key=None, engine_config_mysql_tmp_table_size=None, engine_config_mysql_wait_timeout=None, engine_id=None, fork_restore_time=None, fork_source=None, host_primary=None, host_secondary=None, id=None, label=None, members=None, oldest_restore_time=None, pending_updates=None, platform=None, port=None, region=None, root_password=None, root_username=None, ssl_connection=None, status=None, suspended=None, type=None, updated=None, updates=None, version=None):
30
+ def __init__(__self__, allow_lists=None, ca_cert=None, cluster_size=None, created=None, encrypted=None, engine=None, engine_config_binlog_retention_period=None, engine_config_mysql_connect_timeout=None, engine_config_mysql_default_time_zone=None, engine_config_mysql_group_concat_max_len=None, engine_config_mysql_information_schema_stats_expiry=None, engine_config_mysql_innodb_change_buffer_max_size=None, engine_config_mysql_innodb_flush_neighbors=None, engine_config_mysql_innodb_ft_min_token_size=None, engine_config_mysql_innodb_ft_server_stopword_table=None, engine_config_mysql_innodb_lock_wait_timeout=None, engine_config_mysql_innodb_log_buffer_size=None, engine_config_mysql_innodb_online_alter_log_max_size=None, engine_config_mysql_innodb_read_io_threads=None, engine_config_mysql_innodb_rollback_on_timeout=None, engine_config_mysql_innodb_thread_concurrency=None, engine_config_mysql_innodb_write_io_threads=None, engine_config_mysql_interactive_timeout=None, engine_config_mysql_internal_tmp_mem_storage_engine=None, engine_config_mysql_max_allowed_packet=None, engine_config_mysql_max_heap_table_size=None, engine_config_mysql_net_buffer_length=None, engine_config_mysql_net_read_timeout=None, engine_config_mysql_net_write_timeout=None, engine_config_mysql_sort_buffer_size=None, engine_config_mysql_sql_mode=None, engine_config_mysql_sql_require_primary_key=None, engine_config_mysql_tmp_table_size=None, engine_config_mysql_wait_timeout=None, engine_id=None, fork_restore_time=None, fork_source=None, host_primary=None, host_secondary=None, id=None, label=None, members=None, oldest_restore_time=None, pending_updates=None, platform=None, port=None, private_network=None, region=None, root_password=None, root_username=None, ssl_connection=None, status=None, suspended=None, type=None, updated=None, updates=None, version=None):
31
31
  if allow_lists and not isinstance(allow_lists, list):
32
32
  raise TypeError("Expected argument 'allow_lists' to be a list")
33
33
  pulumi.set(__self__, "allow_lists", allow_lists)
@@ -166,6 +166,9 @@ class GetDatabaseMysqlV2Result:
166
166
  if port and not isinstance(port, int):
167
167
  raise TypeError("Expected argument 'port' to be a int")
168
168
  pulumi.set(__self__, "port", port)
169
+ if private_network and not isinstance(private_network, dict):
170
+ raise TypeError("Expected argument 'private_network' to be a dict")
171
+ pulumi.set(__self__, "private_network", private_network)
169
172
  if region and not isinstance(region, str):
170
173
  raise TypeError("Expected argument 'region' to be a str")
171
174
  pulumi.set(__self__, "region", region)
@@ -553,6 +556,11 @@ class GetDatabaseMysqlV2Result:
553
556
  """
554
557
  return pulumi.get(self, "port")
555
558
 
559
+ @_builtins.property
560
+ @pulumi.getter(name="privateNetwork")
561
+ def private_network(self) -> 'outputs.GetDatabaseMysqlV2PrivateNetworkResult':
562
+ return pulumi.get(self, "private_network")
563
+
556
564
  @_builtins.property
557
565
  @pulumi.getter
558
566
  def region(self) -> _builtins.str:
@@ -683,6 +691,7 @@ class AwaitableGetDatabaseMysqlV2Result(GetDatabaseMysqlV2Result):
683
691
  pending_updates=self.pending_updates,
684
692
  platform=self.platform,
685
693
  port=self.port,
694
+ private_network=self.private_network,
686
695
  region=self.region,
687
696
  root_password=self.root_password,
688
697
  root_username=self.root_username,
@@ -734,6 +743,16 @@ def get_database_mysql_v2(id: Optional[_builtins.str] = None,
734
743
 
735
744
  * `hour_of_day` - The hour to begin maintenance based in UTC time. (`0`..`23`)
736
745
 
746
+ ## private_network
747
+
748
+ The following arguments are exposed by the `private_network` attribute:
749
+
750
+ * `vpc_id` - The ID of the virtual private cloud (VPC) to restrict access to this database using.
751
+
752
+ * `subnet_id` - The ID of the VPC subnet to restrict access to this database using.
753
+
754
+ * `public_access` - If true, clients outside the VPC can connect to the database using a public IP address.
755
+
737
756
 
738
757
  :param _builtins.str id: The ID of the MySQL database.
739
758
  """
@@ -789,6 +808,7 @@ def get_database_mysql_v2(id: Optional[_builtins.str] = None,
789
808
  pending_updates=pulumi.get(__ret__, 'pending_updates'),
790
809
  platform=pulumi.get(__ret__, 'platform'),
791
810
  port=pulumi.get(__ret__, 'port'),
811
+ private_network=pulumi.get(__ret__, 'private_network'),
792
812
  region=pulumi.get(__ret__, 'region'),
793
813
  root_password=pulumi.get(__ret__, 'root_password'),
794
814
  root_username=pulumi.get(__ret__, 'root_username'),
@@ -838,6 +858,16 @@ def get_database_mysql_v2_output(id: Optional[pulumi.Input[_builtins.str]] = Non
838
858
 
839
859
  * `hour_of_day` - The hour to begin maintenance based in UTC time. (`0`..`23`)
840
860
 
861
+ ## private_network
862
+
863
+ The following arguments are exposed by the `private_network` attribute:
864
+
865
+ * `vpc_id` - The ID of the virtual private cloud (VPC) to restrict access to this database using.
866
+
867
+ * `subnet_id` - The ID of the VPC subnet to restrict access to this database using.
868
+
869
+ * `public_access` - If true, clients outside the VPC can connect to the database using a public IP address.
870
+
841
871
 
842
872
  :param _builtins.str id: The ID of the MySQL database.
843
873
  """
@@ -892,6 +922,7 @@ def get_database_mysql_v2_output(id: Optional[pulumi.Input[_builtins.str]] = Non
892
922
  pending_updates=pulumi.get(__response__, 'pending_updates'),
893
923
  platform=pulumi.get(__response__, 'platform'),
894
924
  port=pulumi.get(__response__, 'port'),
925
+ private_network=pulumi.get(__response__, 'private_network'),
895
926
  region=pulumi.get(__response__, 'region'),
896
927
  root_password=pulumi.get(__response__, 'root_password'),
897
928
  root_username=pulumi.get(__response__, 'root_username'),
@@ -27,7 +27,7 @@ class GetDatabasePostgresqlV2Result:
27
27
  """
28
28
  A collection of values returned by getDatabasePostgresqlV2.
29
29
  """
30
- def __init__(__self__, allow_lists=None, ca_cert=None, cluster_size=None, created=None, encrypted=None, engine=None, engine_config_pg_autovacuum_analyze_scale_factor=None, engine_config_pg_autovacuum_analyze_threshold=None, engine_config_pg_autovacuum_max_workers=None, engine_config_pg_autovacuum_naptime=None, engine_config_pg_autovacuum_vacuum_cost_delay=None, engine_config_pg_autovacuum_vacuum_cost_limit=None, engine_config_pg_autovacuum_vacuum_scale_factor=None, engine_config_pg_autovacuum_vacuum_threshold=None, engine_config_pg_bgwriter_delay=None, engine_config_pg_bgwriter_flush_after=None, engine_config_pg_bgwriter_lru_maxpages=None, engine_config_pg_bgwriter_lru_multiplier=None, engine_config_pg_deadlock_timeout=None, engine_config_pg_default_toast_compression=None, engine_config_pg_idle_in_transaction_session_timeout=None, engine_config_pg_jit=None, engine_config_pg_max_files_per_process=None, engine_config_pg_max_locks_per_transaction=None, engine_config_pg_max_logical_replication_workers=None, engine_config_pg_max_parallel_workers=None, engine_config_pg_max_parallel_workers_per_gather=None, engine_config_pg_max_pred_locks_per_transaction=None, engine_config_pg_max_replication_slots=None, engine_config_pg_max_slot_wal_keep_size=None, engine_config_pg_max_stack_depth=None, engine_config_pg_max_standby_archive_delay=None, engine_config_pg_max_standby_streaming_delay=None, engine_config_pg_max_wal_senders=None, engine_config_pg_max_worker_processes=None, engine_config_pg_password_encryption=None, engine_config_pg_pg_partman_bgw_interval=None, engine_config_pg_pg_partman_bgw_role=None, engine_config_pg_pg_stat_monitor_pgsm_enable_query_plan=None, engine_config_pg_pg_stat_monitor_pgsm_max_buckets=None, engine_config_pg_pg_stat_statements_track=None, engine_config_pg_stat_monitor_enable=None, engine_config_pg_temp_file_limit=None, engine_config_pg_timezone=None, engine_config_pg_track_activity_query_size=None, engine_config_pg_track_commit_timestamp=None, engine_config_pg_track_functions=None, engine_config_pg_track_io_timing=None, engine_config_pg_wal_sender_timeout=None, engine_config_pg_wal_writer_delay=None, engine_config_pglookout_max_failover_replication_time_lag=None, engine_config_shared_buffers_percentage=None, engine_config_work_mem=None, engine_id=None, fork_restore_time=None, fork_source=None, host_primary=None, host_secondary=None, id=None, label=None, members=None, oldest_restore_time=None, pending_updates=None, platform=None, port=None, region=None, root_password=None, root_username=None, ssl_connection=None, status=None, suspended=None, type=None, updated=None, updates=None, version=None):
30
+ def __init__(__self__, allow_lists=None, ca_cert=None, cluster_size=None, created=None, encrypted=None, engine=None, engine_config_pg_autovacuum_analyze_scale_factor=None, engine_config_pg_autovacuum_analyze_threshold=None, engine_config_pg_autovacuum_max_workers=None, engine_config_pg_autovacuum_naptime=None, engine_config_pg_autovacuum_vacuum_cost_delay=None, engine_config_pg_autovacuum_vacuum_cost_limit=None, engine_config_pg_autovacuum_vacuum_scale_factor=None, engine_config_pg_autovacuum_vacuum_threshold=None, engine_config_pg_bgwriter_delay=None, engine_config_pg_bgwriter_flush_after=None, engine_config_pg_bgwriter_lru_maxpages=None, engine_config_pg_bgwriter_lru_multiplier=None, engine_config_pg_deadlock_timeout=None, engine_config_pg_default_toast_compression=None, engine_config_pg_idle_in_transaction_session_timeout=None, engine_config_pg_jit=None, engine_config_pg_max_files_per_process=None, engine_config_pg_max_locks_per_transaction=None, engine_config_pg_max_logical_replication_workers=None, engine_config_pg_max_parallel_workers=None, engine_config_pg_max_parallel_workers_per_gather=None, engine_config_pg_max_pred_locks_per_transaction=None, engine_config_pg_max_replication_slots=None, engine_config_pg_max_slot_wal_keep_size=None, engine_config_pg_max_stack_depth=None, engine_config_pg_max_standby_archive_delay=None, engine_config_pg_max_standby_streaming_delay=None, engine_config_pg_max_wal_senders=None, engine_config_pg_max_worker_processes=None, engine_config_pg_password_encryption=None, engine_config_pg_pg_partman_bgw_interval=None, engine_config_pg_pg_partman_bgw_role=None, engine_config_pg_pg_stat_monitor_pgsm_enable_query_plan=None, engine_config_pg_pg_stat_monitor_pgsm_max_buckets=None, engine_config_pg_pg_stat_statements_track=None, engine_config_pg_stat_monitor_enable=None, engine_config_pg_temp_file_limit=None, engine_config_pg_timezone=None, engine_config_pg_track_activity_query_size=None, engine_config_pg_track_commit_timestamp=None, engine_config_pg_track_functions=None, engine_config_pg_track_io_timing=None, engine_config_pg_wal_sender_timeout=None, engine_config_pg_wal_writer_delay=None, engine_config_pglookout_max_failover_replication_time_lag=None, engine_config_shared_buffers_percentage=None, engine_config_work_mem=None, engine_id=None, fork_restore_time=None, fork_source=None, host_primary=None, host_secondary=None, id=None, label=None, members=None, oldest_restore_time=None, pending_updates=None, platform=None, port=None, private_network=None, region=None, root_password=None, root_username=None, ssl_connection=None, status=None, suspended=None, type=None, updated=None, updates=None, version=None):
31
31
  if allow_lists and not isinstance(allow_lists, list):
32
32
  raise TypeError("Expected argument 'allow_lists' to be a list")
33
33
  pulumi.set(__self__, "allow_lists", allow_lists)
@@ -223,6 +223,9 @@ class GetDatabasePostgresqlV2Result:
223
223
  if port and not isinstance(port, int):
224
224
  raise TypeError("Expected argument 'port' to be a int")
225
225
  pulumi.set(__self__, "port", port)
226
+ if private_network and not isinstance(private_network, dict):
227
+ raise TypeError("Expected argument 'private_network' to be a dict")
228
+ pulumi.set(__self__, "private_network", private_network)
226
229
  if region and not isinstance(region, str):
227
230
  raise TypeError("Expected argument 'region' to be a str")
228
231
  pulumi.set(__self__, "region", region)
@@ -762,6 +765,11 @@ class GetDatabasePostgresqlV2Result:
762
765
  """
763
766
  return pulumi.get(self, "port")
764
767
 
768
+ @_builtins.property
769
+ @pulumi.getter(name="privateNetwork")
770
+ def private_network(self) -> 'outputs.GetDatabasePostgresqlV2PrivateNetworkResult':
771
+ return pulumi.get(self, "private_network")
772
+
765
773
  @_builtins.property
766
774
  @pulumi.getter
767
775
  def region(self) -> _builtins.str:
@@ -911,6 +919,7 @@ class AwaitableGetDatabasePostgresqlV2Result(GetDatabasePostgresqlV2Result):
911
919
  pending_updates=self.pending_updates,
912
920
  platform=self.platform,
913
921
  port=self.port,
922
+ private_network=self.private_network,
914
923
  region=self.region,
915
924
  root_password=self.root_password,
916
925
  root_username=self.root_username,
@@ -962,6 +971,16 @@ def get_database_postgresql_v2(id: Optional[_builtins.str] = None,
962
971
 
963
972
  * `hour_of_day` - The hour to begin maintenance based in UTC time. (`0`..`23`)
964
973
 
974
+ ## private_network
975
+
976
+ The following arguments are exposed by the `private_network` attribute:
977
+
978
+ * `vpc_id` - The ID of the virtual private cloud (VPC) to restrict access to this database using.
979
+
980
+ * `subnet_id` - The ID of the VPC subnet to restrict access to this database using.
981
+
982
+ * `public_access` - If true, clients outside the VPC can connect to the database using a public IP address.
983
+
965
984
 
966
985
  :param _builtins.str id: The ID of the PostgreSQL database.
967
986
  """
@@ -1036,6 +1055,7 @@ def get_database_postgresql_v2(id: Optional[_builtins.str] = None,
1036
1055
  pending_updates=pulumi.get(__ret__, 'pending_updates'),
1037
1056
  platform=pulumi.get(__ret__, 'platform'),
1038
1057
  port=pulumi.get(__ret__, 'port'),
1058
+ private_network=pulumi.get(__ret__, 'private_network'),
1039
1059
  region=pulumi.get(__ret__, 'region'),
1040
1060
  root_password=pulumi.get(__ret__, 'root_password'),
1041
1061
  root_username=pulumi.get(__ret__, 'root_username'),
@@ -1085,6 +1105,16 @@ def get_database_postgresql_v2_output(id: Optional[pulumi.Input[_builtins.str]]
1085
1105
 
1086
1106
  * `hour_of_day` - The hour to begin maintenance based in UTC time. (`0`..`23`)
1087
1107
 
1108
+ ## private_network
1109
+
1110
+ The following arguments are exposed by the `private_network` attribute:
1111
+
1112
+ * `vpc_id` - The ID of the virtual private cloud (VPC) to restrict access to this database using.
1113
+
1114
+ * `subnet_id` - The ID of the VPC subnet to restrict access to this database using.
1115
+
1116
+ * `public_access` - If true, clients outside the VPC can connect to the database using a public IP address.
1117
+
1088
1118
 
1089
1119
  :param _builtins.str id: The ID of the PostgreSQL database.
1090
1120
  """
@@ -1158,6 +1188,7 @@ def get_database_postgresql_v2_output(id: Optional[pulumi.Input[_builtins.str]]
1158
1188
  pending_updates=pulumi.get(__response__, 'pending_updates'),
1159
1189
  platform=pulumi.get(__response__, 'platform'),
1160
1190
  port=pulumi.get(__response__, 'port'),
1191
+ private_network=pulumi.get(__response__, 'private_network'),
1161
1192
  region=pulumi.get(__response__, 'region'),
1162
1193
  root_password=pulumi.get(__response__, 'root_password'),
1163
1194
  root_username=pulumi.get(__response__, 'root_username'),
@@ -121,6 +121,16 @@ def get_databases(databases: Optional[Sequence[Union['GetDatabasesDatabaseArgs',
121
121
  pulumi.export("databaseIds", [__item.id for __item in mysql.databases])
122
122
  ```
123
123
 
124
+ ## private_network
125
+
126
+ The following arguments are exposed by the `private_network` attribute:
127
+
128
+ * `vpc_id` - The ID of the virtual private cloud (VPC) to restrict access to this database using.
129
+
130
+ * `subnet_id` - The ID of the VPC subnet to restrict access to this database using.
131
+
132
+ * `public_access` - If true, clients outside the VPC can connect to the database using a public IP address.
133
+
124
134
 
125
135
  :param _builtins.str order: The order in which results should be returned. (`asc`, `desc`; default `asc`)
126
136
  :param _builtins.str order_by: The attribute to order the results by. (`version`)
@@ -173,6 +183,16 @@ def get_databases_output(databases: Optional[pulumi.Input[Optional[Sequence[Unio
173
183
  pulumi.export("databaseIds", [__item.id for __item in mysql.databases])
174
184
  ```
175
185
 
186
+ ## private_network
187
+
188
+ The following arguments are exposed by the `private_network` attribute:
189
+
190
+ * `vpc_id` - The ID of the virtual private cloud (VPC) to restrict access to this database using.
191
+
192
+ * `subnet_id` - The ID of the VPC subnet to restrict access to this database using.
193
+
194
+ * `public_access` - If true, clients outside the VPC can connect to the database using a public IP address.
195
+
176
196
 
177
197
  :param _builtins.str order: The order in which results should be returned. (`asc`, `desc`; default `asc`)
178
198
  :param _builtins.str order_by: The attribute to order the results by. (`version`)