ConnectionOption

class oci.data_safe.models.ConnectionOption(**kwargs)

Bases: object

Types of connection supported by Data Safe.

Attributes:

CONNECTION_TYPE_ONPREM_CONNECTOR

A constant which can be used with the connection_type property of a ConnectionOption.

CONNECTION_TYPE_PRIVATE_ENDPOINT

A constant which can be used with the connection_type property of a ConnectionOption.

connection_type

[Required] Gets the connection_type of this ConnectionOption.

Methods:

__init__(**kwargs)

Initializes a new ConnectionOption 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.

CONNECTION_TYPE_ONPREM_CONNECTOR = 'ONPREM_CONNECTOR'

A constant which can be used with the connection_type property of a ConnectionOption. This constant has a value of “ONPREM_CONNECTOR”

CONNECTION_TYPE_PRIVATE_ENDPOINT = 'PRIVATE_ENDPOINT'

A constant which can be used with the connection_type property of a ConnectionOption. This constant has a value of “PRIVATE_ENDPOINT”

__init__(**kwargs)

Initializes a new ConnectionOption 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

connection_type (str) – The value to assign to the connection_type property of this ConnectionOption. Allowed values for this property are: “PRIVATE_ENDPOINT”, “ONPREM_CONNECTOR”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

property connection_type

[Required] Gets the connection_type of this ConnectionOption. The connection type used to connect to the database. Allowed values: - PRIVATE_ENDPOINT - Represents connection through private endpoint in Data Safe. - ONPREM_CONNECTOR - Represents connection through on-premises connector in Data Safe.

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

Returns

The connection_type of this ConnectionOption.

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.