OracleCloneMigrationDetails

class oci.database_migration.models.OracleCloneMigrationDetails(**kwargs)

Bases: oci.database_migration.models.clone_migration_details.CloneMigrationDetails

Oracle Clone Migration Summary

Attributes

DATABASE_COMBINATION_MYSQL str(object=’’) -> str
DATABASE_COMBINATION_ORACLE str(object=’’) -> str
compartment_id Gets the compartment_id of this CloneMigrationDetails.
database_combination [Required] Gets the database_combination of this CloneMigrationDetails.
defined_tags Gets the defined_tags of this CloneMigrationDetails.
display_name Gets the display_name of this CloneMigrationDetails.
freeform_tags Gets the freeform_tags of this CloneMigrationDetails.
source_container_database_connection_id Gets the source_container_database_connection_id of this OracleCloneMigrationDetails.
source_database_connection_id [Required] Gets the source_database_connection_id of this CloneMigrationDetails.
target_database_connection_id [Required] Gets the target_database_connection_id of this CloneMigrationDetails.

Methods

__init__(**kwargs) Initializes a new OracleCloneMigrationDetails 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.
DATABASE_COMBINATION_MYSQL = 'MYSQL'
DATABASE_COMBINATION_ORACLE = 'ORACLE'
__init__(**kwargs)

Initializes a new OracleCloneMigrationDetails object with values from keyword arguments. The default value of the database_combination attribute of this class is ORACLE and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • database_combination (str) – The value to assign to the database_combination property of this OracleCloneMigrationDetails. Allowed values for this property are: “MYSQL”, “ORACLE”
  • display_name (str) – The value to assign to the display_name property of this OracleCloneMigrationDetails.
  • compartment_id (str) – The value to assign to the compartment_id property of this OracleCloneMigrationDetails.
  • source_database_connection_id (str) – The value to assign to the source_database_connection_id property of this OracleCloneMigrationDetails.
  • target_database_connection_id (str) – The value to assign to the target_database_connection_id property of this OracleCloneMigrationDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this OracleCloneMigrationDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this OracleCloneMigrationDetails.
  • source_container_database_connection_id (str) – The value to assign to the source_container_database_connection_id property of this OracleCloneMigrationDetails.
compartment_id

Gets the compartment_id of this CloneMigrationDetails. The OCID of the resource being referenced.

Returns:The compartment_id of this CloneMigrationDetails.
Return type:str
database_combination

[Required] Gets the database_combination of this CloneMigrationDetails. The combination of source and target databases participating in a migration. Example: ORACLE means the migration is meant for migrating Oracle source and target databases.

Allowed values for this property are: “MYSQL”, “ORACLE”

Returns:The database_combination of this CloneMigrationDetails.
Return type:str
defined_tags

Gets the defined_tags of this CloneMigrationDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

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

Gets the display_name of this CloneMigrationDetails. A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.

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

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

source_container_database_connection_id

Gets the source_container_database_connection_id of this OracleCloneMigrationDetails. The OCID of the resource being referenced.

Returns:The source_container_database_connection_id of this OracleCloneMigrationDetails.
Return type:str
source_database_connection_id

[Required] Gets the source_database_connection_id of this CloneMigrationDetails. The OCID of the resource being referenced.

Returns:The source_database_connection_id of this CloneMigrationDetails.
Return type:str
target_database_connection_id

[Required] Gets the target_database_connection_id of this CloneMigrationDetails. The OCID of the resource being referenced.

Returns:The target_database_connection_id of this CloneMigrationDetails.
Return type:str