Share via


ArmDataMigrationModelFactory.MongoDBObjectInfo Method

Definition

Initializes a new instance of MongoDBObjectInfo.

public static Azure.ResourceManager.DataMigration.Models.MongoDBObjectInfo MongoDBObjectInfo (long averageDocumentSize = 0, long dataSize = 0, long documentCount = 0, string name = default, string qualifiedName = default);
static member MongoDBObjectInfo : int64 * int64 * int64 * string * string -> Azure.ResourceManager.DataMigration.Models.MongoDBObjectInfo
Public Shared Function MongoDBObjectInfo (Optional averageDocumentSize As Long = 0, Optional dataSize As Long = 0, Optional documentCount As Long = 0, Optional name As String = Nothing, Optional qualifiedName As String = Nothing) As MongoDBObjectInfo

Parameters

averageDocumentSize
Int64

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

dataSize
Int64

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

documentCount
Int64

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

name
String

The unqualified name of the database or collection.

qualifiedName
String

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

Returns

A new MongoDBObjectInfo instance for mocking.

Exceptions

name or qualifiedName is null.

Applies to