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

com.pulumi.googlenative.datamigration.v1.kotlin.outputs.CloudSqlConnectionProfileResponse.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.googlenative.datamigration.v1.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 * Specifies required connection parameters, and, optionally, the parameters required to create a Cloud SQL destination database instance.
 * @property additionalPublicIp The Cloud SQL database instance's additional (outgoing) public IP. Used when the Cloud SQL database availability type is REGIONAL (i.e. multiple zones / highly available).
 * @property cloudSqlId The Cloud SQL instance ID that this connection profile is associated with.
 * @property privateIp The Cloud SQL database instance's private IP.
 * @property publicIp The Cloud SQL database instance's public IP.
 * @property settings Immutable. Metadata used to create the destination Cloud SQL database.
 */
public data class CloudSqlConnectionProfileResponse(
    public val additionalPublicIp: String,
    public val cloudSqlId: String,
    public val privateIp: String,
    public val publicIp: String,
    public val settings: CloudSqlSettingsResponse,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.googlenative.datamigration.v1.outputs.CloudSqlConnectionProfileResponse): CloudSqlConnectionProfileResponse = CloudSqlConnectionProfileResponse(
            additionalPublicIp = javaType.additionalPublicIp(),
            cloudSqlId = javaType.cloudSqlId(),
            privateIp = javaType.privateIp(),
            publicIp = javaType.publicIp(),
            settings = javaType.settings().let({ args0 ->
                com.pulumi.googlenative.datamigration.v1.kotlin.outputs.CloudSqlSettingsResponse.Companion.toKotlin(args0)
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy