Partager via


IMongoConnectionInformation Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataMigration.Models.Api20250630.MongoConnectionInformationTypeConverter))]
public interface IMongoConnectionInformation : Microsoft.Azure.PowerShell.Cmdlets.DataMigration.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataMigration.Models.Api20250630.MongoConnectionInformationTypeConverter))>]
type IMongoConnectionInformation = interface
    interface IJsonSerializable
Public Interface IMongoConnectionInformation
Implements IJsonSerializable
Derived
Attributes
Implements

Properties

Name Description
ConnectionString

ConnectionString to connect to Mongo.

Host

Host of mongo connection.

Password

Password to connect to Mongo.

Port

Port of mongo connection.

UserName

User name to connect to Mongo.

UseSsl

Whether to UseSsl or UseTls to connect to Mongo. Default is true.

Methods

Name Description
ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to