com.pulumi.gcp.compute.kotlin.outputs.InstanceFromTemplateScratchDisk.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@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 InstanceFromTemplateScratchDisk(
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.InstanceFromTemplateScratchDisk): InstanceFromTemplateScratchDisk = InstanceFromTemplateScratchDisk(
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