ExternalConnectorDetails¶
- class oci.database_management.models.ExternalConnectorDetails(**kwargs)¶
Bases:
ConnectorDetailsThe details of the external database connector used to connect to the external database.
Attributes:
A constant which can be used with the connector_type property of a ConnectorDetails.
A constant which can be used with the connector_type property of a ConnectorDetails.
A constant which can be used with the connector_type property of a ConnectorDetails.
A constant which can be used with the connector_type property of a ConnectorDetails.
[Required] Gets the connector_type of this ConnectorDetails. The list of supported connection types: - PE: Private endpoint - MACS: Management agent - EXTERNAL: External database connector.
[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'¶
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 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.
- property 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
- property 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.