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

com.pulumi.cloudflare.kotlin.outputs.ZeroTrustGatewayPolicyRuleSettingsDnsResolvers.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: 5.40.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.cloudflare.kotlin.outputs

import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property ipv4s IPv4 resolvers.
 * @property ipv6s IPv6 resolvers.
 */
public data class ZeroTrustGatewayPolicyRuleSettingsDnsResolvers(
    public val ipv4s: List? = null,
    public val ipv6s: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.cloudflare.outputs.ZeroTrustGatewayPolicyRuleSettingsDnsResolvers): ZeroTrustGatewayPolicyRuleSettingsDnsResolvers =
            ZeroTrustGatewayPolicyRuleSettingsDnsResolvers(
                ipv4s = javaType.ipv4s().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.cloudflare.kotlin.outputs.ZeroTrustGatewayPolicyRuleSettingsDnsResolversIpv4.Companion.toKotlin(args0)
                    })
                }),
                ipv6s = javaType.ipv6s().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.cloudflare.kotlin.outputs.ZeroTrustGatewayPolicyRuleSettingsDnsResolversIpv6.Companion.toKotlin(args0)
                    })
                }),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy