ConnectionDetails¶
- class oci.psql.models.ConnectionDetails(**kwargs)¶
Bases:
objectDatabase system connection information. Used to connect to PostgreSQL instance(s).
Methods:
__init__(**kwargs)Initializes a new ConnectionDetails object with values from keyword arguments.
Attributes:
[Required] Gets the ca_certificate of this ConnectionDetails.
[Required] Gets the instance_endpoints of this ConnectionDetails.
[Required] Gets the primary_db_endpoint of this ConnectionDetails.
Gets the reader_endpoint of this ConnectionDetails.
- __init__(**kwargs)¶
Initializes a new ConnectionDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
ca_certificate (str) – The value to assign to the ca_certificate property of this ConnectionDetails.
primary_db_endpoint (oci.psql.models.Endpoint) – The value to assign to the primary_db_endpoint property of this ConnectionDetails.
instance_endpoints (list[oci.psql.models.DbInstanceEndpoint]) – The value to assign to the instance_endpoints property of this ConnectionDetails.
reader_endpoint (oci.psql.models.Endpoint) – The value to assign to the reader_endpoint property of this ConnectionDetails.
- property ca_certificate¶
[Required] Gets the ca_certificate of this ConnectionDetails. The CA certificate to be used by the PosgreSQL client to connect to the database. The CA certificate is used to authenticate the server identity. It is issued by PostgreSQL Service Private CA.
- Returns
The ca_certificate of this ConnectionDetails.
- Return type
str
- property instance_endpoints¶
[Required] Gets the instance_endpoints of this ConnectionDetails. The list of database instance node endpoints in the database system.
- Returns
The instance_endpoints of this ConnectionDetails.
- Return type
- property primary_db_endpoint¶
[Required] Gets the primary_db_endpoint of this ConnectionDetails.
- Returns
The primary_db_endpoint of this ConnectionDetails.
- Return type
- property reader_endpoint¶
Gets the reader_endpoint of this ConnectionDetails.
- Returns
The reader_endpoint of this ConnectionDetails.
- Return type