Share via


PolicyModelProperties Class

Definition

Policy model properties.

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

Constructors

PolicyModelProperties()

Creates an new PolicyModelProperties instance.

Properties

CustomProperty

Policy model custom properties.

ProvisioningState

Gets or sets the provisioning state of the policy.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of PolicyModelProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of PolicyModelProperties.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210216Preview.IPolicyModelProperties.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of PolicyModelProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to