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

com.pulumi.azurenative.azurestackhci.kotlin.outputs.RouteTableResponse.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.azurestackhci.kotlin.outputs

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

/**
 * Route table resource.
 * @property etag A unique read-only string that changes whenever the resource is updated.
 * @property name Resource name.
 * @property routes Collection of routes contained within a route table.
 * @property type Resource type.
 */
public data class RouteTableResponse(
    public val etag: String,
    public val name: String,
    public val routes: List? = null,
    public val type: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azurenative.azurestackhci.outputs.RouteTableResponse): RouteTableResponse = RouteTableResponse(
            etag = javaType.etag(),
            name = javaType.name(),
            routes = javaType.routes().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azurenative.azurestackhci.kotlin.outputs.RouteResponse.Companion.toKotlin(args0)
                })
            }),
            type = javaType.type(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy