![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.compute.kotlin.outputs.LinuxVirtualMachineScaleSetSpotRestore.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.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
/**
*
* @property enabled Should the Spot-Try-Restore feature be enabled? The Spot-Try-Restore feature will attempt to automatically restore the evicted Spot Virtual Machine Scale Set VM instances opportunistically based on capacity availability and pricing constraints. Possible values are `true` or `false`. Defaults to `false`. Changing this forces a new resource to be created.
* @property timeout The length of time that the Virtual Machine Scale Set should attempt to restore the Spot VM instances which have been evicted. The time duration should be between `15` minutes and `120` minutes (inclusive). The time duration should be specified in the ISO 8601 format. Defaults to `PT1H`. Changing this forces a new resource to be created.
*/
public data class LinuxVirtualMachineScaleSetSpotRestore(
public val enabled: Boolean? = null,
public val timeout: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.compute.outputs.LinuxVirtualMachineScaleSetSpotRestore): LinuxVirtualMachineScaleSetSpotRestore = LinuxVirtualMachineScaleSetSpotRestore(
enabled = javaType.enabled().map({ args0 -> args0 }).orElse(null),
timeout = javaType.timeout().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy