Share via


DedicatedHostGroupInner Class

Definition

Specifies information about the dedicated host group that the dedicated hosts should be assigned to. <br><br> 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 DedicatedHostGroupInner : Microsoft.Azure.Management.ResourceManager.Fluent.Resource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type DedicatedHostGroupInner = class
    inherit Resource
Public Class DedicatedHostGroupInner
Inherits Resource
Inheritance
DedicatedHostGroupInner
Attributes

Constructors

DedicatedHostGroupInner()

Initializes a new instance of the DedicatedHostGroupInner class.

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

Initializes a new instance of the DedicatedHostGroupInner class.

Properties

Hosts

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

Id

Resource Id. Setter is protected because Id needs to be set in Network resources.

(Inherited from ProxyResource)
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

Resource location

(Inherited from Resource)
Name

Resource name

(Inherited from ProxyResource)
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 'true' when not provided. &lt;br&gt;&lt;br&gt;Minimum api-version: 2020-06-01.

Tags

Resource tags

(Inherited from Resource)
Type

Resource type

(Inherited from ProxyResource)
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