com.pulumi.azure.compute.kotlin.outputs.ScaleSetStorageProfileDataDisk.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 caching Specifies the caching requirements. Possible values include: `None` (default), `ReadOnly`, `ReadWrite`.
* @property createOption Specifies how the data disk should be created. The only possible options are `FromImage` and `Empty`.
* @property diskSizeGb Specifies the size of the disk in GB. This element is required when creating an empty disk.
* @property lun Specifies the Logical Unit Number of the disk in each virtual machine in the scale set.
* @property managedDiskType Specifies the type of managed disk to create. Value must be either `Standard_LRS`, `StandardSSD_LRS` or `Premium_LRS`.
*/
public data class ScaleSetStorageProfileDataDisk(
public val caching: String? = null,
public val createOption: String,
public val diskSizeGb: Int? = null,
public val lun: Int,
public val managedDiskType: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.compute.outputs.ScaleSetStorageProfileDataDisk):
ScaleSetStorageProfileDataDisk = ScaleSetStorageProfileDataDisk(
caching = javaType.caching().map({ args0 -> args0 }).orElse(null),
createOption = javaType.createOption(),
diskSizeGb = javaType.diskSizeGb().map({ args0 -> args0 }).orElse(null),
lun = javaType.lun(),
managedDiskType = javaType.managedDiskType().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy