DedicatedHostGroupInner Constructors

Definition

Overloads

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.

DedicatedHostGroupInner()

Initializes a new instance of the DedicatedHostGroupInner class.

public DedicatedHostGroupInner ();
Public Sub New ()

Applies to

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

Initializes a new instance of the DedicatedHostGroupInner class.

public DedicatedHostGroupInner (string location, int platformFaultDomainCount, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Fluent.Models.SubResourceReadOnly> hosts = default, Microsoft.Azure.Management.Compute.Fluent.Models.DedicatedHostGroupInstanceView instanceView = default, bool? supportAutomaticPlacement = default, System.Collections.Generic.IList<string> zones = default);
new Microsoft.Azure.Management.Compute.Fluent.Models.DedicatedHostGroupInner : string * int * string * string * string * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Fluent.Models.SubResourceReadOnly> * Microsoft.Azure.Management.Compute.Fluent.Models.DedicatedHostGroupInstanceView * Nullable<bool> * System.Collections.Generic.IList<string> -> Microsoft.Azure.Management.Compute.Fluent.Models.DedicatedHostGroupInner
Public Sub New (location As String, platformFaultDomainCount As Integer, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional hosts As IList(Of SubResourceReadOnly) = Nothing, Optional instanceView As DedicatedHostGroupInstanceView = Nothing, Optional supportAutomaticPlacement As Nullable(Of Boolean) = Nothing, Optional zones As IList(Of String) = Nothing)

Parameters

location
String
platformFaultDomainCount
Int32

Number of fault domains that the host group can span.

id
String
name
String
type
String
hosts
IList<SubResourceReadOnly>

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

instanceView
DedicatedHostGroupInstanceView

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

supportAutomaticPlacement
Nullable<Boolean>

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. <br><br>Minimum api-version: 2020-06-01.

zones
IList<String>

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.

Applies to