ConnectorDetails

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

Bases: object

The connector details required to connect to an Oracle cloud database.

Attributes

CONNECTOR_TYPE_DIRECT A constant which can be used with the connector_type property of a ConnectorDetails.
CONNECTOR_TYPE_EXTERNAL A constant which can be used with the connector_type property of a ConnectorDetails.
CONNECTOR_TYPE_MACS A constant which can be used with the connector_type property of a ConnectorDetails.
CONNECTOR_TYPE_PE A constant which can be used with the connector_type property of a ConnectorDetails.
connector_type [Required] Gets the connector_type of this ConnectorDetails.

Methods

__init__(**kwargs) Initializes a new ConnectorDetails 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.
CONNECTOR_TYPE_DIRECT = 'DIRECT'

A constant which can be used with the connector_type property of a ConnectorDetails. This constant has a value of “DIRECT”

CONNECTOR_TYPE_EXTERNAL = 'EXTERNAL'

A constant which can be used with the connector_type property of a ConnectorDetails. This constant has a value of “EXTERNAL”

CONNECTOR_TYPE_MACS = 'MACS'

A constant which can be used with the connector_type property of a ConnectorDetails. This constant has a value of “MACS”

CONNECTOR_TYPE_PE = 'PE'

A constant which can be used with the connector_type property of a ConnectorDetails. This constant has a value of “PE”

__init__(**kwargs)

Initializes a new ConnectorDetails 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:connector_type (str) – The value to assign to the connector_type property of this ConnectorDetails. Allowed values for this property are: “PE”, “MACS”, “EXTERNAL”, “DIRECT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
connector_type

[Required] Gets the connector_type of this ConnectorDetails. The list of supported connection types:

  • PE: Private endpoint
  • MACS: Management agent
  • EXTERNAL: External database connector
  • DIRECT: Direct connection

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

Returns:The connector_type of this ConnectorDetails.
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.