Class MongoDbConnection
Represents the metadata of a MongoDB Connection.
Inherited Members
Namespace: Oci.GoldengateService.Models
Assembly: OCI.DotNetSDK.Goldengate.dll
Syntax
public class MongoDbConnection : ConnectionProperties
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. | 
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(ResponseEnumConverter))]
public MongoDbConnection.SecurityProtocolEnum? SecurityProtocol { get; set; }Property Value
| Type | Description | 
|---|---|
| MongoDbConnection.SecurityProtocolEnum? | Security Protocol for MongoDB. | 
TechnologyType
Declaration
[Required(ErrorMessage = "TechnologyType is required.")]
[JsonProperty(PropertyName = "technologyType")]
[JsonConverter(typeof(ResponseEnumConverter))]
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  | 
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. 
 | 
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. |