com.pulumi.cloudflare.kotlin.outputs.ZeroTrustGatewayPolicyRuleSettingsEgress.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.
The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.cloudflare.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property ipv4 The IPv4 address to be used for egress.
* @property ipv4Fallback The IPv4 address to be used for egress in the event of an error egressing with the primary IPv4. Can be '0.0.0.0' to indicate local egreass via Warp IPs.
* @property ipv6 The IPv6 range to be used for egress.
*/
public data class ZeroTrustGatewayPolicyRuleSettingsEgress(
public val ipv4: String,
public val ipv4Fallback: String? = null,
public val ipv6: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.cloudflare.outputs.ZeroTrustGatewayPolicyRuleSettingsEgress): ZeroTrustGatewayPolicyRuleSettingsEgress = ZeroTrustGatewayPolicyRuleSettingsEgress(
ipv4 = javaType.ipv4(),
ipv4Fallback = javaType.ipv4Fallback().map({ args0 -> args0 }).orElse(null),
ipv6 = javaType.ipv6(),
)
}
}