![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.web.kotlin.inputs.CustomOpenIdConnectProviderArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-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.azurenative.web.kotlin.inputs
import com.pulumi.azurenative.web.inputs.CustomOpenIdConnectProviderArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Boolean
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
* The configuration settings of the custom Open ID Connect provider.
* @property enabled false
if the custom Open ID provider provider should not be enabled; otherwise, true
.
* @property login The configuration settings of the login flow of the custom Open ID Connect provider.
* @property registration The configuration settings of the app registration for the custom Open ID Connect provider.
*/
public data class CustomOpenIdConnectProviderArgs(
public val enabled: Output? = null,
public val login: Output? = null,
public val registration: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.web.inputs.CustomOpenIdConnectProviderArgs =
com.pulumi.azurenative.web.inputs.CustomOpenIdConnectProviderArgs.builder()
.enabled(enabled?.applyValue({ args0 -> args0 }))
.login(login?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.registration(registration?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [CustomOpenIdConnectProviderArgs].
*/
@PulumiTagMarker
public class CustomOpenIdConnectProviderArgsBuilder internal constructor() {
private var enabled: Output? = null
private var login: Output? = null
private var registration: Output? = null
/**
* @param value false
if the custom Open ID provider provider should not be enabled; otherwise, true
.
*/
@JvmName("ltkldlgdmwcjhtiq")
public suspend fun enabled(`value`: Output) {
this.enabled = value
}
/**
* @param value The configuration settings of the login flow of the custom Open ID Connect provider.
*/
@JvmName("tvvpiaswdpnpvfss")
public suspend fun login(`value`: Output) {
this.login = value
}
/**
* @param value The configuration settings of the app registration for the custom Open ID Connect provider.
*/
@JvmName("rusfrcrjabvhmyev")
public suspend fun registration(`value`: Output) {
this.registration = value
}
/**
* @param value false
if the custom Open ID provider provider should not be enabled; otherwise, true
.
*/
@JvmName("vrvuecmrfrihrnys")
public suspend fun enabled(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.enabled = mapped
}
/**
* @param value The configuration settings of the login flow of the custom Open ID Connect provider.
*/
@JvmName("ngnpriaskunwkive")
public suspend fun login(`value`: OpenIdConnectLoginArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.login = mapped
}
/**
* @param argument The configuration settings of the login flow of the custom Open ID Connect provider.
*/
@JvmName("ivbbgpvqbvutijaf")
public suspend fun login(argument: suspend OpenIdConnectLoginArgsBuilder.() -> Unit) {
val toBeMapped = OpenIdConnectLoginArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.login = mapped
}
/**
* @param value The configuration settings of the app registration for the custom Open ID Connect provider.
*/
@JvmName("gorvsdjjnxmblxfk")
public suspend fun registration(`value`: OpenIdConnectRegistrationArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.registration = mapped
}
/**
* @param argument The configuration settings of the app registration for the custom Open ID Connect provider.
*/
@JvmName("xkpvltasfyvylccw")
public suspend fun registration(argument: suspend OpenIdConnectRegistrationArgsBuilder.() -> Unit) {
val toBeMapped = OpenIdConnectRegistrationArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.registration = mapped
}
internal fun build(): CustomOpenIdConnectProviderArgs = CustomOpenIdConnectProviderArgs(
enabled = enabled,
login = login,
registration = registration,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy