
com.pulumi.vault.kotlin.inputs.GetAuthBackendsPlainArgs.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.kotlin.inputs
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.vault.inputs.GetAuthBackendsPlainArgs.builder
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* A collection of arguments for invoking getAuthBackends.
* @property namespace The namespace of the target resource.
* The value should not contain leading or trailing forward slashes.
* The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
* *Available only for Vault Enterprise*.
* @property type The name of the auth method type. Allows filtering of backends returned by type.
*/
public data class GetAuthBackendsPlainArgs(
public val namespace: String? = null,
public val type: String? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.vault.inputs.GetAuthBackendsPlainArgs =
com.pulumi.vault.inputs.GetAuthBackendsPlainArgs.builder()
.namespace(namespace?.let({ args0 -> args0 }))
.type(type?.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetAuthBackendsPlainArgs].
*/
@PulumiTagMarker
public class GetAuthBackendsPlainArgsBuilder internal constructor() {
private var namespace: String? = null
private var type: String? = null
/**
* @param value The namespace of the target resource.
* The value should not contain leading or trailing forward slashes.
* The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
* *Available only for Vault Enterprise*.
*/
@JvmName("yjohhcpbkpvbmpix")
public suspend fun namespace(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.namespace = mapped
}
/**
* @param value The name of the auth method type. Allows filtering of backends returned by type.
*/
@JvmName("xlocyttackvnuonw")
public suspend fun type(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.type = mapped
}
internal fun build(): GetAuthBackendsPlainArgs = GetAuthBackendsPlainArgs(
namespace = namespace,
type = type,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy