DedicatedHostGroup Class
Specifies information about the dedicated host group that the dedicated hosts should be assigned to. Currently, a dedicated host can only be added to a dedicated host group at creation time. An existing dedicated host cannot be added to another dedicated host group.
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to server.
- Inheritance
-
azure.mgmt.compute.v2023_03_01.models._models_py3.ResourceDedicatedHostGroup
Constructor
DedicatedHostGroup(*, location: str, tags: Dict[str, str] | None = None, zones: List[str] | None = None, platform_fault_domain_count: int | None = None, support_automatic_placement: bool | None = None, additional_capabilities: _models.DedicatedHostGroupPropertiesAdditionalCapabilities | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
location
|
Resource location. Required. |
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
|
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. Minimum api-version: 2020-06-01. |
additional_capabilities
|
Enables or disables a capability on the dedicated host group. Minimum api-version: 2022-03-01. |
Variables
Name | Description |
---|---|
id
|
Resource Id. |
name
|
Resource name. |
type
|
Resource type. |
location
|
Resource location. Required. |
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
|
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. Minimum api-version: 2020-06-01. |
additional_capabilities
|
Enables or disables a capability on the dedicated host group. Minimum api-version: 2022-03-01. |
Azure SDK for Python