你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

VMHostPlacementPolicyProperties Class

Definition

VM-Host placement policy properties

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.VMHostPlacementPolicyPropertiesTypeConverter))]
public class VMHostPlacementPolicyProperties : Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.IVMHostPlacementPolicyProperties, Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.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

AffinityType

placement policy affinity 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.Api20211201.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