MacsConnectorDetails

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

Bases: oci.database_management.models.connector_details.ConnectorDetails

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

Attributes

CONNECTOR_TYPE_DIRECT str(object=’’) -> str
CONNECTOR_TYPE_EXTERNAL str(object=’’) -> str
CONNECTOR_TYPE_MACS str(object=’’) -> str
CONNECTOR_TYPE_PE str(object=’’) -> str
connector_type [Required] Gets the connector_type of this ConnectorDetails.
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'
CONNECTOR_TYPE_EXTERNAL = 'EXTERNAL'
CONNECTOR_TYPE_MACS = 'MACS'
CONNECTOR_TYPE_PE = '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.
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.

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