LinuxVirtualMachineScaleSetAutomaticInstanceRepairArgs

data class LinuxVirtualMachineScaleSetAutomaticInstanceRepairArgs(val action: Output<String>? = null, val enabled: Output<Boolean>, val gracePeriod: Output<String>? = null) : ConvertibleToJava<LinuxVirtualMachineScaleSetAutomaticInstanceRepairArgs>

Constructors

constructor(action: Output<String>? = null, enabled: Output<Boolean>, gracePeriod: Output<String>? = null)

Properties

Link copied to clipboard
val action: Output<String>? = null

The repair action that will be used for repairing unhealthy virtual machines in the scale set. Possible values include Replace, Restart, Reimage.

Link copied to clipboard
val enabled: Output<Boolean>

Should the automatic instance repair be enabled on this Virtual Machine Scale Set?

Link copied to clipboard
val gracePeriod: Output<String>? = null

Amount of time for which automatic repairs will be delayed. The grace period starts right after the VM is found unhealthy. Possible values are between 10 and 90 minutes. The time duration should be specified in ISO 8601 format (e.g. PT10M to PT90M).

Functions

Link copied to clipboard
open override fun toJava(): LinuxVirtualMachineScaleSetAutomaticInstanceRepairArgs