Share via


DataMigrationMongoDBDatabaseInfo Class

Definition

Describes a database within a MongoDB data source.

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

Properties

AverageDocumentSize

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

(Inherited from DataMigrationMongoDBObjectInfo)
Collections

A list of supported collections in a MongoDB database.

DataSize

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

(Inherited from DataMigrationMongoDBObjectInfo)
DocumentCount

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

(Inherited from DataMigrationMongoDBObjectInfo)
IsShardingSupported

Whether the database has sharding enabled. Note that the migration task will enable sharding on the target if necessary.

Name

The unqualified name of the database or collection.

(Inherited from DataMigrationMongoDBObjectInfo)
QualifiedName

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

(Inherited from DataMigrationMongoDBObjectInfo)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<DataMigrationMongoDBDatabaseInfo>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DataMigrationMongoDBDatabaseInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<DataMigrationMongoDBObjectInfo>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

(Inherited from DataMigrationMongoDBObjectInfo)
IJsonModel<DataMigrationMongoDBObjectInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from DataMigrationMongoDBObjectInfo)
IPersistableModel<DataMigrationMongoDBDatabaseInfo>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DataMigrationMongoDBDatabaseInfo>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DataMigrationMongoDBDatabaseInfo>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<DataMigrationMongoDBObjectInfo>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from DataMigrationMongoDBObjectInfo)
IPersistableModel<DataMigrationMongoDBObjectInfo>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from DataMigrationMongoDBObjectInfo)
IPersistableModel<DataMigrationMongoDBObjectInfo>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from DataMigrationMongoDBObjectInfo)

Applies to