AutomaticOSUpgradePolicyArgs

data class AutomaticOSUpgradePolicyArgs(val disableAutomaticRollback: Output<Boolean>? = null, val enableAutomaticOSUpgrade: Output<Boolean>? = null, val osRollingUpgradeDeferral: Output<Boolean>? = null, val useRollingUpgradePolicy: Output<Boolean>? = null) : ConvertibleToJava<AutomaticOSUpgradePolicyArgs>

The configuration parameters used for performing automatic OS upgrade.

Constructors

Link copied to clipboard
constructor(disableAutomaticRollback: Output<Boolean>? = null, enableAutomaticOSUpgrade: Output<Boolean>? = null, osRollingUpgradeDeferral: Output<Boolean>? = null, useRollingUpgradePolicy: Output<Boolean>? = null)

Properties

Link copied to clipboard
val disableAutomaticRollback: Output<Boolean>? = null

Whether OS image rollback feature should be disabled.

Link copied to clipboard
val enableAutomaticOSUpgrade: Output<Boolean>? = null

Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available.

If this is set to true for Windows based pools, WindowsConfiguration.enableAutomaticUpdates cannot be set to true.

Link copied to clipboard
val osRollingUpgradeDeferral: Output<Boolean>? = null

Defer OS upgrades on the TVMs if they are running tasks.

Link copied to clipboard
val useRollingUpgradePolicy: Output<Boolean>? = null

Indicates whether rolling upgrade policy should be used during Auto OS Upgrade. Auto OS Upgrade will fallback to the default policy if no policy is defined on the VMSS.

Functions

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