CreateCloudDbSystemMacsConnectorDetails

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

Bases: CreateCloudDbSystemConnectorDetails

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

Attributes:

CONNECTOR_TYPE_MACS

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

agent_id

[Required] Gets the agent_id of this CreateCloudDbSystemMacsConnectorDetails.

cloud_db_system_id

[Required] Gets the cloud_db_system_id of this CreateCloudDbSystemConnectorDetails.

connection_info

Gets the connection_info of this CreateCloudDbSystemMacsConnectorDetails.

connector_type

[Required] Gets the connector_type of this CreateCloudDbSystemConnectorDetails.

defined_tags

Gets the defined_tags of this CreateCloudDbSystemMacsConnectorDetails.

display_name

Gets the display_name of this CreateCloudDbSystemConnectorDetails.

freeform_tags

Gets the freeform_tags of this CreateCloudDbSystemMacsConnectorDetails.

Methods:

__init__(**kwargs)

Initializes a new CreateCloudDbSystemMacsConnectorDetails 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 CreateCloudDbSystemConnectorDetails. This constant has a value of “MACS”

__init__(**kwargs)

Initializes a new CreateCloudDbSystemMacsConnectorDetails 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 CreateCloudDbSystemMacsConnectorDetails. Allowed values for this property are: “MACS”

  • display_name (str) – The value to assign to the display_name property of this CreateCloudDbSystemMacsConnectorDetails.

  • cloud_db_system_id (str) – The value to assign to the cloud_db_system_id property of this CreateCloudDbSystemMacsConnectorDetails.

  • agent_id (str) – The value to assign to the agent_id property of this CreateCloudDbSystemMacsConnectorDetails.

  • connection_info (oci.database_management.models.CloudDbSystemConnectionInfo) – The value to assign to the connection_info property of this CreateCloudDbSystemMacsConnectorDetails.

  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateCloudDbSystemMacsConnectorDetails.

  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateCloudDbSystemMacsConnectorDetails.

property agent_id

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

Returns

The agent_id of this CreateCloudDbSystemMacsConnectorDetails.

Return type

str

property cloud_db_system_id

[Required] Gets the cloud_db_system_id of this CreateCloudDbSystemConnectorDetails. The OCID of the cloud DB system.

Returns

The cloud_db_system_id of this CreateCloudDbSystemConnectorDetails.

Return type

str

property connection_info

Gets the connection_info of this CreateCloudDbSystemMacsConnectorDetails.

Returns

The connection_info of this CreateCloudDbSystemMacsConnectorDetails.

Return type

oci.database_management.models.CloudDbSystemConnectionInfo

property connector_type

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

Allowed values for this property are: “MACS”

Returns

The connector_type of this CreateCloudDbSystemConnectorDetails.

Return type

str

property defined_tags

Gets the defined_tags of this CreateCloudDbSystemMacsConnectorDetails. 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 CreateCloudDbSystemMacsConnectorDetails.

Return type

dict(str, dict(str, object))

property display_name

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

Returns

The display_name of this CreateCloudDbSystemConnectorDetails.

Return type

str

property freeform_tags

Gets the freeform_tags of this CreateCloudDbSystemMacsConnectorDetails. 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 CreateCloudDbSystemMacsConnectorDetails.

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.