CloudDatabaseConnectionInfo

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

Bases: CloudDbSystemConnectionInfo

The details required to connect to a cloud Oracle Database.

Attributes:

COMPONENT_TYPE_ASM

A constant which can be used with the component_type property of a CloudDbSystemConnectionInfo.

COMPONENT_TYPE_DATABASE

A constant which can be used with the component_type property of a CloudDbSystemConnectionInfo.

component_type

[Required] Gets the component_type of this CloudDbSystemConnectionInfo.

connection_credentials

Gets the connection_credentials of this CloudDatabaseConnectionInfo.

connection_string

[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_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
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

oci.database_management.models.DatabaseConnectionString

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.