All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.network.kotlin.outputs.VirtualHubRoute.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.network.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property addressPrefixes A list of Address Prefixes.
 * @property nextHopIpAddress The IP Address that Packets should be forwarded to as the Next Hop.
 */
public data class VirtualHubRoute(
    public val addressPrefixes: List,
    public val nextHopIpAddress: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.network.outputs.VirtualHubRoute): VirtualHubRoute = VirtualHubRoute(
            addressPrefixes = javaType.addressPrefixes().map({ args0 -> args0 }),
            nextHopIpAddress = javaType.nextHopIpAddress(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy