Share via


AutomaticZoneRebalancingPolicy Class

The configuration parameters used while performing automatic AZ balancing.

Constructor

AutomaticZoneRebalancingPolicy(*, enabled: bool | None = None, rebalance_strategy: str | _models.RebalanceStrategy | None = None, rebalance_behavior: str | _models.RebalanceBehavior | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
enabled

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

Default value: None
rebalance_strategy

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"

Default value: None
rebalance_behavior

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"

Default value: None

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

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

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"