com.pulumi.gcp.vmwareengine.kotlin.outputs.GetNetworkResult.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.vmwareengine.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* A collection of values returned by getNetwork.
* @property description
* @property id The provider-assigned unique ID for this managed resource.
* @property location
* @property name
* @property project
* @property state
* @property type
* @property uid
* @property vpcNetworks
*/
public data class GetNetworkResult(
public val description: String,
public val id: String,
public val location: String,
public val name: String,
public val project: String? = null,
public val state: String,
public val type: String,
public val uid: String,
public val vpcNetworks: List,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.vmwareengine.outputs.GetNetworkResult): GetNetworkResult = GetNetworkResult(
description = javaType.description(),
id = javaType.id(),
location = javaType.location(),
name = javaType.name(),
project = javaType.project().map({ args0 -> args0 }).orElse(null),
state = javaType.state(),
type = javaType.type(),
uid = javaType.uid(),
vpcNetworks = javaType.vpcNetworks().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.vmwareengine.kotlin.outputs.GetNetworkVpcNetwork.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy