ExternalDatabaseConnectionInfo

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

Bases: oci.database_management.models.external_db_system_connection_info.ExternalDbSystemConnectionInfo

The details required to connect to an external Oracle Database. It takes either connectionCredentials or databaseCredential. It’s recommended to provide databaseCredential

Attributes

COMPONENT_TYPE_ASM str(object=’’) -> str
COMPONENT_TYPE_DATABASE str(object=’’) -> str
component_type [Required] Gets the component_type of this ExternalDbSystemConnectionInfo.
connection_credentials Gets the connection_credentials of this ExternalDatabaseConnectionInfo.
connection_string [Required] Gets the connection_string of this ExternalDatabaseConnectionInfo.
database_credential Gets the database_credential of this ExternalDatabaseConnectionInfo.

Methods

__init__(**kwargs) Initializes a new ExternalDatabaseConnectionInfo 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.
COMPONENT_TYPE_ASM = 'ASM'
COMPONENT_TYPE_DATABASE = 'DATABASE'
__init__(**kwargs)

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

Parameters:
component_type

[Required] Gets the component_type of this ExternalDbSystemConnectionInfo. The component type.

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

Returns:The component_type of this ExternalDbSystemConnectionInfo.
Return type:str
connection_credentials

Gets the connection_credentials of this ExternalDatabaseConnectionInfo.

Returns:The connection_credentials of this ExternalDatabaseConnectionInfo.
Return type:oci.database_management.models.DatabaseConnectionCredentials
connection_string

[Required] Gets the connection_string of this ExternalDatabaseConnectionInfo.

Returns:The connection_string of this ExternalDatabaseConnectionInfo.
Return type:oci.database_management.models.DatabaseConnectionString
database_credential

Gets the database_credential of this ExternalDatabaseConnectionInfo.

Returns:The database_credential of this ExternalDatabaseConnectionInfo.
Return type:oci.database_management.models.DatabaseCredentialDetails
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.