Share via


DataMigrationMongoDBConnectionInfo Class

Definition

Describes a connection to a MongoDB data source.

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

Constructors

DataMigrationMongoDBConnectionInfo(String)

Initializes a new instance of DataMigrationMongoDBConnectionInfo.

Properties

AdditionalSettings

Additional connection settings.

Authentication

Authentication type to use for connection.

ConnectionString

A MongoDB connection string or blob container URL. The user name and password can be specified here or in the userName and password properties.

DataSource

Data source.

DoesEnforceSsl

Gets or sets the does enforce ssl.

Password

Password credential.

(Inherited from ServerConnectionInfo)
Port

port for server.

ServerBrandVersion

server brand version.

ServerName

name of the server.

ServerVersion

server version.

ShouldEncryptConnection

Whether to encrypt the connection.

ShouldTrustServerCertificate

Whether to trust the server certificate.

UserName

User name.

(Inherited from ServerConnectionInfo)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<DataMigrationMongoDBConnectionInfo>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DataMigrationMongoDBConnectionInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<ServerConnectionInfo>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from ServerConnectionInfo)
IPersistableModel<DataMigrationMongoDBConnectionInfo>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DataMigrationMongoDBConnectionInfo>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DataMigrationMongoDBConnectionInfo>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<ServerConnectionInfo>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from ServerConnectionInfo)

Applies to