com.pulumi.gcp.compute.kotlin.outputs.ImageRawDisk.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.String
import kotlin.Suppress
/**
*
* @property containerType The format used to encode and transmit the block device, which
* should be TAR. This is just a container and transmission format
* and not a runtime format. Provided by the client when the disk
* image is created.
* Default value is `TAR`.
* Possible values are: `TAR`.
* @property sha1 An optional SHA1 checksum of the disk image before unpackaging.
* This is provided by the client when the disk image is created.
* @property source The full Google Cloud Storage URL where disk storage is stored
* You must provide either this property or the sourceDisk property
* but not both.
*/
public data class ImageRawDisk(
public val containerType: String? = null,
public val sha1: String? = null,
public val source: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.compute.outputs.ImageRawDisk): ImageRawDisk =
ImageRawDisk(
containerType = javaType.containerType().map({ args0 -> args0 }).orElse(null),
sha1 = javaType.sha1().map({ args0 -> args0 }).orElse(null),
source = javaType.source(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy