LinuxVirtualMachineScaleSetRollingUpgradePolicyArgs

data class LinuxVirtualMachineScaleSetRollingUpgradePolicyArgs(val crossZoneUpgradesEnabled: Output<Boolean>? = null, val maxBatchInstancePercent: Output<Int>, val maxUnhealthyInstancePercent: Output<Int>, val maxUnhealthyUpgradedInstancePercent: Output<Int>, val maximumSurgeInstancesEnabled: Output<Boolean>? = null, val pauseTimeBetweenBatches: Output<String>, val prioritizeUnhealthyInstancesEnabled: Output<Boolean>? = null) : ConvertibleToJava<LinuxVirtualMachineScaleSetRollingUpgradePolicyArgs>

Constructors

constructor(crossZoneUpgradesEnabled: Output<Boolean>? = null, maxBatchInstancePercent: Output<Int>, maxUnhealthyInstancePercent: Output<Int>, maxUnhealthyUpgradedInstancePercent: Output<Int>, maximumSurgeInstancesEnabled: Output<Boolean>? = null, pauseTimeBetweenBatches: Output<String>, prioritizeUnhealthyInstancesEnabled: Output<Boolean>? = null)

Properties

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

Should the Virtual Machine Scale Set ignore the Azure Zone boundaries when constructing upgrade batches? Possible values are true or false.

Link copied to clipboard

The maximum percent of total virtual machine instances that will be upgraded simultaneously by the rolling upgrade in one batch. As this is a maximum, unhealthy instances in previous or future batches can cause the percentage of instances in a batch to decrease to ensure higher reliability.

Link copied to clipboard

Create new virtual machines to upgrade the scale set, rather than updating the existing virtual machines. Existing virtual machines will be deleted once the new virtual machines are created for each batch. Possible values are true or false.

Link copied to clipboard

The maximum percentage of the total virtual machine instances in the scale set that can be simultaneously unhealthy, either as a result of being upgraded, or by being found in an unhealthy state by the virtual machine health checks before the rolling upgrade aborts. This constraint will be checked prior to starting any batch.

Link copied to clipboard

The maximum percentage of upgraded virtual machine instances that can be found to be in an unhealthy state. This check will happen after each batch is upgraded. If this percentage is ever exceeded, the rolling update aborts.

Link copied to clipboard

The wait time between completing the update for all virtual machines in one batch and starting the next batch. The time duration should be specified in ISO 8601 format.

Link copied to clipboard

Upgrade all unhealthy instances in a scale set before any healthy instances. Possible values are true or false.

Functions

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