pub struct SqlServerConnectionProfile {
pub backups: Option<SqlServerBackups>,
pub cloud_sql_id: Option<String>,
pub forward_ssh_connectivity: Option<ForwardSshTunnelConnectivity>,
pub host: Option<String>,
pub password: Option<String>,
pub password_set: Option<bool>,
pub port: Option<i32>,
pub private_connectivity: Option<PrivateConnectivity>,
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 SQL Server databases.
This type is not used in any activity, and only used as part of another schema.
Fields§
§backups: Option<SqlServerBackups>
The backup details in Cloud Storage for homogeneous migration to Cloud SQL for SQL Server.
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.
forward_ssh_connectivity: Option<ForwardSshTunnelConnectivity>
Forward SSH tunnel connectivity.
host: Option<String>
Required. The IP or hostname of the source SQL Server database.
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 whether a new password is included in the request.
port: Option<i32>
Required. The network port of the source SQL Server database.
private_connectivity: Option<PrivateConnectivity>
Private connectivity.
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 SqlServerConnectionProfile
impl Clone for SqlServerConnectionProfile
Source§fn clone(&self) -> SqlServerConnectionProfile
fn clone(&self) -> SqlServerConnectionProfile
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for SqlServerConnectionProfile
impl Debug for SqlServerConnectionProfile
Source§impl Default for SqlServerConnectionProfile
impl Default for SqlServerConnectionProfile
Source§fn default() -> SqlServerConnectionProfile
fn default() -> SqlServerConnectionProfile
Source§impl<'de> Deserialize<'de> for SqlServerConnectionProfile
impl<'de> Deserialize<'de> for SqlServerConnectionProfile
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 SqlServerConnectionProfile
Auto Trait Implementations§
impl Freeze for SqlServerConnectionProfile
impl RefUnwindSafe for SqlServerConnectionProfile
impl Send for SqlServerConnectionProfile
impl Sync for SqlServerConnectionProfile
impl Unpin for SqlServerConnectionProfile
impl UnwindSafe for SqlServerConnectionProfile
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