com.pulumi.gcp.compute.kotlin.outputs.NodeTemplateAccelerator.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.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @property acceleratorCount The number of the guest accelerator cards exposed to this
* node template.
* @property acceleratorType Full or partial URL of the accelerator type resource to expose
* to this node template.
*/
public data class NodeTemplateAccelerator(
public val acceleratorCount: Int? = null,
public val acceleratorType: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.compute.outputs.NodeTemplateAccelerator): NodeTemplateAccelerator = NodeTemplateAccelerator(
acceleratorCount = javaType.acceleratorCount().map({ args0 -> args0 }).orElse(null),
acceleratorType = javaType.acceleratorType().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy