com.pulumi.gcp.compute.kotlin.outputs.GetSubnetworksResult.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 getSubnetworks.
* @property filter
* @property id The provider-assigned unique ID for this managed resource.
* @property project
* @property region
* @property subnetworks A list of all retrieved GCE subnetworks. Structure is defined below.
*/
public data class GetSubnetworksResult(
public val filter: String? = null,
public val id: String,
public val project: String? = null,
public val region: String? = null,
public val subnetworks: List,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.compute.outputs.GetSubnetworksResult): GetSubnetworksResult = GetSubnetworksResult(
filter = javaType.filter().map({ args0 -> args0 }).orElse(null),
id = javaType.id(),
project = javaType.project().map({ args0 -> args0 }).orElse(null),
region = javaType.region().map({ args0 -> args0 }).orElse(null),
subnetworks = javaType.subnetworks().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.compute.kotlin.outputs.GetSubnetworksSubnetwork.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy