VMPlacementPolicyProperties Class
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.
VM-VM placement policy properties
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.VMPlacementPolicyPropertiesTypeConverter))]
public class VMPlacementPolicyProperties : Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMPlacementPolicyProperties, Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.VMPlacementPolicyPropertiesTypeConverter))>]
type VMPlacementPolicyProperties = class
interface IVMPlacementPolicyProperties
interface IJsonSerializable
interface IPlacementPolicyProperties
interface IValidates
Public Class VMPlacementPolicyProperties
Implements IValidates, IVMPlacementPolicyProperties
- Inheritance
-
VMPlacementPolicyProperties
- Attributes
- Implements
Constructors
VMPlacementPolicyProperties() |
Creates an new VMPlacementPolicyProperties instance. |
Properties
AffinityType |
placement policy affinity type |
DisplayName |
Display name of the placement policy |
ProvisioningState |
The provisioning state |
State |
Whether the placement policy is enabled or disabled |
Type |
Placement Policy type |
VMMember |
Virtual machine members list |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of VMPlacementPolicyProperties. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of VMPlacementPolicyProperties. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMPlacementPolicyProperties. |
FromJsonString(String) |
Creates a new instance of VMPlacementPolicyProperties, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of VMPlacementPolicyProperties into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |
ToString() | |
Validate(IEventListener) |
Validates that this object meets the validation criteria. |