Share via


PolicyCollection Class

Definition

Protection Profile Collection details.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.PolicyCollectionTypeConverter))]
public class PolicyCollection : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.IPolicyCollection
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.PolicyCollectionTypeConverter))>]
type PolicyCollection = class
    interface IPolicyCollection
    interface IJsonSerializable
Public Class PolicyCollection
Implements IPolicyCollection
Inheritance
PolicyCollection
Attributes
Implements

Constructors

PolicyCollection()

Creates an new PolicyCollection instance.

Properties

NextLink

The value of next link.

Value

The policy details.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of PolicyCollection.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of PolicyCollection.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.IPolicyCollection.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of PolicyCollection into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to