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

VMPlacementPolicyProperties Class

Definition

VM-VM placement policy properties

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

Applies to