VmHostPlacementPolicyProperties Constructors
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.
Overloads
VmHostPlacementPolicyProperties() |
Initializes a new instance of the VmHostPlacementPolicyProperties class. |
VmHostPlacementPolicyProperties(IList<String>, IList<String>, String, String, String, String) |
Initializes a new instance of the VmHostPlacementPolicyProperties class. |
VmHostPlacementPolicyProperties()
Initializes a new instance of the VmHostPlacementPolicyProperties class.
public VmHostPlacementPolicyProperties ();
Public Sub New ()
Applies to
VmHostPlacementPolicyProperties(IList<String>, IList<String>, String, String, String, String)
Initializes a new instance of the VmHostPlacementPolicyProperties class.
public VmHostPlacementPolicyProperties (System.Collections.Generic.IList<string> vmMembers, System.Collections.Generic.IList<string> hostMembers, string affinityType, string state = default, string displayName = default, string provisioningState = default);
new Microsoft.Azure.Management.Avs.Models.VmHostPlacementPolicyProperties : System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> * string * string * string * string -> Microsoft.Azure.Management.Avs.Models.VmHostPlacementPolicyProperties
Public Sub New (vmMembers As IList(Of String), hostMembers As IList(Of String), affinityType As String, Optional state As String = Nothing, Optional displayName As String = Nothing, Optional provisioningState As String = Nothing)
Parameters
- affinityType
- String
placement policy affinity type. Possible values include: 'Affinity', 'AntiAffinity'
- state
- String
Whether the placement policy is enabled or disabled. Possible values include: 'Enabled', 'Disabled'
- displayName
- String
Display name of the placement policy
- provisioningState
- String
The provisioning state. Possible values include: 'Succeeded', 'Failed', 'Building', 'Deleting', 'Updating'
Applies to
Azure SDK for .NET