CreateTargetDatabaseDetails

class oci.data_safe.models.CreateTargetDatabaseDetails(**kwargs)

Bases: object

The details used to register the database in Data Safe and to create the Data Safe target database.

Methods

__init__(**kwargs) Initializes a new CreateTargetDatabaseDetails object with values from keyword arguments.

Attributes

compartment_id [Required] Gets the compartment_id of this CreateTargetDatabaseDetails.
connection_option Gets the connection_option of this CreateTargetDatabaseDetails.
credentials Gets the credentials of this CreateTargetDatabaseDetails.
database_details [Required] Gets the database_details of this CreateTargetDatabaseDetails.
defined_tags Gets the defined_tags of this CreateTargetDatabaseDetails.
description Gets the description of this CreateTargetDatabaseDetails.
display_name Gets the display_name of this CreateTargetDatabaseDetails.
freeform_tags Gets the freeform_tags of this CreateTargetDatabaseDetails.
peer_target_database_details Gets the peer_target_database_details of this CreateTargetDatabaseDetails.
tls_config Gets the tls_config of this CreateTargetDatabaseDetails.
__init__(**kwargs)

Initializes a new CreateTargetDatabaseDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • compartment_id (str) – The value to assign to the compartment_id property of this CreateTargetDatabaseDetails.
  • display_name (str) – The value to assign to the display_name property of this CreateTargetDatabaseDetails.
  • description (str) – The value to assign to the description property of this CreateTargetDatabaseDetails.
  • database_details (oci.data_safe.models.DatabaseDetails) – The value to assign to the database_details property of this CreateTargetDatabaseDetails.
  • credentials (oci.data_safe.models.Credentials) – The value to assign to the credentials property of this CreateTargetDatabaseDetails.
  • tls_config (oci.data_safe.models.TlsConfig) – The value to assign to the tls_config property of this CreateTargetDatabaseDetails.
  • connection_option (oci.data_safe.models.ConnectionOption) – The value to assign to the connection_option property of this CreateTargetDatabaseDetails.
  • peer_target_database_details (list[oci.data_safe.models.CreatePeerTargetDatabaseDetails]) – The value to assign to the peer_target_database_details property of this CreateTargetDatabaseDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateTargetDatabaseDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateTargetDatabaseDetails.
compartment_id

[Required] Gets the compartment_id of this CreateTargetDatabaseDetails. The OCID of the compartment in which to create the Data Safe target database.

Returns:The compartment_id of this CreateTargetDatabaseDetails.
Return type:str
connection_option

Gets the connection_option of this CreateTargetDatabaseDetails.

Returns:The connection_option of this CreateTargetDatabaseDetails.
Return type:oci.data_safe.models.ConnectionOption
credentials

Gets the credentials of this CreateTargetDatabaseDetails.

Returns:The credentials of this CreateTargetDatabaseDetails.
Return type:oci.data_safe.models.Credentials
database_details

[Required] Gets the database_details of this CreateTargetDatabaseDetails.

Returns:The database_details of this CreateTargetDatabaseDetails.
Return type:oci.data_safe.models.DatabaseDetails
defined_tags

Gets the defined_tags of this CreateTargetDatabaseDetails. 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 CreateTargetDatabaseDetails.
Return type:dict(str, dict(str, object))
description

Gets the description of this CreateTargetDatabaseDetails. The description of the target database in Data Safe.

Returns:The description of this CreateTargetDatabaseDetails.
Return type:str
display_name

Gets the display_name of this CreateTargetDatabaseDetails. The display name of the target database in Data Safe. The name is modifiable and does not need to be unique.

Returns:The display_name of this CreateTargetDatabaseDetails.
Return type:str
freeform_tags

Gets the freeform_tags of this CreateTargetDatabaseDetails. 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 CreateTargetDatabaseDetails.
Return type:dict(str, str)
peer_target_database_details

Gets the peer_target_database_details of this CreateTargetDatabaseDetails. The details of the database to be registered as a peer target database.

Returns:The peer_target_database_details of this CreateTargetDatabaseDetails.
Return type:list[oci.data_safe.models.CreatePeerTargetDatabaseDetails]
tls_config

Gets the tls_config of this CreateTargetDatabaseDetails.

Returns:The tls_config of this CreateTargetDatabaseDetails.
Return type:oci.data_safe.models.TlsConfig