
com.pulumi.azure.network.kotlin.inputs.VirtualHubConnectionRoutingStaticVnetRouteArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.network.kotlin.inputs
import com.pulumi.azure.network.inputs.VirtualHubConnectionRoutingStaticVnetRouteArgs.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
/**
*
* @property addressPrefixes A list of CIDR Ranges which should be used as Address Prefixes.
* @property name The name which should be used for this Static Route.
* @property nextHopIpAddress The IP Address which should be used for the Next Hop.
*/
public data class VirtualHubConnectionRoutingStaticVnetRouteArgs(
public val addressPrefixes: Output>? = null,
public val name: Output? = null,
public val nextHopIpAddress: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.azure.network.inputs.VirtualHubConnectionRoutingStaticVnetRouteArgs =
com.pulumi.azure.network.inputs.VirtualHubConnectionRoutingStaticVnetRouteArgs.builder()
.addressPrefixes(addressPrefixes?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.name(name?.applyValue({ args0 -> args0 }))
.nextHopIpAddress(nextHopIpAddress?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [VirtualHubConnectionRoutingStaticVnetRouteArgs].
*/
@PulumiTagMarker
public class VirtualHubConnectionRoutingStaticVnetRouteArgsBuilder internal constructor() {
private var addressPrefixes: Output>? = null
private var name: Output? = null
private var nextHopIpAddress: Output? = null
/**
* @param value A list of CIDR Ranges which should be used as Address Prefixes.
*/
@JvmName("hrhlxubnbqmpxoul")
public suspend fun addressPrefixes(`value`: Output>) {
this.addressPrefixes = value
}
@JvmName("qxsjwybqmcogdhkl")
public suspend fun addressPrefixes(vararg values: Output) {
this.addressPrefixes = Output.all(values.asList())
}
/**
* @param values A list of CIDR Ranges which should be used as Address Prefixes.
*/
@JvmName("ekiueyemomovqjqe")
public suspend fun addressPrefixes(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy