models_v2.data_migration_task module¶
-
class
models_v2.data_migration_task.
DataMigrationTask
(name=None, description=None, alert_policy=None, qos_policy=None, source=None, target=None, schedule=None, retention=None, down_tiering_policy=None, up_tiering_policy=None, id=None)[source]¶ Bases:
object
Implementation of the ‘DataMigrationTask’ model.
Specifies the Data Migration task details.
- Attributes:
name (string): Specifies the name of the Data Migration task. description (string): Specifies a description of the Data Migration
task.
- alert_policy (ProtectionGroupAlertingPolicy): Specifies a policy for
alerting users of the status of a Protection Group.
- qos_policy (QosPolicyEnum): Specifies whether the Data Migration task
will be written to HDD or SSD.
source (DataMigrationSource): Specifies the objects to be migrated. target (DataMigrationSource): Specifies the objects to be migrated. schedule (DataMigrationSchedule): Specifies the Data Migration
schedule.
retention (Retention): Specifies the retention of a backup. down_tiering_policy (DownTieringPolicy): Specifies the Data Migration
downtiering policy.
- up_tiering_policy (UpTieringPolicy): Specifies the Data Migration
uptiering policy.
id (string): Specifies the ID of the Data Migration Task.
-
classmethod
from_dictionary
(dictionary)[source]¶ Creates an instance of this model from a dictionary
- Args:
dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.
- Returns:
object: An instance of this structure class.