ExternalDatabaseConnectionInfo¶
- class oci.database_management.models.ExternalDatabaseConnectionInfo(**kwargs)¶
Bases:
ExternalDbSystemConnectionInfoThe details required to connect to an external Oracle Database. It takes either connectionCredentials or databaseCredential. It’s recommended to provide databaseCredential
Attributes:
A constant which can be used with the component_type property of a ExternalDbSystemConnectionInfo.
A constant which can be used with the component_type property of a ExternalDbSystemConnectionInfo.
[Required] Gets the component_type of this ExternalDbSystemConnectionInfo.
Gets the connection_credentials of this ExternalDatabaseConnectionInfo.
[Required] Gets the connection_string of this ExternalDatabaseConnectionInfo.
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'¶
A constant which can be used with the component_type property of a ExternalDbSystemConnectionInfo. This constant has a value of “ASM”
- COMPONENT_TYPE_DATABASE = 'DATABASE'¶
A constant which can be used with the component_type property of a ExternalDbSystemConnectionInfo. This constant has a value of “DATABASE”
- __init__(**kwargs)¶
Initializes a new ExternalDatabaseConnectionInfo object with values from keyword arguments. The default value of the
component_typeattribute of this class isDATABASEand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):- Parameters
component_type (str) – The value to assign to the component_type property of this ExternalDatabaseConnectionInfo. Allowed values for this property are: “DATABASE”, “ASM”
connection_string (oci.database_management.models.DatabaseConnectionString) – The value to assign to the connection_string property of this ExternalDatabaseConnectionInfo.
connection_credentials (oci.database_management.models.DatabaseConnectionCredentials) – The value to assign to the connection_credentials property of this ExternalDatabaseConnectionInfo.
database_credential (oci.database_management.models.DatabaseCredentialDetails) – The value to assign to the database_credential property of this ExternalDatabaseConnectionInfo.
- property 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
- property connection_credentials¶
Gets the connection_credentials of this ExternalDatabaseConnectionInfo.
- Returns
The connection_credentials of this ExternalDatabaseConnectionInfo.
- Return type
oci.database_management.models.DatabaseConnectionCredentials
- property connection_string¶
[Required] Gets the connection_string of this ExternalDatabaseConnectionInfo.
- Returns
The connection_string of this ExternalDatabaseConnectionInfo.
- Return type
- property database_credential¶
Gets the database_credential of this ExternalDatabaseConnectionInfo.
- Returns
The database_credential of this ExternalDatabaseConnectionInfo.
- Return type
- 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.