Share via


DataProtectionBackupPolicyPropertiesBase Class

Definition

BackupPolicy base Please note DataProtectionBackupPolicyPropertiesBase 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 RuleBasedBackupPolicy.

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

Constructors

DataProtectionBackupPolicyPropertiesBase(IEnumerable<String>)

Initializes a new instance of DataProtectionBackupPolicyPropertiesBase.

Properties

DataSourceTypes

Type of datasource for the backup management.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<DataProtectionBackupPolicyPropertiesBase>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DataProtectionBackupPolicyPropertiesBase>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DataProtectionBackupPolicyPropertiesBase>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DataProtectionBackupPolicyPropertiesBase>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DataProtectionBackupPolicyPropertiesBase>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to