ExternalDbSystemDiscoveryConnector¶
-
class
oci.database_management.models.
ExternalDbSystemDiscoveryConnector
(**kwargs)¶ Bases:
object
The connector details used to connect to the external DB system component.
Attributes
CONNECTOR_TYPE_MACS
A constant which can be used with the connector_type property of a ExternalDbSystemDiscoveryConnector. connection_failure_message
Gets the connection_failure_message of this ExternalDbSystemDiscoveryConnector. connection_status
Gets the connection_status of this ExternalDbSystemDiscoveryConnector. connector_type
[Required] Gets the connector_type of this ExternalDbSystemDiscoveryConnector. display_name
[Required] Gets the display_name of this ExternalDbSystemDiscoveryConnector. time_connection_status_last_updated
Gets the time_connection_status_last_updated of this ExternalDbSystemDiscoveryConnector. Methods
__init__
(**kwargs)Initializes a new ExternalDbSystemDiscoveryConnector 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_MACS
= 'MACS'¶ A constant which can be used with the connector_type property of a ExternalDbSystemDiscoveryConnector. This constant has a value of “MACS”
-
__init__
(**kwargs)¶ Initializes a new ExternalDbSystemDiscoveryConnector 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 ExternalDbSystemDiscoveryConnector. Allowed values for this property are: “MACS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- display_name (str) – The value to assign to the display_name property of this ExternalDbSystemDiscoveryConnector.
- connection_status (str) – The value to assign to the connection_status property of this ExternalDbSystemDiscoveryConnector.
- connection_failure_message (str) – The value to assign to the connection_failure_message property of this ExternalDbSystemDiscoveryConnector.
- time_connection_status_last_updated (datetime) – The value to assign to the time_connection_status_last_updated property of this ExternalDbSystemDiscoveryConnector.
-
connection_failure_message
¶ Gets the connection_failure_message of this ExternalDbSystemDiscoveryConnector. The error message indicating the reason for connection failure or null if the connection was successful.
Returns: The connection_failure_message of this ExternalDbSystemDiscoveryConnector. Return type: str
-
connection_status
¶ Gets the connection_status of this ExternalDbSystemDiscoveryConnector. The status of connectivity to the external DB system component.
Returns: The connection_status of this ExternalDbSystemDiscoveryConnector. Return type: str
-
connector_type
¶ [Required] Gets the connector_type of this ExternalDbSystemDiscoveryConnector. The type of connector.
Allowed values for this property are: “MACS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The connector_type of this ExternalDbSystemDiscoveryConnector. Return type: str
-
display_name
¶ [Required] Gets the display_name of this ExternalDbSystemDiscoveryConnector. The user-friendly name for the external connector. The name does not have to be unique.
Returns: The display_name of this ExternalDbSystemDiscoveryConnector. 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.
-
time_connection_status_last_updated
¶ Gets the time_connection_status_last_updated of this ExternalDbSystemDiscoveryConnector. The date and time the connectionStatus of the external DB system connector was last updated.
Returns: The time_connection_status_last_updated of this ExternalDbSystemDiscoveryConnector. Return type: datetime
-