
com.pulumi.azure.compute.kotlin.outputs.LinuxVirtualMachineScaleSetAutomaticInstanceRepair.kt Maven / Gradle / Ivy
@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 automatic instance repair be enabled on this Virtual Machine Scale Set?
* @property gracePeriod Amount of time (in minutes, between 30 and 90) for which automatic repairs will be delayed. The grace period starts right after the VM is found unhealthy. The time duration should be specified in ISO 8601 format. Defaults to `PT30M`.
*/
public data class LinuxVirtualMachineScaleSetAutomaticInstanceRepair(
public val enabled: Boolean,
public val gracePeriod: String? = null,
) {
public companion object {
public
fun toKotlin(javaType: com.pulumi.azure.compute.outputs.LinuxVirtualMachineScaleSetAutomaticInstanceRepair):
LinuxVirtualMachineScaleSetAutomaticInstanceRepair =
LinuxVirtualMachineScaleSetAutomaticInstanceRepair(
enabled = javaType.enabled(),
gracePeriod = javaType.gracePeriod().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy