CreateTargetDatabaseDetails¶
- class oci.data_safe.models.CreateTargetDatabaseDetails(**kwargs)¶
Bases:
objectThe 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:
[Required] Gets the compartment_id of this CreateTargetDatabaseDetails.
Gets the connection_option of this CreateTargetDatabaseDetails.
Gets the credentials of this CreateTargetDatabaseDetails.
[Required] Gets the database_details of this CreateTargetDatabaseDetails.
Gets the defined_tags of this CreateTargetDatabaseDetails.
Gets the description of this CreateTargetDatabaseDetails.
Gets the display_name of this CreateTargetDatabaseDetails.
Gets the freeform_tags of this CreateTargetDatabaseDetails.
Gets the peer_target_database_details of this CreateTargetDatabaseDetails.
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.
- property 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
- property connection_option¶
Gets the connection_option of this CreateTargetDatabaseDetails.
- Returns
The connection_option of this CreateTargetDatabaseDetails.
- Return type
- property credentials¶
Gets the credentials of this CreateTargetDatabaseDetails.
- Returns
The credentials of this CreateTargetDatabaseDetails.
- Return type
- property database_details¶
[Required] Gets the database_details of this CreateTargetDatabaseDetails.
- Returns
The database_details of this CreateTargetDatabaseDetails.
- Return type
- property 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))
- property 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
- property 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
- property 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)
- property 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
- property tls_config¶
Gets the tls_config of this CreateTargetDatabaseDetails.
- Returns
The tls_config of this CreateTargetDatabaseDetails.
- Return type