ConnectionProfilePostgresql

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

Constructors

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

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

If the connected database is an AlloyDB instance, use this field to provide the AlloyDB cluster ID.

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
val host: String? = null

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
val password: String? = null

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? = null

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
val username: String? = null

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