Sdílet prostřednictvím


ArmComputeModelFactory.DedicatedHostGroupPatch Method

Definition

Initializes a new instance of DedicatedHostGroupPatch.

public static Azure.ResourceManager.Compute.Models.DedicatedHostGroupPatch DedicatedHostGroupPatch (System.Collections.Generic.IDictionary<string,string> tags = default, System.Collections.Generic.IEnumerable<string> zones = default, int? platformFaultDomainCount = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.SubResource> hosts = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Compute.Models.DedicatedHostInstanceViewWithName> instanceViewHosts = default, bool? supportAutomaticPlacement = default, bool? ultraSsdEnabled = default);
static member DedicatedHostGroupPatch : System.Collections.Generic.IDictionary<string, string> * seq<string> * Nullable<int> * seq<Azure.ResourceManager.Resources.Models.SubResource> * seq<Azure.ResourceManager.Compute.Models.DedicatedHostInstanceViewWithName> * Nullable<bool> * Nullable<bool> -> Azure.ResourceManager.Compute.Models.DedicatedHostGroupPatch
Public Shared Function DedicatedHostGroupPatch (Optional tags As IDictionary(Of String, String) = Nothing, Optional zones As IEnumerable(Of String) = Nothing, Optional platformFaultDomainCount As Nullable(Of Integer) = Nothing, Optional hosts 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 DedicatedHostGroupPatch

Parameters

tags
IDictionary<String,String>

Resource tags.

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.

hosts
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 DedicatedHostGroupPatch instance for mocking.

Applies to