All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.databasemigrationservice.kotlin.outputs.ConnectionProfileCloudsql.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.databasemigrationservice.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property cloudSqlId (Output)
 * Output only. The Cloud SQL instance ID that this connection profile is associated with.
 * @property privateIp (Output)
 * Output only. The Cloud SQL database instance's private IP.
 * @property publicIp (Output)
 * Output only. The Cloud SQL database instance's public IP.
 * @property settings Immutable. Metadata used to create the destination Cloud SQL database.
 * Structure is documented below.
 */
public data class ConnectionProfileCloudsql(
    public val cloudSqlId: String? = null,
    public val privateIp: String? = null,
    public val publicIp: String? = null,
    public val settings: ConnectionProfileCloudsqlSettings? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.databasemigrationservice.outputs.ConnectionProfileCloudsql): ConnectionProfileCloudsql = ConnectionProfileCloudsql(
            cloudSqlId = javaType.cloudSqlId().map({ args0 -> args0 }).orElse(null),
            privateIp = javaType.privateIp().map({ args0 -> args0 }).orElse(null),
            publicIp = javaType.publicIp().map({ args0 -> args0 }).orElse(null),
            settings = javaType.settings().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.databasemigrationservice.kotlin.outputs.ConnectionProfileCloudsqlSettings.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy