你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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.