![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.network.kotlin.inputs.RouteMapRuleActionArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-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.azure.network.kotlin.inputs
import com.pulumi.azure.network.inputs.RouteMapRuleActionArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
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
/**
*
* @property parameters A `parameter` block as defined below. Required if `type` is anything other than `Drop`.
* @property type The type of the action to be taken. Possible values are `Add`, `Drop`, `Remove`, `Replace` and `Unknown`.
*/
public data class RouteMapRuleActionArgs(
public val parameters: Output>? = null,
public val type: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.network.inputs.RouteMapRuleActionArgs =
com.pulumi.azure.network.inputs.RouteMapRuleActionArgs.builder()
.parameters(
parameters?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.type(type.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [RouteMapRuleActionArgs].
*/
@PulumiTagMarker
public class RouteMapRuleActionArgsBuilder internal constructor() {
private var parameters: Output>? = null
private var type: Output? = null
/**
* @param value A `parameter` block as defined below. Required if `type` is anything other than `Drop`.
*/
@JvmName("sasieukkotjxpqws")
public suspend fun parameters(`value`: Output>) {
this.parameters = value
}
@JvmName("mbndnafftcusxfmn")
public suspend fun parameters(vararg values: Output) {
this.parameters = Output.all(values.asList())
}
/**
* @param values A `parameter` block as defined below. Required if `type` is anything other than `Drop`.
*/
@JvmName("xkvakbmlxkwcsogh")
public suspend fun parameters(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy