All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.notebooks.kotlin.outputs.RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfig.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.12.0.0
Show newest version
@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