Share via


PolicyModelCustomProperties Class

Definition

Policy model custom properties.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210216Preview.PolicyModelCustomPropertiesTypeConverter))]
public class PolicyModelCustomProperties : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210216Preview.IPolicyModelCustomProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210216Preview.PolicyModelCustomPropertiesTypeConverter))>]
type PolicyModelCustomProperties = class
    interface IPolicyModelCustomProperties
    interface IJsonSerializable
Public Class PolicyModelCustomProperties
Implements IPolicyModelCustomProperties
Inheritance
PolicyModelCustomProperties
Attributes
Implements

Constructors

PolicyModelCustomProperties()

Creates an new PolicyModelCustomProperties instance.

Properties

InstanceType

Gets or sets the instance type.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of PolicyModelCustomProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of PolicyModelCustomProperties.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210216Preview.IPolicyModelCustomProperties. Note: the Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210216Preview.IPolicyModelCustomProperties 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 PolicyModelCustomProperties, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of PolicyModelCustomProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to