DedicatedHostGroup Constructors

Definition

Overloads

DedicatedHostGroup()

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.

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()

Initializes a new instance of the DedicatedHostGroup class.

public DedicatedHostGroup ();
Public Sub New ()

Applies to

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

Initializes a new instance of the DedicatedHostGroup class.

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

Parameters

location
String

Resource location

platformFaultDomainCount
Int32

Number of fault domains that the host group can span.

id
String

Resource Id

name
String

Resource name

type
String

Resource type

tags
IDictionary<String,String>

Resource tags

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 'false' 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

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.

public DedicatedHostGroup (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.Models.SubResourceReadOnly> hosts = default, Microsoft.Azure.Management.Compute.Models.DedicatedHostGroupInstanceView instanceView = default, bool? supportAutomaticPlacement = default, Microsoft.Azure.Management.Compute.Models.DedicatedHostGroupPropertiesAdditionalCapabilities additionalCapabilities = default, System.Collections.Generic.IList<string> zones = default);
new Microsoft.Azure.Management.Compute.Models.DedicatedHostGroup : string * int * string * string * string * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.SubResourceReadOnly> * Microsoft.Azure.Management.Compute.Models.DedicatedHostGroupInstanceView * Nullable<bool> * Microsoft.Azure.Management.Compute.Models.DedicatedHostGroupPropertiesAdditionalCapabilities * System.Collections.Generic.IList<string> -> Microsoft.Azure.Management.Compute.Models.DedicatedHostGroup
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 additionalCapabilities As DedicatedHostGroupPropertiesAdditionalCapabilities = Nothing, Optional zones As IList(Of String) = Nothing)

Parameters

location
String

Resource location

platformFaultDomainCount
Int32

Number of fault domains that the host group can span.

id
String

Resource Id

name
String

Resource name

type
String

Resource type

tags
IDictionary<String,String>

Resource tags

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 'false' when not provided. Minimum api-version: 2020-06-01.

additionalCapabilities
DedicatedHostGroupPropertiesAdditionalCapabilities

Enables or disables a capability on the dedicated host group. Minimum api-version: 2022-03-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