Condividi tramite


ItemLevelRestoreCriteria Class

Definition

Class to contain criteria for item level restore Please note ItemLevelRestoreCriteria is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include ItemPathBasedRestoreCriteria, KubernetesClusterRestoreCriteria, KubernetesClusterVaultTierRestoreCriteria, KubernetesPVRestoreCriteria, KubernetesStorageClassRestoreCriteria and RangeBasedItemLevelRestoreCriteria.

[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.DataProtectionBackup.Models.UnknownItemLevelRestoreCriteria))]
public abstract class ItemLevelRestoreCriteria : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.DataProtectionBackup.Models.ItemLevelRestoreCriteria>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.DataProtectionBackup.Models.ItemLevelRestoreCriteria>
public abstract class ItemLevelRestoreCriteria
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.DataProtectionBackup.Models.UnknownItemLevelRestoreCriteria))>]
type ItemLevelRestoreCriteria = class
    interface IJsonModel<ItemLevelRestoreCriteria>
    interface IPersistableModel<ItemLevelRestoreCriteria>
type ItemLevelRestoreCriteria = class
Public MustInherit Class ItemLevelRestoreCriteria
Implements IJsonModel(Of ItemLevelRestoreCriteria), IPersistableModel(Of ItemLevelRestoreCriteria)
Public MustInherit Class ItemLevelRestoreCriteria
Inheritance
ItemLevelRestoreCriteria
Derived
Attributes
Implements

Constructors

ItemLevelRestoreCriteria()

Initializes a new instance of ItemLevelRestoreCriteria.

Explicit Interface Implementations

IJsonModel<ItemLevelRestoreCriteria>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ItemLevelRestoreCriteria>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ItemLevelRestoreCriteria>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ItemLevelRestoreCriteria>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ItemLevelRestoreCriteria>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to