OracleMigrationObjectCollection

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

Bases: MigrationObjectCollection

Database objects to migrate.

Attributes:

DATABASE_COMBINATION_MYSQL

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

DATABASE_COMBINATION_ORACLE

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

bulk_include_exclude_data

Gets the bulk_include_exclude_data of this OracleMigrationObjectCollection.

database_combination

[Required] Gets the database_combination of this MigrationObjectCollection.

items

[Required] Gets the items of this OracleMigrationObjectCollection.

Methods:

__init__(**kwargs)

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

DATABASE_COMBINATION_ORACLE = 'ORACLE'

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

__init__(**kwargs)

Initializes a new OracleMigrationObjectCollection 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 OracleMigrationObjectCollection. Allowed values for this property are: “MYSQL”, “ORACLE”

  • items (list[oci.database_migration.models.OracleDatabaseObjectSummary]) – The value to assign to the items property of this OracleMigrationObjectCollection.

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

property bulk_include_exclude_data

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

Return type

str

property database_combination

[Required] Gets the database_combination of this MigrationObjectCollection. 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”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The database_combination of this MigrationObjectCollection.

Return type

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 items

[Required] Gets the items of this OracleMigrationObjectCollection. Database objects to exclude/include from migration

Returns

The items of this OracleMigrationObjectCollection.

Return type

list[oci.database_migration.models.OracleDatabaseObjectSummary]