CreateOracleMigrationDetails

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

Bases: CreateMigrationDetails

Create Migration resource parameters. Deprecated: The parent-level Oracle migration 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 CreateMigrationDetails.

DATABASE_COMBINATION_ORACLE

A constant which can be used with the database_combination property of a CreateMigrationDetails.

TYPE_OFFLINE

A constant which can be used with the type property of a CreateMigrationDetails.

TYPE_ONLINE

A constant which can be used with the type property of a CreateMigrationDetails.

advanced_parameters

Gets the advanced_parameters of this CreateOracleMigrationDetails.

advisor_settings

Gets the advisor_settings of this CreateOracleMigrationDetails.

assessment_id

Gets the assessment_id of this CreateMigrationDetails.

bulk_include_exclude_data

Gets the bulk_include_exclude_data of this CreateOracleMigrationDetails.

compartment_id

[Required] Gets the compartment_id of this CreateMigrationDetails.

data_transfer_medium_details

Gets the data_transfer_medium_details of this CreateOracleMigrationDetails.

database_combination

[Required] Gets the database_combination of this CreateMigrationDetails.

defined_tags

Gets the defined_tags of this CreateMigrationDetails.

description

Gets the description of this CreateMigrationDetails.

display_name

Gets the display_name of this CreateMigrationDetails.

exclude_objects

Gets the exclude_objects of this CreateOracleMigrationDetails.

freeform_tags

Gets the freeform_tags of this CreateMigrationDetails.

ggs_details

Gets the ggs_details of this CreateOracleMigrationDetails.

hub_details

Gets the hub_details of this CreateOracleMigrationDetails.

include_objects

Gets the include_objects of this CreateOracleMigrationDetails.

initial_load_settings

Gets the initial_load_settings of this CreateOracleMigrationDetails.

migration_settings

Gets the migration_settings of this CreateOracleMigrationDetails.

source_container_database_connection_id

Gets the source_container_database_connection_id of this CreateOracleMigrationDetails.

source_database_connection_id

Gets the source_database_connection_id of this CreateMigrationDetails.

source_standby_database_connection_id

Gets the source_standby_database_connection_id of this CreateOracleMigrationDetails.

target_database_connection_id

Gets the target_database_connection_id of this CreateMigrationDetails.

type

[Required] Gets the type of this CreateMigrationDetails.

Methods:

__init__(**kwargs)

Initializes a new CreateOracleMigrationDetails 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 CreateMigrationDetails. This constant has a value of “MYSQL”

DATABASE_COMBINATION_ORACLE = 'ORACLE'

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

TYPE_OFFLINE = 'OFFLINE'

A constant which can be used with the type property of a CreateMigrationDetails. This constant has a value of “OFFLINE”

TYPE_ONLINE = 'ONLINE'

A constant which can be used with the type property of a CreateMigrationDetails. This constant has a value of “ONLINE”

__init__(**kwargs)

Initializes a new CreateOracleMigrationDetails 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
  • description (str) – The value to assign to the description property of this CreateOracleMigrationDetails.

  • compartment_id (str) – The value to assign to the compartment_id property of this CreateOracleMigrationDetails.

  • database_combination (str) – The value to assign to the database_combination property of this CreateOracleMigrationDetails. Allowed values for this property are: “MYSQL”, “ORACLE”

  • type (str) – The value to assign to the type property of this CreateOracleMigrationDetails. Allowed values for this property are: “ONLINE”, “OFFLINE”

  • display_name (str) – The value to assign to the display_name property of this CreateOracleMigrationDetails.

  • source_database_connection_id (str) – The value to assign to the source_database_connection_id property of this CreateOracleMigrationDetails.

  • target_database_connection_id (str) – The value to assign to the target_database_connection_id property of this CreateOracleMigrationDetails.

  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateOracleMigrationDetails.

  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateOracleMigrationDetails.

  • assessment_id (str) – The value to assign to the assessment_id property of this CreateOracleMigrationDetails.

  • migration_settings (oci.database_migration.models.CreateOracleMigrationSettings) – The value to assign to the migration_settings property of this CreateOracleMigrationDetails.

  • data_transfer_medium_details (oci.database_migration.models.CreateOracleDataTransferMediumDetails) – The value to assign to the data_transfer_medium_details property of this CreateOracleMigrationDetails.

  • initial_load_settings (oci.database_migration.models.CreateOracleInitialLoadSettings) – The value to assign to the initial_load_settings property of this CreateOracleMigrationDetails.

  • advisor_settings (oci.database_migration.models.CreateOracleAdvisorSettings) – The value to assign to the advisor_settings property of this CreateOracleMigrationDetails.

  • hub_details (oci.database_migration.models.CreateGoldenGateHubDetails) – The value to assign to the hub_details property of this CreateOracleMigrationDetails.

  • ggs_details (oci.database_migration.models.CreateOracleGgsDeploymentDetails) – The value to assign to the ggs_details property of this CreateOracleMigrationDetails.

  • advanced_parameters (list[oci.database_migration.models.MigrationParameterDetails]) – The value to assign to the advanced_parameters property of this CreateOracleMigrationDetails.

  • source_container_database_connection_id (str) – The value to assign to the source_container_database_connection_id property of this CreateOracleMigrationDetails.

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

  • exclude_objects (list[oci.database_migration.models.OracleDatabaseObject]) – The value to assign to the exclude_objects property of this CreateOracleMigrationDetails.

  • include_objects (list[oci.database_migration.models.OracleDatabaseObject]) – The value to assign to the include_objects property of this CreateOracleMigrationDetails.

  • bulk_include_exclude_data (str) – The value to assign to the bulk_include_exclude_data property of this CreateOracleMigrationDetails.

property advanced_parameters

Gets the advanced_parameters of this CreateOracleMigrationDetails. List of Migration Parameter objects.

Returns

The advanced_parameters of this CreateOracleMigrationDetails.

Return type

list[oci.database_migration.models.MigrationParameterDetails]

property advisor_settings

Gets the advisor_settings of this CreateOracleMigrationDetails.

Returns

The advisor_settings of this CreateOracleMigrationDetails.

Return type

oci.database_migration.models.CreateOracleAdvisorSettings

property assessment_id

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

Returns

The assessment_id of this CreateMigrationDetails.

Return type

str

property bulk_include_exclude_data

Gets the bulk_include_exclude_data of this CreateOracleMigrationDetails. Specifies the database objects to be excluded from the migration in bulk. The definition accepts input in a CSV format, newline separated for each entry. More details can be found in the documentation.

Returns

The bulk_include_exclude_data of this CreateOracleMigrationDetails.

Return type

str

property compartment_id

[Required] Gets the compartment_id of this CreateMigrationDetails. The OCID of the resource being referenced.

Returns

The compartment_id of this CreateMigrationDetails.

Return type

str

property data_transfer_medium_details

Gets the data_transfer_medium_details of this CreateOracleMigrationDetails.

Returns

The data_transfer_medium_details of this CreateOracleMigrationDetails.

Return type

oci.database_migration.models.CreateOracleDataTransferMediumDetails

property database_combination

[Required] Gets the database_combination of this CreateMigrationDetails. 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 CreateMigrationDetails.

Return type

str

property defined_tags

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

Return type

dict(str, dict(str, object))

property description

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

Returns

The description of this CreateMigrationDetails.

Return type

str

property display_name

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

Returns

The display_name of this CreateMigrationDetails.

Return type

str

property exclude_objects

Gets the exclude_objects of this CreateOracleMigrationDetails. Database objects to exclude from migration, cannot be specified alongside ‘includeObjects’

Returns

The exclude_objects of this CreateOracleMigrationDetails.

Return type

list[oci.database_migration.models.OracleDatabaseObject]

property freeform_tags

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

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 ggs_details

Gets the ggs_details of this CreateOracleMigrationDetails.

Returns

The ggs_details of this CreateOracleMigrationDetails.

Return type

oci.database_migration.models.CreateOracleGgsDeploymentDetails

property hub_details

Gets the hub_details of this CreateOracleMigrationDetails.

Returns

The hub_details of this CreateOracleMigrationDetails.

Return type

oci.database_migration.models.CreateGoldenGateHubDetails

property include_objects

Gets the include_objects of this CreateOracleMigrationDetails. Database objects to include from migration, cannot be specified alongside ‘excludeObjects’

Returns

The include_objects of this CreateOracleMigrationDetails.

Return type

list[oci.database_migration.models.OracleDatabaseObject]

property initial_load_settings

Gets the initial_load_settings of this CreateOracleMigrationDetails.

Returns

The initial_load_settings of this CreateOracleMigrationDetails.

Return type

oci.database_migration.models.CreateOracleInitialLoadSettings

property migration_settings

Gets the migration_settings of this CreateOracleMigrationDetails.

Returns

The migration_settings of this CreateOracleMigrationDetails.

Return type

oci.database_migration.models.CreateOracleMigrationSettings

property source_container_database_connection_id

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

Returns

The source_container_database_connection_id of this CreateOracleMigrationDetails.

Return type

str

property source_database_connection_id

Gets the source_database_connection_id of this CreateMigrationDetails. The OCID of the resource being referenced.

Returns

The source_database_connection_id of this CreateMigrationDetails.

Return type

str

property source_standby_database_connection_id

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

Returns

The source_standby_database_connection_id of this CreateOracleMigrationDetails.

Return type

str

property target_database_connection_id

Gets the target_database_connection_id of this CreateMigrationDetails. The OCID of the resource being referenced.

Returns

The target_database_connection_id of this CreateMigrationDetails.

Return type

str

property type

[Required] Gets the type of this CreateMigrationDetails. The type of the migration to be performed. Example: ONLINE if no downtime is preferred for a migration. This method uses Oracle GoldenGate for replication.

Allowed values for this property are: “ONLINE”, “OFFLINE”

Returns

The type of this CreateMigrationDetails.

Return type

str