ArmComputeModelFactory.DedicatedHostGroupData Method

Definition

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, int? platformFaultDomainCount = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Compute.Models.ComputeSubResourceData> dedicatedHostResources = default, bool? supportAutomaticPlacement = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Compute.Models.DedicatedHostInstanceViewWithName> instanceViewHosts = default, bool? ultraSsdEnabled = default, System.Collections.Generic.IEnumerable<string> zones = default);
static member DedicatedHostGroupData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Nullable<int> * seq<Azure.ResourceManager.Compute.Models.ComputeSubResourceData> * Nullable<bool> * seq<Azure.ResourceManager.Compute.Models.DedicatedHostInstanceViewWithName> * Nullable<bool> * seq<string> -> 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 platformFaultDomainCount As Nullable(Of Integer) = Nothing, Optional dedicatedHostResources As IEnumerable(Of ComputeSubResourceData) = Nothing, Optional supportAutomaticPlacement As Nullable(Of Boolean) = Nothing, Optional instanceViewHosts As IEnumerable(Of DedicatedHostInstanceViewWithName) = Nothing, Optional ultraSsdEnabled As Nullable(Of Boolean) = Nothing, Optional zones As IEnumerable(Of String) = Nothing) As DedicatedHostGroupData

Parameters

id
ResourceIdentifier

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

name
String

The name of the resource.

resourceType
ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

systemData
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

tags
IDictionary<String,String>

Resource tags.

location
AzureLocation

The geo-location where the resource lives.

platformFaultDomainCount
Nullable<Int32>

Number of fault domains that the host group can span.

dedicatedHostResources
IEnumerable<ComputeSubResourceData>

A list of references to all dedicated hosts in 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.

instanceViewHosts
IEnumerable<DedicatedHostInstanceViewWithName>

List of instance view of the dedicated hosts under the dedicated host group.

ultraSsdEnabled
Nullable<Boolean>

The flag that enables or disables a capability to have UltraSSD Enabled Virtual Machines on Dedicated Hosts of the Dedicated Host Group. For the Virtual Machines to be UltraSSD Enabled, UltraSSDEnabled flag for the resource needs to be set true as well. The value is defaulted to 'false' when not provided. Please refer to https://docs.microsoft.com/en-us/azure/virtual-machines/disks-enable-ultra-ssd for more details on Ultra SSD feature. Note: The ultraSSDEnabled setting can only be enabled for Host Groups that are created as zonal. Minimum api-version: 2022-03-01.

zones
IEnumerable<String>

The availability zones.

Returns

A new DedicatedHostGroupData instance for mocking.

Applies to