共用方式為


PriorityMixPolicy 類別

指定擴展集中具有彈性協調流程模式之 Spot 和一般優先順序 VM 的目標分割。 有了這個屬性,客戶就可以指定建立為 VMSS flex 實例的一般優先順序 VM 基底數目,並在達到此基底目標之後,在現成和一般優先順序 VM 之間分割。

繼承
azure.mgmt.compute._serialization.Model
PriorityMixPolicy

建構函式

PriorityMixPolicy(*, base_regular_priority_count: int | None = None, regular_priority_percentage_above_base: int | None = None, **kwargs: Any)

僅限關鍵字的參數

名稱 Description
base_regular_priority_count
int

在相應放大時,將會在此擴展集中建立的一般優先順序 VM 基底數目。

regular_priority_percentage_above_base
int

達到基底一般優先順序計數之後的 VM 實例百分比,預期會使用一般優先順序。

變數

名稱 Description
base_regular_priority_count
int

在相應放大時,將會在此擴展集中建立的一般優先順序 VM 基底數目。

regular_priority_percentage_above_base
int

達到基底一般優先順序計數之後的 VM 實例百分比,預期會使用一般優先順序。