![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.network.kotlin.inputs.RouteMapRuleArgs.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.RouteMapRuleArgs.builder
import com.pulumi.azurenative.network.kotlin.enums.NextStep
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 com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* A RouteMap Rule.
* @property actions List of actions which will be applied on a match.
* @property matchCriteria List of matching criterion which will be applied to traffic.
* @property name The unique name for the rule.
* @property nextStepIfMatched Next step after rule is evaluated. Current supported behaviors are 'Continue'(to next rule) and 'Terminate'.
*/
public data class RouteMapRuleArgs(
public val actions: Output>? = null,
public val matchCriteria: Output>? = null,
public val name: Output? = null,
public val nextStepIfMatched: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.network.inputs.RouteMapRuleArgs =
com.pulumi.azurenative.network.inputs.RouteMapRuleArgs.builder()
.actions(
actions?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.matchCriteria(
matchCriteria?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.name(name?.applyValue({ args0 -> args0 }))
.nextStepIfMatched(
nextStepIfMatched?.applyValue({ args0 ->
args0.transform(
{ args0 -> args0 },
{ args0 -> args0.let({ args0 -> args0.toJava() }) },
)
}),
).build()
}
/**
* Builder for [RouteMapRuleArgs].
*/
@PulumiTagMarker
public class RouteMapRuleArgsBuilder internal constructor() {
private var actions: Output>? = null
private var matchCriteria: Output>? = null
private var name: Output? = null
private var nextStepIfMatched: Output>? = null
/**
* @param value List of actions which will be applied on a match.
*/
@JvmName("osqwcmharrtjufgh")
public suspend fun actions(`value`: Output>) {
this.actions = value
}
@JvmName("tsmbtjawyovbrpyk")
public suspend fun actions(vararg values: Output) {
this.actions = Output.all(values.asList())
}
/**
* @param values List of actions which will be applied on a match.
*/
@JvmName("hjwarqyvvrtbrewm")
public suspend fun actions(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy