共用方式為


DataStoreInfoBase Class

Definition

DataStoreInfo base.

public class DataStoreInfoBase : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.DataProtectionBackup.Models.DataStoreInfoBase>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.DataProtectionBackup.Models.DataStoreInfoBase>
public class DataStoreInfoBase
type DataStoreInfoBase = class
    interface IJsonModel<DataStoreInfoBase>
    interface IPersistableModel<DataStoreInfoBase>
type DataStoreInfoBase = class
Public Class DataStoreInfoBase
Implements IJsonModel(Of DataStoreInfoBase), IPersistableModel(Of DataStoreInfoBase)
Public Class DataStoreInfoBase
Inheritance
DataStoreInfoBase
Implements

Constructors

DataStoreInfoBase(DataStoreType, String)

Initializes a new instance of DataStoreInfoBase.

Properties

DataStoreType

type of datastore; Operational/Vault/Archive.

ObjectType

Type of Datasource object, used to initialize the right inherited type.

Explicit Interface Implementations

IJsonModel<DataStoreInfoBase>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DataStoreInfoBase>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DataStoreInfoBase>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DataStoreInfoBase>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DataStoreInfoBase>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to