
com.pulumi.vault.identity.kotlin.inputs.GetOidcOpenidConfigPlainArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.vault.identity.kotlin.inputs
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.vault.identity.inputs.GetOidcOpenidConfigPlainArgs.builder
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* A collection of arguments for invoking getOidcOpenidConfig.
* @property name The name of the OIDC Provider in Vault.
* @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*.
*/
public data class GetOidcOpenidConfigPlainArgs(
public val name: String,
public val namespace: String? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.vault.identity.inputs.GetOidcOpenidConfigPlainArgs =
com.pulumi.vault.identity.inputs.GetOidcOpenidConfigPlainArgs.builder()
.name(name.let({ args0 -> args0 }))
.namespace(namespace?.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetOidcOpenidConfigPlainArgs].
*/
@PulumiTagMarker
public class GetOidcOpenidConfigPlainArgsBuilder internal constructor() {
private var name: String? = null
private var namespace: String? = null
/**
* @param value The name of the OIDC Provider in Vault.
*/
@JvmName("idvhycdpjyaocufb")
public suspend fun name(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.name = mapped
}
/**
* @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("orykwgqwcgduiifx")
public suspend fun namespace(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.namespace = mapped
}
internal fun build(): GetOidcOpenidConfigPlainArgs = GetOidcOpenidConfigPlainArgs(
name = name ?: throw PulumiNullFieldException("name"),
namespace = namespace,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy