你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
PriorityMixPolicy Class
Specifies the target splits for Spot and Regular priority VMs within a scale set with flexible orchestration mode. With this property the customer is able to specify the base number of regular priority VMs created as the VMSS flex instance scales out and the split between Spot and Regular priority VMs after this base target has been reached.
- Inheritance
-
azure.mgmt.compute._serialization.ModelPriorityMixPolicy
Constructor
PriorityMixPolicy(*, base_regular_priority_count: int | None = None, regular_priority_percentage_above_base: int | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
base_regular_priority_count
|
The base number of regular priority VMs that will be created in this scale set as it scales out. |
regular_priority_percentage_above_base
|
The percentage of VM instances, after the base regular priority count has been reached, that are expected to use regular priority. |
Variables
Name | Description |
---|---|
base_regular_priority_count
|
The base number of regular priority VMs that will be created in this scale set as it scales out. |
regular_priority_percentage_above_base
|
The percentage of VM instances, after the base regular priority count has been reached, that are expected to use regular priority. |