AutomaticZoneRebalancingPolicy Class

The configuration parameters used while performing automatic AZ balancing.

Constructor

AutomaticZoneRebalancingPolicy()

Variables

Name Description
enabled

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

rebalance_strategy
Union[str, <xref:"RebalanceStrategy">]

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. "Recreate"

rebalance_behavior
Union[str, <xref:"RebalanceBehavior">]

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. "CreateBeforeDelete"

Attributes

enabled

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

enabled: bool

rebalanceBehavior

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. "CreateBeforeDelete"

rebalanceBehavior: str | RebalanceBehavior

rebalanceStrategy

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. "Recreate"

rebalanceStrategy: str | RebalanceStrategy