com.pulumi.gcp.notebooks.kotlin.outputs.RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfig.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.notebooks.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @property coreCount Count of cores of this accelerator.
* @property type Accelerator model. For valid values, see
* `https://cloud.google.com/vertex-ai/docs/workbench/reference/
* rest/v1/projects.locations.runtimes#AcceleratorType`
*/
public data class RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfig(
public val coreCount: Int? = null,
public val type: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.notebooks.outputs.RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfig): RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfig =
RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfig(
coreCount = javaType.coreCount().map({ args0 -> args0 }).orElse(null),
type = javaType.type().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy