Class PostgresqlConnection
Represents the metadata of a PostgreSQL Database Connection.
Inherited Members
Namespace: Oci.GoldengateService.Models
Assembly: OCI.DotNetSDK.Goldengate.dll
Syntax
public class PostgresqlConnection : Connection
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
DbSystemId
Declaration
[JsonProperty(PropertyName = "dbSystemId")]
public string DbSystemId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the database system being referenced. |
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. The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. If secretId is used plaintext field must not be provided. 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
PrivateIp
Declaration
[JsonProperty(PropertyName = "privateIp")]
public string PrivateIp { get; set; }
Property Value
Type | Description |
---|---|
string | Deprecated: this field will be removed in future versions. Either specify the private IP in the connectionString or host
field, or make sure the host name is resolvable in the target VCN.
|
SecurityProtocol
Declaration
[Required(ErrorMessage = "SecurityProtocol is required.")]
[JsonProperty(PropertyName = "securityProtocol")]
[JsonConverter(typeof(ResponseEnumConverter))]
public PostgresqlConnection.SecurityProtocolEnum? SecurityProtocol { get; set; }
Property Value
Type | Description |
---|---|
PostgresqlConnection.SecurityProtocolEnum? | Security protocol for PostgreSQL. |
Remarks
Required
SslCa
Declaration
[JsonProperty(PropertyName = "sslCa")]
public string SslCa { get; set; }
Property Value
Type | Description |
---|---|
string | The base64 encoded certificate of the trusted certificate authorities (Trusted CA) for PostgreSQL.
The supported file formats are .pem and .crt.
It is not included in GET responses if the |
SslCert
Declaration
[JsonProperty(PropertyName = "sslCert")]
public string SslCert { get; set; }
Property Value
Type | Description |
---|---|
string | The base64 encoded certificate of the PostgreSQL server. The supported file formats are .pem and .crt.
It is not included in GET responses if the |
SslCrl
Declaration
[JsonProperty(PropertyName = "sslCrl")]
public string SslCrl { get; set; }
Property Value
Type | Description |
---|---|
string | The base64 encoded list of certificates revoked by the trusted certificate authorities (Trusted CA).
It is not included in GET responses if the |
SslKeySecretId
Declaration
[JsonProperty(PropertyName = "sslKeySecretId")]
public string SslKeySecretId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the Secret that stores the private key of the PostgreSQL server. The supported file formats are .pem and .crt. Note: When provided, 'sslKey' field must not be provided. |
SslMode
Declaration
[JsonProperty(PropertyName = "sslMode")]
[JsonConverter(typeof(ResponseEnumConverter))]
public PostgresqlConnection.SslModeEnum? SslMode { get; set; }
Property Value
Type | Description |
---|---|
PostgresqlConnection.SslModeEnum? | SSL mode for PostgreSQL. |
TechnologyType
Declaration
[Required(ErrorMessage = "TechnologyType is required.")]
[JsonProperty(PropertyName = "technologyType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public PostgresqlConnection.TechnologyTypeEnum? TechnologyType { get; set; }
Property Value
Type | Description |
---|---|
PostgresqlConnection.TechnologyTypeEnum? | The PostgreSQL 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 the associated system of the given technology. This username must already exist and be available by the system/application to be connected to and must conform to the case sensitivty requirments defined in it. |
Remarks
Required