com.pulumi.cloudflare.kotlin.outputs.ZeroTrustGatewayPolicyRuleSettingsDnsResolvers.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-cloudflare-kotlin Show documentation
Show all versions of pulumi-cloudflare-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.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)
})
}),
)
}
}