BasicDatabaseConnectionStringDetails

class oci.database_management.models.BasicDatabaseConnectionStringDetails(**kwargs)

Bases: oci.database_management.models.database_connection_string_details.DatabaseConnectionStringDetails

The details of the Oracle Database basic connection string.

Attributes

CONNECTION_TYPE_BASIC str(object=’’) -> str
PROTOCOL_TCP A constant which can be used with the protocol property of a BasicDatabaseConnectionStringDetails.
PROTOCOL_TCPS A constant which can be used with the protocol property of a BasicDatabaseConnectionStringDetails.
connection_type [Required] Gets the connection_type of this DatabaseConnectionStringDetails.
port [Required] Gets the port of this BasicDatabaseConnectionStringDetails.
protocol [Required] Gets the protocol of this BasicDatabaseConnectionStringDetails.
service [Required] Gets the service of this BasicDatabaseConnectionStringDetails.

Methods

__init__(**kwargs) Initializes a new BasicDatabaseConnectionStringDetails object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
CONNECTION_TYPE_BASIC = 'BASIC'
PROTOCOL_TCP = 'TCP'

A constant which can be used with the protocol property of a BasicDatabaseConnectionStringDetails. This constant has a value of “TCP”

PROTOCOL_TCPS = 'TCPS'

A constant which can be used with the protocol property of a BasicDatabaseConnectionStringDetails. This constant has a value of “TCPS”

__init__(**kwargs)

Initializes a new BasicDatabaseConnectionStringDetails object with values from keyword arguments. The default value of the connection_type attribute of this class is BASIC and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • connection_type (str) – The value to assign to the connection_type property of this BasicDatabaseConnectionStringDetails. Allowed values for this property are: “BASIC”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • service (str) – The value to assign to the service property of this BasicDatabaseConnectionStringDetails.
  • port (int) – The value to assign to the port property of this BasicDatabaseConnectionStringDetails.
  • protocol (str) – The value to assign to the protocol property of this BasicDatabaseConnectionStringDetails. Allowed values for this property are: “TCP”, “TCPS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
connection_type

[Required] Gets the connection_type of this DatabaseConnectionStringDetails. The list of supported connection types:

  • BASIC: Basic connection details

Allowed values for this property are: “BASIC”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The connection_type of this DatabaseConnectionStringDetails.
Return type:str
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

port

[Required] Gets the port of this BasicDatabaseConnectionStringDetails. The port number used to connect to the database.

Returns:The port of this BasicDatabaseConnectionStringDetails.
Return type:int
protocol

[Required] Gets the protocol of this BasicDatabaseConnectionStringDetails. The protocol used to connect to the database.

Allowed values for this property are: “TCP”, “TCPS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The protocol of this BasicDatabaseConnectionStringDetails.
Return type:str
service

[Required] Gets the service of this BasicDatabaseConnectionStringDetails. The service name of the database.

Returns:The service of this BasicDatabaseConnectionStringDetails.
Return type:str