Show / Hide Table of Contents

Class CreateMongoDbConnectionDetails

The information about a new MongoDB Connection.

Inheritance
object
CreateConnectionDetails
CreateMongoDbConnectionDetails
Inherited Members
CreateConnectionDetails.DisplayName
CreateConnectionDetails.Description
CreateConnectionDetails.CompartmentId
CreateConnectionDetails.FreeformTags
CreateConnectionDetails.DefinedTags
CreateConnectionDetails.Locks
CreateConnectionDetails.VaultId
CreateConnectionDetails.KeyId
CreateConnectionDetails.NsgIds
CreateConnectionDetails.SubnetId
CreateConnectionDetails.RoutingMethod
CreateConnectionDetails.DoesUseSecretIds
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.GoldengateService.Models
Assembly: OCI.DotNetSDK.Goldengate.dll
Syntax
public class CreateMongoDbConnectionDetails : CreateConnectionDetails

Properties

ConnectionString

Declaration
[JsonProperty(PropertyName = "connectionString")]
public string ConnectionString { get; set; }
Property Value
Type Description
string

MongoDB connection string. e.g.: 'mongodb://mongodb0.example.com:27017/recordsrecords'

DatabaseId

Declaration
[JsonProperty(PropertyName = "databaseId")]
public string DatabaseId { get; set; }
Property Value
Type Description
string

The OCID of the Oracle Autonomous Json Database.

Password

Declaration
[JsonProperty(PropertyName = "password")]
public string Password { get; set; }
Property Value
Type Description
string

The password Oracle GoldenGate uses to connect the associated database. Deprecated: This field is deprecated and replaced by "passwordSecretId". This field will be removed after February 15 2026.

PasswordSecretId

Declaration
[JsonProperty(PropertyName = "passwordSecretId")]
public string PasswordSecretId { get; set; }
Property Value
Type Description
string

The OCID of the Secret that stores the password Oracle GoldenGate uses to connect the associated database. Note: When provided, 'password' field must not be provided.

SecurityProtocol

Declaration
[JsonProperty(PropertyName = "securityProtocol")]
[JsonConverter(typeof(StringEnumConverter))]
public MongoDbConnection.SecurityProtocolEnum? SecurityProtocol { get; set; }
Property Value
Type Description
MongoDbConnection.SecurityProtocolEnum?

Security Type for MongoDB.

TechnologyType

Declaration
[Required(ErrorMessage = "TechnologyType is required.")]
[JsonProperty(PropertyName = "technologyType")]
[JsonConverter(typeof(StringEnumConverter))]
public MongoDbConnection.TechnologyTypeEnum? TechnologyType { get; set; }
Property Value
Type Description
MongoDbConnection.TechnologyTypeEnum?

The MongoDB technology type.

Remarks

Required

TlsCaFile

Declaration
[JsonProperty(PropertyName = "tlsCaFile")]
public string TlsCaFile { get; set; }
Property Value
Type Description
string

Database Certificate - The base64 encoded content of a .pem file, containing the server public key (for 1 and 2-way SSL). It is not included in GET responses if the view=COMPACT query parameter is specified.

TlsCertificateKeyFile

Declaration
[JsonProperty(PropertyName = "tlsCertificateKeyFile")]
public string TlsCertificateKeyFile { get; set; }
Property Value
Type Description
string

Client Certificate - The base64 encoded content of a .pem file, containing the client public key (for 2-way SSL). Deprecated: This field is deprecated and replaced by "tlsCertificateKeyFileSecretId". This field will be removed after February 15 2026.

TlsCertificateKeyFilePassword

Declaration
[JsonProperty(PropertyName = "tlsCertificateKeyFilePassword")]
public string TlsCertificateKeyFilePassword { get; set; }
Property Value
Type Description
string

Client Certificate key file password. Deprecated: This field is deprecated and replaced by "tlsCertificateKeyFilePasswordSecretId". This field will be removed after February 15 2026.

TlsCertificateKeyFilePasswordSecretId

Declaration
[JsonProperty(PropertyName = "tlsCertificateKeyFilePasswordSecretId")]
public string TlsCertificateKeyFilePasswordSecretId { get; set; }
Property Value
Type Description
string

The OCID of the Secret that stores the password of the tls certificate key file. Note: When provided, 'tlsCertificateKeyFilePassword' field must not be provided.

TlsCertificateKeyFileSecretId

Declaration
[JsonProperty(PropertyName = "tlsCertificateKeyFileSecretId")]
public string TlsCertificateKeyFileSecretId { get; set; }
Property Value
Type Description
string

The OCID of the Secret that stores the certificate key file of the mtls connection.

  • The content of a .pem file containing the client private key (for 2-way SSL). Note: When provided, 'tlsCertificateKeyFile' field must not be provided.

Username

Declaration
[JsonProperty(PropertyName = "username")]
public string Username { get; set; }
Property Value
Type Description
string

The username Oracle GoldenGate uses to connect to the database. This username must already exist and be available by the database to be connected to.

In this article
Back to top