SDK reference / Models / DbMigration

MigrationSourceMergePatchUpdate

Kind: class

Namespace: Egulu.Sdk.Models.DbMigration

Where the data comes from. The host must be a public name or address (a private one only through a private path of the project's network); the port one of the engine's usual ports.

Properties

NameTypeJSON nameDescription
CaPemModels.DbMigration.MigrationSourceMergePatchUpdate.MigrationSourceMergePatchUpdate_caPem?caPemPEM text of the certificate authority that signed the source's certificate (at most eight certificates, 64 KiB); absent means the system roots.
Databasestring?databaseThe database to copy.
EngineModels.DbMigration.MigrationSourceMergePatchUpdate_engine?engineThe engine property
Hoststring?hostA public host name or an IP address, never a URL. Resolved once and pinned for the connection.
PasswordSecretModels.DbMigration.MigrationSecretRefMergePatchUpdate?passwordSecretThe secret that holds the password.
Portint?portThe engine's usual port (PostgreSQL 5432-5434, MariaDB and MySQL 3306-3308, MongoDB 27017-27019).
TlsModeModels.DbMigration.MigrationSourceMergePatchUpdate.MigrationSourceMergePatchUpdate_tlsMode?tlsModeVERIFY_FULL (default) checks the certificate chain and the host name; VERIFY_CA the chain only.
Usernamestring?usernameThe user to connect as; a PostgreSQL user needs the REPLICATION attribute for CONTINUOUS.