DedicatedHostGroup Class

Definition

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.

[Microsoft.Rest.Serialization.JsonTransformation]
public class DedicatedHostGroup : Microsoft.Azure.Management.Compute.Models.Resource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type DedicatedHostGroup = class
    inherit Resource
Public Class DedicatedHostGroup
Inherits Resource
Inheritance
DedicatedHostGroup
Attributes

Constructors

DedicatedHostGroup()

Initializes a new instance of the DedicatedHostGroup class.

DedicatedHostGroup(String, Int32, String, String, String, IDictionary<String, String>, IList<SubResourceReadOnly>, DedicatedHostGroupInstanceView, Nullable<Boolean>, DedicatedHostGroupPropertiesAdditionalCapabilities, IList<String>)

Initializes a new instance of the DedicatedHostGroup class.

DedicatedHostGroup(String, Int32, String, String, String, IDictionary<String, String>, IList<SubResourceReadOnly>, DedicatedHostGroupInstanceView, Nullable<Boolean>, IList<String>)

Initializes a new instance of the DedicatedHostGroup class.

Properties

AdditionalCapabilities

Gets or sets enables or disables a capability on the dedicated host group. Minimum api-version: 2022-03-01.

Hosts

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

Id

Gets resource Id

(Inherited from Resource)
InstanceView

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

Location

Gets or sets resource location

(Inherited from Resource)
Name

Gets resource name

(Inherited from Resource)
PlatformFaultDomainCount

Gets or sets number of fault domains that the host group can span.

SupportAutomaticPlacement

Gets or sets 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.

Tags

Gets or sets resource tags

(Inherited from Resource)
Type

Gets resource type

(Inherited from Resource)
Zones

Gets or sets 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.

Methods

Validate()

Validate the object.

Applies to