AutomaticZoneRebalancingPolicyArgs

data class AutomaticZoneRebalancingPolicyArgs(val enabled: Output<Boolean>? = null, val rebalanceBehavior: Output<Either<String, RebalanceBehavior>>? = null, val rebalanceStrategy: Output<Either<String, RebalanceStrategy>>? = null) : ConvertibleToJava<AutomaticZoneRebalancingPolicyArgs>

The configuration parameters used while performing automatic AZ balancing.

Constructors

Link copied to clipboard
constructor(enabled: Output<Boolean>? = null, rebalanceBehavior: Output<Either<String, RebalanceBehavior>>? = null, rebalanceStrategy: Output<Either<String, RebalanceStrategy>>? = null)

Properties

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

Specifies whether Automatic AZ Balancing should be enabled on the virtual machine scale set. The default value is false.

Link copied to clipboard
val rebalanceBehavior: Output<Either<String, RebalanceBehavior>>? = null

Type of rebalance behavior that will be used for recreating virtual machines in the scale set across availability zones. Default and only supported value for now is CreateBeforeDelete.

Link copied to clipboard
val rebalanceStrategy: Output<Either<String, RebalanceStrategy>>? = null

Type of rebalance strategy that will be used for rebalancing virtual machines in the scale set across availability zones. Default and only supported value for now is Recreate.

Functions

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