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

com.pulumi.cloudflare.kotlin.inputs.TeamsAccountProxyArgs.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.47.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.cloudflare.kotlin.inputs

import com.pulumi.cloudflare.inputs.TeamsAccountProxyArgs.builder
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 kotlin.Boolean
import kotlin.Int
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property disableForTime Sets the time limit in seconds that a user can use an override code to bypass WARP.
 * @property rootCa Whether root ca is enabled account wide for ZT clients.
 * @property tcp Whether gateway proxy is enabled on gateway devices for TCP traffic.
 * @property udp Whether gateway proxy is enabled on gateway devices for UDP traffic.
 * @property virtualIp Whether virtual IP (CGNAT) is enabled account wide and will override existing local interface IP for ZT clients.
 */
public data class TeamsAccountProxyArgs(
    public val disableForTime: Output,
    public val rootCa: Output,
    public val tcp: Output,
    public val udp: Output,
    public val virtualIp: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.cloudflare.inputs.TeamsAccountProxyArgs =
        com.pulumi.cloudflare.inputs.TeamsAccountProxyArgs.builder()
            .disableForTime(disableForTime.applyValue({ args0 -> args0 }))
            .rootCa(rootCa.applyValue({ args0 -> args0 }))
            .tcp(tcp.applyValue({ args0 -> args0 }))
            .udp(udp.applyValue({ args0 -> args0 }))
            .virtualIp(virtualIp.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [TeamsAccountProxyArgs].
 */
@PulumiTagMarker
public class TeamsAccountProxyArgsBuilder internal constructor() {
    private var disableForTime: Output? = null

    private var rootCa: Output? = null

    private var tcp: Output? = null

    private var udp: Output? = null

    private var virtualIp: Output? = null

    /**
     * @param value Sets the time limit in seconds that a user can use an override code to bypass WARP.
     */
    @JvmName("pxnbavtogalqfdqv")
    public suspend fun disableForTime(`value`: Output) {
        this.disableForTime = value
    }

    /**
     * @param value Whether root ca is enabled account wide for ZT clients.
     */
    @JvmName("jadejfbsuobsuwik")
    public suspend fun rootCa(`value`: Output) {
        this.rootCa = value
    }

    /**
     * @param value Whether gateway proxy is enabled on gateway devices for TCP traffic.
     */
    @JvmName("hdclhstpshurgphx")
    public suspend fun tcp(`value`: Output) {
        this.tcp = value
    }

    /**
     * @param value Whether gateway proxy is enabled on gateway devices for UDP traffic.
     */
    @JvmName("pvgdihiwylpcaevd")
    public suspend fun udp(`value`: Output) {
        this.udp = value
    }

    /**
     * @param value Whether virtual IP (CGNAT) is enabled account wide and will override existing local interface IP for ZT clients.
     */
    @JvmName("pcrypcmetbymbplb")
    public suspend fun virtualIp(`value`: Output) {
        this.virtualIp = value
    }

    /**
     * @param value Sets the time limit in seconds that a user can use an override code to bypass WARP.
     */
    @JvmName("ohlxltdbehqhwhoo")
    public suspend fun disableForTime(`value`: Int) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.disableForTime = mapped
    }

    /**
     * @param value Whether root ca is enabled account wide for ZT clients.
     */
    @JvmName("uoxdfbxpqdwspcie")
    public suspend fun rootCa(`value`: Boolean) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.rootCa = mapped
    }

    /**
     * @param value Whether gateway proxy is enabled on gateway devices for TCP traffic.
     */
    @JvmName("tbumwuoxhshhaiiu")
    public suspend fun tcp(`value`: Boolean) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.tcp = mapped
    }

    /**
     * @param value Whether gateway proxy is enabled on gateway devices for UDP traffic.
     */
    @JvmName("lmpjoqtvyueqiwtg")
    public suspend fun udp(`value`: Boolean) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.udp = mapped
    }

    /**
     * @param value Whether virtual IP (CGNAT) is enabled account wide and will override existing local interface IP for ZT clients.
     */
    @JvmName("lcqdnkegxrninesy")
    public suspend fun virtualIp(`value`: Boolean) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.virtualIp = mapped
    }

    internal fun build(): TeamsAccountProxyArgs = TeamsAccountProxyArgs(
        disableForTime = disableForTime ?: throw PulumiNullFieldException("disableForTime"),
        rootCa = rootCa ?: throw PulumiNullFieldException("rootCa"),
        tcp = tcp ?: throw PulumiNullFieldException("tcp"),
        udp = udp ?: throw PulumiNullFieldException("udp"),
        virtualIp = virtualIp ?: throw PulumiNullFieldException("virtualIp"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy