ConnectionDetails¶
-
class
oci.psql.models.
ConnectionDetails
(**kwargs)¶ Bases:
object
Database system connection information. Used to connect to PostgreSQL instance(s).
Methods
__init__
(**kwargs)Initializes a new ConnectionDetails object with values from keyword arguments. Attributes
ca_certificate
[Required] Gets the ca_certificate of this ConnectionDetails. instance_endpoints
[Required] Gets the instance_endpoints of this ConnectionDetails. primary_db_endpoint
[Required] Gets the primary_db_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.
-
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
-
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: list[oci.psql.models.DbInstanceEndpoint]
-
primary_db_endpoint
¶ [Required] Gets the primary_db_endpoint of this ConnectionDetails.
Returns: The primary_db_endpoint of this ConnectionDetails. Return type: oci.psql.models.Endpoint
-