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

com.pulumi.gcp.compute.kotlin.outputs.GetRouterStatusResult.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: 8.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.compute.kotlin.outputs

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

/**
 * A collection of values returned by getRouterStatus.
 * @property bestRoutes List of best `compute#routes` configurations for this router's network. See gcp.compute.Route resource for available attributes.
 * @property bestRoutesForRouters List of best `compute#routes` for this specific router. See gcp.compute.Route resource for available attributes.
 * @property id The provider-assigned unique ID for this managed resource.
 * @property name
 * @property network The network name or resource link to the parent
 * network of this subnetwork.
 * @property project
 * @property region
 */
public data class GetRouterStatusResult(
    public val bestRoutes: List,
    public val bestRoutesForRouters: List,
    public val id: String,
    public val name: String,
    public val network: String,
    public val project: String? = null,
    public val region: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.compute.outputs.GetRouterStatusResult): GetRouterStatusResult = GetRouterStatusResult(
            bestRoutes = javaType.bestRoutes().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.compute.kotlin.outputs.GetRouterStatusBestRoute.Companion.toKotlin(args0)
                })
            }),
            bestRoutesForRouters = javaType.bestRoutesForRouters().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.compute.kotlin.outputs.GetRouterStatusBestRoutesForRouter.Companion.toKotlin(args0)
                })
            }),
            id = javaType.id(),
            name = javaType.name(),
            network = javaType.network(),
            project = javaType.project().map({ args0 -> args0 }).orElse(null),
            region = javaType.region(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy