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

com.pulumi.gcp.compute.kotlin.outputs.ReservationSpecificReservationInstancePropertiesGuestAccelerator.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.compute.kotlin.outputs

import kotlin.Int
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property acceleratorCount The number of the guest accelerator cards exposed to
 * this instance.
 * @property acceleratorType The full or partial URL of the accelerator type to
 * attach to this instance. For example:
 * `projects/my-project/zones/us-central1-c/acceleratorTypes/nvidia-tesla-p100`
 * If you are creating an instance template, specify only the accelerator name.
 */
public data class ReservationSpecificReservationInstancePropertiesGuestAccelerator(
    public val acceleratorCount: Int,
    public val acceleratorType: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.compute.outputs.ReservationSpecificReservationInstancePropertiesGuestAccelerator): ReservationSpecificReservationInstancePropertiesGuestAccelerator =
            ReservationSpecificReservationInstancePropertiesGuestAccelerator(
                acceleratorCount = javaType.acceleratorCount(),
                acceleratorType = javaType.acceleratorType(),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy