Share via


DataMigrationMongoDBObjectInfo Class

Definition

Describes a database or collection within a MongoDB data source.

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

Properties

AverageDocumentSize

The average document size, or -1 if the average size is unknown.

DataSize

The estimated total data size, in bytes, or -1 if the size is unknown.

DocumentCount

The estimated total number of documents, or -1 if the document count is unknown.

Name

The unqualified name of the database or collection.

QualifiedName

The qualified name of the database or collection. For a collection, this is the database-qualified name.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<DataMigrationMongoDBObjectInfo>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DataMigrationMongoDBObjectInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DataMigrationMongoDBObjectInfo>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DataMigrationMongoDBObjectInfo>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DataMigrationMongoDBObjectInfo>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to