![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.network.kotlin.inputs.ExplicitProxyArgs.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.network.kotlin.inputs
import com.pulumi.azurenative.network.inputs.ExplicitProxyArgs.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.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Explicit Proxy Settings in Firewall Policy.
* @property enableExplicitProxy When set to true, explicit proxy mode is enabled.
* @property enablePacFile When set to true, pac file port and url needs to be provided.
* @property httpPort Port number for explicit proxy http protocol, cannot be greater than 64000.
* @property httpsPort Port number for explicit proxy https protocol, cannot be greater than 64000.
* @property pacFile SAS URL for PAC file.
* @property pacFilePort Port number for firewall to serve PAC file.
*/
public data class ExplicitProxyArgs(
public val enableExplicitProxy: Output? = null,
public val enablePacFile: Output? = null,
public val httpPort: Output? = null,
public val httpsPort: Output? = null,
public val pacFile: Output? = null,
public val pacFilePort: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.network.inputs.ExplicitProxyArgs =
com.pulumi.azurenative.network.inputs.ExplicitProxyArgs.builder()
.enableExplicitProxy(enableExplicitProxy?.applyValue({ args0 -> args0 }))
.enablePacFile(enablePacFile?.applyValue({ args0 -> args0 }))
.httpPort(httpPort?.applyValue({ args0 -> args0 }))
.httpsPort(httpsPort?.applyValue({ args0 -> args0 }))
.pacFile(pacFile?.applyValue({ args0 -> args0 }))
.pacFilePort(pacFilePort?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ExplicitProxyArgs].
*/
@PulumiTagMarker
public class ExplicitProxyArgsBuilder internal constructor() {
private var enableExplicitProxy: Output? = null
private var enablePacFile: Output? = null
private var httpPort: Output? = null
private var httpsPort: Output? = null
private var pacFile: Output? = null
private var pacFilePort: Output? = null
/**
* @param value When set to true, explicit proxy mode is enabled.
*/
@JvmName("fdvuskrkstiiqiif")
public suspend fun enableExplicitProxy(`value`: Output) {
this.enableExplicitProxy = value
}
/**
* @param value When set to true, pac file port and url needs to be provided.
*/
@JvmName("onakgljgfvhglmkk")
public suspend fun enablePacFile(`value`: Output) {
this.enablePacFile = value
}
/**
* @param value Port number for explicit proxy http protocol, cannot be greater than 64000.
*/
@JvmName("kaqagxrpkrwlswav")
public suspend fun httpPort(`value`: Output) {
this.httpPort = value
}
/**
* @param value Port number for explicit proxy https protocol, cannot be greater than 64000.
*/
@JvmName("fpqkrjwgybhujtji")
public suspend fun httpsPort(`value`: Output) {
this.httpsPort = value
}
/**
* @param value SAS URL for PAC file.
*/
@JvmName("chnvpjeoiawksknb")
public suspend fun pacFile(`value`: Output) {
this.pacFile = value
}
/**
* @param value Port number for firewall to serve PAC file.
*/
@JvmName("iqsehcwqpwykkakj")
public suspend fun pacFilePort(`value`: Output) {
this.pacFilePort = value
}
/**
* @param value When set to true, explicit proxy mode is enabled.
*/
@JvmName("kblsiinscvjvkwak")
public suspend fun enableExplicitProxy(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.enableExplicitProxy = mapped
}
/**
* @param value When set to true, pac file port and url needs to be provided.
*/
@JvmName("jltsydnuloohioll")
public suspend fun enablePacFile(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.enablePacFile = mapped
}
/**
* @param value Port number for explicit proxy http protocol, cannot be greater than 64000.
*/
@JvmName("bviwkedehmfhcewq")
public suspend fun httpPort(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.httpPort = mapped
}
/**
* @param value Port number for explicit proxy https protocol, cannot be greater than 64000.
*/
@JvmName("hdmcettkcrfskvmu")
public suspend fun httpsPort(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.httpsPort = mapped
}
/**
* @param value SAS URL for PAC file.
*/
@JvmName("ppjajlahflrkpcyj")
public suspend fun pacFile(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.pacFile = mapped
}
/**
* @param value Port number for firewall to serve PAC file.
*/
@JvmName("ldgnvdojqkgrueep")
public suspend fun pacFilePort(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.pacFilePort = mapped
}
internal fun build(): ExplicitProxyArgs = ExplicitProxyArgs(
enableExplicitProxy = enableExplicitProxy,
enablePacFile = enablePacFile,
httpPort = httpPort,
httpsPort = httpsPort,
pacFile = pacFile,
pacFilePort = pacFilePort,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy