ConnectionProfilePostgresql

data class ConnectionProfilePostgresql(val cloudSqlId: String? = null, val host: String, val networkArchitecture: String? = null, val password: String, val passwordSet: Boolean? = null, val port: Int, val ssl: ConnectionProfilePostgresqlSsl? = null, val username: String)

Constructors

Link copied to clipboard
constructor(cloudSqlId: String? = null, host: String, networkArchitecture: String? = null, password: String, passwordSet: Boolean? = null, port: Int, ssl: ConnectionProfilePostgresqlSsl? = null, username: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val cloudSqlId: String? = null

If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source.

Link copied to clipboard

Required. The IP or hostname of the source MySQL database.

Link copied to clipboard

(Output) Output only. If the source is a Cloud SQL database, this field indicates the network architecture it's associated with.

Link copied to clipboard

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. Note: This property is sensitive and will not be displayed in the plan.

Link copied to clipboard
val passwordSet: Boolean? = null

(Output) Output only. Indicates If this connection profile password is stored.

Link copied to clipboard
val port: Int

Required. The network port of the source MySQL database.

Link copied to clipboard

SSL configuration for the destination to connect to the source database. Structure is documented below.

Link copied to clipboard

Required. The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.