com.pulumi.azure.network.kotlin.outputs.VirtualHubRouteTableRoute.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.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @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 VirtualHubRouteTableRoute(
public val destinations: List,
public val destinationsType: String,
public val name: String,
public val nextHop: String,
public val nextHopType: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.network.outputs.VirtualHubRouteTableRoute):
VirtualHubRouteTableRoute = VirtualHubRouteTableRoute(
destinations = javaType.destinations().map({ args0 -> args0 }),
destinationsType = javaType.destinationsType(),
name = javaType.name(),
nextHop = javaType.nextHop(),
nextHopType = javaType.nextHopType().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy