![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.compute.kotlin.outputs.ImageDataDisk.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-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.azure.compute.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @property blobUri Specifies the URI in Azure storage of the blob that you want to use to create the image.
* @property caching Specifies the caching mode as `ReadWrite`, `ReadOnly`, or `None`. Defaults to `None`.
* @property lun Specifies the logical unit number of the data disk.
* @property managedDiskId Specifies the ID of the managed disk resource that you want to use to create the image. Changing this forces a new resource to be created.
* @property sizeGb Specifies the size of the image to be created. The target size can't be smaller than the source size.
*/
public data class ImageDataDisk(
public val blobUri: String? = null,
public val caching: String? = null,
public val lun: Int? = null,
public val managedDiskId: String? = null,
public val sizeGb: Int? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.compute.outputs.ImageDataDisk): ImageDataDisk =
ImageDataDisk(
blobUri = javaType.blobUri().map({ args0 -> args0 }).orElse(null),
caching = javaType.caching().map({ args0 -> args0 }).orElse(null),
lun = javaType.lun().map({ args0 -> args0 }).orElse(null),
managedDiskId = javaType.managedDiskId().map({ args0 -> args0 }).orElse(null),
sizeGb = javaType.sizeGb().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy