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

com.pulumi.gcp.compute.kotlin.outputs.InstanceFromMachineImageScratchDisk.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.10.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 deviceName Name with which the attached disk is accessible under /dev/disk/by-id/
 * @property interface The disk interface used for attaching this disk. One of SCSI or NVME.
 * @property size The size of the disk in gigabytes. One of 375 or 3000.
 */
public data class InstanceFromMachineImageScratchDisk(
    public val deviceName: String? = null,
    public val `interface`: String,
    public val size: Int? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.compute.outputs.InstanceFromMachineImageScratchDisk): InstanceFromMachineImageScratchDisk = InstanceFromMachineImageScratchDisk(
            deviceName = javaType.deviceName().map({ args0 -> args0 }).orElse(null),
            `interface` = javaType.interface_(),
            size = javaType.size().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy