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

com.pulumi.gcp.compute.kotlin.outputs.GetReservationSpecificReservationInstanceProperty.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.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property guestAccelerators Guest accelerator type and count.
 * @property localSsds The amount of local ssd to reserve with each instance. This
 * reserves disks of type 'local-ssd'.
 * @property machineType The name of the machine type to reserve.
 * @property minCpuPlatform The minimum CPU platform for the reservation. For example,
 * '"Intel Skylake"'. See
 * the CPU platform availability reference](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform#availablezones)
 * for information on available CPU platforms.
 */
public data class GetReservationSpecificReservationInstanceProperty(
    public val guestAccelerators: List,
    public val localSsds: List,
    public val machineType: String,
    public val minCpuPlatform: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.compute.outputs.GetReservationSpecificReservationInstanceProperty): GetReservationSpecificReservationInstanceProperty =
            GetReservationSpecificReservationInstanceProperty(
                guestAccelerators = javaType.guestAccelerators().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.gcp.compute.kotlin.outputs.GetReservationSpecificReservationInstancePropertyGuestAccelerator.Companion.toKotlin(args0)
                    })
                }),
                localSsds = javaType.localSsds().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.gcp.compute.kotlin.outputs.GetReservationSpecificReservationInstancePropertyLocalSsd.Companion.toKotlin(args0)
                    })
                }),
                machineType = javaType.machineType(),
                minCpuPlatform = javaType.minCpuPlatform(),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy