ArmComputeModelFactory.DedicatedHostGroupData Method

Definition

Initializes a new instance of DedicatedHostGroupData.

public static Azure.ResourceManager.Compute.DedicatedHostGroupData DedicatedHostGroupData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, System.Collections.Generic.IEnumerable<string> zones = default, int? platformFaultDomainCount = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.SubResource> dedicatedHosts = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Compute.Models.DedicatedHostInstanceViewWithName> instanceViewHosts = default, bool? supportAutomaticPlacement = default, bool? ultraSsdEnabled = default);
static member DedicatedHostGroupData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * seq<string> * Nullable<int> * seq<Azure.ResourceManager.Resources.Models.SubResource> * seq<Azure.ResourceManager.Compute.Models.DedicatedHostInstanceViewWithName> * Nullable<bool> * Nullable<bool> -> Azure.ResourceManager.Compute.DedicatedHostGroupData
Public Shared Function DedicatedHostGroupData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional zones As IEnumerable(Of String) = Nothing, Optional platformFaultDomainCount As Nullable(Of Integer) = Nothing, Optional dedicatedHosts As IEnumerable(Of SubResource) = Nothing, Optional instanceViewHosts As IEnumerable(Of DedicatedHostInstanceViewWithName) = Nothing, Optional supportAutomaticPlacement As Nullable(Of Boolean) = Nothing, Optional ultraSsdEnabled As Nullable(Of Boolean) = Nothing) As DedicatedHostGroupData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

zones
IEnumerable<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.

platformFaultDomainCount
Nullable<Int32>

Number of fault domains that the host group can span.

dedicatedHosts
IEnumerable<SubResource>

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

instanceViewHosts
IEnumerable<DedicatedHostInstanceViewWithName>

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.

ultraSsdEnabled
Nullable<Boolean>

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

Returns

A new DedicatedHostGroupData instance for mocking.

Applies to