com.pulumi.gcp.compute.kotlin.outputs.GetNetworksResult.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.compute.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* A collection of values returned by getNetworks.
* @property id The provider-assigned unique ID for this managed resource.
* @property networks The list of networks in the specified project.
* @property project The project name being queried.
* @property selfLink The URI of the resource.
*/
public data class GetNetworksResult(
public val id: String,
public val networks: List,
public val project: String? = null,
public val selfLink: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.compute.outputs.GetNetworksResult): GetNetworksResult = GetNetworksResult(
id = javaType.id(),
networks = javaType.networks().map({ args0 -> args0 }),
project = javaType.project().map({ args0 -> args0 }).orElse(null),
selfLink = javaType.selfLink(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy