![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.cloudngfw.kotlin.inputs.DNSSettingsArgs.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.cloudngfw.kotlin.inputs
import com.pulumi.azurenative.cloudngfw.inputs.DNSSettingsArgs.builder
import com.pulumi.azurenative.cloudngfw.kotlin.enums.DNSProxy
import com.pulumi.azurenative.cloudngfw.kotlin.enums.EnabledDNSType
import com.pulumi.core.Either
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.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* DNS Proxy settings for Firewall
* @property dnsServers List of IPs associated with the Firewall
* @property enableDnsProxy Enable DNS proxy, disabled by default
* @property enabledDnsType Enabled DNS proxy type, disabled by default
*/
public data class DNSSettingsArgs(
public val dnsServers: Output>? = null,
public val enableDnsProxy: Output>? = null,
public val enabledDnsType: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.cloudngfw.inputs.DNSSettingsArgs =
com.pulumi.azurenative.cloudngfw.inputs.DNSSettingsArgs.builder()
.dnsServers(
dnsServers?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.enableDnsProxy(
enableDnsProxy?.applyValue({ args0 ->
args0.transform({ args0 -> args0 }, { args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.enabledDnsType(
enabledDnsType?.applyValue({ args0 ->
args0.transform({ args0 -> args0 }, { args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
).build()
}
/**
* Builder for [DNSSettingsArgs].
*/
@PulumiTagMarker
public class DNSSettingsArgsBuilder internal constructor() {
private var dnsServers: Output>? = null
private var enableDnsProxy: Output>? = null
private var enabledDnsType: Output>? = null
/**
* @param value List of IPs associated with the Firewall
*/
@JvmName("obwvfqtjjrdxlgqq")
public suspend fun dnsServers(`value`: Output>) {
this.dnsServers = value
}
@JvmName("gyyocimncctckphf")
public suspend fun dnsServers(vararg values: Output) {
this.dnsServers = Output.all(values.asList())
}
/**
* @param values List of IPs associated with the Firewall
*/
@JvmName("sdfhtkkydwivsyxg")
public suspend fun dnsServers(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy