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.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET