OracleCloneMigrationDetails

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

Bases: CloneMigrationDetails

Oracle Clone Migration details. Deprecated: The parent-level Oracle clone configuration properties on this model are deprecated. Use migrationSettings instead.

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.

assessment_id

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

migration_settings

Gets the migration_settings of this OracleCloneMigrationDetails.

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.

source_standby_database_connection_id

Gets the source_standby_database_connection_id of this OracleCloneMigrationDetails.

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'

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 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.

  • assessment_id (str) – The value to assign to the assessment_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.

  • migration_settings (oci.database_migration.models.CloneOracleMigrationSettings) – The value to assign to the migration_settings 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.

  • source_standby_database_connection_id (str) – The value to assign to the source_standby_database_connection_id property of this OracleCloneMigrationDetails.

property assessment_id

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

Returns

The assessment_id of this CloneMigrationDetails.

Return type

str

property 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

property 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

property 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))

property 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

property 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.

property migration_settings

Gets the migration_settings of this OracleCloneMigrationDetails.

Returns

The migration_settings of this OracleCloneMigrationDetails.

Return type

oci.database_migration.models.CloneOracleMigrationSettings

property 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

property 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

property source_standby_database_connection_id

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

Returns

The source_standby_database_connection_id of this OracleCloneMigrationDetails.

Return type

str

property 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