![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.network.kotlin.inputs.VpnGatewayConnectionRoutingArgs.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.VpnGatewayConnectionRoutingArgs.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.jvm.JvmName
/**
*
* @property associatedRouteTable The ID of the Route Table associated with this VPN Connection.
* @property inboundRouteMapId The resource ID of the Route Map associated with this Routing Configuration for inbound learned routes.
* @property outboundRouteMapId The resource ID of the Route Map associated with this Routing Configuration for outbound advertised routes.
* @property propagatedRouteTable A `propagated_route_table` block as defined below.
*/
public data class VpnGatewayConnectionRoutingArgs(
public val associatedRouteTable: Output,
public val inboundRouteMapId: Output? = null,
public val outboundRouteMapId: Output? = null,
public val propagatedRouteTable: Output? =
null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.network.inputs.VpnGatewayConnectionRoutingArgs =
com.pulumi.azure.network.inputs.VpnGatewayConnectionRoutingArgs.builder()
.associatedRouteTable(associatedRouteTable.applyValue({ args0 -> args0 }))
.inboundRouteMapId(inboundRouteMapId?.applyValue({ args0 -> args0 }))
.outboundRouteMapId(outboundRouteMapId?.applyValue({ args0 -> args0 }))
.propagatedRouteTable(
propagatedRouteTable?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [VpnGatewayConnectionRoutingArgs].
*/
@PulumiTagMarker
public class VpnGatewayConnectionRoutingArgsBuilder internal constructor() {
private var associatedRouteTable: Output? = null
private var inboundRouteMapId: Output? = null
private var outboundRouteMapId: Output? = null
private var propagatedRouteTable: Output? =
null
/**
* @param value The ID of the Route Table associated with this VPN Connection.
*/
@JvmName("snhryycovwcaohsj")
public suspend fun associatedRouteTable(`value`: Output) {
this.associatedRouteTable = value
}
/**
* @param value The resource ID of the Route Map associated with this Routing Configuration for inbound learned routes.
*/
@JvmName("dbkcahrvojolbkcb")
public suspend fun inboundRouteMapId(`value`: Output) {
this.inboundRouteMapId = value
}
/**
* @param value The resource ID of the Route Map associated with this Routing Configuration for outbound advertised routes.
*/
@JvmName("faugaomwvmavivdt")
public suspend fun outboundRouteMapId(`value`: Output) {
this.outboundRouteMapId = value
}
/**
* @param value A `propagated_route_table` block as defined below.
*/
@JvmName("cdydwennjvyifxoh")
public suspend fun propagatedRouteTable(`value`: Output) {
this.propagatedRouteTable = value
}
/**
* @param value The ID of the Route Table associated with this VPN Connection.
*/
@JvmName("frplsywhbesylmft")
public suspend fun associatedRouteTable(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.associatedRouteTable = mapped
}
/**
* @param value The resource ID of the Route Map associated with this Routing Configuration for inbound learned routes.
*/
@JvmName("noydjbllqsupxsby")
public suspend fun inboundRouteMapId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.inboundRouteMapId = mapped
}
/**
* @param value The resource ID of the Route Map associated with this Routing Configuration for outbound advertised routes.
*/
@JvmName("tuwmfnpcwkcyoigj")
public suspend fun outboundRouteMapId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.outboundRouteMapId = mapped
}
/**
* @param value A `propagated_route_table` block as defined below.
*/
@JvmName("abyeiockacxsafte")
public suspend fun propagatedRouteTable(`value`: VpnGatewayConnectionRoutingPropagatedRouteTableArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.propagatedRouteTable = mapped
}
/**
* @param argument A `propagated_route_table` block as defined below.
*/
@JvmName("omeyttniqqbqwawu")
public suspend fun propagatedRouteTable(argument: suspend VpnGatewayConnectionRoutingPropagatedRouteTableArgsBuilder.() -> Unit) {
val toBeMapped = VpnGatewayConnectionRoutingPropagatedRouteTableArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.propagatedRouteTable = mapped
}
internal fun build(): VpnGatewayConnectionRoutingArgs = VpnGatewayConnectionRoutingArgs(
associatedRouteTable = associatedRouteTable ?: throw
PulumiNullFieldException("associatedRouteTable"),
inboundRouteMapId = inboundRouteMapId,
outboundRouteMapId = outboundRouteMapId,
propagatedRouteTable = propagatedRouteTable,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy