models.scheduling_policy module

class models.scheduling_policy.SchedulingPolicy(continuous_schedule=None, daily_schedule=None, monthly_schedule=None, periodicity=None, rpo_schedule=None)[source]

Bases: object

Implementation of the ‘SchedulingPolicy’ model.

Specifies settings that define a backup schedule for a Protection Job.

Attributes:
continuous_schedule (ContinuousSchedule): Specifies the time interval

between two Job Runs of a continuous backup schedule and any blackout periods when new Job Runs should NOT be started. Set if periodicity is kContinuous.

daily_schedule (DailySchedule): Specifies a daily or weekly backup

schedule. Set if periodicity is kDaily.

monthly_schedule (MonthlySchedule): Specifies a monthly backup

schedule. Set if periodicity is kMonthly.

periodicity (PeriodicityEnum): Specifies how often to start new Job

Runs of a Protection Job. ‘kDaily’ means new Job Runs start daily. ‘kMonthly’ means new Job Runs start monthly. ‘kContinuous’ means new Job Runs repetitively start at the beginning of the specified time interval (in hours or minutes). ‘kContinuousRPO’ means this is an RPO schedule. ‘kCDP’ means this is a continuous data protection policy.

rpo_schedule (RpoSchedule): Specifies an RPO backup schedule. Set if

periodicity is kContinuousRPO.

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.