![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.network.kotlin.inputs.FirewallPolicySNATArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-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.azurenative.network.kotlin.inputs
import com.pulumi.azurenative.network.inputs.FirewallPolicySNATArgs.builder
import com.pulumi.azurenative.network.kotlin.enums.AutoLearnPrivateRangesMode
import com.pulumi.core.Either
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* The private IP addresses/IP ranges to which traffic will not be SNAT.
* @property autoLearnPrivateRanges The operation mode for automatically learning private ranges to not be SNAT
* @property privateRanges List of private IP addresses/IP address ranges to not be SNAT.
*/
public data class FirewallPolicySNATArgs(
public val autoLearnPrivateRanges: Output>? = null,
public val privateRanges: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.network.inputs.FirewallPolicySNATArgs =
com.pulumi.azurenative.network.inputs.FirewallPolicySNATArgs.builder()
.autoLearnPrivateRanges(
autoLearnPrivateRanges?.applyValue({ args0 ->
args0.transform({ args0 ->
args0
}, { args0 -> args0.let({ args0 -> args0.toJava() }) })
}),
)
.privateRanges(privateRanges?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [FirewallPolicySNATArgs].
*/
@PulumiTagMarker
public class FirewallPolicySNATArgsBuilder internal constructor() {
private var autoLearnPrivateRanges: Output>? = null
private var privateRanges: Output>? = null
/**
* @param value The operation mode for automatically learning private ranges to not be SNAT
*/
@JvmName("urtnaewrtvwumeqr")
public suspend fun autoLearnPrivateRanges(`value`: Output>) {
this.autoLearnPrivateRanges = value
}
/**
* @param value List of private IP addresses/IP address ranges to not be SNAT.
*/
@JvmName("loeksaryaelhbrhc")
public suspend fun privateRanges(`value`: Output>) {
this.privateRanges = value
}
@JvmName("njaxpkapdbybqdrg")
public suspend fun privateRanges(vararg values: Output) {
this.privateRanges = Output.all(values.asList())
}
/**
* @param values List of private IP addresses/IP address ranges to not be SNAT.
*/
@JvmName("ilondcghigbudbhg")
public suspend fun privateRanges(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy