Share via


ItemPathBasedRestoreCriteria Class

Definition

Prefix criteria to be used to during restore

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ItemPathBasedRestoreCriteriaTypeConverter))]
public class ItemPathBasedRestoreCriteria : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemPathBasedRestoreCriteria, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ItemPathBasedRestoreCriteriaTypeConverter))>]
type ItemPathBasedRestoreCriteria = class
    interface IItemPathBasedRestoreCriteria
    interface IJsonSerializable
    interface IItemLevelRestoreCriteria
    interface IValidates
Public Class ItemPathBasedRestoreCriteria
Implements IItemPathBasedRestoreCriteria, IValidates
Inheritance
ItemPathBasedRestoreCriteria
Attributes
Implements

Constructors

ItemPathBasedRestoreCriteria()

Creates an new ItemPathBasedRestoreCriteria instance.

Properties

IsPathRelativeToBackupItem

Flag to specify if the path is relative to backup item or full path

ItemPath

The path of the item to be restored. It could be the full path of the item or the path relative to the backup item

ObjectType

Type of the specific object - used for deserializing

SubItemPathPrefix

The list of prefix strings to be used as filter criteria during restore. These are relative to the item path specified.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ItemPathBasedRestoreCriteria.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ItemPathBasedRestoreCriteria.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemPathBasedRestoreCriteria.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ItemPathBasedRestoreCriteria into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to