CloudDatabaseConnectionInfo¶
- class oci.database_management.models.CloudDatabaseConnectionInfo(**kwargs)¶
Bases:
CloudDbSystemConnectionInfoThe details required to connect to a cloud Oracle Database.
Attributes:
A constant which can be used with the component_type property of a CloudDbSystemConnectionInfo.
A constant which can be used with the component_type property of a CloudDbSystemConnectionInfo.
[Required] Gets the component_type of this CloudDbSystemConnectionInfo.
Gets the connection_credentials of this CloudDatabaseConnectionInfo.
[Required] Gets the connection_string of this CloudDatabaseConnectionInfo.
Methods:
__init__(**kwargs)Initializes a new CloudDatabaseConnectionInfo 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 CloudDbSystemConnectionInfo. This constant has a value of “ASM”
- COMPONENT_TYPE_DATABASE = 'DATABASE'¶
A constant which can be used with the component_type property of a CloudDbSystemConnectionInfo. This constant has a value of “DATABASE”
- __init__(**kwargs)¶
Initializes a new CloudDatabaseConnectionInfo 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 CloudDatabaseConnectionInfo. 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 CloudDatabaseConnectionInfo.
connection_credentials (oci.database_management.models.DatabaseConnectionCredentials) – The value to assign to the connection_credentials property of this CloudDatabaseConnectionInfo.
- property component_type¶
[Required] Gets the component_type of this CloudDbSystemConnectionInfo. 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 CloudDbSystemConnectionInfo.
- Return type
str
- property connection_credentials¶
Gets the connection_credentials of this CloudDatabaseConnectionInfo.
- Returns
The connection_credentials of this CloudDatabaseConnectionInfo.
- Return type
oci.database_management.models.DatabaseConnectionCredentials
- property connection_string¶
[Required] Gets the connection_string of this CloudDatabaseConnectionInfo.
- Returns
The connection_string of this CloudDatabaseConnectionInfo.
- 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.