All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.compute.kotlin.inputs.WindowsVirtualMachineScaleSetOsDiskDiffDiskSettingsArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.14.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.compute.kotlin.inputs

import com.pulumi.azure.compute.inputs.WindowsVirtualMachineScaleSetOsDiskDiffDiskSettingsArgs.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 WindowsVirtualMachineScaleSetOsDiskDiffDiskSettingsArgs(
    public val option: Output,
    public val placement: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava():
        com.pulumi.azure.compute.inputs.WindowsVirtualMachineScaleSetOsDiskDiffDiskSettingsArgs =
        com.pulumi.azure.compute.inputs.WindowsVirtualMachineScaleSetOsDiskDiffDiskSettingsArgs.builder()
            .option(option.applyValue({ args0 -> args0 }))
            .placement(placement?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [WindowsVirtualMachineScaleSetOsDiskDiffDiskSettingsArgs].
 */
@PulumiTagMarker
public class WindowsVirtualMachineScaleSetOsDiskDiffDiskSettingsArgsBuilder 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("fhyljdkpiriofevq")
    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("bswmpekwwjilartb")
    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("nwhwyfsmmfunmnyi")
    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("lioyngngxuwtycrw")
    public suspend fun placement(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.placement = mapped
    }

    internal fun build(): WindowsVirtualMachineScaleSetOsDiskDiffDiskSettingsArgs =
        WindowsVirtualMachineScaleSetOsDiskDiffDiskSettingsArgs(
            option = option ?: throw PulumiNullFieldException("option"),
            placement = placement,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy