Condividi tramite


PlacementPolicyProperties Class

Definition

Abstract placement policy properties

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

Constructors

PlacementPolicyProperties()

Creates an new PlacementPolicyProperties instance.

Properties

DisplayName

Display name of the placement policy

ProvisioningState

The provisioning state

State

Whether the placement policy is enabled or disabled

Type

Placement Policy type

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of PlacementPolicyProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of PlacementPolicyProperties.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IPlacementPolicyProperties. Note: the Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IPlacementPolicyProperties interface is polymorphic, and the precise model class that will get deserialized is determined at runtime based on the payload.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of PlacementPolicyProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to