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

com.pulumi.digitalocean.kotlin.outputs.GetDatabaseConnectionPoolResult.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: 4.38.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.digitalocean.kotlin.outputs

import kotlin.Int
import kotlin.String
import kotlin.Suppress

/**
 * A collection of values returned by getDatabaseConnectionPool.
 * @property clusterId
 * @property dbName Name of the connection pool's default database.
 * @property host Connection pool hostname.
 * @property id The provider-assigned unique ID for this managed resource.
 * @property mode The transaction mode for the connection pool.
 * @property name
 * @property password Password for the connection pool's default user.
 * @property port Network port that the connection pool is listening on.
 * @property privateHost Same as `host`, but only accessible from resources within the account and in the same region.
 * @property privateUri Same as `uri`, but only accessible from resources within the account and in the same region.
 * @property size Size of the connection pool.
 * @property uri The full URI for connecting to the database connection pool.
 * @property user Username for the connection pool's default user.
 */
public data class GetDatabaseConnectionPoolResult(
    public val clusterId: String,
    public val dbName: String,
    public val host: String,
    public val id: String,
    public val mode: String,
    public val name: String,
    public val password: String,
    public val port: Int,
    public val privateHost: String,
    public val privateUri: String,
    public val size: Int,
    public val uri: String,
    public val user: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.digitalocean.outputs.GetDatabaseConnectionPoolResult): GetDatabaseConnectionPoolResult = GetDatabaseConnectionPoolResult(
            clusterId = javaType.clusterId(),
            dbName = javaType.dbName(),
            host = javaType.host(),
            id = javaType.id(),
            mode = javaType.mode(),
            name = javaType.name(),
            password = javaType.password(),
            port = javaType.port(),
            privateHost = javaType.privateHost(),
            privateUri = javaType.privateUri(),
            size = javaType.size(),
            uri = javaType.uri(),
            user = javaType.user(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy