![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.network.kotlin.inputs.VirtualHubRouteArgs.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.VirtualHubRouteArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* VirtualHub route.
* @property addressPrefixes List of all addressPrefixes.
* @property nextHopIpAddress NextHop ip address.
*/
public data class VirtualHubRouteArgs(
public val addressPrefixes: Output>? = null,
public val nextHopIpAddress: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.network.inputs.VirtualHubRouteArgs =
com.pulumi.azurenative.network.inputs.VirtualHubRouteArgs.builder()
.addressPrefixes(addressPrefixes?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.nextHopIpAddress(nextHopIpAddress?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [VirtualHubRouteArgs].
*/
@PulumiTagMarker
public class VirtualHubRouteArgsBuilder internal constructor() {
private var addressPrefixes: Output>? = null
private var nextHopIpAddress: Output? = null
/**
* @param value List of all addressPrefixes.
*/
@JvmName("vktjqjmhvwmaxapy")
public suspend fun addressPrefixes(`value`: Output>) {
this.addressPrefixes = value
}
@JvmName("hbspugibyuhrsxdm")
public suspend fun addressPrefixes(vararg values: Output) {
this.addressPrefixes = Output.all(values.asList())
}
/**
* @param values List of all addressPrefixes.
*/
@JvmName("olkyfgmprmpiovia")
public suspend fun addressPrefixes(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy