AutonomousDatabaseConnectionStrings

class oci.database.models.AutonomousDatabaseConnectionStrings(**kwargs)

Bases: object

Connection strings to connect to an Oracle Autonomous AI Database.

Example output for connection strings. See database_connection_string_profile() for additional details:

“connectionStrings”: { “allConnectionStrings”: { “HIGH”: “adb.region.oraclecloud.com:1522/unique_id_databasename_high.adwc.oraclecloud.com”, “LOW”: “adb.region.oraclecloud.com:1522/unique_id_databasename_low.adwc.oraclecloud.com”, “MEDIUM”: “adb.region.oraclecloud.com:1522/unique_id_databasename_medium.adwc.oraclecloud.com” }, “profiles”: [ { “displayName”: “databasename_high”, “value”: “(description= (retry_count=20)(retry_delay=3)(address=(protocol=tcps)(port=1522)(host=adb.region.oraclecloud.com))(connect_data=(service_name=unique_id_databasename_high.adwc.oraclecloud.com))(security=(ssl_server_cert_dn=”CN=adwc.uscom-east-1.oraclecloud.com,OU=Oracle BMCS US,O=Oracle Corporation,L=Redwood City,ST=California,C=US”)))”, “consumerGroup”: “HIGH”, “protocol”: “TCPS”, “tlsAuthentication”: “MUTUAL”, “hostFormat”: “FQDN”, “sessionMode”: “DIRECT”, “syntaxFormat”: “LONG” }, { “displayName”: “databasename_low”, “value”: “(description= (retry_count=20)(retry_delay=3)(address=(protocol=tcps)(port=1522)(host=adb.region.oraclecloud.com))(connect_data=(service_name=unique_id_databasename_low.adwc.oraclecloud.com))(security=(ssl_server_cert_dn=”CN=adwc.uscom-east-1.oraclecloud.com,OU=Oracle BMCS US,O=Oracle Corporation,L=Redwood City,ST=California,C=US”)))”, “consumerGroup”: “LOW”, “protocol”: “TCPS”, “tlsAuthentication”: “MUTUAL”, “hostFormat”: “FQDN”, “sessionMode”: “DIRECT”, “syntaxFormat”: “LONG” }, { “displayName”: “databasename_medium”, “value”: “(description= (retry_count=20)(retry_delay=3)(address=(protocol=tcps)(port=1522)(host=adb.region.oraclecloud.com))(connect_data=(service_name=unique_id_databasename_medium.adwc.oraclecloud.com))(security=(ssl_server_cert_dn=”CN=adwc.uscom-east-1.oraclecloud.com,OU=Oracle BMCS US,O=Oracle Corporation,L=Redwood City,ST=California,C=US”)))”, “consumerGroup”: “MEDIUM”, “protocol”: “TCPS”, “tlsAuthentication”: “MUTUAL”, “hostFormat”: “FQDN”, “sessionMode”: “DIRECT”, “syntaxFormat”: “LONG” } ], “dedicated”: null, “high”: “adb.region.oraclecloud.com:1522/unique_id_databasename_high.adwc.oraclecloud.com”, “low”: “adb.region.oraclecloud.com:1522/unique_id_databasename_low.adwc.oraclecloud.com”, “medium”: “adb.region.oraclecloud.com:1522/unique_id_databasename_medium.adwc.oraclecloud.com” }

Methods:

__init__(**kwargs)

Initializes a new AutonomousDatabaseConnectionStrings object with values from keyword arguments.

Attributes:

all_connection_strings

Gets the all_connection_strings of this AutonomousDatabaseConnectionStrings.

dedicated

Gets the dedicated of this AutonomousDatabaseConnectionStrings.

high

Gets the high of this AutonomousDatabaseConnectionStrings.

low

Gets the low of this AutonomousDatabaseConnectionStrings.

medium

Gets the medium of this AutonomousDatabaseConnectionStrings.

profiles

Gets the profiles of this AutonomousDatabaseConnectionStrings.

__init__(**kwargs)

Initializes a new AutonomousDatabaseConnectionStrings object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • high (str) – The value to assign to the high property of this AutonomousDatabaseConnectionStrings.

  • medium (str) – The value to assign to the medium property of this AutonomousDatabaseConnectionStrings.

  • low (str) – The value to assign to the low property of this AutonomousDatabaseConnectionStrings.

  • dedicated (str) – The value to assign to the dedicated property of this AutonomousDatabaseConnectionStrings.

  • all_connection_strings (dict(str, str)) – The value to assign to the all_connection_strings property of this AutonomousDatabaseConnectionStrings.

  • profiles (list[oci.database.models.DatabaseConnectionStringProfile]) – The value to assign to the profiles property of this AutonomousDatabaseConnectionStrings.

property all_connection_strings

Gets the all_connection_strings of this AutonomousDatabaseConnectionStrings. Returns all connection strings that can be used to connect to the Autonomous AI Database. For more information, please see Predefined Database Service Names for Autonomous AI Transaction Processing

Returns

The all_connection_strings of this AutonomousDatabaseConnectionStrings.

Return type

dict(str, str)

property dedicated

Gets the dedicated of this AutonomousDatabaseConnectionStrings. The database service provides the least level of resources to each SQL statement, but supports the most number of concurrent SQL statements.

Returns

The dedicated of this AutonomousDatabaseConnectionStrings.

Return type

str

property high

Gets the high of this AutonomousDatabaseConnectionStrings. The High database service provides the highest level of resources to each SQL statement resulting in the highest performance, but supports the fewest number of concurrent SQL statements.

Returns

The high of this AutonomousDatabaseConnectionStrings.

Return type

str

property low

Gets the low of this AutonomousDatabaseConnectionStrings. The Low database service provides the least level of resources to each SQL statement, but supports the most number of concurrent SQL statements.

Returns

The low of this AutonomousDatabaseConnectionStrings.

Return type

str

property medium

Gets the medium of this AutonomousDatabaseConnectionStrings. The Medium database service provides a lower level of resources to each SQL statement potentially resulting a lower level of performance, but supports more concurrent SQL statements.

Returns

The medium of this AutonomousDatabaseConnectionStrings.

Return type

str

property profiles

Gets the profiles of this AutonomousDatabaseConnectionStrings. A list of connection string profiles to allow clients to group, filter and select connection string values based on structured metadata.

Returns

The profiles of this AutonomousDatabaseConnectionStrings.

Return type

list[oci.database.models.DatabaseConnectionStringProfile]