com.pulumi.vault.database.kotlin.outputs.SecretBackendConnectionCouchbase.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-vault-kotlin Show documentation
Show all versions of pulumi-vault-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.vault.database.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property base64Pem Required if `tls` is `true`. Specifies the certificate authority of the Couchbase server, as a PEM certificate that has been base64 encoded.
* @property bucketName Required for Couchbase versions prior to 6.5.0. This is only used to verify vault's connection to the server.
* @property hosts A set of Couchbase URIs to connect to. Must use `couchbases://` scheme if `tls` is `true`.
* @property insecureTls Specifies whether to skip verification of the server certificate when using TLS.
* @property password Specifies the password corresponding to the given username.
* @property tls Specifies whether to use TLS when connecting to Couchbase.
* @property username Specifies the username for Vault to use.
* @property usernameTemplate Template describing how dynamic usernames are generated.
*/
public data class SecretBackendConnectionCouchbase(
public val base64Pem: String? = null,
public val bucketName: String? = null,
public val hosts: List,
public val insecureTls: Boolean? = null,
public val password: String,
public val tls: Boolean? = null,
public val username: String,
public val usernameTemplate: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.vault.database.outputs.SecretBackendConnectionCouchbase): SecretBackendConnectionCouchbase = SecretBackendConnectionCouchbase(
base64Pem = javaType.base64Pem().map({ args0 -> args0 }).orElse(null),
bucketName = javaType.bucketName().map({ args0 -> args0 }).orElse(null),
hosts = javaType.hosts().map({ args0 -> args0 }),
insecureTls = javaType.insecureTls().map({ args0 -> args0 }).orElse(null),
password = javaType.password(),
tls = javaType.tls().map({ args0 -> args0 }).orElse(null),
username = javaType.username(),
usernameTemplate = javaType.usernameTemplate().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy