CreateExternalDbSystemMacsConnectorDetails

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

Bases: oci.database_management.models.create_external_db_system_connector_details.CreateExternalDbSystemConnectorDetails

The details for creating an external connector that is used to connect to an external DB system component using the Management Agent Cloud Service (MACS).

Attributes

CONNECTOR_TYPE_MACS str(object=’’) -> str
agent_id [Required] Gets the agent_id of this CreateExternalDbSystemMacsConnectorDetails.
connection_info Gets the connection_info of this CreateExternalDbSystemMacsConnectorDetails.
connector_type [Required] Gets the connector_type of this CreateExternalDbSystemConnectorDetails.
defined_tags Gets the defined_tags of this CreateExternalDbSystemMacsConnectorDetails.
display_name Gets the display_name of this CreateExternalDbSystemConnectorDetails.
external_db_system_id [Required] Gets the external_db_system_id of this CreateExternalDbSystemConnectorDetails.
freeform_tags Gets the freeform_tags of this CreateExternalDbSystemMacsConnectorDetails.

Methods

__init__(**kwargs) Initializes a new CreateExternalDbSystemMacsConnectorDetails 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 CreateExternalDbSystemMacsConnectorDetails 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 CreateExternalDbSystemMacsConnectorDetails. Allowed values for this property are: “MACS”
  • display_name (str) – The value to assign to the display_name property of this CreateExternalDbSystemMacsConnectorDetails.
  • external_db_system_id (str) – The value to assign to the external_db_system_id property of this CreateExternalDbSystemMacsConnectorDetails.
  • agent_id (str) – The value to assign to the agent_id property of this CreateExternalDbSystemMacsConnectorDetails.
  • connection_info (oci.database_management.models.ExternalDbSystemConnectionInfo) – The value to assign to the connection_info property of this CreateExternalDbSystemMacsConnectorDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateExternalDbSystemMacsConnectorDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateExternalDbSystemMacsConnectorDetails.
agent_id

[Required] Gets the agent_id of this CreateExternalDbSystemMacsConnectorDetails. The OCID of the management agent used for the external DB system connector.

Returns:The agent_id of this CreateExternalDbSystemMacsConnectorDetails.
Return type:str
connection_info

Gets the connection_info of this CreateExternalDbSystemMacsConnectorDetails.

Returns:The connection_info of this CreateExternalDbSystemMacsConnectorDetails.
Return type:oci.database_management.models.ExternalDbSystemConnectionInfo
connector_type

[Required] Gets the connector_type of this CreateExternalDbSystemConnectorDetails. The type of connector.

Allowed values for this property are: “MACS”

Returns:The connector_type of this CreateExternalDbSystemConnectorDetails.
Return type:str
defined_tags

Gets the defined_tags of this CreateExternalDbSystemMacsConnectorDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}

Returns:The defined_tags of this CreateExternalDbSystemMacsConnectorDetails.
Return type:dict(str, dict(str, object))
display_name

Gets the display_name of this CreateExternalDbSystemConnectorDetails. The user-friendly name for the external connector. The name does not have to be unique.

Returns:The display_name of this CreateExternalDbSystemConnectorDetails.
Return type:str
external_db_system_id

[Required] Gets the external_db_system_id of this CreateExternalDbSystemConnectorDetails. The OCID of the external DB system.

Returns:The external_db_system_id of this CreateExternalDbSystemConnectorDetails.
Return type:str
freeform_tags

Gets the freeform_tags of this CreateExternalDbSystemMacsConnectorDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {“Department”: “Finance”}

Returns:The freeform_tags of this CreateExternalDbSystemMacsConnectorDetails.
Return type:dict(str, 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.