OracleMigrationObjectCollection

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

Bases: oci.database_migration.models.migration_object_collection.MigrationObjectCollection

Database objects to migrate.

Attributes

DATABASE_COMBINATION_MYSQL str(object=’’) -> str
DATABASE_COMBINATION_ORACLE str(object=’’) -> str
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'
DATABASE_COMBINATION_ORACLE = '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.
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
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.

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]