Share via


BackupDataSourceSettings Class

Definition

Parameters for Backup Datasource Please note BackupDataSourceSettings 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 BlobBackupDataSourceSettings and KubernetesClusterBackupDataSourceSettings.

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

Constructors

BackupDataSourceSettings()

Initializes a new instance of BackupDataSourceSettings.

Explicit Interface Implementations

IJsonModel<BackupDataSourceSettings>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<BackupDataSourceSettings>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BackupDataSourceSettings>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BackupDataSourceSettings>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<BackupDataSourceSettings>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to