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

PlacementPolicyUpdate Class

Definition

An update of a DRS placement policy resource

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.PlacementPolicyUpdateTypeConverter))]
public class PlacementPolicyUpdate : Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IPlacementPolicyUpdate
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.PlacementPolicyUpdateTypeConverter))>]
type PlacementPolicyUpdate = class
    interface IPlacementPolicyUpdate
    interface IJsonSerializable
Public Class PlacementPolicyUpdate
Implements IPlacementPolicyUpdate
Inheritance
PlacementPolicyUpdate
Attributes
Implements

Constructors

PlacementPolicyUpdate()

Creates an new PlacementPolicyUpdate instance.

Properties

AffinityStrength

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

AzureHybridBenefitType

placement policy azure hybrid benefit opt-in type

HostMember

Host members list

State

Whether the placement policy is enabled or disabled

VMMember

Virtual machine members list

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of PlacementPolicyUpdate.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of PlacementPolicyUpdate.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of PlacementPolicyUpdate into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to