CloudDbSystemDiscoveryMacsConnector¶
- class oci.database_management.models.CloudDbSystemDiscoveryMacsConnector(**kwargs)¶
Bases:
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:
A constant which can be used with the connector_type property of a CloudDbSystemDiscoveryConnector.
[Required] Gets the agent_id of this CloudDbSystemDiscoveryMacsConnector.
Gets the connection_failure_message of this CloudDbSystemDiscoveryConnector.
Gets the connection_info of this CloudDbSystemDiscoveryMacsConnector.
Gets the connection_status of this CloudDbSystemDiscoveryConnector.
[Required] Gets the connector_type of this CloudDbSystemDiscoveryConnector.
[Required] Gets the display_name of this CloudDbSystemDiscoveryConnector.
Gets 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'¶
A constant which can be used with the connector_type property of a CloudDbSystemDiscoveryConnector. This constant has a value of “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.
- property 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
- property 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
- property connection_info¶
Gets the connection_info of this CloudDbSystemDiscoveryMacsConnector.
- Returns
The connection_info of this CloudDbSystemDiscoveryMacsConnector.
- Return type
- property 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
- property 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
- property 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.
- property 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