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. |
Azure SDK for Python