Class Db2ConnectionSummary
Summary of the DB2 Connection.
Inherited Members
Namespace: Oci.GoldengateService.Models
Assembly: OCI.DotNetSDK.Goldengate.dll
Syntax
public class Db2ConnectionSummary : ConnectionSummary
Properties
AdditionalAttributes
Declaration
[JsonProperty(PropertyName = "additionalAttributes")]
public List<NameValuePair> AdditionalAttributes { get; set; }
Property Value
Type | Description |
---|---|
List<NameValuePair> | An array of name-value pair attribute entries. Used as additional parameters in connection string. |
DatabaseName
Declaration
[Required(ErrorMessage = "DatabaseName is required.")]
[JsonProperty(PropertyName = "databaseName")]
public string DatabaseName { get; set; }
Property Value
Type | Description |
---|---|
string | The name of the database. |
Remarks
Required
Host
Declaration
[Required(ErrorMessage = "Host is required.")]
[JsonProperty(PropertyName = "host")]
public string Host { get; set; }
Property Value
Type | Description |
---|---|
string | The name or address of a host. |
Remarks
Required
PasswordSecretId
Declaration
[JsonProperty(PropertyName = "passwordSecretId")]
public string PasswordSecretId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the Secret where the password is stored, that Oracle GoldenGate uses to connect the associated DB2 database. Note: When provided, 'password' field must not be provided. |
Port
Declaration
[Required(ErrorMessage = "Port is required.")]
[JsonProperty(PropertyName = "port")]
public int? Port { get; set; }
Property Value
Type | Description |
---|---|
int? | The port of an endpoint usually specified for a connection. |
Remarks
Required
SecurityProtocol
Declaration
[Required(ErrorMessage = "SecurityProtocol is required.")]
[JsonProperty(PropertyName = "securityProtocol")]
[JsonConverter(typeof(StringEnumConverter))]
public Db2Connection.SecurityProtocolEnum? SecurityProtocol { get; set; }
Property Value
Type | Description |
---|---|
Db2Connection.SecurityProtocolEnum? | Security protocol for the DB2 database. |
Remarks
Required
SslClientKeystashSecretId
Declaration
[JsonProperty(PropertyName = "sslClientKeystashSecretId")]
public string SslClientKeystashSecretId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the Secret where the keystash file is stored, which contains the encrypted password to the key database file. Note: When provided, 'sslClientKeystash' field must not be provided. |
SslClientKeystoredbSecretId
Declaration
[JsonProperty(PropertyName = "sslClientKeystoredbSecretId")]
public string SslClientKeystoredbSecretId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the Secret where the keystore file stored, which created at the client containing the server certificate / CA root certificate. Note: When provided, 'sslClientKeystoredb' field must not be provided. |
TechnologyType
Declaration
[Required(ErrorMessage = "TechnologyType is required.")]
[JsonProperty(PropertyName = "technologyType")]
[JsonConverter(typeof(StringEnumConverter))]
public Db2Connection.TechnologyTypeEnum? TechnologyType { get; set; }
Property Value
Type | Description |
---|---|
Db2Connection.TechnologyTypeEnum? | The DB2 technology type. |
Remarks
Required
Username
Declaration
[Required(ErrorMessage = "Username is required.")]
[JsonProperty(PropertyName = "username")]
public string Username { get; set; }
Property Value
Type | Description |
---|---|
string | The username Oracle GoldenGate uses to connect to the DB2 database. This username must already exist and be available by the DB2 to be connected to. |
Remarks
Required