MySqlMigrationObjectCollection¶
- class oci.database_migration.models.MySqlMigrationObjectCollection(**kwargs)¶
Bases:
MigrationObjectCollectionLists the database objects that participate in this migration.
Attributes:
A constant which can be used with the database_combination property of a MigrationObjectCollection.
A constant which can be used with the database_combination property of a MigrationObjectCollection.
Gets the bulk_include_exclude_data of this MySqlMigrationObjectCollection.
[Required] Gets the database_combination of this MigrationObjectCollection.
[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'¶
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 MySqlMigrationObjectCollection object with values from keyword arguments. The default value of the
database_combinationattribute of this class isMYSQLand 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.
- property 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
- 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 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]