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

com.pulumi.azure.network.kotlin.outputs.VirtualHubConnectionRouting.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 associatedRouteTableId The ID of the route table associated with this Virtual Hub connection.
 * @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.
 * @property staticVnetLocalRouteOverrideCriteria The static VNet local route override criteria that is used to determine whether NVA in spoke VNet is bypassed for traffic with destination in spoke VNet. Possible values are `Contains` and `Equal`. Defaults to `Contains`. Changing this forces a new resource to be created.
 * @property staticVnetRoutes A `static_vnet_route` block as defined below.
 */
public data class VirtualHubConnectionRouting(
    public val associatedRouteTableId: String? = null,
    public val inboundRouteMapId: String? = null,
    public val outboundRouteMapId: String? = null,
    public val propagatedRouteTable: VirtualHubConnectionRoutingPropagatedRouteTable? = null,
    public val staticVnetLocalRouteOverrideCriteria: String? = null,
    public val staticVnetRoutes: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.network.outputs.VirtualHubConnectionRouting): VirtualHubConnectionRouting = VirtualHubConnectionRouting(
            associatedRouteTableId = javaType.associatedRouteTableId().map({ args0 -> args0 }).orElse(null),
            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.VirtualHubConnectionRoutingPropagatedRouteTable.Companion.toKotlin(args0)
                })
            }).orElse(null),
            staticVnetLocalRouteOverrideCriteria = javaType.staticVnetLocalRouteOverrideCriteria().map({ args0 ->
                args0
            }).orElse(null),
            staticVnetRoutes = javaType.staticVnetRoutes().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.network.kotlin.outputs.VirtualHubConnectionRoutingStaticVnetRoute.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy