VmHostPlacementPolicyProperties Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.