
com.pulumi.azurenative.managednetworkfabric.kotlin.inputs.IpMatchConditionArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.managednetworkfabric.kotlin.inputs
import com.pulumi.azurenative.managednetworkfabric.inputs.IpMatchConditionArgs.builder
import com.pulumi.azurenative.managednetworkfabric.kotlin.enums.PrefixType
import com.pulumi.azurenative.managednetworkfabric.kotlin.enums.SourceDestinationType
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
/**
* Defines the condition that can be filtered using the selected IPs.
* @property ipGroupNames The List of IP Group Names that need to be matched.
* @property ipPrefixValues The list of IP Prefixes that need to be matched.
* @property prefixType IP Prefix Type that needs to be matched.
* @property type IP Address type that needs to be matched.
*/
public data class IpMatchConditionArgs(
public val ipGroupNames: Output>? = null,
public val ipPrefixValues: Output>? = null,
public val prefixType: Output>? = null,
public val type: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.managednetworkfabric.inputs.IpMatchConditionArgs =
com.pulumi.azurenative.managednetworkfabric.inputs.IpMatchConditionArgs.builder()
.ipGroupNames(ipGroupNames?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.ipPrefixValues(ipPrefixValues?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.prefixType(
prefixType?.applyValue({ args0 ->
args0.transform({ args0 -> args0 }, { args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.type(
type?.applyValue({ args0 ->
args0.transform({ args0 -> args0 }, { args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [IpMatchConditionArgs].
*/
@PulumiTagMarker
public class IpMatchConditionArgsBuilder internal constructor() {
private var ipGroupNames: Output>? = null
private var ipPrefixValues: Output>? = null
private var prefixType: Output>? = null
private var type: Output>? = null
/**
* @param value The List of IP Group Names that need to be matched.
*/
@JvmName("oguutvkkmdsitvmx")
public suspend fun ipGroupNames(`value`: Output>) {
this.ipGroupNames = value
}
@JvmName("asqweecnmjfsfrwn")
public suspend fun ipGroupNames(vararg values: Output) {
this.ipGroupNames = Output.all(values.asList())
}
/**
* @param values The List of IP Group Names that need to be matched.
*/
@JvmName("ohkkjwnljlibcswj")
public suspend fun ipGroupNames(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy