ConnectionDetails

class oci.data_integration.models.ConnectionDetails(**kwargs)

Bases: object

The connection details for a data asset.

Attributes

MODEL_TYPE_GENERIC_JDBC_CONNECTION A constant which can be used with the model_type property of a ConnectionDetails.
MODEL_TYPE_MYSQL_CONNECTION A constant which can be used with the model_type property of a ConnectionDetails.
MODEL_TYPE_ORACLEDB_CONNECTION A constant which can be used with the model_type property of a ConnectionDetails.
MODEL_TYPE_ORACLE_ADWC_CONNECTION A constant which can be used with the model_type property of a ConnectionDetails.
MODEL_TYPE_ORACLE_ATP_CONNECTION A constant which can be used with the model_type property of a ConnectionDetails.
MODEL_TYPE_ORACLE_OBJECT_STORAGE_CONNECTION A constant which can be used with the model_type property of a ConnectionDetails.
connection_properties Gets the connection_properties of this ConnectionDetails.
description Gets the description of this ConnectionDetails.
identifier Gets the identifier of this ConnectionDetails.
is_default Gets the is_default of this ConnectionDetails.
key Gets the key of this ConnectionDetails.
metadata Gets the metadata of this ConnectionDetails.
model_type [Required] Gets the model_type of this ConnectionDetails.
model_version Gets the model_version of this ConnectionDetails.
name Gets the name of this ConnectionDetails.
object_status Gets the object_status of this ConnectionDetails.
object_version Gets the object_version of this ConnectionDetails.
parent_ref Gets the parent_ref of this ConnectionDetails.
primary_schema Gets the primary_schema of this ConnectionDetails.

Methods

__init__(**kwargs) Initializes a new ConnectionDetails 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.
MODEL_TYPE_GENERIC_JDBC_CONNECTION = 'GENERIC_JDBC_CONNECTION'

A constant which can be used with the model_type property of a ConnectionDetails. This constant has a value of “GENERIC_JDBC_CONNECTION”

MODEL_TYPE_MYSQL_CONNECTION = 'MYSQL_CONNECTION'

A constant which can be used with the model_type property of a ConnectionDetails. This constant has a value of “MYSQL_CONNECTION”

MODEL_TYPE_ORACLEDB_CONNECTION = 'ORACLEDB_CONNECTION'

A constant which can be used with the model_type property of a ConnectionDetails. This constant has a value of “ORACLEDB_CONNECTION”

MODEL_TYPE_ORACLE_ADWC_CONNECTION = 'ORACLE_ADWC_CONNECTION'

A constant which can be used with the model_type property of a ConnectionDetails. This constant has a value of “ORACLE_ADWC_CONNECTION”

MODEL_TYPE_ORACLE_ATP_CONNECTION = 'ORACLE_ATP_CONNECTION'

A constant which can be used with the model_type property of a ConnectionDetails. This constant has a value of “ORACLE_ATP_CONNECTION”

MODEL_TYPE_ORACLE_OBJECT_STORAGE_CONNECTION = 'ORACLE_OBJECT_STORAGE_CONNECTION'

A constant which can be used with the model_type property of a ConnectionDetails. This constant has a value of “ORACLE_OBJECT_STORAGE_CONNECTION”

__init__(**kwargs)

Initializes a new ConnectionDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:

The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • model_type (str) – The value to assign to the model_type property of this ConnectionDetails. Allowed values for this property are: “ORACLE_ADWC_CONNECTION”, “ORACLE_ATP_CONNECTION”, “ORACLE_OBJECT_STORAGE_CONNECTION”, “ORACLEDB_CONNECTION”, “MYSQL_CONNECTION”, “GENERIC_JDBC_CONNECTION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • key (str) – The value to assign to the key property of this ConnectionDetails.
  • model_version (str) – The value to assign to the model_version property of this ConnectionDetails.
  • parent_ref (oci.data_integration.models.ParentReference) – The value to assign to the parent_ref property of this ConnectionDetails.
  • name (str) – The value to assign to the name property of this ConnectionDetails.
  • description (str) – The value to assign to the description property of this ConnectionDetails.
  • object_version (int) – The value to assign to the object_version property of this ConnectionDetails.
  • object_status (int) – The value to assign to the object_status property of this ConnectionDetails.
  • identifier (str) – The value to assign to the identifier property of this ConnectionDetails.
  • primary_schema (oci.data_integration.models.Schema) – The value to assign to the primary_schema property of this ConnectionDetails.
  • connection_properties (list[oci.data_integration.models.ConnectionProperty]) – The value to assign to the connection_properties property of this ConnectionDetails.
  • is_default (bool) – The value to assign to the is_default property of this ConnectionDetails.
  • metadata (oci.data_integration.models.ObjectMetadata) – The value to assign to the metadata property of this ConnectionDetails.
connection_properties

Gets the connection_properties of this ConnectionDetails. The properties for the connection.

Returns:The connection_properties of this ConnectionDetails.
Return type:list[oci.data_integration.models.ConnectionProperty]
description

Gets the description of this ConnectionDetails. User-defined description for the connection.

Returns:The description of this ConnectionDetails.
Return type:str
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.

identifier

Gets the identifier of this ConnectionDetails. Value can only contain upper case letters, underscore, and numbers. It should begin with upper case letter or underscore. The value can be modified.

Returns:The identifier of this ConnectionDetails.
Return type:str
is_default

Gets the is_default of this ConnectionDetails. The default property for the connection.

Returns:The is_default of this ConnectionDetails.
Return type:bool
key

Gets the key of this ConnectionDetails. Generated key that can be used in API calls to identify connection. On scenarios where reference to the connection is needed, a value can be passed in create.

Returns:The key of this ConnectionDetails.
Return type:str
metadata

Gets the metadata of this ConnectionDetails.

Returns:The metadata of this ConnectionDetails.
Return type:oci.data_integration.models.ObjectMetadata
model_type

[Required] Gets the model_type of this ConnectionDetails. The type of the connection.

Allowed values for this property are: “ORACLE_ADWC_CONNECTION”, “ORACLE_ATP_CONNECTION”, “ORACLE_OBJECT_STORAGE_CONNECTION”, “ORACLEDB_CONNECTION”, “MYSQL_CONNECTION”, “GENERIC_JDBC_CONNECTION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The model_type of this ConnectionDetails.
Return type:str
model_version

Gets the model_version of this ConnectionDetails. The model version of an object.

Returns:The model_version of this ConnectionDetails.
Return type:str
name

Gets the name of this ConnectionDetails. Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters.

Returns:The name of this ConnectionDetails.
Return type:str
object_status

Gets the object_status of this ConnectionDetails. The status of an object that can be set to value 1 for shallow references across objects, other values reserved.

Returns:The object_status of this ConnectionDetails.
Return type:int
object_version

Gets the object_version of this ConnectionDetails. The version of the object that is used to track changes in the object instance.

Returns:The object_version of this ConnectionDetails.
Return type:int
parent_ref

Gets the parent_ref of this ConnectionDetails.

Returns:The parent_ref of this ConnectionDetails.
Return type:oci.data_integration.models.ParentReference
primary_schema

Gets the primary_schema of this ConnectionDetails.

Returns:The primary_schema of this ConnectionDetails.
Return type:oci.data_integration.models.Schema