![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.network.kotlin.outputs.RouteTableRoute.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
/**
*
* @property addressPrefix The destination to which the route applies. Can be CIDR (such as `10.1.0.0/16`) or [Azure Service Tag](https://docs.microsoft.com/azure/virtual-network/service-tags-overview) (such as `ApiManagement`, `AzureBackup` or `AzureMonitor`) format.
* @property name The name of the route.
* @property nextHopInIpAddress Contains the IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is `VirtualAppliance`.
* @property nextHopType The type of Azure hop the packet should be sent to. Possible values are `VirtualNetworkGateway`, `VnetLocal`, `Internet`, `VirtualAppliance` and `None`.
*/
public data class RouteTableRoute(
public val addressPrefix: String,
public val name: String,
public val nextHopInIpAddress: String? = null,
public val nextHopType: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.network.outputs.RouteTableRoute): RouteTableRoute = RouteTableRoute(
addressPrefix = javaType.addressPrefix(),
name = javaType.name(),
nextHopInIpAddress = javaType.nextHopInIpAddress().map({ args0 -> args0 }).orElse(null),
nextHopType = javaType.nextHopType(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy