![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.compute.kotlin.inputs.OrchestratedVirtualMachineScaleSetOsDiskDiffDiskSettingsArgs.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.inputs
import com.pulumi.azure.compute.inputs.OrchestratedVirtualMachineScaleSetOsDiskDiffDiskSettingsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property option Specifies the Ephemeral Disk Settings for the OS Disk. At this time the only possible value is `Local`. Changing this forces a new resource to be created.
* @property placement Specifies where to store the Ephemeral Disk. Possible values are `CacheDisk` and `ResourceDisk`. Defaults to `CacheDisk`. Changing this forces a new resource to be created.
*/
public data class OrchestratedVirtualMachineScaleSetOsDiskDiffDiskSettingsArgs(
public val option: Output,
public val placement: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.azure.compute.inputs.OrchestratedVirtualMachineScaleSetOsDiskDiffDiskSettingsArgs =
com.pulumi.azure.compute.inputs.OrchestratedVirtualMachineScaleSetOsDiskDiffDiskSettingsArgs.builder()
.option(option.applyValue({ args0 -> args0 }))
.placement(placement?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [OrchestratedVirtualMachineScaleSetOsDiskDiffDiskSettingsArgs].
*/
@PulumiTagMarker
public class OrchestratedVirtualMachineScaleSetOsDiskDiffDiskSettingsArgsBuilder internal constructor() {
private var option: Output? = null
private var placement: Output? = null
/**
* @param value Specifies the Ephemeral Disk Settings for the OS Disk. At this time the only possible value is `Local`. Changing this forces a new resource to be created.
*/
@JvmName("iwybpvgspahtcsgc")
public suspend fun option(`value`: Output) {
this.option = value
}
/**
* @param value Specifies where to store the Ephemeral Disk. Possible values are `CacheDisk` and `ResourceDisk`. Defaults to `CacheDisk`. Changing this forces a new resource to be created.
*/
@JvmName("ufqluhihdosdtdug")
public suspend fun placement(`value`: Output) {
this.placement = value
}
/**
* @param value Specifies the Ephemeral Disk Settings for the OS Disk. At this time the only possible value is `Local`. Changing this forces a new resource to be created.
*/
@JvmName("rshopohnypypknfe")
public suspend fun option(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.option = mapped
}
/**
* @param value Specifies where to store the Ephemeral Disk. Possible values are `CacheDisk` and `ResourceDisk`. Defaults to `CacheDisk`. Changing this forces a new resource to be created.
*/
@JvmName("iabydtqbsgquxtqj")
public suspend fun placement(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.placement = mapped
}
internal fun build(): OrchestratedVirtualMachineScaleSetOsDiskDiffDiskSettingsArgs =
OrchestratedVirtualMachineScaleSetOsDiskDiffDiskSettingsArgs(
option = option ?: throw PulumiNullFieldException("option"),
placement = placement,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy