BasicDatabaseConnectionStringDetails¶
- class oci.database_management.models.BasicDatabaseConnectionStringDetails(**kwargs)¶
Bases:
DatabaseConnectionStringDetailsThe details of the Oracle Database basic connection string.
Attributes:
A constant which can be used with the connection_type property of a DatabaseConnectionStringDetails.
A constant which can be used with the protocol property of a BasicDatabaseConnectionStringDetails.
A constant which can be used with the protocol property of a BasicDatabaseConnectionStringDetails.
[Required] Gets the connection_type of this DatabaseConnectionStringDetails. The list of supported connection types: - BASIC: Basic connection details.
[Required] Gets the port of this BasicDatabaseConnectionStringDetails.
[Required] Gets the protocol of this BasicDatabaseConnectionStringDetails.
[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'¶
A constant which can be used with the connection_type property of a DatabaseConnectionStringDetails. This constant has a value of “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_typeattribute of this class isBASICand 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’.
- property 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.
- property 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
- property 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
- property service¶
[Required] Gets the service of this BasicDatabaseConnectionStringDetails. The service name of the database.
- Returns
The service of this BasicDatabaseConnectionStringDetails.
- Return type
str