All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.cloudflare.kotlin.inputs.ZeroTrustAccessIdentityProviderConfigArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 5.40.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.cloudflare.kotlin.inputs

import com.pulumi.cloudflare.inputs.ZeroTrustAccessIdentityProviderConfigArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property apiToken
 * @property appsDomain
 * @property attributes
 * @property authUrl
 * @property authorizationServerId
 * @property centrifyAccount
 * @property centrifyAppId
 * @property certsUrl
 * @property claims
 * @property clientId
 * @property clientSecret
 * @property conditionalAccessEnabled
 * @property directoryId
 * @property emailAttributeName
 * @property emailClaimName
 * @property idpPublicCert
 * @property issuerUrl
 * @property oktaAccount
 * @property oneloginAccount
 * @property pingEnvId
 * @property pkceEnabled
 * @property redirectUrl
 * @property scopes
 * @property signRequest
 * @property ssoTargetUrl
 * @property supportGroups
 * @property tokenUrl
 */
public data class ZeroTrustAccessIdentityProviderConfigArgs(
    public val apiToken: Output? = null,
    public val appsDomain: Output? = null,
    public val attributes: Output>? = null,
    public val authUrl: Output? = null,
    public val authorizationServerId: Output? = null,
    public val centrifyAccount: Output? = null,
    public val centrifyAppId: Output? = null,
    public val certsUrl: Output? = null,
    public val claims: Output>? = null,
    public val clientId: Output? = null,
    public val clientSecret: Output? = null,
    public val conditionalAccessEnabled: Output? = null,
    public val directoryId: Output? = null,
    public val emailAttributeName: Output? = null,
    public val emailClaimName: Output? = null,
    public val idpPublicCert: Output? = null,
    public val issuerUrl: Output? = null,
    public val oktaAccount: Output? = null,
    public val oneloginAccount: Output? = null,
    public val pingEnvId: Output? = null,
    public val pkceEnabled: Output? = null,
    public val redirectUrl: Output? = null,
    public val scopes: Output>? = null,
    public val signRequest: Output? = null,
    public val ssoTargetUrl: Output? = null,
    public val supportGroups: Output? = null,
    public val tokenUrl: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.cloudflare.inputs.ZeroTrustAccessIdentityProviderConfigArgs =
        com.pulumi.cloudflare.inputs.ZeroTrustAccessIdentityProviderConfigArgs.builder()
            .apiToken(apiToken?.applyValue({ args0 -> args0 }))
            .appsDomain(appsDomain?.applyValue({ args0 -> args0 }))
            .attributes(attributes?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .authUrl(authUrl?.applyValue({ args0 -> args0 }))
            .authorizationServerId(authorizationServerId?.applyValue({ args0 -> args0 }))
            .centrifyAccount(centrifyAccount?.applyValue({ args0 -> args0 }))
            .centrifyAppId(centrifyAppId?.applyValue({ args0 -> args0 }))
            .certsUrl(certsUrl?.applyValue({ args0 -> args0 }))
            .claims(claims?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .clientId(clientId?.applyValue({ args0 -> args0 }))
            .clientSecret(clientSecret?.applyValue({ args0 -> args0 }))
            .conditionalAccessEnabled(conditionalAccessEnabled?.applyValue({ args0 -> args0 }))
            .directoryId(directoryId?.applyValue({ args0 -> args0 }))
            .emailAttributeName(emailAttributeName?.applyValue({ args0 -> args0 }))
            .emailClaimName(emailClaimName?.applyValue({ args0 -> args0 }))
            .idpPublicCert(idpPublicCert?.applyValue({ args0 -> args0 }))
            .issuerUrl(issuerUrl?.applyValue({ args0 -> args0 }))
            .oktaAccount(oktaAccount?.applyValue({ args0 -> args0 }))
            .oneloginAccount(oneloginAccount?.applyValue({ args0 -> args0 }))
            .pingEnvId(pingEnvId?.applyValue({ args0 -> args0 }))
            .pkceEnabled(pkceEnabled?.applyValue({ args0 -> args0 }))
            .redirectUrl(redirectUrl?.applyValue({ args0 -> args0 }))
            .scopes(scopes?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .signRequest(signRequest?.applyValue({ args0 -> args0 }))
            .ssoTargetUrl(ssoTargetUrl?.applyValue({ args0 -> args0 }))
            .supportGroups(supportGroups?.applyValue({ args0 -> args0 }))
            .tokenUrl(tokenUrl?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ZeroTrustAccessIdentityProviderConfigArgs].
 */
@PulumiTagMarker
public class ZeroTrustAccessIdentityProviderConfigArgsBuilder internal constructor() {
    private var apiToken: Output? = null

    private var appsDomain: Output? = null

    private var attributes: Output>? = null

    private var authUrl: Output? = null

    private var authorizationServerId: Output? = null

    private var centrifyAccount: Output? = null

    private var centrifyAppId: Output? = null

    private var certsUrl: Output? = null

    private var claims: Output>? = null

    private var clientId: Output? = null

    private var clientSecret: Output? = null

    private var conditionalAccessEnabled: Output? = null

    private var directoryId: Output? = null

    private var emailAttributeName: Output? = null

    private var emailClaimName: Output? = null

    private var idpPublicCert: Output? = null

    private var issuerUrl: Output? = null

    private var oktaAccount: Output? = null

    private var oneloginAccount: Output? = null

    private var pingEnvId: Output? = null

    private var pkceEnabled: Output? = null

    private var redirectUrl: Output? = null

    private var scopes: Output>? = null

    private var signRequest: Output? = null

    private var ssoTargetUrl: Output? = null

    private var supportGroups: Output? = null

    private var tokenUrl: Output? = null

    /**
     * @param value
     */
    @JvmName("iycswcvilghohtps")
    public suspend fun apiToken(`value`: Output) {
        this.apiToken = value
    }

    /**
     * @param value
     */
    @JvmName("ptlsxasjhgceygod")
    public suspend fun appsDomain(`value`: Output) {
        this.appsDomain = value
    }

    /**
     * @param value
     */
    @JvmName("iwgwhbppokbqiewc")
    public suspend fun attributes(`value`: Output>) {
        this.attributes = value
    }

    @JvmName("bmcdlqksogsimfmc")
    public suspend fun attributes(vararg values: Output) {
        this.attributes = Output.all(values.asList())
    }

    /**
     * @param values
     */
    @JvmName("yxpkcvctomwvvyju")
    public suspend fun attributes(values: List>) {
        this.attributes = Output.all(values)
    }

    /**
     * @param value
     */
    @JvmName("nqnfnsrfmjrbqreq")
    public suspend fun authUrl(`value`: Output) {
        this.authUrl = value
    }

    /**
     * @param value
     */
    @JvmName("ebpqemaoyldpojlf")
    public suspend fun authorizationServerId(`value`: Output) {
        this.authorizationServerId = value
    }

    /**
     * @param value
     */
    @JvmName("ytxeufouurcuknfu")
    public suspend fun centrifyAccount(`value`: Output) {
        this.centrifyAccount = value
    }

    /**
     * @param value
     */
    @JvmName("ohwqtcqwbguxvvpk")
    public suspend fun centrifyAppId(`value`: Output) {
        this.centrifyAppId = value
    }

    /**
     * @param value
     */
    @JvmName("uvthnllxwerdmhww")
    public suspend fun certsUrl(`value`: Output) {
        this.certsUrl = value
    }

    /**
     * @param value
     */
    @JvmName("qeuggwbfmrqxffko")
    public suspend fun claims(`value`: Output>) {
        this.claims = value
    }

    @JvmName("gdkavbwsnmlybehi")
    public suspend fun claims(vararg values: Output) {
        this.claims = Output.all(values.asList())
    }

    /**
     * @param values
     */
    @JvmName("cpuemnbphgcisbgd")
    public suspend fun claims(values: List>) {
        this.claims = Output.all(values)
    }

    /**
     * @param value
     */
    @JvmName("tfmjtmknqgycyoeh")
    public suspend fun clientId(`value`: Output) {
        this.clientId = value
    }

    /**
     * @param value
     */
    @JvmName("jrhvmkygmaxymwls")
    public suspend fun clientSecret(`value`: Output) {
        this.clientSecret = value
    }

    /**
     * @param value
     */
    @JvmName("yspqmuhkdtfrmide")
    public suspend fun conditionalAccessEnabled(`value`: Output) {
        this.conditionalAccessEnabled = value
    }

    /**
     * @param value
     */
    @JvmName("negcwdjiraehabwh")
    public suspend fun directoryId(`value`: Output) {
        this.directoryId = value
    }

    /**
     * @param value
     */
    @JvmName("fkhehjohgajxrtmo")
    public suspend fun emailAttributeName(`value`: Output) {
        this.emailAttributeName = value
    }

    /**
     * @param value
     */
    @JvmName("sfdhvgwxopxowopx")
    public suspend fun emailClaimName(`value`: Output) {
        this.emailClaimName = value
    }

    /**
     * @param value
     */
    @JvmName("cgvqcuexmrxiptps")
    public suspend fun idpPublicCert(`value`: Output) {
        this.idpPublicCert = value
    }

    /**
     * @param value
     */
    @JvmName("caeueycjfvfkxilg")
    public suspend fun issuerUrl(`value`: Output) {
        this.issuerUrl = value
    }

    /**
     * @param value
     */
    @JvmName("fdupncaykmgfdylb")
    public suspend fun oktaAccount(`value`: Output) {
        this.oktaAccount = value
    }

    /**
     * @param value
     */
    @JvmName("wlroijcvepodmjix")
    public suspend fun oneloginAccount(`value`: Output) {
        this.oneloginAccount = value
    }

    /**
     * @param value
     */
    @JvmName("elvaiagdchjjqycv")
    public suspend fun pingEnvId(`value`: Output) {
        this.pingEnvId = value
    }

    /**
     * @param value
     */
    @JvmName("iarbxfdwmpktrgga")
    public suspend fun pkceEnabled(`value`: Output) {
        this.pkceEnabled = value
    }

    /**
     * @param value
     */
    @JvmName("crbrrevtxefavcpq")
    public suspend fun redirectUrl(`value`: Output) {
        this.redirectUrl = value
    }

    /**
     * @param value
     */
    @JvmName("xraexoensbuwpvkf")
    public suspend fun scopes(`value`: Output>) {
        this.scopes = value
    }

    @JvmName("kjlkxistlvadeydg")
    public suspend fun scopes(vararg values: Output) {
        this.scopes = Output.all(values.asList())
    }

    /**
     * @param values
     */
    @JvmName("qjdjiectramhnubl")
    public suspend fun scopes(values: List>) {
        this.scopes = Output.all(values)
    }

    /**
     * @param value
     */
    @JvmName("nfclhtaolgfljriv")
    public suspend fun signRequest(`value`: Output) {
        this.signRequest = value
    }

    /**
     * @param value
     */
    @JvmName("ipsergnovsjrfarc")
    public suspend fun ssoTargetUrl(`value`: Output) {
        this.ssoTargetUrl = value
    }

    /**
     * @param value
     */
    @JvmName("xfgkmtsgayqrqvxe")
    public suspend fun supportGroups(`value`: Output) {
        this.supportGroups = value
    }

    /**
     * @param value
     */
    @JvmName("bjxafpdyigkadtwn")
    public suspend fun tokenUrl(`value`: Output) {
        this.tokenUrl = value
    }

    /**
     * @param value
     */
    @JvmName("kcqtfptqllpgpsqn")
    public suspend fun apiToken(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.apiToken = mapped
    }

    /**
     * @param value
     */
    @JvmName("uelrqmfyuganacfr")
    public suspend fun appsDomain(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.appsDomain = mapped
    }

    /**
     * @param value
     */
    @JvmName("khysuosuhtyuhonm")
    public suspend fun attributes(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.attributes = mapped
    }

    /**
     * @param values
     */
    @JvmName("iedgbluulrkqxije")
    public suspend fun attributes(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.attributes = mapped
    }

    /**
     * @param value
     */
    @JvmName("wqcjmpffjqlgxakf")
    public suspend fun authUrl(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.authUrl = mapped
    }

    /**
     * @param value
     */
    @JvmName("gdckhutdldpgtfmt")
    public suspend fun authorizationServerId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.authorizationServerId = mapped
    }

    /**
     * @param value
     */
    @JvmName("klqjvnebvoejmvhu")
    public suspend fun centrifyAccount(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.centrifyAccount = mapped
    }

    /**
     * @param value
     */
    @JvmName("ycncfbdxcyrhjnho")
    public suspend fun centrifyAppId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.centrifyAppId = mapped
    }

    /**
     * @param value
     */
    @JvmName("civgqfxqhfdvgmin")
    public suspend fun certsUrl(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.certsUrl = mapped
    }

    /**
     * @param value
     */
    @JvmName("hlxpgodiyudtkffs")
    public suspend fun claims(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.claims = mapped
    }

    /**
     * @param values
     */
    @JvmName("ycanoccugkmqflll")
    public suspend fun claims(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.claims = mapped
    }

    /**
     * @param value
     */
    @JvmName("gbbnkdsaskujvpla")
    public suspend fun clientId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.clientId = mapped
    }

    /**
     * @param value
     */
    @JvmName("dpwcoqxeamhbhcop")
    public suspend fun clientSecret(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.clientSecret = mapped
    }

    /**
     * @param value
     */
    @JvmName("kwusyojgvdsuvohp")
    public suspend fun conditionalAccessEnabled(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.conditionalAccessEnabled = mapped
    }

    /**
     * @param value
     */
    @JvmName("tkwowoqccpskujxg")
    public suspend fun directoryId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.directoryId = mapped
    }

    /**
     * @param value
     */
    @JvmName("jnyipfqjvvbjxnab")
    public suspend fun emailAttributeName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.emailAttributeName = mapped
    }

    /**
     * @param value
     */
    @JvmName("nvinfochxvkrvmbi")
    public suspend fun emailClaimName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.emailClaimName = mapped
    }

    /**
     * @param value
     */
    @JvmName("brvikoqgaqdvwudu")
    public suspend fun idpPublicCert(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.idpPublicCert = mapped
    }

    /**
     * @param value
     */
    @JvmName("rruqekpmiyfmctxx")
    public suspend fun issuerUrl(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.issuerUrl = mapped
    }

    /**
     * @param value
     */
    @JvmName("kdvnlmoesehmmuho")
    public suspend fun oktaAccount(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.oktaAccount = mapped
    }

    /**
     * @param value
     */
    @JvmName("ngvwnvycusvdrggr")
    public suspend fun oneloginAccount(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.oneloginAccount = mapped
    }

    /**
     * @param value
     */
    @JvmName("rcqsheqrudeguyns")
    public suspend fun pingEnvId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.pingEnvId = mapped
    }

    /**
     * @param value
     */
    @JvmName("ubghldpokcrixaum")
    public suspend fun pkceEnabled(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.pkceEnabled = mapped
    }

    /**
     * @param value
     */
    @JvmName("inkkiqyrxrhjfqjg")
    public suspend fun redirectUrl(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.redirectUrl = mapped
    }

    /**
     * @param value
     */
    @JvmName("dqyjpprodftucktg")
    public suspend fun scopes(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.scopes = mapped
    }

    /**
     * @param values
     */
    @JvmName("bhrghroaaqhiysga")
    public suspend fun scopes(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.scopes = mapped
    }

    /**
     * @param value
     */
    @JvmName("cigepgfygakmbemk")
    public suspend fun signRequest(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.signRequest = mapped
    }

    /**
     * @param value
     */
    @JvmName("pdgadhakfaxxjcyi")
    public suspend fun ssoTargetUrl(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.ssoTargetUrl = mapped
    }

    /**
     * @param value
     */
    @JvmName("rpunvlwtuktugjew")
    public suspend fun supportGroups(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.supportGroups = mapped
    }

    /**
     * @param value
     */
    @JvmName("gytlscwmtnwnjkvc")
    public suspend fun tokenUrl(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.tokenUrl = mapped
    }

    internal fun build(): ZeroTrustAccessIdentityProviderConfigArgs =
        ZeroTrustAccessIdentityProviderConfigArgs(
            apiToken = apiToken,
            appsDomain = appsDomain,
            attributes = attributes,
            authUrl = authUrl,
            authorizationServerId = authorizationServerId,
            centrifyAccount = centrifyAccount,
            centrifyAppId = centrifyAppId,
            certsUrl = certsUrl,
            claims = claims,
            clientId = clientId,
            clientSecret = clientSecret,
            conditionalAccessEnabled = conditionalAccessEnabled,
            directoryId = directoryId,
            emailAttributeName = emailAttributeName,
            emailClaimName = emailClaimName,
            idpPublicCert = idpPublicCert,
            issuerUrl = issuerUrl,
            oktaAccount = oktaAccount,
            oneloginAccount = oneloginAccount,
            pingEnvId = pingEnvId,
            pkceEnabled = pkceEnabled,
            redirectUrl = redirectUrl,
            scopes = scopes,
            signRequest = signRequest,
            ssoTargetUrl = ssoTargetUrl,
            supportGroups = supportGroups,
            tokenUrl = tokenUrl,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy