CloudDbSystemDiscoveryConnector

class oci.database_management.models.CloudDbSystemDiscoveryConnector(**kwargs)

Bases: object

The connector details used to connect to the cloud DB system component.

Attributes:

CONNECTOR_TYPE_MACS

A constant which can be used with the connector_type property of a CloudDbSystemDiscoveryConnector.

connection_failure_message

Gets the connection_failure_message of this CloudDbSystemDiscoveryConnector.

connection_status

Gets 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_updated

Gets the time_connection_status_last_updated of this CloudDbSystemDiscoveryConnector.

Methods:

__init__(**kwargs)

Initializes a new CloudDbSystemDiscoveryConnector 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 CloudDbSystemDiscoveryConnector 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 CloudDbSystemDiscoveryConnector. 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 CloudDbSystemDiscoveryConnector.

  • connection_status (str) – The value to assign to the connection_status property of this CloudDbSystemDiscoveryConnector.

  • connection_failure_message (str) – The value to assign to the connection_failure_message property of this CloudDbSystemDiscoveryConnector.

  • time_connection_status_last_updated (datetime) – The value to assign to the time_connection_status_last_updated property of this CloudDbSystemDiscoveryConnector.

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_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