다음을 통해 공유


DedicatedHostGroupUpdate Class

Specifies information about the dedicated host group that the dedicated host should be assigned to. Only tags may be updated.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
azure.mgmt.compute.v2020_12_01.models._models_py3.UpdateResource
DedicatedHostGroupUpdate

Constructor

DedicatedHostGroupUpdate(*, tags: Dict[str, str] | None = None, zones: List[str] | None = None, platform_fault_domain_count: int | None = None, support_automatic_placement: bool | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
tags

Resource tags.

zones

Availability Zone to use for this host group. Only single zone is supported. The zone can be assigned only during creation. If not provided, the group supports all zones in the region. If provided, enforces each host in the group to be in the same zone.

platform_fault_domain_count
int

Number of fault domains that the host group can span.

support_automatic_placement

Specifies whether virtual machines or virtual machine scale sets can be placed automatically on the dedicated host group. Automatic placement means resources are allocated on dedicated hosts, that are chosen by Azure, under the dedicated host group. The value is defaulted to 'false' when not provided. <br>:code:>><<<br>Minimum api-version: 2020-06-01.

Variables

Name Description
tags

Resource tags.

zones

Availability Zone to use for this host group. Only single zone is supported. The zone can be assigned only during creation. If not provided, the group supports all zones in the region. If provided, enforces each host in the group to be in the same zone.

platform_fault_domain_count
int

Number of fault domains that the host group can span.

hosts

A list of references to all dedicated hosts in the dedicated host group.

instance_view

The dedicated host group instance view, which has the list of instance view of the dedicated hosts under the dedicated host group.

support_automatic_placement

Specifies whether virtual machines or virtual machine scale sets can be placed automatically on the dedicated host group. Automatic placement means resources are allocated on dedicated hosts, that are chosen by Azure, under the dedicated host group. The value is defaulted to 'false' when not provided. <br>:code:>><<<br>Minimum api-version: 2020-06-01.