PostgreSqlConnectionProfile constructor
- Input<
String> ? alloydbClusterId, - Input<
String> ? cloudSqlId, - required Input<
String> host, - required Input<
String> password, - required Input<
int> port, - Input<
PrivateServiceConnectConnectivity> ? privateServiceConnectConnectivity, - Input<
SslConfig> ? ssl, - Input<
Map< ? staticIpConnectivity,String, dynamic> > - required Input<
String> username,
Creates a new PostgreSqlConnectionProfile.
alloydbClusterId Optional. If the destination is an AlloyDB database, use this field to provide the AlloyDB cluster ID.
cloudSqlId If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source.
host The IP or hostname of the source PostgreSQL database.
password Input only. The password for the user that Database Migration Service will be using to connect to the database. This field is not returned on request, and the value is encrypted when stored in Database Migration Service.
port The network port of the source PostgreSQL database.
privateServiceConnectConnectivity Private service connect connectivity.
ssl SSL configuration for the destination to connect to the source database.
staticIpConnectivity Static ip connectivity data (default, no additional details needed).
username The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.
Implementation
const PostgreSqlConnectionProfile({
this.alloydbClusterId,
this.cloudSqlId,
required this.host,
required this.password,
required this.port,
this.privateServiceConnectConnectivity,
this.ssl,
this.staticIpConnectivity,
required this.username,
});