com.pulumi.azure.network.kotlin.outputs.GetRouteTableResult.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.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map
/**
* A collection of values returned by getRouteTable.
* @property bgpRoutePropagationEnabled Boolean flag which controls propagation of routes learned by BGP on that route table.
* @property id The provider-assigned unique ID for this managed resource.
* @property location The Azure Region in which the Route Table exists.
* @property name The name of the Route.
* @property resourceGroupName
* @property routes One or more `route` blocks as documented below.
* @property subnets The collection of Subnets associated with this route table.
* @property tags A mapping of tags assigned to the Route Table.
*/
public data class GetRouteTableResult(
public val bgpRoutePropagationEnabled: Boolean,
public val id: String,
public val location: String,
public val name: String,
public val resourceGroupName: String,
public val routes: List,
public val subnets: List,
public val tags: Map,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.network.outputs.GetRouteTableResult):
GetRouteTableResult = GetRouteTableResult(
bgpRoutePropagationEnabled = javaType.bgpRoutePropagationEnabled(),
id = javaType.id(),
location = javaType.location(),
name = javaType.name(),
resourceGroupName = javaType.resourceGroupName(),
routes = javaType.routes().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.network.kotlin.outputs.GetRouteTableRoute.Companion.toKotlin(args0)
})
}),
subnets = javaType.subnets().map({ args0 -> args0 }),
tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy