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

com.pulumi.gcp.compute.kotlin.outputs.NodeTemplateAccelerator.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.13.1.0
Show newest version
@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