CloneMigrationDetails

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

Bases: object

Customizable details when performing cloning of a migration.

Attributes

DATABASE_COMBINATION_MYSQL A constant which can be used with the database_combination property of a CloneMigrationDetails.
DATABASE_COMBINATION_ORACLE A constant which can be used with the database_combination property of a CloneMigrationDetails.
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_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 CloneMigrationDetails 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'

A constant which can be used with the database_combination property of a CloneMigrationDetails. This constant has a value of “MYSQL”

DATABASE_COMBINATION_ORACLE = 'ORACLE'

A constant which can be used with the database_combination property of a CloneMigrationDetails. This constant has a value of “ORACLE”

__init__(**kwargs)

Initializes a new CloneMigrationDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:

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 CloneMigrationDetails. Allowed values for this property are: “MYSQL”, “ORACLE”
  • display_name (str) – The value to assign to the display_name property of this CloneMigrationDetails.
  • compartment_id (str) – The value to assign to the compartment_id property of this CloneMigrationDetails.
  • source_database_connection_id (str) – The value to assign to the source_database_connection_id property of this CloneMigrationDetails.
  • target_database_connection_id (str) – The value to assign to the target_database_connection_id property of this CloneMigrationDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CloneMigrationDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CloneMigrationDetails.
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_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