MySqlMigrationObjectCollection

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

Bases: oci.database_migration.models.migration_object_collection.MigrationObjectCollection

Lists the database objects that participate in this migration.

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

Methods

__init__(**kwargs) Initializes a new MySqlMigrationObjectCollection 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 MySqlMigrationObjectCollection object with values from keyword arguments. The default value of the database_combination attribute of this class is MYSQL 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 MySqlMigrationObjectCollection. Allowed values for this property are: “MYSQL”, “ORACLE”
  • items (list[oci.database_migration.models.MySqlDatabaseObjectSummary]) – The value to assign to the items property of this MySqlMigrationObjectCollection.
  • bulk_include_exclude_data (str) – The value to assign to the bulk_include_exclude_data property of this MySqlMigrationObjectCollection.
bulk_include_exclude_data

Gets the bulk_include_exclude_data of this MySqlMigrationObjectCollection. 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 MySqlMigrationObjectCollection.
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 MySqlMigrationObjectCollection. An array of database objects that are either included or excluded from the migration.

Returns:The items of this MySqlMigrationObjectCollection.
Return type:list[oci.database_migration.models.MySqlDatabaseObjectSummary]