Share via


VmHostPlacementPolicyProperties Constructor

Definition

Initializes a new instance of VmHostPlacementPolicyProperties.

public VmHostPlacementPolicyProperties (System.Collections.Generic.IEnumerable<Azure.Core.ResourceIdentifier> vmMembers, System.Collections.Generic.IEnumerable<string> hostMembers, Azure.ResourceManager.Avs.Models.AvsPlacementPolicyAffinityType affinityType);
new Azure.ResourceManager.Avs.Models.VmHostPlacementPolicyProperties : seq<Azure.Core.ResourceIdentifier> * seq<string> * Azure.ResourceManager.Avs.Models.AvsPlacementPolicyAffinityType -> Azure.ResourceManager.Avs.Models.VmHostPlacementPolicyProperties
Public Sub New (vmMembers As IEnumerable(Of ResourceIdentifier), hostMembers As IEnumerable(Of String), affinityType As AvsPlacementPolicyAffinityType)

Parameters

vmMembers
IEnumerable<ResourceIdentifier>

Virtual machine members list.

hostMembers
IEnumerable<String>

Host members list.

affinityType
AvsPlacementPolicyAffinityType

placement policy affinity type.

Exceptions

vmMembers or hostMembers is null.

Applies to