com.pulumi.vault.database.kotlin.inputs.SecretBackendConnectionCouchbaseArgs.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.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.vault.database.inputs.SecretBackendConnectionCouchbaseArgs.builder
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @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 SecretBackendConnectionCouchbaseArgs(
public val base64Pem: Output? = null,
public val bucketName: Output? = null,
public val hosts: Output>,
public val insecureTls: Output? = null,
public val password: Output,
public val tls: Output? = null,
public val username: Output,
public val usernameTemplate: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.vault.database.inputs.SecretBackendConnectionCouchbaseArgs =
com.pulumi.vault.database.inputs.SecretBackendConnectionCouchbaseArgs.builder()
.base64Pem(base64Pem?.applyValue({ args0 -> args0 }))
.bucketName(bucketName?.applyValue({ args0 -> args0 }))
.hosts(hosts.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.insecureTls(insecureTls?.applyValue({ args0 -> args0 }))
.password(password.applyValue({ args0 -> args0 }))
.tls(tls?.applyValue({ args0 -> args0 }))
.username(username.applyValue({ args0 -> args0 }))
.usernameTemplate(usernameTemplate?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [SecretBackendConnectionCouchbaseArgs].
*/
@PulumiTagMarker
public class SecretBackendConnectionCouchbaseArgsBuilder internal constructor() {
private var base64Pem: Output? = null
private var bucketName: Output? = null
private var hosts: Output>? = null
private var insecureTls: Output? = null
private var password: Output? = null
private var tls: Output? = null
private var username: Output? = null
private var usernameTemplate: Output? = null
/**
* @param value Required if `tls` is `true`. Specifies the certificate authority of the Couchbase server, as a PEM certificate that has been base64 encoded.
*/
@JvmName("tqfyqbpqmlmifmqw")
public suspend fun base64Pem(`value`: Output) {
this.base64Pem = value
}
/**
* @param value Required for Couchbase versions prior to 6.5.0. This is only used to verify vault's connection to the server.
*/
@JvmName("eiwrpjqjxpxgeyox")
public suspend fun bucketName(`value`: Output) {
this.bucketName = value
}
/**
* @param value A set of Couchbase URIs to connect to. Must use `couchbases://` scheme if `tls` is `true`.
*/
@JvmName("bgsknmwnellwagyd")
public suspend fun hosts(`value`: Output>) {
this.hosts = value
}
@JvmName("mhmwkwcqnwpthucy")
public suspend fun hosts(vararg values: Output) {
this.hosts = Output.all(values.asList())
}
/**
* @param values A set of Couchbase URIs to connect to. Must use `couchbases://` scheme if `tls` is `true`.
*/
@JvmName("cvleidugiytexmpq")
public suspend fun hosts(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy