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

com.pulumi.azurenative.network.kotlin.outputs.DnsSettingsResponse.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: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.network.kotlin.outputs

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 * DNS Proxy Settings in Firewall Policy.
 * @property enableProxy Enable DNS Proxy on Firewalls attached to the Firewall Policy.
 * @property requireProxyForNetworkRules FQDNs in Network Rules are supported when set to true.
 * @property servers List of Custom DNS Servers.
 */
public data class DnsSettingsResponse(
    public val enableProxy: Boolean? = null,
    public val requireProxyForNetworkRules: Boolean? = null,
    public val servers: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azurenative.network.outputs.DnsSettingsResponse): DnsSettingsResponse = DnsSettingsResponse(
            enableProxy = javaType.enableProxy().map({ args0 -> args0 }).orElse(null),
            requireProxyForNetworkRules = javaType.requireProxyForNetworkRules().map({ args0 ->
                args0
            }).orElse(null),
            servers = javaType.servers().map({ args0 -> args0 }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy