![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.network.kotlin.inputs.VirtualHubRouteTableRouteArgs.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.VirtualHubRouteTableRouteArgs.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 destination addresses for this route.
* @property destinationsType The type of destinations. Possible values are `CIDR`, `ResourceId` and `Service`.
* @property name The name which should be used for this route.
* @property nextHop The next hop's resource ID.
* @property nextHopType The type of next hop. Currently the only possible value is `ResourceId`. Defaults to `ResourceId`.
* > **Note:** The Routes can alternatively be created using the virtual_hub_route_table_route resource. Using both inline and external routes is not supported and may result in unexpected configuration.
*/
public data class VirtualHubRouteTableRouteArgs(
public val destinations: Output>,
public val destinationsType: Output,
public val name: Output,
public val nextHop: Output,
public val nextHopType: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.network.inputs.VirtualHubRouteTableRouteArgs =
com.pulumi.azure.network.inputs.VirtualHubRouteTableRouteArgs.builder()
.destinations(destinations.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.destinationsType(destinationsType.applyValue({ args0 -> args0 }))
.name(name.applyValue({ args0 -> args0 }))
.nextHop(nextHop.applyValue({ args0 -> args0 }))
.nextHopType(nextHopType?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [VirtualHubRouteTableRouteArgs].
*/
@PulumiTagMarker
public class VirtualHubRouteTableRouteArgsBuilder internal constructor() {
private var destinations: Output>? = null
private var destinationsType: Output? = null
private var name: Output? = null
private var nextHop: Output? = null
private var nextHopType: Output? = null
/**
* @param value A list of destination addresses for this route.
*/
@JvmName("kpdvioiaueqyagfq")
public suspend fun destinations(`value`: Output>) {
this.destinations = value
}
@JvmName("paxppofobmkdojey")
public suspend fun destinations(vararg values: Output) {
this.destinations = Output.all(values.asList())
}
/**
* @param values A list of destination addresses for this route.
*/
@JvmName("fywqstsgfgmdmtob")
public suspend fun destinations(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy