![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.network.kotlin.inputs.RoutingIntentRoutingPolicyArgs.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.RoutingIntentRoutingPolicyArgs.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 kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property destinations A list of destinations which this routing policy is applicable to. Possible values are `Internet` and `PrivateTraffic`.
* @property name The unique name for the routing policy.
* @property nextHop The resource ID of the next hop on which this routing policy is applicable to.
*/
public data class RoutingIntentRoutingPolicyArgs(
public val destinations: Output>,
public val name: Output,
public val nextHop: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.network.inputs.RoutingIntentRoutingPolicyArgs =
com.pulumi.azure.network.inputs.RoutingIntentRoutingPolicyArgs.builder()
.destinations(destinations.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.name(name.applyValue({ args0 -> args0 }))
.nextHop(nextHop.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [RoutingIntentRoutingPolicyArgs].
*/
@PulumiTagMarker
public class RoutingIntentRoutingPolicyArgsBuilder internal constructor() {
private var destinations: Output>? = null
private var name: Output? = null
private var nextHop: Output? = null
/**
* @param value A list of destinations which this routing policy is applicable to. Possible values are `Internet` and `PrivateTraffic`.
*/
@JvmName("tteheoevngbthnop")
public suspend fun destinations(`value`: Output>) {
this.destinations = value
}
@JvmName("vivqyvurkybqylci")
public suspend fun destinations(vararg values: Output) {
this.destinations = Output.all(values.asList())
}
/**
* @param values A list of destinations which this routing policy is applicable to. Possible values are `Internet` and `PrivateTraffic`.
*/
@JvmName("ygsnmmnoqmprfybi")
public suspend fun destinations(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy