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

PlacementPolicyUpdateProperties Class

Definition

The properties of a placement policy resource that may be updated

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

Constructors

PlacementPolicyUpdateProperties()

Creates an new PlacementPolicyUpdateProperties 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 PlacementPolicyUpdateProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of PlacementPolicyUpdateProperties.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of PlacementPolicyUpdateProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to