共用方式為


ProximityPlacementGroup 類別

指定鄰近放置群組的相關資訊。

變數只會由伺服器填入,而且會在傳送要求時予以忽略。

必須填入所有必要的參數,才能傳送至 Azure。

繼承
azure.mgmt.compute.v2023_03_01.models._models_py3.Resource
ProximityPlacementGroup

建構函式

ProximityPlacementGroup(*, location: str, tags: Dict[str, str] | None = None, zones: List[str] | None = None, proximity_placement_group_type: str | _models.ProximityPlacementGroupType | None = None, colocation_status: _models.InstanceViewStatus | None = None, intent: _models.ProximityPlacementGroupPropertiesIntent | None = None, **kwargs: Any)

Keyword-Only Parameters

location
str

資源位置。 必要。

tags
dict[str, str]

資源標籤。

zones
list[str]

指定可以建立與鄰近放置群組相關聯的虛擬機器、虛擬機器擴展集或可用性設定組的可用性區域。

proximity_placement_group_type
strProximityPlacementGroupType

指定鄰近放置群組的類型。 可能的值為: 標準 :在 Azure 區域或可用性區域內共置資源。 Ultra :供日後使用。 已知值為:「Standard」 和 「Ultra」。

colocation_status
InstanceViewStatus

描述鄰近放置群組的共置狀態。

intent
ProximityPlacementGroupPropertiesIntent

指定鄰近放置群組的使用者意圖。

變數

id
str

資源識別碼。

name
str

資源名稱。

type
str

資源類型。

location
str

資源位置。 必要。

tags
dict[str, str]

資源標籤。

zones
list[str]

指定可以建立與鄰近放置群組相關聯的虛擬機器、虛擬機器擴展集或可用性設定組的可用性區域。

proximity_placement_group_type
strProximityPlacementGroupType

指定鄰近放置群組的類型。 可能的值為: 標準 :在 Azure 區域或可用性區域內共置資源。 Ultra :供日後使用。 已知值為:「Standard」 和 「Ultra」。

virtual_machines
list[SubResourceWithColocationStatus]

鄰近放置群組中所有虛擬機器的參考清單。

virtual_machine_scale_sets
list[SubResourceWithColocationStatus]

鄰近放置群組中所有虛擬機器擴展集的參考清單。

availability_sets
list[SubResourceWithColocationStatus]

鄰近放置群組中所有可用性設定組的參考清單。

colocation_status
InstanceViewStatus

描述鄰近放置群組的共置狀態。

intent
ProximityPlacementGroupPropertiesIntent

指定鄰近放置群組的使用者意圖。