
com.pulumi.gcp.tpu.kotlin.outputs.V2QueuedResourceTpuNodeSpecNode.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.tpu.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property acceleratorType TPU accelerator type for the TPU. If not specified, this defaults to 'v2-8'.
* @property description Text description of the TPU.
* @property runtimeVersion Runtime version for the TPU.
*/
public data class V2QueuedResourceTpuNodeSpecNode(
public val acceleratorType: String? = null,
public val description: String? = null,
public val runtimeVersion: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.tpu.outputs.V2QueuedResourceTpuNodeSpecNode): V2QueuedResourceTpuNodeSpecNode = V2QueuedResourceTpuNodeSpecNode(
acceleratorType = javaType.acceleratorType().map({ args0 -> args0 }).orElse(null),
description = javaType.description().map({ args0 -> args0 }).orElse(null),
runtimeVersion = javaType.runtimeVersion(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy