다음을 통해 공유


VmPlacementPolicyProperties Constructor

Definition

Initializes a new instance of VmPlacementPolicyProperties.

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

Parameters

vmMembers
IEnumerable<ResourceIdentifier>

Virtual machine members list.

affinityType
AvsPlacementPolicyAffinityType

placement policy affinity type.

Exceptions

vmMembers is null.

Applies to