Share via


MaxInstancePercentPerZonePolicy Class

The configuration parameters used to limit the number of virtual machines per availability zone in the virtual machine scale set.

Constructor

MaxInstancePercentPerZonePolicy(*, enabled: bool | None = None, value: int | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
enabled

Specifies whether maxInstancePercentPerZonePolicy should be enabled on the virtual machine scale set.

Default value: None
value
int

Limit on the number of instances in each zone as a percentage of the total capacity of the virtual machine scale set.

Default value: None

Variables

Name Description
enabled

Specifies whether maxInstancePercentPerZonePolicy should be enabled on the virtual machine scale set.

value
int

Limit on the number of instances in each zone as a percentage of the total capacity of the virtual machine scale set.