models_v2.data_migration_schedule module¶
-
class
models_v2.data_migration_schedule.
DataMigrationSchedule
(unit=None, day_schedule=None, week_schedule=None, month_schedule=None, start_time=None)[source]¶ Bases:
object
Implementation of the ‘DataMigrationSchedule’ model.
Specifies the Data Migration schedule.
- Attributes:
- unit (Unit8Enum): Specifies how often to migrate data from source to
target
- day_schedule (DailySchedule): Specifies settings that define a
schedule for a Protection Group runs to start after certain number of days.
- week_schedule (WeekSchedule): Specifies settings that define a
schedule for a Protection Group runs to start on certain days of week.
- month_schedule (MonthSchedule): Specifies settings that define a
schedule for a Protection Group runs to on specific week and specific days of that week.
- start_time (TimeOfDay): Specifies the time of day. Used for scheduling
purposes.
-
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.