Class MongoDbConnection
Represents the metadata of a MongoDB Connection.
Inherited Members
Namespace: Oci.GoldengateService.Models
Assembly: OCI.DotNetSDK.Goldengate.dll
Syntax
public class MongoDbConnection : Connection
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. |
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
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. |