![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.digitalocean.kotlin.outputs.GetDatabaseUserResult.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-digitalocean-kotlin Show documentation
Show all versions of pulumi-digitalocean-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.digitalocean.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* A collection of values returned by getDatabaseUser.
* @property accessCert Access certificate for TLS client authentication. (Kafka only)
* @property accessKey Access key for TLS client authentication. (Kafka only)
* @property clusterId
* @property id The provider-assigned unique ID for this managed resource.
* @property mysqlAuthPlugin The authentication method of the MySQL user. The value will be `mysql_native_password` or `caching_sha2_password`.
* @property name
* @property password The password of the database user. This will not be set for MongoDB users.
* @property role The role of the database user. The value will be either `primary` or `normal`.
* @property settings
*/
public data class GetDatabaseUserResult(
public val accessCert: String,
public val accessKey: String,
public val clusterId: String,
public val id: String,
public val mysqlAuthPlugin: String,
public val name: String,
public val password: String,
public val role: String,
public val settings: List,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.digitalocean.outputs.GetDatabaseUserResult): GetDatabaseUserResult = GetDatabaseUserResult(
accessCert = javaType.accessCert(),
accessKey = javaType.accessKey(),
clusterId = javaType.clusterId(),
id = javaType.id(),
mysqlAuthPlugin = javaType.mysqlAuthPlugin(),
name = javaType.name(),
password = javaType.password(),
role = javaType.role(),
settings = javaType.settings().map({ args0 ->
args0.let({ args0 ->
com.pulumi.digitalocean.kotlin.outputs.GetDatabaseUserSetting.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy