1010 Database ,
1111 DatabaseEngine ,
1212 DatabaseType ,
13+ DatabasePrivateNetwork ,
1314 MySQLDatabase ,
1415 PostgreSQLDatabase ,
1516 drop_null_keys ,
@@ -126,6 +127,7 @@ def mysql_create(
126127 engine ,
127128 ltype ,
128129 engine_config : Union [MySQLDatabaseConfigOptions , Dict [str , Any ]] = None ,
130+ private_network : Union [DatabasePrivateNetwork , Dict [str , Any ]] = None ,
129131 ** kwargs ,
130132 ):
131133 """
@@ -159,6 +161,8 @@ def mysql_create(
159161 :type ltype: str or Type
160162 :param engine_config: The configuration options for this MySQL cluster
161163 :type engine_config: Dict[str, Any] or MySQLDatabaseConfigOptions
164+ :param private_network: The private network settings to use for this cluster
165+ :type private_network: Dict[str, Any] or DatabasePrivateNetwork
162166 """
163167
164168 params = {
@@ -167,6 +171,7 @@ def mysql_create(
167171 "engine" : engine ,
168172 "type" : ltype ,
169173 "engine_config" : engine_config ,
174+ "private_network" : private_network ,
170175 }
171176 params .update (kwargs )
172177
@@ -262,6 +267,7 @@ def postgresql_create(
262267 engine_config : Union [
263268 PostgreSQLDatabaseConfigOptions , Dict [str , Any ]
264269 ] = None ,
270+ private_network : Union [DatabasePrivateNetwork , Dict [str , Any ]] = None ,
265271 ** kwargs ,
266272 ):
267273 """
@@ -295,6 +301,8 @@ def postgresql_create(
295301 :type ltype: str or Type
296302 :param engine_config: The configuration options for this PostgreSQL cluster
297303 :type engine_config: Dict[str, Any] or PostgreSQLDatabaseConfigOptions
304+ :param private_network: The private network settings to use for this cluster
305+ :type private_network: Dict[str, Any] or DatabasePrivateNetwork
298306 """
299307
300308 params = {
@@ -303,6 +311,7 @@ def postgresql_create(
303311 "engine" : engine ,
304312 "type" : ltype ,
305313 "engine_config" : engine_config ,
314+ "private_network" : private_network ,
306315 }
307316 params .update (kwargs )
308317
0 commit comments