ExternalDbSystemDiscoveryMacsConnector¶
-
class
oci.database_management.models.
ExternalDbSystemDiscoveryMacsConnector
(**kwargs)¶ Bases:
oci.database_management.models.external_db_system_discovery_connector.ExternalDbSystemDiscoveryConnector
The details of an external DB system connector that uses the Management Agent Cloud Service (MACS) to connect to an external DB system component.
Attributes
CONNECTOR_TYPE_MACS
str(object=’’) -> str agent_id
[Required] Gets the agent_id of this ExternalDbSystemDiscoveryMacsConnector. connection_failure_message
Gets the connection_failure_message of this ExternalDbSystemDiscoveryConnector. connection_info
Gets the connection_info of this ExternalDbSystemDiscoveryMacsConnector. 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 ExternalDbSystemDiscoveryMacsConnector 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'¶
-
__init__
(**kwargs)¶ Initializes a new ExternalDbSystemDiscoveryMacsConnector object with values from keyword arguments. The default value of the
connector_type
attribute of this class isMACS
and 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 ExternalDbSystemDiscoveryMacsConnector. Allowed values for this property are: “MACS”
- display_name (str) – The value to assign to the display_name property of this ExternalDbSystemDiscoveryMacsConnector.
- connection_status (str) – The value to assign to the connection_status property of this ExternalDbSystemDiscoveryMacsConnector.
- connection_failure_message (str) – The value to assign to the connection_failure_message property of this ExternalDbSystemDiscoveryMacsConnector.
- time_connection_status_last_updated (datetime) – The value to assign to the time_connection_status_last_updated property of this ExternalDbSystemDiscoveryMacsConnector.
- agent_id (str) – The value to assign to the agent_id property of this ExternalDbSystemDiscoveryMacsConnector.
- connection_info (oci.database_management.models.ExternalDbSystemConnectionInfo) – The value to assign to the connection_info property of this ExternalDbSystemDiscoveryMacsConnector.
-
agent_id
¶ [Required] Gets the agent_id of this ExternalDbSystemDiscoveryMacsConnector. The OCID of the management agent used for the external DB system connector.
Returns: The agent_id of this ExternalDbSystemDiscoveryMacsConnector. Return type: str
-
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_info
¶ Gets the connection_info of this ExternalDbSystemDiscoveryMacsConnector.
Returns: The connection_info of this ExternalDbSystemDiscoveryMacsConnector. Return type: oci.database_management.models.ExternalDbSystemConnectionInfo
-
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
-