MigrationObjectCollection

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

Bases: object

Common Migration Objects collection.

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

Methods

__init__(**kwargs) Initializes a new MigrationObjectCollection 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 MigrationObjectCollection object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:

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 MigrationObjectCollection. 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’.
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.