OnPremisesConfiguration(mapping=None, *, ignore_unknown_fields=False, **kwargs)On-premises instance configuration.
Attributes |
|
|---|---|
| Name | Description |
host_port |
str
The host and port of the on-premises instance in host:port format |
kind |
str
This is always sql#onPremisesConfiguration.
|
username |
str
The username for connecting to on-premises instance. |
password |
str
The password for connecting to on-premises instance. |
ca_certificate |
str
PEM representation of the trusted CA's x509 certificate. |
client_certificate |
str
PEM representation of the replica's x509 certificate. |
client_key |
str
PEM representation of the replica's private key. The corresponding public key is encoded in the client's certificate. |
dump_file_path |
str
The dump file to create the Cloud SQL replica. |
source_instance |
google.cloud.sqladmin_v1beta4.types.InstanceReference
The reference to Cloud SQL instance if the source is Cloud SQL. |
selected_objects |
MutableSequence[google.cloud.sqladmin_v1beta4.types.SelectedObjects]
Optional. A list of objects that the user selects for replication from an external source instance. |
ssl_option |
google.cloud.sqladmin_v1beta4.types.OnPremisesConfiguration.SslOption
Optional. SslOption for replica connection to the on-premises source. |
dms_managed |
bool
Output only. Indicates whether the resource is managed by Database Migration Service. |
Classes
SslOption
SslOption(value)SslOption defines the SSL mode to be used for replica connection to the on-premises source.