com.pulumi.googlenative.datamigration.v1beta1.kotlin.outputs.MySqlConnectionProfileResponse.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.datamigration.v1beta1.kotlin.outputs
import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
* Specifies connection parameters required specifically for MySQL databases.
* @property cloudSqlId If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source.
* @property host The IP or hostname of the source MySQL database.
* @property password 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.
* @property passwordSet Indicates If this connection profile password is stored.
* @property port The network port of the source MySQL database.
* @property ssl SSL configuration for the destination to connect to the source database.
* @property username The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.
*/
public data class MySqlConnectionProfileResponse(
public val cloudSqlId: String,
public val host: String,
public val password: String,
public val passwordSet: Boolean,
public val port: Int,
public val ssl: SslConfigResponse,
public val username: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.googlenative.datamigration.v1beta1.outputs.MySqlConnectionProfileResponse): MySqlConnectionProfileResponse = MySqlConnectionProfileResponse(
cloudSqlId = javaType.cloudSqlId(),
host = javaType.host(),
password = javaType.password(),
passwordSet = javaType.passwordSet(),
port = javaType.port(),
ssl = javaType.ssl().let({ args0 ->
com.pulumi.googlenative.datamigration.v1beta1.kotlin.outputs.SslConfigResponse.Companion.toKotlin(args0)
}),
username = javaType.username(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy