com.pulumi.azure.compute.kotlin.inputs.WindowsVirtualMachineAdditionalCapabilitiesArgs.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.WindowsVirtualMachineAdditionalCapabilitiesArgs.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 Windows 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 WindowsVirtualMachineAdditionalCapabilitiesArgs(
public val hibernationEnabled: Output? = null,
public val ultraSsdEnabled: Output? = null,
) :
ConvertibleToJava {
override fun toJava():
com.pulumi.azure.compute.inputs.WindowsVirtualMachineAdditionalCapabilitiesArgs =
com.pulumi.azure.compute.inputs.WindowsVirtualMachineAdditionalCapabilitiesArgs.builder()
.hibernationEnabled(hibernationEnabled?.applyValue({ args0 -> args0 }))
.ultraSsdEnabled(ultraSsdEnabled?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [WindowsVirtualMachineAdditionalCapabilitiesArgs].
*/
@PulumiTagMarker
public class WindowsVirtualMachineAdditionalCapabilitiesArgsBuilder 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 Windows Virtual Machine to be created.
*/
@JvmName("okdebktwfrmhgmir")
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("shlgriijycqvcbac")
public suspend fun ultraSsdEnabled(`value`: Output) {
this.ultraSsdEnabled = value
}
/**
* @param value Whether to enable the hibernation capability or not. Changing this forces a new Windows Virtual Machine to be created.
*/
@JvmName("gunfbarkuhwovstf")
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("agxbcnbfjslgaqux")
public suspend fun ultraSsdEnabled(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.ultraSsdEnabled = mapped
}
internal fun build(): WindowsVirtualMachineAdditionalCapabilitiesArgs =
WindowsVirtualMachineAdditionalCapabilitiesArgs(
hibernationEnabled = hibernationEnabled,
ultraSsdEnabled = ultraSsdEnabled,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy