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

com.pulumi.azure.compute.kotlin.inputs.LinuxVirtualMachineAdditionalCapabilitiesArgs.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.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

import com.pulumi.azure.compute.inputs.LinuxVirtualMachineAdditionalCapabilitiesArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property hibernationEnabled Whether to enable the hibernation capability or not. Changing this forces a new Linux Virtual Machine to be created.
 * @property ultraSsdEnabled Should the capacity to enable Data Disks of the `UltraSSD_LRS` storage account type be supported on this Virtual Machine? Defaults to `false`.
 */
public data class LinuxVirtualMachineAdditionalCapabilitiesArgs(
    public val hibernationEnabled: Output? = null,
    public val ultraSsdEnabled: Output? = null,
) : ConvertibleToJava {
    override fun toJava():
        com.pulumi.azure.compute.inputs.LinuxVirtualMachineAdditionalCapabilitiesArgs =
        com.pulumi.azure.compute.inputs.LinuxVirtualMachineAdditionalCapabilitiesArgs.builder()
            .hibernationEnabled(hibernationEnabled?.applyValue({ args0 -> args0 }))
            .ultraSsdEnabled(ultraSsdEnabled?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [LinuxVirtualMachineAdditionalCapabilitiesArgs].
 */
@PulumiTagMarker
public class LinuxVirtualMachineAdditionalCapabilitiesArgsBuilder internal constructor() {
    private var hibernationEnabled: Output? = null

    private var ultraSsdEnabled: Output? = null

    /**
     * @param value Whether to enable the hibernation capability or not. Changing this forces a new Linux Virtual Machine to be created.
     */
    @JvmName("sxtsmrvfmlilfbgh")
    public suspend fun hibernationEnabled(`value`: Output) {
        this.hibernationEnabled = value
    }

    /**
     * @param value Should the capacity to enable Data Disks of the `UltraSSD_LRS` storage account type be supported on this Virtual Machine? Defaults to `false`.
     */
    @JvmName("axjeatlugrpdxmtb")
    public suspend fun ultraSsdEnabled(`value`: Output) {
        this.ultraSsdEnabled = value
    }

    /**
     * @param value Whether to enable the hibernation capability or not. Changing this forces a new Linux Virtual Machine to be created.
     */
    @JvmName("bhkdtjgdpqfsqfrv")
    public suspend fun hibernationEnabled(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.hibernationEnabled = mapped
    }

    /**
     * @param value Should the capacity to enable Data Disks of the `UltraSSD_LRS` storage account type be supported on this Virtual Machine? Defaults to `false`.
     */
    @JvmName("nlhpleccdjwkrlgq")
    public suspend fun ultraSsdEnabled(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.ultraSsdEnabled = mapped
    }

    internal fun build(): LinuxVirtualMachineAdditionalCapabilitiesArgs =
        LinuxVirtualMachineAdditionalCapabilitiesArgs(
            hibernationEnabled = hibernationEnabled,
            ultraSsdEnabled = ultraSsdEnabled,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy