Partilhar via


VMHostPlacementPolicyProperties Class

Definition

VM-Host placement policy properties

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.VMHostPlacementPolicyPropertiesTypeConverter))]
public class VMHostPlacementPolicyProperties : Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMHostPlacementPolicyProperties, Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.VMHostPlacementPolicyPropertiesTypeConverter))>]
type VMHostPlacementPolicyProperties = class
    interface IVMHostPlacementPolicyProperties
    interface IJsonSerializable
    interface IPlacementPolicyProperties
    interface IValidates
Public Class VMHostPlacementPolicyProperties
Implements IValidates, IVMHostPlacementPolicyProperties
Inheritance
VMHostPlacementPolicyProperties
Attributes
Implements

Constructors

VMHostPlacementPolicyProperties()

Creates an new VMHostPlacementPolicyProperties instance.

Properties

AffinityStrength

vm-host placement policy affinity strength (should/must)

AffinityType

placement policy affinity type

AzureHybridBenefitType

placement policy azure hybrid benefit opt-in type

DisplayName

Display name of the placement policy

HostMember

Host members list

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 VMHostPlacementPolicyProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of VMHostPlacementPolicyProperties.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMHostPlacementPolicyProperties.

FromJsonString(String)

Creates a new instance of VMHostPlacementPolicyProperties, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of VMHostPlacementPolicyProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to