Share via


DatabaseFileInfo Class

Definition

Database file specific information.

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

Properties

DatabaseName

Name of the database.

FileType

Database file type.

Id

Unique identifier for database file.

LogicalName

Logical name of the file.

PhysicalFullName

Operating-system full path of the file.

RestoreFullName

Suggested full path of the file for restoring.

SizeMB

Size of the file in megabytes.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<DatabaseFileInfo>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DatabaseFileInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DatabaseFileInfo>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DatabaseFileInfo>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DatabaseFileInfo>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to