pub struct PostgreSqlConnectionProfile {
pub alloydb_cluster_id: Option<String>,
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§
§alloydb_cluster_id: Option<String>
Optional. If the destination is an AlloyDB database, use this field to provide the AlloyDB cluster ID.
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 moreSource§impl Debug for PostgreSqlConnectionProfile
impl Debug for PostgreSqlConnectionProfile
Source§impl Default for PostgreSqlConnectionProfile
impl Default for PostgreSqlConnectionProfile
Source§fn default() -> PostgreSqlConnectionProfile
fn default() -> PostgreSqlConnectionProfile
Source§impl<'de> Deserialize<'de> for PostgreSqlConnectionProfile
impl<'de> Deserialize<'de> for PostgreSqlConnectionProfile
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Part for PostgreSqlConnectionProfile
Auto Trait Implementations§
impl Freeze for PostgreSqlConnectionProfile
impl RefUnwindSafe for PostgreSqlConnectionProfile
impl Send for PostgreSqlConnectionProfile
impl Sync for PostgreSqlConnectionProfile
impl Unpin for PostgreSqlConnectionProfile
impl UnwindSafe for PostgreSqlConnectionProfile
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more