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

com.pulumi.cloudflare.kotlin.outputs.TeamsRuleRuleSettingsEgress.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.

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 TeamsRuleRuleSettingsEgress(
    public val ipv4: String,
    public val ipv4Fallback: String? = null,
    public val ipv6: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.cloudflare.outputs.TeamsRuleRuleSettingsEgress): TeamsRuleRuleSettingsEgress = TeamsRuleRuleSettingsEgress(
            ipv4 = javaType.ipv4(),
            ipv4Fallback = javaType.ipv4Fallback().map({ args0 -> args0 }).orElse(null),
            ipv6 = javaType.ipv6(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy