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

com.pulumi.azure.network.kotlin.outputs.FirewallPolicyDns.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.network.kotlin.outputs

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

/**
 *
 * @property proxyEnabled Whether to enable DNS proxy on Firewalls attached to this Firewall Policy? Defaults to `false`.
 * @property servers A list of custom DNS servers' IP addresses.
 */
public data class FirewallPolicyDns(
    public val proxyEnabled: Boolean? = null,
    public val servers: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.network.outputs.FirewallPolicyDns): FirewallPolicyDns = FirewallPolicyDns(
            proxyEnabled = javaType.proxyEnabled().map({ args0 -> args0 }).orElse(null),
            servers = javaType.servers().map({ args0 -> args0 }),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy