MacsConnectorDetails

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

Bases: ConnectorDetails

The management agent details required to connect to an Oracle cloud Database.

Attributes:

CONNECTOR_TYPE_DIRECT

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

CONNECTOR_TYPE_EXTERNAL

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

CONNECTOR_TYPE_MACS

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

CONNECTOR_TYPE_PE

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

connector_type

[Required] Gets the connector_type of this ConnectorDetails. The list of supported connection types: - PE: Private endpoint - MACS: Management agent - EXTERNAL: External database connector.

management_agent_id

[Required] Gets the management_agent_id of this MacsConnectorDetails.

Methods:

__init__(**kwargs)

Initializes a new MacsConnectorDetails 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_DIRECT = 'DIRECT'

A constant which can be used with the connector_type property of a ConnectorDetails. This constant has a value of “DIRECT”

CONNECTOR_TYPE_EXTERNAL = 'EXTERNAL'

A constant which can be used with the connector_type property of a ConnectorDetails. This constant has a value of “EXTERNAL”

CONNECTOR_TYPE_MACS = 'MACS'

A constant which can be used with the connector_type property of a ConnectorDetails. This constant has a value of “MACS”

CONNECTOR_TYPE_PE = 'PE'

A constant which can be used with the connector_type property of a ConnectorDetails. This constant has a value of “PE”

__init__(**kwargs)

Initializes a new MacsConnectorDetails object with values from keyword arguments. The default value of the connector_type attribute of this class is MACS 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 MacsConnectorDetails. Allowed values for this property are: “PE”, “MACS”, “EXTERNAL”, “DIRECT”

  • management_agent_id (str) – The value to assign to the management_agent_id property of this MacsConnectorDetails.

property connector_type

[Required] Gets the connector_type of this ConnectorDetails. The list of supported connection types:

  • PE: Private endpoint

  • MACS: Management agent

  • EXTERNAL: External database connector

  • DIRECT: Direct connection

Allowed values for this property are: “PE”, “MACS”, “EXTERNAL”, “DIRECT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The connector_type of this ConnectorDetails.

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 management_agent_id

[Required] Gets the management_agent_id of this MacsConnectorDetails. The OCID of the management agent.

Returns

The management_agent_id of this MacsConnectorDetails.

Return type

str