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

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

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

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

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property associatedRouteTableId The Virtual Hub Route Table resource id associated with this Routing Configuration.
 * @property inboundRouteMapId The resource ID of the Route Map associated with this Routing Configuration for inbound learned routes.
 * @property outboundRouteMapId The resource ID of the Route Map associated with this Routing Configuration for outbound advertised routes.
 * @property propagatedRouteTable A `propagated_route_table` block as defined below.
 */
public data class PointToPointVpnGatewayConnectionConfigurationRoute(
    public val associatedRouteTableId: String,
    public val inboundRouteMapId: String? = null,
    public val outboundRouteMapId: String? = null,
    public val propagatedRouteTable:
    PointToPointVpnGatewayConnectionConfigurationRoutePropagatedRouteTable? = null,
) {
    public companion object {
        public
        fun toKotlin(javaType: com.pulumi.azure.network.outputs.PointToPointVpnGatewayConnectionConfigurationRoute):
            PointToPointVpnGatewayConnectionConfigurationRoute =
            PointToPointVpnGatewayConnectionConfigurationRoute(
                associatedRouteTableId = javaType.associatedRouteTableId(),
                inboundRouteMapId = javaType.inboundRouteMapId().map({ args0 -> args0 }).orElse(null),
                outboundRouteMapId = javaType.outboundRouteMapId().map({ args0 -> args0 }).orElse(null),
                propagatedRouteTable = javaType.propagatedRouteTable().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.azure.network.kotlin.outputs.PointToPointVpnGatewayConnectionConfigurationRoutePropagatedRouteTable.Companion.toKotlin(args0)
                    })
                }).orElse(null),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy