com.pulumi.gcp.tpu.kotlin.outputs.GetV2RuntimeVersionsResult.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.tpu.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* A collection of values returned by getV2RuntimeVersions.
* @property id The provider-assigned unique ID for this managed resource.
* @property project
* @property versions The list of runtime versions available for the given project and zone.
* @property zone
*/
public data class GetV2RuntimeVersionsResult(
public val id: String,
public val project: String,
public val versions: List,
public val zone: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.tpu.outputs.GetV2RuntimeVersionsResult): GetV2RuntimeVersionsResult = GetV2RuntimeVersionsResult(
id = javaType.id(),
project = javaType.project(),
versions = javaType.versions().map({ args0 -> args0 }),
zone = javaType.zone(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy