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

ProximityPlacementGroup 类

指定有关邻近放置组的信息。

变量仅由服务器填充,在发送请求时将被忽略。

必须填充所有必需的参数才能发送到 Azure。

继承
azure.mgmt.compute.v2022_08_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

指定邻近放置组的类型。 <br>``<br> 可能的值为: <br>``<br>标准 :在 Azure 区域或可用性区域中共定位资源。 <br>``<br>超级 :供将来使用。 已知值为:“Standard”和“Ultra”。

colocation_status
InstanceViewStatus

描述邻近放置组的并置状态。

intent
ProximityPlacementGroupPropertiesIntent

指定邻近放置组的用户意向。

变量

id
str

资源 ID。

name
str

资源名称。

type
str

资源类型。

location
str

资源位置。 必需。

tags
dict[str, str]

资源标记。

zones
list[str]

指定可在其中创建与邻近放置组关联的虚拟机、虚拟机规模集或可用性集的可用性区域。

proximity_placement_group_type
strProximityPlacementGroupType

指定邻近放置组的类型。 <br>``<br> 可能的值为: <br>``<br>标准 :在 Azure 区域或可用性区域中共定位资源。 <br>``<br>超级 :供将来使用。 已知值为:“Standard”和“Ultra”。

virtual_machines
list[SubResourceWithColocationStatus]

对邻近放置组中所有虚拟机的引用列表。

virtual_machine_scale_sets
list[SubResourceWithColocationStatus]

对邻近放置组中所有虚拟机规模集的引用列表。

availability_sets
list[SubResourceWithColocationStatus]

对邻近放置组中所有可用性集的引用列表。

colocation_status
InstanceViewStatus

描述邻近放置组的并置状态。

intent
ProximityPlacementGroupPropertiesIntent

指定邻近放置组的用户意向。