pub struct PostgreSqlConnectionProfile {
pub cloud_sql_id: Option<String>,
pub host: Option<String>,
pub network_architecture: Option<String>,
pub password: Option<String>,
pub password_set: Option<bool>,
pub port: Option<i32>,
pub private_service_connect_connectivity: Option<PrivateServiceConnectConnectivity>,
pub ssl: Option<SslConfig>,
pub static_ip_connectivity: Option<StaticIpConnectivity>,
pub username: Option<String>,
}
Expand description
Specifies connection parameters required specifically for PostgreSQL databases.
This type is not used in any activity, and only used as part of another schema.
Fields§
§cloud_sql_id: Option<String>
If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source.
host: Option<String>
Required. The IP or hostname of the source PostgreSQL database.
network_architecture: Option<String>
Output only. If the source is a Cloud SQL database, this field indicates the network architecture it’s associated with.
password: Option<String>
Required. 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.
password_set: Option<bool>
Output only. Indicates If this connection profile password is stored.
port: Option<i32>
Required. The network port of the source PostgreSQL database.
private_service_connect_connectivity: Option<PrivateServiceConnectConnectivity>
Private service connect connectivity.
ssl: Option<SslConfig>
SSL configuration for the destination to connect to the source database.
static_ip_connectivity: Option<StaticIpConnectivity>
Static ip connectivity data (default, no additional details needed).
username: Option<String>
Required. The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.
Trait Implementations§
source§impl Clone for PostgreSqlConnectionProfile
impl Clone for PostgreSqlConnectionProfile
source§fn clone(&self) -> PostgreSqlConnectionProfile
fn clone(&self) -> PostgreSqlConnectionProfile
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more