com.pulumi.azure.compute.kotlin.inputs.LinuxVirtualMachineScaleSetOsDiskDiffDiskSettingsArgs.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.LinuxVirtualMachineScaleSetOsDiskDiffDiskSettingsArgs.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 LinuxVirtualMachineScaleSetOsDiskDiffDiskSettingsArgs(
public val option: Output,
public val placement: Output? = null,
) :
ConvertibleToJava {
override fun toJava():
com.pulumi.azure.compute.inputs.LinuxVirtualMachineScaleSetOsDiskDiffDiskSettingsArgs =
com.pulumi.azure.compute.inputs.LinuxVirtualMachineScaleSetOsDiskDiffDiskSettingsArgs.builder()
.option(option.applyValue({ args0 -> args0 }))
.placement(placement?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [LinuxVirtualMachineScaleSetOsDiskDiffDiskSettingsArgs].
*/
@PulumiTagMarker
public class LinuxVirtualMachineScaleSetOsDiskDiffDiskSettingsArgsBuilder 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("xahgfjbodhntbogc")
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("iprpiggmvinjmybm")
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("byxhpaqntdqbiyqg")
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("kadvjdrnxqngqtiq")
public suspend fun placement(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.placement = mapped
}
internal fun build(): LinuxVirtualMachineScaleSetOsDiskDiffDiskSettingsArgs =
LinuxVirtualMachineScaleSetOsDiskDiffDiskSettingsArgs(
option = option ?: throw PulumiNullFieldException("option"),
placement = placement,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy