ExternalConnectorDetails¶
-
class
oci.database_management.models.ExternalConnectorDetails(**kwargs)¶ Bases:
oci.database_management.models.connector_details.ConnectorDetailsThe details of the external database connector used to connect to the external database.
Attributes
CONNECTOR_TYPE_DIRECTstr(object=’’) -> str CONNECTOR_TYPE_EXTERNALstr(object=’’) -> str CONNECTOR_TYPE_MACSstr(object=’’) -> str CONNECTOR_TYPE_PEstr(object=’’) -> str connector_type[Required] Gets the connector_type of this ConnectorDetails. database_connector_id[Required] Gets the database_connector_id of this ExternalConnectorDetails. Methods
__init__(**kwargs)Initializes a new ExternalConnectorDetails 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'¶
-
CONNECTOR_TYPE_EXTERNAL= 'EXTERNAL'¶
-
CONNECTOR_TYPE_MACS= 'MACS'¶
-
CONNECTOR_TYPE_PE= 'PE'¶
-
__init__(**kwargs)¶ Initializes a new ExternalConnectorDetails object with values from keyword arguments. The default value of the
connector_typeattribute of this class isEXTERNALand it should not be changed. 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 ExternalConnectorDetails. Allowed values for this property are: “PE”, “MACS”, “EXTERNAL”, “DIRECT”
- database_connector_id (str) – The value to assign to the database_connector_id property of this ExternalConnectorDetails.
-
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
-
database_connector_id¶ [Required] Gets the database_connector_id of this ExternalConnectorDetails. The OCID of the external database connector.
Returns: The database_connector_id of this ExternalConnectorDetails. 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.
-