Partager via


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