CloudDbSystemDiscoveryMacsConnector¶
-
class
oci.database_management.models.CloudDbSystemDiscoveryMacsConnector(**kwargs)¶ Bases:
oci.database_management.models.cloud_db_system_discovery_connector.CloudDbSystemDiscoveryConnectorThe details of a cloud DB system connector that uses the Management Agent Cloud Service (MACS) to connect to a cloud DB system component.
Attributes
CONNECTOR_TYPE_MACSstr(object=’’) -> str agent_id[Required] Gets the agent_id of this CloudDbSystemDiscoveryMacsConnector. connection_failure_messageGets the connection_failure_message of this CloudDbSystemDiscoveryConnector. connection_infoGets the connection_info of this CloudDbSystemDiscoveryMacsConnector. connection_statusGets the connection_status of this CloudDbSystemDiscoveryConnector. connector_type[Required] Gets the connector_type of this CloudDbSystemDiscoveryConnector. display_name[Required] Gets the display_name of this CloudDbSystemDiscoveryConnector. time_connection_status_last_updatedGets the time_connection_status_last_updated of this CloudDbSystemDiscoveryConnector. Methods
__init__(**kwargs)Initializes a new CloudDbSystemDiscoveryMacsConnector 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 CloudDbSystemDiscoveryMacsConnector object with values from keyword arguments. The default value of the
connector_typeattribute of this class isMACSand 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 CloudDbSystemDiscoveryMacsConnector. Allowed values for this property are: “MACS”
- display_name (str) – The value to assign to the display_name property of this CloudDbSystemDiscoveryMacsConnector.
- connection_status (str) – The value to assign to the connection_status property of this CloudDbSystemDiscoveryMacsConnector.
- connection_failure_message (str) – The value to assign to the connection_failure_message property of this CloudDbSystemDiscoveryMacsConnector.
- time_connection_status_last_updated (datetime) – The value to assign to the time_connection_status_last_updated property of this CloudDbSystemDiscoveryMacsConnector.
- agent_id (str) – The value to assign to the agent_id property of this CloudDbSystemDiscoveryMacsConnector.
- connection_info (oci.database_management.models.CloudDbSystemConnectionInfo) – The value to assign to the connection_info property of this CloudDbSystemDiscoveryMacsConnector.
-
agent_id¶ [Required] Gets the agent_id of this CloudDbSystemDiscoveryMacsConnector. The OCID of the management agent used for the cloud DB system connector.
Returns: The agent_id of this CloudDbSystemDiscoveryMacsConnector. Return type: str
-
connection_failure_message¶ Gets the connection_failure_message of this CloudDbSystemDiscoveryConnector. The error message indicating the reason for connection failure or null if the connection was successful.
Returns: The connection_failure_message of this CloudDbSystemDiscoveryConnector. Return type: str
-
connection_info¶ Gets the connection_info of this CloudDbSystemDiscoveryMacsConnector.
Returns: The connection_info of this CloudDbSystemDiscoveryMacsConnector. Return type: oci.database_management.models.CloudDbSystemConnectionInfo
-
connection_status¶ Gets the connection_status of this CloudDbSystemDiscoveryConnector. The status of connectivity to the cloud DB system component.
Returns: The connection_status of this CloudDbSystemDiscoveryConnector. Return type: str
-
connector_type¶ [Required] Gets the connector_type of this CloudDbSystemDiscoveryConnector. 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 CloudDbSystemDiscoveryConnector. Return type: str
-
display_name¶ [Required] Gets the display_name of this CloudDbSystemDiscoveryConnector. The user-friendly name for the cloud connector. The name does not have to be unique.
Returns: The display_name of this CloudDbSystemDiscoveryConnector. 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 CloudDbSystemDiscoveryConnector. The date and time the connectionStatus of the cloud DB system connector was last updated.
Returns: The time_connection_status_last_updated of this CloudDbSystemDiscoveryConnector. Return type: datetime
-