ArmComputeModelFactory.DedicatedHostGroupPatch Method

Definition

public static Azure.ResourceManager.Compute.Models.DedicatedHostGroupPatch DedicatedHostGroupPatch(System.Collections.Generic.IDictionary<string,string> tags = 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 DedicatedHostGroupPatch : System.Collections.Generic.IDictionary<string, string> * Nullable<int> * seq<Azure.ResourceManager.Compute.Models.ComputeSubResourceData> * Nullable<bool> * seq<Azure.ResourceManager.Compute.Models.DedicatedHostInstanceViewWithName> * Nullable<bool> * seq<string> -> Azure.ResourceManager.Compute.Models.DedicatedHostGroupPatch
Public Shared Function DedicatedHostGroupPatch (Optional tags As IDictionary(Of String, String) = 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 DedicatedHostGroupPatch

Parameters

tags
IDictionary<String,String>

Resource tags.

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>

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.

Returns

A new DedicatedHostGroupPatch instance for mocking.

Applies to