Share via


DataStoreSettings Class

Definition

Parameters for DataStore Please note DataStoreSettings 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 OperationalDataStoreSettings.

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

Constructors

DataStoreSettings(DataStoreType)

Initializes a new instance of DataStoreSettings.

Properties

DataStoreType

type of datastore; Operational/Vault/Archive.

Explicit Interface Implementations

IJsonModel<DataStoreSettings>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DataStoreSettings>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DataStoreSettings>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DataStoreSettings>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DataStoreSettings>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to