com.pulumi.cloudflare.kotlin.inputs.ZeroTrustGatewaySettingsProxyArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-cloudflare-kotlin Show documentation
Show all versions of pulumi-cloudflare-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.
The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.cloudflare.kotlin.inputs
import com.pulumi.cloudflare.inputs.ZeroTrustGatewaySettingsProxyArgs.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 ZeroTrustGatewaySettingsProxyArgs(
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.ZeroTrustGatewaySettingsProxyArgs =
com.pulumi.cloudflare.inputs.ZeroTrustGatewaySettingsProxyArgs.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 [ZeroTrustGatewaySettingsProxyArgs].
*/
@PulumiTagMarker
public class ZeroTrustGatewaySettingsProxyArgsBuilder 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("wbqsyjtitpuxkkaq")
public suspend fun disableForTime(`value`: Output) {
this.disableForTime = value
}
/**
* @param value Whether root ca is enabled account wide for ZT clients.
*/
@JvmName("uncevoroqmvnrqdw")
public suspend fun rootCa(`value`: Output) {
this.rootCa = value
}
/**
* @param value Whether gateway proxy is enabled on gateway devices for TCP traffic.
*/
@JvmName("wrqtpsqpsiynnwrh")
public suspend fun tcp(`value`: Output) {
this.tcp = value
}
/**
* @param value Whether gateway proxy is enabled on gateway devices for UDP traffic.
*/
@JvmName("dhrkjnyeonqvvdye")
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("bgjtgegbgjqihkno")
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("mhyfpgsjpqtxxnul")
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("rxqrbnolsvjnnyww")
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("jkobxlsqtxaaaeck")
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("qfcgkyyrnknbmgxi")
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("soslxsitidrwboxi")
public suspend fun virtualIp(`value`: Boolean) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.virtualIp = mapped
}
internal fun build(): ZeroTrustGatewaySettingsProxyArgs = ZeroTrustGatewaySettingsProxyArgs(
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"),
)
}