models.blackout_period module

class models.blackout_period.BlackoutPeriod(id=None, day=None, end_time=None, start_time=None)[source]

Bases: object

Implementation of the ‘BlackoutPeriod’ model.

Specifies a time range in a single day when new Job Runs of Protection Jobs cannot be started. For example, a Protection Job with a daily schedule could define a blackout period for Sunday.

id (string): Specified the Id for a snapshot copy policy. This is

generated when the policy is created.

day (DayBlackoutPeriodEnum): Blackout Day. Specifies a day in the

week when no new Job Runs should be started such as ‘kSunday’. If not set, the time range applies to all days. Specifies a day in a week such as ‘kSunday’, ‘kMonday’, etc.

end_time (TimeOfDay): Specifies the end time of the blackout time


start_time (TimeOfDay): Specifies the start time of the blackout time


classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary


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.


object: An instance of this structure class.