com.pulumi.gcp.edgecontainer.kotlin.outputs.VpnConnectionDetail.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.edgecontainer.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property cloudRouters (Output)
* The Cloud Router info.
* Structure is documented below.
* @property cloudVpns (Output)
* Each connection has multiple Cloud VPN gateways.
* Structure is documented below.
* @property error (Output)
* The error message. This is only populated when state=ERROR.
* @property state (Output)
* The current connection state.
*/
public data class VpnConnectionDetail(
public val cloudRouters: List? = null,
public val cloudVpns: List? = null,
public val error: String? = null,
public val state: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.edgecontainer.outputs.VpnConnectionDetail): VpnConnectionDetail = VpnConnectionDetail(
cloudRouters = javaType.cloudRouters().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.edgecontainer.kotlin.outputs.VpnConnectionDetailCloudRouter.Companion.toKotlin(args0)
})
}),
cloudVpns = javaType.cloudVpns().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.edgecontainer.kotlin.outputs.VpnConnectionDetailCloudVpn.Companion.toKotlin(args0)
})
}),
error = javaType.error().map({ args0 -> args0 }).orElse(null),
state = javaType.state().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy